From 5a28e6e5194ddd3727fb5411c785bef0f29152bb Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Fri, 25 Nov 2022 16:15:07 +0800
Subject: [PATCH] 新增有效期限
---
src/views/specialCheck/components/feedbackDetails.vue | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/views/specialCheck/components/feedbackDetails.vue b/src/views/specialCheck/components/feedbackDetails.vue
index c856b07..0960aca 100644
--- a/src/views/specialCheck/components/feedbackDetails.vue
+++ b/src/views/specialCheck/components/feedbackDetails.vue
@@ -21,7 +21,7 @@
<div>检查层级: <span class="m-color">{{ corpInfo.checkUnitType == 1 ? '省级':(corpInfo.checkUnitType == 2 ? '市级' : '区县级') }}</span></div>
<div>检查单位: <span class="m-color">{{ corpInfo.checkUnit }}</span></div>
</div>
- <div style="width: 100%" v-if="(unitType==1 && provinceCheckStatus==0)||(unitType==2 && cityCheckStatus==0)||(unitType==3 && areaCheckStatus==0)">
+ <div style="width: 100%" v-if="(unitType==1 && !provinceCheckStatus)||(unitType==2 && !cityCheckStatus)||(unitType==3 && !areaCheckStatus)">
<el-form :model="feedbackForm" :rules="rules" ref="feedbackForm" class="demo-ruleForm">
<el-row :gutter="40" type="flex" align="middle" style="margin: 20px 0">
<el-col :span="8">
@@ -64,7 +64,7 @@
<el-button type="text" @click="deleteItem(index)">删除</el-button>
</td>
</tr>
- <tr style="text-align: center"><el-button icon="el-icon-plus" type="primary" plain round @click="addItem()">添加行</el-button></tr>
+ <tr style="text-align: center"><el-button icon="el-icon-plus" style="height: 32px;padding: 0 30px;margin-top: 6px" type="primary" plain round @click="addItem()">添加行</el-button></tr>
<tr class="m-color b-font" style="text-align: center">执法处罚情况</tr>
<tr>
<td class="m-color w-25 mid">罚款金额(万元)</td>
@@ -192,7 +192,7 @@
</td>
</tr>
<tr style="text-align: center" v-if="unitType == 1">
- <el-button type="primary" icon="el-icon-edit" plain @click="editRecord(1)">修改</el-button>
+ <el-button style="height: 32px;padding: 0 30px;margin-top: 6px" type="primary" icon="el-icon-edit" plain @click="editRecord(1)">修改</el-button>
</tr>
</table>
</div>
@@ -417,7 +417,7 @@
<el-button type="text" @click="deleteEditItem(index)">删除</el-button>
</td>
</tr>
- <tr style="text-align: center"><el-button type="primary" plain icon="el-icon-plus" @click="addEditItem()">添加行</el-button></tr>
+ <tr style="text-align: center"><el-button style="height: 32px;padding: 0 30px;margin-top: 6px" type="primary" plain icon="el-icon-plus" @click="addEditItem()">添加行</el-button></tr>
</table>
</div>
<el-row :gutter="80" v-if="editForm.hiddendangerStatus==1">
@@ -559,9 +559,9 @@
let res = await getSpotCheckReportInfo({id: t.id})
if(res.data.code === "200"){
if(res.data.result == null){
- t.provinceCheckStatus = 0
- t.cityCheckStatus = 0
- t.areaCheckStatus = 0
+ t.provinceCheckStatus = null
+ t.cityCheckStatus = null
+ t.areaCheckStatus = null
t.checkData.provinceCheckTime = ''
t.checkData.cityCheckTime = ''
t.checkData.areaCheckTime = ''
@@ -652,6 +652,7 @@
detainLicenseStatus: null
},
t.dialogVisible = false
+ t.getSpotCheckReportInfo()
} else {
console.log('error submit!!');
return false;
--
Gitblit v1.9.2