From f4c6c3fa64a754040e6f2eee0235612205f89747 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Fri, 13 Feb 2026 13:15:25 +0800
Subject: [PATCH] 添加状态
---
src/views/specialCheck/components/feedbackDetails.vue | 33 +++++++++++++++++----------------
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/src/views/specialCheck/components/feedbackDetails.vue b/src/views/specialCheck/components/feedbackDetails.vue
index c856b07..8a38697 100644
--- a/src/views/specialCheck/components/feedbackDetails.vue
+++ b/src/views/specialCheck/components/feedbackDetails.vue
@@ -18,10 +18,10 @@
<div class="feed-tit">
<div>企业名称: <span class="m-color">{{ corpInfo.enterpriseName }}</span></div>
<div>所属省市县: <span class="m-color">{{ corpInfo.enterpriseProvince + corpInfo.enterpriseCity + corpInfo.enterpriseArea }}</span></div>
- <div>检查层级: <span class="m-color">{{ corpInfo.checkUnitType == 1 ? '省级':(corpInfo.checkUnitType == 2 ? '市级' : '区县级') }}</span></div>
+ <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: 12px" 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>
@@ -123,7 +123,7 @@
<div v-if="provinceCheckStatus == 1" class="record-list">
<div class="record-item">
<table class="record-table">
- <tr class="m-color b-font" style="background: #409EFF;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
+ <tr class="m-color b-font" style="background: #034ea2;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
<tr>
<td class="m-color w-50">被检查企业名称</td>
<td class="m-color w-50">所属省市县</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: 12px" type="primary" icon="el-icon-edit" plain @click="editRecord(1)">修改</el-button>
</tr>
</table>
</div>
@@ -201,11 +201,11 @@
暂无本级检查反馈
</div>
</el-tab-pane>
- <el-tab-pane :label="unitType==2 ? '本级': '市级'" name="2">
+ <el-tab-pane :label="unitType==2 ? '本级': '地(州、市)级'" name="2">
<div v-if="cityCheckStatus == 1" class="record-list">
<div class="record-item">
<table class="record-table">
- <tr class="m-color b-font" style="background: #409EFF;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
+ <tr class="m-color b-font" style="background: #034ea2;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
<tr>
<td class="m-color w-50">被检查企业名称</td>
<td class="m-color w-50">所属省市县</td>
@@ -221,7 +221,7 @@
<td class="m-color w-25">是否检查出隐患问题</td>
</tr>
<tr>
- <td class="w-25">市级</td>
+ <td class="w-25">地(州、市)级</td>
<td class="w-25">{{ checkData.cityCheckName }}</td>
<td class="w-25">{{ checkData.cityCheckTime }}</td>
<td class="w-25">{{ checkData.cityHiddendangerStatus == 1 ? '是' : '否' }}</td>
@@ -274,7 +274,7 @@
</td>
</tr>
<tr style="text-align: center" v-if="unitType == 2">
- <el-button type="primary" icon="el-icon-edit" plain @click="editRecord(2)">修改</el-button>
+ <el-button style="height: 32px;padding: 0 30px;margin: 12px" type="primary" icon="el-icon-edit" plain @click="editRecord(2)">修改</el-button>
</tr>
</table>
</div>
@@ -287,7 +287,7 @@
<div v-if="areaCheckStatus == 1" class="record-list">
<div class="record-item">
<table class="record-table">
- <tr class="m-color b-font" style="background: #409EFF;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
+ <tr class="m-color b-font" style="background: #034ea2;color: #fff;text-align: center">烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业检查情况反馈表</tr>
<tr>
<td class="m-color w-50">被检查企业名称</td>
<td class="m-color w-50">所属省市县</td>
@@ -356,7 +356,7 @@
</td>
</tr>
<tr style="text-align: center" v-if="unitType == 3">
- <el-button type="primary" icon="el-icon-edit" plain @click="editRecord(3)">修改</el-button>
+ <el-button style="height: 32px;padding: 0 30px;margin: 12px" type="primary" icon="el-icon-edit" plain @click="editRecord(3)">修改</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;
@@ -1033,7 +1034,7 @@
width: 75%;
}
&.dark-bg{
- background: #409EFF;
+ background: #034ea2;
color: #fff;
}
&.overText{
--
Gitblit v1.9.2