|
@@ -3,7 +3,7 @@
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="140px">
|
|
|
<el-form-item label="是否存在安全隐患" prop="isYh">
|
|
|
<el-radio-group v-model="queryParams.isYh">
|
|
|
- <el-radio v-for="dict in dict.type.CZ035" :key="dict.value" :label="dict.value">{{dict.label}}
|
|
|
+ <el-radio v-for="dict in dict.type.CZ035" :key="dict.value" :label="dict.value">{{ dict.label }}
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
@@ -37,7 +37,7 @@
|
|
|
<el-table v-loading="loading" :data="xfaqzcxxList">
|
|
|
<el-table-column label="序号" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- {{(queryParams.pageNum-1)*queryParams.pageSize + scope.$index + 1}}
|
|
|
+ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="统一社会信用代码" align="center" prop="tyshxydm" width="240" />
|
|
@@ -51,18 +51,18 @@
|
|
|
<el-table-column label="自查负责人" align="center" prop="zcfzer" />
|
|
|
<el-table-column label="状态" align="center" prop="zt">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.zt=='2'?'提交':'暂存'}}
|
|
|
+ {{ scope.row.zt == '2' ? '提交' : '暂存' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
|
|
v-hasPermi="['organization:xfaqzcxx:edit']">
|
|
|
- {{scope.row.zt=='1'?'继续填写':'修改'}}
|
|
|
+ {{ scope.row.zt == '1' ? '继续填写' : '修改' }}
|
|
|
</el-button>
|
|
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete"
|
|
|
- @click="handleDelete(scope.row,(queryParams.pageNum-1)*queryParams.pageSize + scope.$index + 1,scope.$index)"
|
|
|
+ @click="handleDelete(scope.row, (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1, scope.$index)"
|
|
|
v-hasPermi="['organization:xfaqzcxx:remove']">删除
|
|
|
</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="particulars(scope.row)"
|
|
@@ -72,7 +72,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
|
|
|
- <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
@pagination="getList" />
|
|
|
|
|
|
<!-- 添加或修改消防安全自查对话框 -->
|
|
@@ -84,19 +84,19 @@
|
|
|
<table class="formStyle">
|
|
|
<tr>
|
|
|
<td>统一社会信用代码</td>
|
|
|
- <td>{{fixation.tyshxydm}}</td>
|
|
|
+ <td>{{ fixation.tyshxydm }}</td>
|
|
|
<td>单位名称</td>
|
|
|
- <td>{{fixation.jgmc}}</td>
|
|
|
+ <td>{{ fixation.jgmc }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>单位所属行政区划</td>
|
|
|
- <td>{{fixation.ssxzqh}}</td>
|
|
|
+ <td>{{ fixation.ssxzqh }}</td>
|
|
|
<td>兴办主体</td>
|
|
|
- <td>{{fixation.xbzt}}</td>
|
|
|
+ <td>{{ fixation.xbzt }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>单位通信地址</td>
|
|
|
- <td colspan="3">{{fixation.szxzqhName + fixation.txdz}}</td>
|
|
|
+ <td colspan="3">{{ fixation.szxzqhName + fixation.txdz }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="tdX">消防安全负责人姓名(法定代表人或主要负责人)</td>
|
|
@@ -176,7 +176,7 @@
|
|
|
<!--</el-form-item>-->
|
|
|
<el-form-item label="" prop="mhhjyssya">
|
|
|
<el-badge :value="mhhjyssyaLenght" class="item" type="primary">
|
|
|
- <el-button type="primary" size="mini" @click="xfaqglrOpen=true;accessoryIs=false">上传预案
|
|
|
+ <el-button type="primary" size="mini" @click="xfaqglrOpen = true; accessoryIs = false">上传预案
|
|
|
</el-button>
|
|
|
</el-badge>
|
|
|
<span class="explain">请上传相关预案材料</span>
|
|
@@ -189,7 +189,7 @@
|
|
|
<td colspan="3">
|
|
|
<el-form-item label="">
|
|
|
<el-radio-group v-model="form.xfsyhbaqk" @change="changeXfsyhbaqk(form.xfsyhbaqk)">
|
|
|
- <el-radio v-for="dict in dict.type.CZ035" :key="dict.value" :label="dict.value">{{dict.label}}
|
|
|
+ <el-radio v-for="dict in dict.type.CZ035" :key="dict.value" :label="dict.value">{{ dict.label }}
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
@@ -198,7 +198,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="jtqk" v-else>
|
|
|
<el-badge :value="jtqkLenght" class="item" type="primary">
|
|
|
- <el-button type="primary" size="mini" @click="xfsyhbaqkOpen=true;accessoryIs=false">上传材料
|
|
|
+ <el-button type="primary" size="mini" @click="xfsyhbaqkOpen = true; accessoryIs = false">上传材料
|
|
|
</el-button>
|
|
|
</el-badge>
|
|
|
<span class="explain">请上传消防审验报告等材料</span>
|
|
@@ -226,7 +226,7 @@
|
|
|
<td colspan="3">
|
|
|
<el-form-item class="el-form-item1" label="" prop="aqzd">
|
|
|
<el-badge :value="aqzdLenght" class="item" type="primary">
|
|
|
- <el-button type="primary" size="mini" @click="aqzdOpen=true;accessoryIs=false">上传材料</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="aqzdOpen = true; accessoryIs = false">上传材料</el-button>
|
|
|
</el-badge>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -235,63 +235,63 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="检查信息" name="second">
|
|
|
<table style="margin-bottom: 10px">
|
|
|
- <tr v-for="(item,indexs) in form.yljgJcxmxxList" :key="item.id">
|
|
|
+ <tr v-for="(item, indexs) in form.yljgJcxmxxList" :key="item.id">
|
|
|
<td style="text-align: left">
|
|
|
<!--<div class="tdX">-->
|
|
|
<!--{{item.jcxx}}-->
|
|
|
<el-form-item class="el-form-item1" :label="item.jcxx"
|
|
|
- :rules="{required: true, message:item.jcxx+ '不能为空', trigger: 'change'}"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.isSf'">
|
|
|
- <el-radio-group v-model="item.isSf" @change="changeIsSf(indexs,item.isSf)">
|
|
|
- <el-radio v-for="(dict,index) in item.daxx.split(',')" :key="index" :label="dict">{{dict}}
|
|
|
+ :rules="{ required: true, message: item.jcxx + '不能为空', trigger: 'change' }"
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.isSf'">
|
|
|
+ <el-radio-group v-model="item.isSf" @change="changeIsSf(indexs, item.isSf)">
|
|
|
+ <el-radio v-for="(dict, index) in item.daxx.split(',')" :key="index" :label="dict">{{ dict }}
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<!--</div>-->
|
|
|
<div v-if="item.zbxz" class="red">
|
|
|
- {{item.zbxz}}
|
|
|
+ {{ item.zbxz }}
|
|
|
</div>
|
|
|
- <div v-if="item.isSf=='是'">
|
|
|
+ <div v-if="item.isSf == '是'">
|
|
|
<el-form-item label="不完善的具体情况" :rules="item.rules.bwsdjtqk"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.bwsdjtqk'">
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.bwsdjtqk'">
|
|
|
<el-input v-model="item.bwsdjtqk" placeholder="请输入不完善的具体情况" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="整改措施" :rules="item.rules.zgcs" :prop="'yljgJcxmxxList.'+indexs+'.zgcs'">
|
|
|
+ <el-form-item label="整改措施" :rules="item.rules.zgcs" :prop="'yljgJcxmxxList.' + indexs + '.zgcs'">
|
|
|
<el-input v-model="item.zgcs" placeholder="请输入整改措施" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="责任人" :rules="item.rules.fzr" :prop="'yljgJcxmxxList.'+indexs+'.fzr'">
|
|
|
+ <el-form-item label="责任人" :rules="item.rules.fzr" :prop="'yljgJcxmxxList.' + indexs + '.fzr'">
|
|
|
<el-input v-model="item.fzr" placeholder="请输入责任人" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="整改完成时限" :rules="item.rules.zgwcsx"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.zgwcsx'">
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.zgwcsx'">
|
|
|
<el-date-picker clearable v-model="item.zgwcsx" type="date" value-format="yyyyMMdd"
|
|
|
placeholder="请选择完成整改日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item class="el-form-item1" label="是否完成整改" :rules="item.rules.isWczg"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.isWczg'">
|
|
|
- <el-radio-group v-model="item.isWczg" @change="changeIsWczg(item.isWczg,indexs)">
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.isWczg'">
|
|
|
+ <el-radio-group v-model="item.isWczg" @change="changeIsWczg(item.isWczg, indexs)">
|
|
|
<el-radio v-for="(dict) in dict.type.CZ035" :key="dict.value" :label="dict.value">
|
|
|
- {{dict.label}}
|
|
|
+ {{ dict.label }}
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="完成整改日期" :rules="item.rules.wczfsj" v-if="item.isWczg==='1'"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.wczfsj'">
|
|
|
+ <el-form-item label="完成整改日期" :rules="item.rules.wczfsj" v-if="item.isWczg === '1'"
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.wczfsj'">
|
|
|
<el-date-picker clearable v-model="item.wczfsj" type="date" value-format="yyyyMMdd"
|
|
|
placeholder="请选择完成整改日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="整改完成情况" :rules="item.rules.zgwcqk" v-if="item.isWczg==='1'"
|
|
|
- :prop="'yljgJcxmxxList.'+indexs+'.zgwcqk'">
|
|
|
+ <el-form-item label="整改完成情况" :rules="item.rules.zgwcqk" v-if="item.isWczg === '1'"
|
|
|
+ :prop="'yljgJcxmxxList.' + indexs + '.zgwcqk'">
|
|
|
<el-input v-model="item.zgwcqk" maxlength="500" show-word-limit type="textarea"
|
|
|
placeholder="请输入整改完成情况" />
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
- <div v-if="item.isSf=='否'&&item.isUpload=='1'">
|
|
|
- <el-form-item label="" :rules="item.rules.fj" :prop="'yljgJcxmxxList.'+indexs+'.fj'">
|
|
|
+ <div v-if="item.isSf == '否' && item.isUpload == '1'">
|
|
|
+ <el-form-item label="" :rules="item.rules.fj" :prop="'yljgJcxmxxList.' + indexs + '.fj'">
|
|
|
<el-badge :value="getValue(item.fj)" class="item" type="primary">
|
|
|
- <el-button type="primary" size="mini" @click="accessory(indexs,item.jcxx)">附件上传</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="accessory(indexs, item.jcxx)">附件上传</el-button>
|
|
|
</el-badge>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -311,8 +311,8 @@
|
|
|
</el-scrollbar>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
- <el-button type="primary" @click="changeTabs('first')" v-if="activeName=='second'">上一步</el-button>
|
|
|
- <el-button type="primary" @click="changeTabs('second')" v-if="activeName=='first'">下一步</el-button>
|
|
|
+ <el-button type="primary" @click="changeTabs('first')" v-if="activeName == 'second'">上一步</el-button>
|
|
|
+ <el-button type="primary" @click="changeTabs('second')" v-if="activeName == 'first'">下一步</el-button>
|
|
|
<el-button type="primary" @click="hold('1')" :loading="submitFormLoading">暂 存</el-button>
|
|
|
<el-button type="primary" @click="submitForm" :loading="submitFormLoading">提 交</el-button>
|
|
|
</div>
|
|
@@ -333,7 +333,7 @@
|
|
|
<span>消防设施配备情况:</span>
|
|
|
<el-checkbox-group v-model="pbqk" @change="getSzlrlx(pbqk)" style="margin-top: 5px;margin-bottom: 5px;">
|
|
|
<el-checkbox v-for="dict in dict.type.XZ012" :key="dict.value" :label="dict.value">
|
|
|
- {{dict.label}}
|
|
|
+ {{ dict.label }}
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
<el-input v-model="pbqkqt" :disabled="qtDispaly" placeholder="请输入其他消防设施配备情况" />
|
|
@@ -343,7 +343,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog v-dialog-drag :title="accessoryTitle" :visible.sync="accessoryOpen" width="800px" append-to-body>
|
|
|
- <file-upload v-if="form.yljgJcxmxxList&&form.yljgJcxmxxList[accessoryIndex]"
|
|
|
+ <file-upload v-if="form.yljgJcxmxxList && form.yljgJcxmxxList[accessoryIndex]"
|
|
|
v-model="form.yljgJcxmxxList[accessoryIndex].fj" :fileType="fileType" :fileSize="fileSize" :limit="limit"
|
|
|
:isFile="!accessoryIs"></file-upload>
|
|
|
</el-dialog>
|
|
@@ -354,55 +354,55 @@
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td>统一社会信用代码</td>
|
|
|
- <td>{{fixation.tyshxydm}}</td>
|
|
|
+ <td>{{ fixation.tyshxydm }}</td>
|
|
|
<td>单位名称</td>
|
|
|
- <td>{{fixation.jgmc}}</td>
|
|
|
+ <td>{{ fixation.jgmc }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>单位所属行政区划</td>
|
|
|
- <td>{{fixation.ssxzqh}}</td>
|
|
|
+ <td>{{ fixation.ssxzqh }}</td>
|
|
|
<td>兴办主体</td>
|
|
|
- <td>{{fixation.xbzt}}</td>
|
|
|
+ <td>{{ fixation.xbzt }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>单位通信地址</td>
|
|
|
- <td colspan="3">{{fixation.txdz}}</td>
|
|
|
+ <td colspan="3">{{ fixation.txdz }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>消防安全负责人姓名(法定代表人或主要负责人)</td>
|
|
|
- <td>{{form.xfaqfzr}}</td>
|
|
|
+ <td>{{ form.xfaqfzr }}</td>
|
|
|
<td>消防安全负责人证件类型</td>
|
|
|
- <td>{{translateDict('C0015',form.xfaqfzrzjlx)}}
|
|
|
+ <td>{{ translateDict('C0015', form.xfaqfzrzjlx) }}
|
|
|
<!--C0015-->
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>消防安全负责人证件号码</td>
|
|
|
- <td>{{form.xfaqfzrzjhm}}</td>
|
|
|
+ <td>{{ form.xfaqfzrzjhm }}</td>
|
|
|
<td>消防安全负责人手机号码</td>
|
|
|
- <td>{{form.xfaqfzrdh}}</td>
|
|
|
+ <td>{{ form.xfaqfzrdh }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>消防安全管理人姓名</td>
|
|
|
<td colspan="3">
|
|
|
- {{form.xfaqglr}}
|
|
|
+ {{ form.xfaqglr }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>消防安全管理人证件类型</td>
|
|
|
- <td colspan="3">{{translateDict('C0015',form.xfaqglrzjlx)}}</td>
|
|
|
+ <td colspan="3">{{ translateDict('C0015', form.xfaqglrzjlx) }}</td>
|
|
|
<!--C0015-->
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>消防安全管理人证件号码</td>
|
|
|
<td>
|
|
|
- {{form.xfaqglrzjhm}}
|
|
|
+ {{ form.xfaqglrzjhm }}
|
|
|
</td>
|
|
|
<td>
|
|
|
消防安全管理人手机号码
|
|
|
</td>
|
|
|
<td>
|
|
|
- {{form.xfaqglrdh}}
|
|
|
+ {{ form.xfaqglrdh }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -410,8 +410,8 @@
|
|
|
灭火和应急疏散预案
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
|
- <el-badge :value="mhhjyssyaLenght" class="item" type="primary" v-if="mhhjyssyaLenght!==0">
|
|
|
- <el-button type="primary" size="mini" @click="xfaqglrOpen=true;accessoryIs=true">查看附件</el-button>
|
|
|
+ <el-badge :value="mhhjyssyaLenght" class="item" type="primary" v-if="mhhjyssyaLenght !== 0">
|
|
|
+ <el-button type="primary" size="mini" @click="xfaqglrOpen = true; accessoryIs = true">查看附件</el-button>
|
|
|
</el-badge>
|
|
|
<span v-else>
|
|
|
暂放附件
|
|
@@ -421,7 +421,7 @@
|
|
|
<tr>
|
|
|
<td>消防审验或备案情况</td>
|
|
|
<td colspan="3">
|
|
|
- {{translateDict('CZ035',form.xfsyhbaqk)}}
|
|
|
+ {{ translateDict('CZ035', form.xfsyhbaqk) }}
|
|
|
<!--CZ035-->
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -430,7 +430,7 @@
|
|
|
消防审验或备案不到位的具体情况
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
|
- {{form.jtqk}}
|
|
|
+ {{ form.jtqk }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -438,8 +438,8 @@
|
|
|
消防审验或备案情况证明材料
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
|
- <el-badge :value="jtqkLenght" class="item" type="primary" v-if="jtqkLenght!==0">
|
|
|
- <el-button type="primary" size="mini" @click="xfsyhbaqkOpen=true;accessoryIs=true">查看附件</el-button>
|
|
|
+ <el-badge :value="jtqkLenght" class="item" type="primary" v-if="jtqkLenght !== 0">
|
|
|
+ <el-button type="primary" size="mini" @click="xfsyhbaqkOpen = true; accessoryIs = true">查看附件</el-button>
|
|
|
</el-badge>
|
|
|
<span v-else>
|
|
|
暂放附件
|
|
@@ -449,14 +449,14 @@
|
|
|
<tr>
|
|
|
<td> 消防设施配备情况</td>
|
|
|
<td colspan="3">
|
|
|
- {{xfsspbqk}}
|
|
|
+ {{ xfsspbqk }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="tdX">消防安全制度</td>
|
|
|
<td colspan="3">
|
|
|
- <el-badge :value="aqzdLenght" class="item" type="primary" v-if="aqzdLenght!==0">
|
|
|
- <el-button type="primary" size="mini" @click="aqzdOpen=true;accessoryIs=true">查看附件</el-button>
|
|
|
+ <el-badge :value="aqzdLenght" class="item" type="primary" v-if="aqzdLenght !== 0">
|
|
|
+ <el-button type="primary" size="mini" @click="aqzdOpen = true; accessoryIs = true">查看附件</el-button>
|
|
|
</el-badge>
|
|
|
<span v-else>
|
|
|
暂放附件
|
|
@@ -466,44 +466,44 @@
|
|
|
</table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="检查信息" name="second">
|
|
|
- <table v-for="(item,indexs) in form.yljgJcxmxxList" :key="item.id" style="margin-bottom: 10px">
|
|
|
+ <table v-for="(item, indexs) in form.yljgJcxmxxList" :key="item.id" style="margin-bottom: 10px">
|
|
|
<tr>
|
|
|
<td class="textFont">
|
|
|
- {{item.jcxx}}
|
|
|
+ {{ item.jcxx }}
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
|
- {{item.isSf}}
|
|
|
+ {{ item.isSf }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr v-if="item.isSf=='是'">
|
|
|
+ <tr v-if="item.isSf == '是'">
|
|
|
<td class="textFont">不完善的具体情况:</td>
|
|
|
- <td> {{item.bwsdjtqk}}</td>
|
|
|
+ <td> {{ item.bwsdjtqk }}</td>
|
|
|
<td class="textFont">整改措施:</td>
|
|
|
- <td>{{item.zgcs}}</td>
|
|
|
+ <td>{{ item.zgcs }}</td>
|
|
|
</tr>
|
|
|
- <tr v-if="item.isSf=='是'">
|
|
|
+ <tr v-if="item.isSf == '是'">
|
|
|
<td>责任人:</td>
|
|
|
- <td>{{item.fzr}}</td>
|
|
|
+ <td>{{ item.fzr }}</td>
|
|
|
<td>整改完成时限:</td>
|
|
|
- <td>{{special(item.zgwcsx)}}</td>
|
|
|
+ <td>{{ special(item.zgwcsx) }}</td>
|
|
|
</tr>
|
|
|
- <tr v-if="item.isSf=='是'">
|
|
|
+ <tr v-if="item.isSf == '是'">
|
|
|
<td class="textFont">是否完成整改:</td>
|
|
|
- <td>{{translateDict('CZ035',item.isWczg)}}</td>
|
|
|
+ <td>{{ translateDict('CZ035', item.isWczg) }}</td>
|
|
|
<td class="textFont">完成整改日期:</td>
|
|
|
- <td>{{special(item.wczfsj)}}</td>
|
|
|
+ <td>{{ special(item.wczfsj) }}</td>
|
|
|
</tr>
|
|
|
- <tr v-if="item.isSf=='是'">
|
|
|
+ <tr v-if="item.isSf == '是'">
|
|
|
<td class="textFont">整改完成情况:</td>
|
|
|
- <td colspan="3">{{item.zgwcqk}}</td>
|
|
|
+ <td colspan="3">{{ item.zgwcqk }}</td>
|
|
|
</tr>
|
|
|
- <tr v-if="item.isSf=='否'&&item.isUpload=='1'">
|
|
|
+ <tr v-if="item.isSf == '否' && item.isUpload == '1'">
|
|
|
<td class="textFont">
|
|
|
附件
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
|
<el-badge :value="getValue(item.fj)" class="item" type="primary">
|
|
|
- <el-button type="primary" size="mini" @click="accessory(indexs,item.jcxx,'true')">查看附件</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="accessory(indexs, item.jcxx, 'true')">查看附件</el-button>
|
|
|
</el-badge>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -511,9 +511,9 @@
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td>自查日期</td>
|
|
|
- <td>{{special(form.zcsj)}}</td>
|
|
|
+ <td>{{ special(form.zcsj) }}</td>
|
|
|
<td>自查人</td>
|
|
|
- <td>{{form.zcfzer}}</td>
|
|
|
+ <td>{{ form.zcfzer }}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</el-tab-pane>
|
|
@@ -535,7 +535,7 @@ import {
|
|
|
import { Constant } from '@/utils/constant'
|
|
|
import { chineseOne, idCard, Mobile } from '@/utils/regular'
|
|
|
import TreeNodeDialog from '../../../tool/build/TreeNodeDialog'
|
|
|
-import { decryptData_ECB, decryptRowData_ECB,decrypt_ECB } from "@/api/tool/sm4";
|
|
|
+import { decryptData_ECB, decryptRowData_ECB } from "@/api/tool/sm4";
|
|
|
|
|
|
export default {
|
|
|
name: 'Xfaqzcxx',
|
|
@@ -672,7 +672,7 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
fixation: {},
|
|
|
- decodeStr:{},
|
|
|
+ decodeStr: {},
|
|
|
// xfsspbqk:null,
|
|
|
pbqk: [],
|
|
|
pbqkqt: null,
|
|
@@ -826,14 +826,8 @@ export default {
|
|
|
selectYlJgMsg() {
|
|
|
selectYlJgMsg().then(response => {
|
|
|
this.fixation = response.data
|
|
|
- this.decodeStr = {
|
|
|
- frxm: decrypt_ECB(response.data.frxm),
|
|
|
- frzjhm: decrypt_ECB(response.data.frzjhm),
|
|
|
- frlxfs: decrypt_ECB(response.data.frlxfs),
|
|
|
- txdz: decrypt_ECB(response.data.txdz),
|
|
|
- }
|
|
|
- console.log(this.decodeStr);
|
|
|
- // this.fixation = decryptData_ECB(response.data, ["frxm", "frzjhm", "frlxfs","txdz"], [1, 2, 3, 4]);
|
|
|
+ this.decodeStr = decryptData_ECB(this.deepCopy(response.data), ['frxm', 'frzjhm', 'frlxfs', 'txdz'], [99, 99, 99, 99])
|
|
|
+ this.fixation = decryptData_ECB(response.data, ["frxm", "frzjhm", "frlxfs", "txdz"], [1, 2, 3, 4]);
|
|
|
})
|
|
|
},
|
|
|
rightList() {
|
|
@@ -966,7 +960,7 @@ export default {
|
|
|
this.reset()
|
|
|
const id = row.id || this.ids
|
|
|
getXfaqzcxx(id).then(response => {
|
|
|
- let data = decryptData_ECB(response.data, ["xfaqfzr", "xfaqfzrdh", "xfaqfzrzjhm", "xfaqglr", "xfaqglrdh", "xfaqglrzjhm", "zcfzer","txdz"], [1, 3, 2, 1, 3, 2, 1,4]);
|
|
|
+ let data = decryptData_ECB(response.data, ["xfaqfzr", "xfaqfzrdh", "xfaqfzrzjhm", "xfaqglr", "xfaqglrdh", "xfaqglrzjhm", "zcfzer", "txdz"], [1, 3, 2, 1, 3, 2, 1, 4]);
|
|
|
this.form = { jtqk: '', ...data }
|
|
|
|
|
|
this.changeXfaqglrzjlx()
|
|
@@ -1021,7 +1015,7 @@ export default {
|
|
|
this.reset()
|
|
|
getXfaqzcxx(row.id).then(response => {
|
|
|
this.openXQ = true
|
|
|
- this.form = decryptData_ECB(response.data, ["xfaqfzr", "xfaqfzrdh", "xfaqfzrzjhm", "xfaqglr", "xfaqglrdh", "xfaqglrzjhm", "zcfzer","txdz"], [1, 3, 2, 1, 3, 2, 1,4]);
|
|
|
+ this.form = decryptData_ECB(response.data, ["xfaqfzr", "xfaqfzrdh", "xfaqfzrzjhm", "xfaqglr", "xfaqglrdh", "xfaqglrzjhm", "zcfzer", "txdz"], [1, 3, 2, 1, 3, 2, 1, 4]);
|
|
|
this.form.pbqk = this.form.pbqk ? this.form.pbqk.split(',') : []
|
|
|
this.form.yljgJcxmxxList = this.form.yljgJcxmxxList.map((item, index) => {
|
|
|
let rules = {}
|
|
@@ -1087,12 +1081,22 @@ export default {
|
|
|
},
|
|
|
hold(zt) {
|
|
|
this.submitFormLoading = true;
|
|
|
+ console.log(this.decodeStr);
|
|
|
let formList = {
|
|
|
...this.form,
|
|
|
pbqk: this.form.pbqk.join(','),
|
|
|
- zt: zt
|
|
|
+ zt: zt,
|
|
|
+ xfaqfzr: this.decodeStr.frxm,
|
|
|
+ xfaqfzrzjlx: this.decodeStr.frzjlx,
|
|
|
+ xfaqfzrzjhm: this.decodeStr.frzjhm,
|
|
|
+ xfaqfzrdh: this.decodeStr.frlxfs,
|
|
|
+ xfaqglr: this.decodeStr.frxm,
|
|
|
+ xfaqglrzjlx: this.decodeStr.frzjlx,
|
|
|
+ xfaqglrzjhm: this.decodeStr.frzjhm,
|
|
|
+ xfaqglrdh: this.decodeStr.frlxfs
|
|
|
}
|
|
|
if (this.form.id != null) {
|
|
|
+ console.log('aaa', this.form.id);
|
|
|
let formData = this.comparisonObject(formList, this.copyForm, 'id')
|
|
|
if (formData) {
|
|
|
if (formData.yljgJcxmxxList) {
|
|
@@ -1110,6 +1114,7 @@ export default {
|
|
|
this.submitFormLoading = false;
|
|
|
}
|
|
|
} else {
|
|
|
+ console.log('bbbb', this.form.id);
|
|
|
addXfaqzcxx(formList).then(response => {
|
|
|
this.$modal.msgSuccess('新增成功')
|
|
|
this.open = false
|