Commit 5fc89be0 by swl

gx

parent 7e4c8097
const domain = { const domain = {
// dev: "http://192.168.3.87:8881", // 姚镇接口 dev: "http://192.168.3.143:8881", // 姚镇接口
// dev: "http://192.168.100.16:8881", // 姚镇接口 // dev: "http://192.168.100.16:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口 // dev: "http://81.69.231.72:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 测试接口 // dev: "http://81.69.231.72:8881", // 测试接口
dev: "https://exam.smart-zj.cn:9100/smartExam/", // /新正式接口 // dev: "https://exam.smart-zj.cn:9100/smartExam/", // /新正式接口
}; };
// 腾讯地图 key // 腾讯地图 key
const map = { const map = {
......
...@@ -6,11 +6,11 @@ import { TokenKey } from "@/utils/auth"; ...@@ -6,11 +6,11 @@ import { TokenKey } from "@/utils/auth";
const config = { const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "http://81.69.231.72:8881", // 测试地址 // proxy: "http://81.69.231.72:8881", // 测试地址
// 192.168.3.143
// proxy: "http://192.168.3.87:8881", //本地 proxy: "http://192.168.3.143:8881", //本地
// proxy: "http://192.168.100.16:8881", //本地// // proxy: "http://192.168.100.16:8881", //本地//
proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs // proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
// proxy: "http://81.69.231.72:9089/", // 测试地址 // proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址 // proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口 // proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
......
...@@ -5,12 +5,7 @@ ...@@ -5,12 +5,7 @@
<i class="icon el-icon-s-order" style="color: #40c9c6"></i> <i class="icon el-icon-s-order" style="color: #40c9c6"></i>
<div class="des"> <div class="des">
<div class="label">当天申报总数</div> <div class="label">当天申报总数</div>
<count-to <count-to :start-val="0" :end-val="allQuantity" :duration="2000" class="num" />
:start-val="0"
:end-val="allQuantity"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -18,13 +13,7 @@ ...@@ -18,13 +13,7 @@
<i class="icon el-icon-s-goods" style="color: #36a3f7"></i> <i class="icon el-icon-s-goods" style="color: #36a3f7"></i>
<div class="des"> <div class="des">
<div class="label">当天申报总重量</div> <div class="label">当天申报总重量</div>
<count-to <count-to :start-val="0" :end-val="allWeight" :duration="2000" :decimals="2" class="num" />
:start-val="0"
:end-val="allWeight"
:duration="2000"
:decimals="2"
class="num"
/>
<span>kg</span> <span>kg</span>
</div> </div>
</div> </div>
...@@ -32,12 +21,7 @@ ...@@ -32,12 +21,7 @@
<i class="icon el-icon-s-data" style="color: #f4516c"></i> <i class="icon el-icon-s-data" style="color: #f4516c"></i>
<div class="des"> <div class="des">
<div class="label">当天申报总件数</div> <div class="label">当天申报总件数</div>
<count-to <count-to :start-val="0" :end-val="allNumber" :duration="2000" class="num" />
:start-val="0"
:end-val="allNumber"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -45,12 +29,7 @@ ...@@ -45,12 +29,7 @@
<i class="icon el-icon-s-claim" style="color: #40c9c6"></i> <i class="icon el-icon-s-claim" style="color: #40c9c6"></i>
<div class="des"> <div class="des">
<div class="label">当天消杀总数</div> <div class="label">当天消杀总数</div>
<count-to <count-to :start-val="0" :end-val="allDisinfect" :duration="2000" class="num" />
:start-val="0"
:end-val="allDisinfect"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -58,12 +37,7 @@ ...@@ -58,12 +37,7 @@
<i class="icon el-icon-s-claim" style="color: #36a3f7"></i> <i class="icon el-icon-s-claim" style="color: #36a3f7"></i>
<div class="des"> <div class="des">
<div class="label">当天检测总数</div> <div class="label">当天检测总数</div>
<count-to <count-to :start-val="0" :end-val="allDetection" :duration="2000" class="num" />
:start-val="0"
:end-val="allDetection"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -71,12 +45,7 @@ ...@@ -71,12 +45,7 @@
<i class="icon el-icon-s-release" style="color: #f4516c"></i> <i class="icon el-icon-s-release" style="color: #f4516c"></i>
<div class="des"> <div class="des">
<div class="label">当天检测未通过次数</div> <div class="label">当天检测未通过次数</div>
<count-to <count-to :start-val="0" :end-val="notDetection" :duration="2000" class="num" />
:start-val="0"
:end-val="notDetection"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -84,12 +53,7 @@ ...@@ -84,12 +53,7 @@
<i class="icon el-icon-s-shop" style="color: #00FF7F"></i> <i class="icon el-icon-s-shop" style="color: #00FF7F"></i>
<div class="des"> <div class="des">
<div class="label">当天出库总数</div> <div class="label">当天出库总数</div>
<count-to <count-to :start-val="0" :end-val="enterLibrary" :duration="2000" class="num" />
:start-val="0"
:end-val="enterLibrary"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -100,25 +64,11 @@ ...@@ -100,25 +64,11 @@
</div> </div>
<div class="container"> <div class="container">
<div class="time"> <div class="time">
<el-date-picker <el-date-picker v-model="value1" type="daterange" align="right" unlink-panels size="medium" range-separator="至"
v-model="value1" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" :clearable="false"
type="daterange" :picker-options="pickerOptionsMonth"></el-date-picker>
align="right"
unlink-panels
size="medium"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
:clearable="false"
:picker-options="pickerOptionsMonth"
></el-date-picker>
<el-select size="medium" v-model="store1" placeholder="请选择仓库" style="width: 250px;margin-left: 30px"> <el-select size="medium" v-model="store1" placeholder="请选择仓库" style="width: 250px;margin-left: 30px">
<el-option <el-option v-for="item in storeList" :key="item.code" :label="item.company" :value="item.code">
v-for="item in storeList"
:key="item.code"
:label="item.company"
:value="item.code">
</el-option> </el-option>
</el-select> </el-select>
<el-button type="primary" size="small" style="margin-left: 30px" @click="getAllQuantity">全部数据</el-button> <el-button type="primary" size="small" style="margin-left: 30px" @click="getAllQuantity">全部数据</el-button>
...@@ -128,12 +78,7 @@ ...@@ -128,12 +78,7 @@
<i class="icon el-icon-s-order" style="color: #40c9c6"></i> <i class="icon el-icon-s-order" style="color: #40c9c6"></i>
<div class="des"> <div class="des">
<div class="label">申报总数</div> <div class="label">申报总数</div>
<count-to <count-to :start-val="0" :end-val="data1.sectionQuantity" :duration="2000" class="num" />
:start-val="0"
:end-val="data1.sectionQuantity"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -141,13 +86,7 @@ ...@@ -141,13 +86,7 @@
<i class="icon el-icon-s-goods" style="color: #36a3f7"></i> <i class="icon el-icon-s-goods" style="color: #36a3f7"></i>
<div class="des"> <div class="des">
<div class="label">申报总重量</div> <div class="label">申报总重量</div>
<count-to <count-to :start-val="0" :end-val="data1.sectionWeight" :duration="2000" :decimals="2" class="num" />
:start-val="0"
:end-val="data1.sectionWeight"
:duration="2000"
:decimals="2"
class="num"
/>
<span>kg</span> <span>kg</span>
</div> </div>
</div> </div>
...@@ -155,12 +94,7 @@ ...@@ -155,12 +94,7 @@
<i class="icon el-icon-s-data" style="color: #f4516c"></i> <i class="icon el-icon-s-data" style="color: #f4516c"></i>
<div class="des"> <div class="des">
<div class="label">申报总件数</div> <div class="label">申报总件数</div>
<count-to <count-to :start-val="0" :end-val="data1.sectionNumber" :duration="2000" class="num" />
:start-val="0"
:end-val="data1.sectionNumber"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -168,12 +102,7 @@ ...@@ -168,12 +102,7 @@
<i class="icon el-icon-s-shop" style="color: #00FF7F"></i> <i class="icon el-icon-s-shop" style="color: #00FF7F"></i>
<div class="des"> <div class="des">
<div class="label">出库总数</div> <div class="label">出库总数</div>
<count-to <count-to :start-val="0" :end-val="data1.sectionEnterLibrary" :duration="2000" class="num" />
:start-val="0"
:end-val="data1.sectionEnterLibrary"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -182,25 +111,11 @@ ...@@ -182,25 +111,11 @@
</div> </div>
<div class="container"> <div class="container">
<div class="time"> <div class="time">
<el-date-picker <el-date-picker v-model="value2" type="daterange" align="right" unlink-panels size="medium" range-separator="至"
v-model="value2" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" :clearable="false"
type="daterange" :picker-options="pickerOptionsMonth"></el-date-picker>
align="right"
unlink-panels
size="medium"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
:clearable="false"
:picker-options="pickerOptionsMonth"
></el-date-picker>
<el-select size="medium" v-model="store2" placeholder="请选择仓库" style="width: 250px;margin-left: 30px"> <el-select size="medium" v-model="store2" placeholder="请选择仓库" style="width: 250px;margin-left: 30px">
<el-option <el-option v-for="item in storeList" :key="item.code" :label="item.company" :value="item.code">
v-for="item in storeList"
:key="item.code"
:label="item.company"
:value="item.code">
</el-option> </el-option>
</el-select> </el-select>
<el-button type="primary" size="small" style="margin-left: 30px" @click="getAllDisinfect">全部数据</el-button> <el-button type="primary" size="small" style="margin-left: 30px" @click="getAllDisinfect">全部数据</el-button>
...@@ -210,12 +125,7 @@ ...@@ -210,12 +125,7 @@
<i class="icon el-icon-s-claim" style="color: #40c9c6"></i> <i class="icon el-icon-s-claim" style="color: #40c9c6"></i>
<div class="des"> <div class="des">
<div class="label">消杀总数</div> <div class="label">消杀总数</div>
<count-to <count-to :start-val="0" :end-val="data2.sectionDisinfect" :duration="2000" class="num" />
:start-val="0"
:end-val="data2.sectionDisinfect"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -223,12 +133,7 @@ ...@@ -223,12 +133,7 @@
<i class="icon el-icon-s-claim" style="color: #36a3f7"></i> <i class="icon el-icon-s-claim" style="color: #36a3f7"></i>
<div class="des"> <div class="des">
<div class="label">检测总数</div> <div class="label">检测总数</div>
<count-to <count-to :start-val="0" :end-val="data2.sectionDetection" :duration="2000" class="num" />
:start-val="0"
:end-val="data2.sectionDetection"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
...@@ -236,49 +141,25 @@ ...@@ -236,49 +141,25 @@
<i class="icon el-icon-s-release" style="color: #f4516c"></i> <i class="icon el-icon-s-release" style="color: #f4516c"></i>
<div class="des"> <div class="des">
<div class="label">检测未通过次数</div> <div class="label">检测未通过次数</div>
<count-to <count-to :start-val="0" :end-val="data2.sectionNotDetection" :duration="2000" class="num" />
:start-val="0"
:end-val="data2.sectionNotDetection"
:duration="2000"
class="num"
/>
<span></span> <span></span>
</div> </div>
</div> </div>
</div> </div>
<div class="chart" id="check"></div> <div class="chart" id="check"></div>
</div> </div>
<el-dialog <el-dialog title="请选择仓库" :visible.sync="showAddress" width="500px" :before-close="handleClose">
title="请选择仓库"
:visible.sync="showAddress"
width="500px"
:before-close="handleClose">
<el-form ref="form" label-width="80px"> <el-form ref="form" label-width="80px">
<el-form-item label="仓库"> <el-form-item label="仓库">
<el-select size="medium" v-model="dialogStore" placeholder="请选择仓库" style="width: 300px;"> <el-select size="medium" v-model="dialogStore" placeholder="请选择仓库" style="width: 300px;">
<el-option <el-option v-for="item in dialogStoreList" :key="item.code" :label="item.company" :value="item.code">
v-for="item in dialogStoreList"
:key="item.code"
:label="item.company"
:value="item.code">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="申报日期"> <el-form-item label="申报日期">
<el-date-picker <el-date-picker style="width: 300px" v-model="dialogDate" type="daterange" align="right" unlink-panels
style="width: 300px" size="medium" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
v-model="dialogDate" :clearable="false" :picker-options="pickerOptionsMonth"></el-date-picker>
type="daterange"
align="right"
unlink-panels
size="medium"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
:clearable="false"
:picker-options="pickerOptionsMonth"
></el-date-picker>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -624,7 +505,7 @@ export default { ...@@ -624,7 +505,7 @@ export default {
exporttwo() { exporttwo() {
if (!this.dialogStore) { if (!this.dialogStore) {
this.$message.warning('请选择要导出数据的仓库') this.$message.warning('请选择要导出数据的仓库')
} else if(!this.dialogDate) { } else if (!this.dialogDate) {
this.$message.warning('请选择申报时间段') this.$message.warning('请选择申报时间段')
} else { } else {
let addressCode = this.dialogStore; let addressCode = this.dialogStore;
......
<template> <template>
<div class="policy"> <div class="policy">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form <el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input <el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input>
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input <el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"></el-input>
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="onSubmit">查询</el-button> <el-button type="primary" @click="onSubmit">查询</el-button>
...@@ -27,24 +14,14 @@ ...@@ -27,24 +14,14 @@
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio <el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio>
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template <table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
:tableData="tableData" @Jump="jumpPage">
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column slot="housingType" label="事项类型" align="center"> <el-table-column slot="housingType" label="事项类型" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag>{{ <el-tag>{{
...@@ -59,9 +36,7 @@ ...@@ -59,9 +36,7 @@
<el-table-column width="120" label="状态" align="center"> <el-table-column width="120" label="状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.state === 0">待审核</el-tag> <el-tag type="warning" v-if="scope.row.state === 0">待审核</el-tag>
<el-tag type="success" v-if="scope.row.state === 8" <el-tag type="success" v-if="scope.row.state === 8">审核通过</el-tag>
>审核通过</el-tag
>
<el-tag type="danger" v-if="scope.row.state === 9">已驳回</el-tag> <el-tag type="danger" v-if="scope.row.state === 9">已驳回</el-tag>
<!-- <el-tag <!-- <el-tag
type="warning" type="warning"
...@@ -93,78 +68,32 @@ ...@@ -93,78 +68,32 @@
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left"> <el-table-column fixed="right" label="操作" width="380" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)" <el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button>
>查看</el-button <el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button>
> <el-button type="danger" size="mini" round v-if="
<el-button
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<el-button
type="danger"
size="mini"
round
v-if="
(scope.row.housingState === 4 && scope.row.state === 9) || (scope.row.housingState === 4 && scope.row.state === 9) ||
((scope.row.housingState === 0 || ((scope.row.housingState === 0 ||
scope.row.housingState === 1) && scope.row.housingState === 1) &&
(scope.row.state === 8 || scope.row.state === 9)) (scope.row.state === 8 || scope.row.state === 9))
" " @click="revocationHandle(scope.row)">撤回</el-button>
@click="revocationHandle(scope.row)"
>撤回</el-button
>
<!-- 申请的单子有通过拒绝--> <!-- 申请的单子有通过拒绝-->
<el-button <el-button v-if="scope.row.state === 0" type="success" size="mini" round @click="pass(scope.row)">通过
v-if="scope.row.state === 0"
type="success"
size="mini"
round
@click="pass(scope.row)"
>通过
</el-button> </el-button>
<el-button <el-button v-if="scope.row.state === 0" type="danger" size="mini" round @click="deny(scope.row)">拒绝
v-if="scope.row.state === 0"
type="danger"
size="mini"
round
@click="deny(scope.row)"
>拒绝
</el-button> </el-button>
<el-button <el-button v-if="
v-if="
scope.row.housingState === 3 && scope.row.housingState === 3 &&
searchForm.departmentCode === '10000031' searchForm.departmentCode === '10000031'
" " type="success" size="mini" round @click="dispatch(scope.row)">发放补贴</el-button>
type="success" <el-button v-if="
size="mini"
round
@click="dispatch(scope.row)"
>发放补贴</el-button
>
<el-button
v-if="
scope.row.attachedFileMark === true && scope.row.attachedFileMark === true &&
searchForm.departmentCode === '10000031' searchForm.departmentCode === '10000031'
" " type="info" size="mini" round @click="viewUrl(scope.row)">查看附件</el-button>
type="info"
size="mini"
round
@click="viewUrl(scope.row)"
>查看附件</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog <el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false">
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<!-- 新增功能start --> <!-- 新增功能start -->
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
...@@ -176,12 +105,10 @@ ...@@ -176,12 +105,10 @@
</el-table> </el-table>
<div class="cell" v-if="viewDetail.checkArea != '丹阳市'"> <div class="cell" v-if="viewDetail.checkArea != '丹阳市'">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p <p :class="[
:class="[
'value', 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1', viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]" ]">
>
{{ viewDetail.enjoyFlag ? "否" : "是" }} {{ viewDetail.enjoyFlag ? "否" : "是" }}
</p> </p>
</div> </div>
...@@ -272,102 +199,61 @@ ...@@ -272,102 +199,61 @@
<p class="label">所属银行</p> <p class="label">所属银行</p>
<p class="value">{{ viewDetail.bank }}</p> <p class="value">{{ viewDetail.bank }}</p>
</div> </div>
<div <div class="cell" v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0">
class="cell"
v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0"
>
<p class="label">银行卡照片</p> <p class="label">银行卡照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.bankPicture" :key="index"
v-for="(item, index) in viewDetail.bankPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div <div class="cell" v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0">
class="cell"
v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0"
>
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.idCardPicture" :key="index"
v-for="(item, index) in viewDetail.idCardPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">商品房买卖合同3张</p> <p class="label">商品房买卖合同3张</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.contract" :key="index"
v-for="(item, index) in viewDetail.contract" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<el-image <el-image style="width: 100px; height: 100px" :src="viewDetail.certificate" :z-index="7777777"
style="width: 100px; height: 100px" :preview-src-list="[viewDetail.certificate]">
:src="viewDetail.certificate"
:z-index="7777777"
:preview-src-list="[viewDetail.certificate]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.voucher" :key="index" style="width: 100px; height: 100px"
v-for="(item, index) in viewDetail.voucher" :src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
:key="index"
style="width: 100px; height: 100px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.labour.length > 0"> <div class="cell" v-if="viewDetail.labour.length > 0">
<p class="label">上传一年以上劳动合同的上传项目</p> <p class="label">上传一年以上劳动合同的上传项目</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.labour" :key="index"
v-for="(item, index) in viewDetail.labour" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false">
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="item in recordList" :key="item.createTime"> <div class="cell" v-for="item in recordList" :key="item.createTime">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
...@@ -382,66 +268,32 @@ ...@@ -382,66 +268,32 @@
<p v-if="record.length === 0">暂无记录~</p> <p v-if="record.length === 0">暂无记录~</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="查看附件" :visible.sync="showUrl" width="500px" :close-on-press-escape="false">
title="查看附件"
:visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div>
<div <div class="content" style="display: flex; flex-wrap: wrap" v-if="pictureUrlList.length > 0">
class="content"
style="display: flex; flex-wrap: wrap"
v-if="pictureUrlList.length > 0"
>
<div v-for="(item, index) in pictureUrlList" :key="index"> <div v-for="(item, index) in pictureUrlList" :key="index">
<el-image <el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file"
style="width: 95px; height: 95px; margin: 10px" :preview-src-list="[item.file]"></el-image>
:src="item.file"
:preview-src-list="[item.file]"
></el-image>
</div> </div>
</div> </div>
<div <div class="content" style="display: flex; justify-content: center" v-if="pictureUrlList.length == 0">
class="content"
style="display: flex; justify-content: center"
v-if="pictureUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
<div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div>
<div <div class="content" style="display: flex; flex-direction: column; flex-wrap: wrap" v-if="fileUrlList.length > 0">
class="content" <div v-for="(item, index) in fileUrlList" :key="index" style="
style="display: flex; flex-direction: column; flex-wrap: wrap"
v-if="fileUrlList.length > 0"
>
<div
v-for="(item, index) in fileUrlList"
:key="index"
style="
margin: 10px 10px 0 10px; margin: 10px 10px 0 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
" ">
>
<p class="label" style="margin: 0; text-align: center"> <p class="label" style="margin: 0; text-align: center">
{{ item.fileExplain }} {{ item.fileExplain }}
</p> </p>
<el-button <el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button>
size="mini"
type="primary"
@click="download(item.file)"
class="down-text"
>下载附件</el-button
>
</div> </div>
</div> </div>
<div <div class="content" style="display: flex; justify-content: center" v-if="fileUrlList.length == 0">
class="content"
style="display: flex; justify-content: center"
v-if="fileUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
</el-dialog> </el-dialog>
...@@ -451,7 +303,7 @@ ...@@ -451,7 +303,7 @@
<script> <script>
import TableTemplate from "@/components/Table"; import TableTemplate from "@/components/Table";
import { changeList, setName, setTel, setCertNo } from "@/utils"; import { changeList, setName, setTel, setCertNo } from "@/utils";
import { get } from "@/api/talents"; // import { get } from "@/api/talents";
import { import {
mattersHousingReviewerList, mattersHousingReviewerList,
mattersHousingReviewerUpdate, mattersHousingReviewerUpdate,
...@@ -742,12 +594,11 @@ export default { ...@@ -742,12 +594,11 @@ export default {
// console.log("this.totalList---", this.totalList); // console.log("this.totalList---", this.totalList);
}); });
mattersHousingGet(params).then((res) => { mattersHousingGet(params).then((res) => {
console.log("res11111---", res); // get({ talentCode: res.data.talentCode }).then((res) => {
get({ talentCode: res.data.talentCode }).then((res) => { this.category = res.data.categoryName;
this.category = res.data.category;
this.contentName = res.data.contentName; this.contentName = res.data.contentName;
this.unitName = res.data.unitName; this.unitName = res.data.unitName;
}); // });
this.viewDetail = res.data; this.viewDetail = res.data;
if (localStorage.getItem("userName") == "admin") { if (localStorage.getItem("userName") == "admin") {
this.viewDetail.name = setName(this.viewDetail.name); this.viewDetail.name = setName(this.viewDetail.name);
......
<template> <template>
<div class="policy"> <div class="policy">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form <el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input <el-input v-model="searchForm.name" size="small" placeholder="请输入姓名"
v-model="searchForm.name" @keyup.enter.native="onSubmit"></el-input>
size="small"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input <el-input v-model="searchForm.phone" size="small" placeholder="请输入手机号码"
v-model="searchForm.phone" @keyup.enter.native="onSubmit"></el-input>
size="small"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" size="small" @click="onSubmit" <el-button type="primary" size="small" @click="onSubmit">查询</el-button>
>查询</el-button
>
</el-form-item> </el-form-item>
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio <el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio>
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template <table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
:tableData="tableData" @Jump="jumpPage">
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column slot="housingType" label="事项类型" align="center"> <el-table-column slot="housingType" label="事项类型" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag>{{ <el-tag>{{
...@@ -60,54 +35,22 @@ ...@@ -60,54 +35,22 @@
}}</el-tag> }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center">
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag> <el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left"> <el-table-column fixed="right" label="操作" width="380" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)" <el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button>
>查看</el-button <el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button>
> <el-button type="danger" size="mini" round v-if="scope.row.state === 6 || scope.row.state === 4"
<el-button @click="revocationHandle(scope.row)">撤回</el-button>
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<el-button
type="danger"
size="mini"
round
v-if="scope.row.state === 6 || scope.row.state === 4"
@click="revocationHandle(scope.row)"
>撤回</el-button
>
<!-- 待复审的单子有通过拒绝--> <!-- 待复审的单子有通过拒绝-->
<template v-if="scope.row.state === 1"> <template v-if="scope.row.state === 1">
<el-button <el-button type="success" size="mini" round @click="pass(scope.row)">复审通过</el-button>
type="success" <el-button type="danger" size="mini" round @click="deny(scope.row)">复审拒绝</el-button>
size="mini"
round
@click="pass(scope.row)"
>复审通过</el-button
>
<el-button
type="danger"
size="mini"
round
@click="deny(scope.row)"
>复审拒绝</el-button
>
</template> </template>
<!-- <template v-if="scope.row.state === 2"> <!-- <template v-if="scope.row.state === 2">
<el-button <el-button
...@@ -125,27 +68,15 @@ ...@@ -125,27 +68,15 @@
>终审拒绝</el-button >终审拒绝</el-button
> >
</template> --> </template> -->
<el-button <el-button v-if="
v-if="
scope.row.attachedFileMark === true && scope.row.attachedFileMark === true &&
searchForm.departmentCode === '10000027' searchForm.departmentCode === '10000027'
" " type="info" size="mini" round @click="viewUrl(scope.row)">查看附件</el-button>
type="info"
size="mini"
round
@click="viewUrl(scope.row)"
>查看附件</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog <el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false">
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<!-- 新增start --> <!-- 新增start -->
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
...@@ -157,12 +88,10 @@ ...@@ -157,12 +88,10 @@
</el-table> </el-table>
<div class="cell" v-if="viewDetail.checkArea != '丹阳市'"> <div class="cell" v-if="viewDetail.checkArea != '丹阳市'">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p <p :class="[
:class="[
'value', 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1', viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]" ]">
>
{{ viewDetail.enjoyFlag ? "否" : "是" }} {{ viewDetail.enjoyFlag ? "否" : "是" }}
</p> </p>
</div> </div>
...@@ -257,102 +186,61 @@ ...@@ -257,102 +186,61 @@
<p class="label">所属银行</p> <p class="label">所属银行</p>
<p class="value">{{ viewDetail.bank }}</p> <p class="value">{{ viewDetail.bank }}</p>
</div> </div>
<div <div class="cell" v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0">
class="cell"
v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0"
>
<p class="label">银行卡照片</p> <p class="label">银行卡照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.bankPicture" :key="index"
v-for="(item, index) in viewDetail.bankPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div <div class="cell" v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0">
class="cell"
v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0"
>
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.idCardPicture" :key="index"
v-for="(item, index) in viewDetail.idCardPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">商品房买卖合同3张</p> <p class="label">商品房买卖合同3张</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.contract" :key="index"
v-for="(item, index) in viewDetail.contract" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<el-image <el-image style="width: 100px; height: 100px" :src="viewDetail.certificate" :z-index="7777777"
style="width: 100px; height: 100px" :preview-src-list="[viewDetail.certificate]">
:src="viewDetail.certificate"
:z-index="7777777"
:preview-src-list="[viewDetail.certificate]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.voucher" :key="index" style="width: 100px; height: 100px"
v-for="(item, index) in viewDetail.voucher" :src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
:key="index"
style="width: 100px; height: 100px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.labour.length > 0"> <div class="cell" v-if="viewDetail.labour.length > 0">
<p class="label">上传一年以上劳动合同的项目</p> <p class="label">上传一年以上劳动合同的项目</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.labour" :key="index"
v-for="(item, index) in viewDetail.labour" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false">
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="item in recordList" :key="item.createTime"> <div class="cell" v-for="item in recordList" :key="item.createTime">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
...@@ -367,38 +255,17 @@ ...@@ -367,38 +255,17 @@
<p v-if="record.length === 0">暂无记录~</p> <p v-if="record.length === 0">暂无记录~</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="终审通过" :visible.sync="finalShow" width="500px" :close-on-press-escape="false">
title="终审通过"
:visible.sync="finalShow"
width="500px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell1"> <div class="cell1">
<p class="label" style="margin: 0 0 10px 0">请输入原因:</p> <p class="label" style="margin: 0 0 10px 0">请输入原因:</p>
<el-input <el-input type="textarea" placeholder="请输入通过原因" v-model="textarea" maxlength="50" show-word-limit></el-input>
type="textarea"
placeholder="请输入通过原因"
v-model="textarea"
maxlength="50"
show-word-limit
></el-input>
</div> </div>
<div class="cell1"> <div class="cell1">
<p class="label">请上传附件:</p> <p class="label">请上传附件:</p>
<el-upload <el-upload class="upload-demo" name="file" action="string" :limit="1" :show-file-list="true"
class="upload-demo" :on-remove="handleRemove" :on-error="handleError" :on-exceed="handleExceed" ref="dmtUploadFile"
name="file" :file-list="fileList" :http-request="uploadFile">
action="string"
:limit="1"
:show-file-list="true"
:on-remove="handleRemove"
:on-error="handleError"
:on-exceed="handleExceed"
ref="dmtUploadFile"
:file-list="fileList"
:http-request="uploadFile"
>
<el-button size="small" type="primary">点击上传</el-button> <el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip" style="color: #f56c6c"> <div slot="tip" class="el-upload__tip" style="color: #f56c6c">
支持上传jpg/png/doc/docx/xls/xlsx/pdf等文件 支持上传jpg/png/doc/docx/xls/xlsx/pdf等文件
...@@ -411,66 +278,32 @@ ...@@ -411,66 +278,32 @@
<el-button type="primary" @click="passFinal1">确 定</el-button> <el-button type="primary" @click="passFinal1">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="查看附件" :visible.sync="showUrl" width="500px" :close-on-press-escape="false">
title="查看附件"
:visible.sync="showUrl"
width="500px"
:close-on-press-escape="false"
>
<div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">图片附件:</div>
<div <div class="content" style="display: flex; flex-wrap: wrap" v-if="pictureUrlList.length > 0">
class="content"
style="display: flex; flex-wrap: wrap"
v-if="pictureUrlList.length > 0"
>
<div v-for="(item, index) in pictureUrlList" :key="index"> <div v-for="(item, index) in pictureUrlList" :key="index">
<el-image <el-image style="width: 95px; height: 95px; margin: 10px" :src="item.file"
style="width: 95px; height: 95px; margin: 10px" :preview-src-list="[item.file]"></el-image>
:src="item.file"
:preview-src-list="[item.file]"
></el-image>
</div> </div>
</div> </div>
<div <div class="content" style="display: flex; justify-content: center" v-if="pictureUrlList.length == 0">
class="content"
style="display: flex; justify-content: center"
v-if="pictureUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
<div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div> <div style="margin: 0 0 0 10px; font-weight: 700">文件附件:</div>
<div <div class="content" style="display: flex; flex-direction: column; flex-wrap: wrap" v-if="fileUrlList.length > 0">
class="content" <div v-for="(item, index) in fileUrlList" :key="index" style="
style="display: flex; flex-direction: column; flex-wrap: wrap"
v-if="fileUrlList.length > 0"
>
<div
v-for="(item, index) in fileUrlList"
:key="index"
style="
margin: 10px 10px 0 10px; margin: 10px 10px 0 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
" ">
>
<p class="label" style="margin: 0; text-align: center"> <p class="label" style="margin: 0; text-align: center">
{{ item.fileExplain }} {{ item.fileExplain }}
</p> </p>
<el-button <el-button size="mini" type="primary" @click="download(item.file)" class="down-text">下载附件</el-button>
size="mini"
type="primary"
@click="download(item.file)"
class="down-text"
>下载附件</el-button
>
</div> </div>
</div> </div>
<div <div class="content" style="display: flex; justify-content: center" v-if="fileUrlList.length == 0">
class="content"
style="display: flex; justify-content: center"
v-if="fileUrlList.length == 0"
>
<el-empty :image-size="50"></el-empty> <el-empty :image-size="50"></el-empty>
</div> </div>
</el-dialog> </el-dialog>
...@@ -815,7 +648,6 @@ export default { ...@@ -815,7 +648,6 @@ export default {
// 查询四个部门的记录 mattersHousingReason // 查询四个部门的记录 mattersHousingReason
mattersHousingReason(params2).then((res) => { mattersHousingReason(params2).then((res) => {
this.examineList = res.data; this.examineList = res.data;
console.log(res.data, "re");
this.examineList.forEach((item) => { this.examineList.forEach((item) => {
item.state == 8 ? (item.state = "通过") : (item.state = "拒绝"); item.state == 8 ? (item.state = "通过") : (item.state = "拒绝");
...@@ -838,7 +670,6 @@ export default { ...@@ -838,7 +670,6 @@ export default {
this.totalList = this.examineList.concat(this.housingList); this.totalList = this.examineList.concat(this.housingList);
}); });
mattersHousingGet(params).then((res) => { mattersHousingGet(params).then((res) => {
console.log("res----", res);
// get({ talentCode: res.data.talentCode }).then((res) => { // get({ talentCode: res.data.talentCode }).then((res) => {
this.category = res.data.categoryName; this.category = res.data.categoryName;
this.contentName = res.data.contentName; this.contentName = res.data.contentName;
......
<template> <template>
<div class="policy"> <div class="policy">
<div class="search-wrapper"> <div class="search-wrapper">
<el-form <el-form :inline="true" :model="searchForm" class="search_form" style="text-align: left">
:inline="true"
:model="searchForm"
class="search_form"
style="text-align: left"
>
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input <el-input v-model="searchForm.name" placeholder="请输入姓名" @keyup.enter.native="onSubmit"></el-input>
v-model="searchForm.name"
placeholder="请输入姓名"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号码"> <el-form-item label="手机号码">
<el-input <el-input v-model="searchForm.phone" placeholder="请输入手机号码" @keyup.enter.native="onSubmit"></el-input>
v-model="searchForm.phone"
placeholder="请输入手机号码"
@keyup.enter.native="onSubmit"
></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="onSubmit">查询</el-button> <el-button type="primary" @click="onSubmit">查询</el-button>
...@@ -27,24 +14,14 @@ ...@@ -27,24 +14,14 @@
<br /> <br />
<el-form-item label="状态" style="margin-top: 10px"> <el-form-item label="状态" style="margin-top: 10px">
<el-radio-group v-model="searchForm.state" @change="onSubmit"> <el-radio-group v-model="searchForm.state" @change="onSubmit">
<el-radio <el-radio :label="item.state" v-for="item in stateList" :key="item.state">{{ item.stateName }}</el-radio>
:label="item.state"
v-for="item in stateList"
:key="item.state"
>{{ item.stateName }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrapper"> <div class="table-wrapper">
<table-template <table-template :tableData="tableData" :tableColumns="tableColumns" :loading="loading" :pagination="pagination"
:tableData="tableData" @Jump="jumpPage">
:tableColumns="tableColumns"
:loading="loading"
:pagination="pagination"
@Jump="jumpPage"
>
<el-table-column slot="housingType" label="事项类型" align="center"> <el-table-column slot="housingType" label="事项类型" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag>{{ <el-tag>{{
...@@ -56,37 +33,17 @@ ...@@ -56,37 +33,17 @@
}}</el-tag> }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column width="120" key="stateName" prop="stateName" label="状态" align="center">
width="120"
key="stateName"
prop="stateName"
label="状态"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag> <el-tag :type="scope.row.type">{{ scope.row.stateName }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="380" align="left"> <el-table-column fixed="right" label="操作" width="380" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" round @click="view(scope.row)" <el-button type="primary" size="mini" round @click="view(scope.row)">查看</el-button>
>查看</el-button <el-button type="primary" size="mini" round @click="record(scope.row)">记录</el-button>
> <el-button type="danger" size="mini" round v-if="scope.row.state === 2 || scope.row.state === 4"
<el-button @click="revocationHandle(scope.row)">撤回</el-button>
type="primary"
size="mini"
round
@click="record(scope.row)"
>记录</el-button
>
<el-button
type="danger"
size="mini"
round
v-if="scope.row.state === 2 || scope.row.state === 4"
@click="revocationHandle(scope.row)"
>撤回</el-button
>
<!-- 待复审的单子有通过拒绝--> <!-- 待复审的单子有通过拒绝-->
<!-- <template v-if="scope.row.state === 1"> <!-- <template v-if="scope.row.state === 1">
<el-button <el-button
...@@ -105,13 +62,7 @@ ...@@ -105,13 +62,7 @@
> >
</template> --> </template> -->
<template v-if="scope.row.state === 6"> <template v-if="scope.row.state === 6">
<el-button <el-button type="success" size="mini" round @click="passData(scope.row)">资料通过</el-button>
type="success"
size="mini"
round
@click="passData(scope.row)"
>资料通过</el-button
>
</template> </template>
<template v-if="scope.row.state === 6"> <template v-if="scope.row.state === 6">
<!-- <el-button <!-- <el-button
...@@ -121,24 +72,13 @@ ...@@ -121,24 +72,13 @@
@click="passFinal(scope.row)" @click="passFinal(scope.row)"
>终审通过</el-button >终审通过</el-button
> --> > -->
<el-button <el-button type="danger" size="mini" round @click="deny(scope.row)">资料拒绝</el-button>
type="danger"
size="mini"
round
@click="deny(scope.row)"
>资料拒绝</el-button
>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</table-template> </table-template>
</div> </div>
<el-dialog <el-dialog title="申报详情" :visible.sync="viewShow" width="800px" :close-on-press-escape="false">
title="申报详情"
:visible.sync="viewShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<!-- 新增start --> <!-- 新增start -->
<el-table :data="totalList" style="width: 100%"> <el-table :data="totalList" style="width: 100%">
...@@ -150,12 +90,10 @@ ...@@ -150,12 +90,10 @@
</el-table> </el-table>
<div class="cell"> <div class="cell">
<p class="label">是否享受过相关政策</p> <p class="label">是否享受过相关政策</p>
<p <p :class="[
:class="[
'value', 'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1', viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]" ]">
>
{{ viewDetail.enjoyFlag ? "否" : "是" }} {{ viewDetail.enjoyFlag ? "否" : "是" }}
</p> </p>
</div> </div>
...@@ -246,102 +184,61 @@ ...@@ -246,102 +184,61 @@
<p class="label">所属银行</p> <p class="label">所属银行</p>
<p class="value">{{ viewDetail.bank }}</p> <p class="value">{{ viewDetail.bank }}</p>
</div> </div>
<div <div class="cell" v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0">
class="cell"
v-if="viewDetail.bankPicture && viewDetail.bankPicture.length > 0"
>
<p class="label">银行卡照片</p> <p class="label">银行卡照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.bankPicture" :key="index"
v-for="(item, index) in viewDetail.bankPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div <div class="cell" v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0">
class="cell"
v-if="viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0"
>
<p class="label">身份证照片</p> <p class="label">身份证照片</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.idCardPicture" :key="index"
v-for="(item, index) in viewDetail.idCardPicture" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">商品房买卖合同3张</p> <p class="label">商品房买卖合同3张</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.contract" :key="index"
v-for="(item, index) in viewDetail.contract" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">不动产权证书</p> <p class="label">不动产权证书</p>
<p class="value"> <p class="value">
<el-image <el-image style="width: 100px; height: 100px" :src="viewDetail.certificate" :z-index="7777777"
style="width: 100px; height: 100px" :preview-src-list="[viewDetail.certificate]">
:src="viewDetail.certificate"
:z-index="7777777"
:preview-src-list="[viewDetail.certificate]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell"> <div class="cell">
<p class="label">契税完税凭证</p> <p class="label">契税完税凭证</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.voucher" :key="index" style="width: 100px; height: 100px"
v-for="(item, index) in viewDetail.voucher" :src="item.picture" :z-index="7777777" :preview-src-list="[item.picture]">
:key="index"
style="width: 100px; height: 100px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
<div class="cell" v-if="viewDetail.labour.length > 0"> <div class="cell" v-if="viewDetail.labour.length > 0">
<p class="label">上传一年以上劳动合同的项目</p> <p class="label">上传一年以上劳动合同的项目</p>
<p class="value"> <p class="value">
<el-image <el-image v-for="(item, index) in viewDetail.labour" :key="index"
v-for="(item, index) in viewDetail.labour" style="width: 100px; height: 100px; margin-right: 10px" :src="item.picture" :z-index="7777777"
:key="index" :preview-src-list="[item.picture]">
style="width: 100px; height: 100px; margin-right: 10px"
:src="item.picture"
:z-index="7777777"
:preview-src-list="[item.picture]"
>
</el-image> </el-image>
</p> </p>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog title="操作记录" :visible.sync="recordShow" width="800px" :close-on-press-escape="false">
title="操作记录"
:visible.sync="recordShow"
width="800px"
:close-on-press-escape="false"
>
<div class="content"> <div class="content">
<div class="cell" v-for="item in recordList" :key="item.createTime"> <div class="cell" v-for="item in recordList" :key="item.createTime">
<p class="label" style="margin-right: 20px"> <p class="label" style="margin-right: 20px">
......
const env = process.env.NODE_ENV === "production"; const env = process.env.NODE_ENV === "production";
const publicPath = env ? "/manage-h5/" : "/"; //正式 // const publicPath = env ? "/manage-h5/" : "/"; //正式
// const publicPath = env ? "/smartExam-h5/" : "/"; //测试 const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module.exports = { module.exports = {
publicPath, publicPath,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment