Commit 93adad843fb940874682bab604d0c32b9316c7a6

Authored by monkeyhouyi
1 parent 61009cfc

网信执法功能添加

src/api/common.js
... ... @@ -34,4 +34,11 @@ export function getSpecialRecordType() {
34 34 method: 'get'
35 35 })
36 36 }
  37 + // 获得案件状态字典
  38 +export function getState() {
  39 + return request({
  40 + url: `/Extend/BaseCaseHandling/GetState`,
  41 + method: 'get'
  42 + })
  43 + }
37 44  
... ...
src/mixins/info.js
... ... @@ -6,6 +6,7 @@ export default {
6 6 areaOptions: [],
7 7 systemClassOptions: [],
8 8 specialRecordTypeOption: [],
  9 + stateOptions: [],
9 10 }
10 11 },
11 12 created() {},
... ... @@ -30,6 +31,11 @@ export default {
30 31 !list && (list = await this.$store.dispatch('getTypeListByCode', 'specialRecordType'));
31 32 this.specialRecordTypeOption = list;
32 33 },
  34 + async initStateTypeOption() {
  35 + let list = this.$store.state.meta.stateTypeList;
  36 + !list && (list = await this.$store.dispatch('getTypeListByCode', 'stateType'));
  37 + this.stateOptions = list;
  38 + },
33 39  
34 40 },
35 41 }
36 42 \ No newline at end of file
... ...
src/store/modules/meta.js
1 1 // 下拉字段配置
2 2 import { register } from "@/api";
3 3 // 系统类型
4   -import { getSystemTypeList, getSpecialRecordType } from "@/api/common";
  4 +import { getSystemTypeList, getSpecialRecordType, getState } from "@/api/common";
5 5 // 所属区县
6 6 import { getAreaSelect } from "@/api/baseData/area";
7 7 // 系统分类
... ... @@ -16,6 +16,7 @@ const meta = {
16 16 systemClass: {},
17 17 externalAssistanceList: '', // 外协
18 18 specialRecordTypeList: '', // 特殊备案
  19 + stateTypeList: '',
19 20 },
20 21  
21 22 mutations: {
... ... @@ -34,6 +35,9 @@ const meta = {
34 35 SET_SPECIALRECORDTYPELIST_CLASS: (state, data) => {
35 36 state.specialRecordTypeList = data;
36 37 },
  38 + SET_STATETYPE_LIST: (state, data) => {
  39 + state.stateTypeList = data;
  40 + },
37 41 },
38 42  
39 43 actions: {
... ... @@ -64,6 +68,14 @@ const meta = {
64 68 resolve(res.data.list)
65 69 }).catch(error => { reject(error) })
66 70 break;
  71 + case 'stateType':
  72 + getState().then(res => {
  73 + console.log(res.data, 'list');
  74 +
  75 + commit('SET_STATETYPE_LIST', res.data)
  76 + resolve(res.data)
  77 + }).catch(error => { reject(error) })
  78 + break;
67 79  
68 80 default:
69 81 break;
... ...
src/views/baseCaseHandling/Form.vue
... ... @@ -33,6 +33,7 @@
33 33 placeholder="请输入关键词"
34 34 :remote-method="getSystemSelect"
35 35 @change="systemChange"
  36 + :disabled="formType"
36 37 :loading="system_loading">
37 38 <el-option
38 39 v-for="item in systemOption"
... ... @@ -64,6 +65,7 @@
64 65 v-model="dataForm.districtCounty"
65 66 placeholder="请选择所属区县"
66 67 style="line-height: 22px"
  68 + :disabled="formType"
67 69 >
68 70 <el-radio v-for="v in areaOptions" :key="v.id" :label="v.id">{{
69 71 v.fullName
... ... @@ -73,17 +75,30 @@
73 75 </el-col>
74 76 <el-col :span="24">
75 77 <el-form-item label="违法原因" prop="illegalReasons">
76   - <el-input type="textarea" v-model="dataForm.illegalReasons" placeholder="请输入违法原因" clearable maxlength="200"/>
  78 + <el-input type="textarea" v-model="dataForm.illegalReasons" placeholder="请输入违法原因" clearable maxlength="200" :disabled="formType"/>
77 79 </el-form-item>
78 80 </el-col>
79 81 <el-col :span="24">
80 82 <el-form-item label="处罚要求" prop="punishmentRequirements">
81   - <el-input type="textarea" v-model="dataForm.punishmentRequirements" placeholder="请输入处罚要求" clearable maxlength="200"/>
  83 + <el-input type="textarea" v-model="dataForm.punishmentRequirements" placeholder="请输入处罚要求" clearable maxlength="200" :disabled="formType"/>
82 84 </el-form-item>
83 85 </el-col>
84 86 <el-col :span="24">
85 87 <el-form-item label="处罚内容" prop="punishmentContent">
86   - <el-input type="textarea" v-model="dataForm.punishmentContent" placeholder="请输入处罚内容" clearable maxlength="200"/>
  88 + <el-input type="textarea" v-model="dataForm.punishmentContent" placeholder="请输入处罚内容" clearable maxlength="200" :disabled="formType"/>
  89 + </el-form-item>
  90 + </el-col>
  91 + <el-col :span="24" v-if='isSHILevel'>
  92 + <el-form-item label="执法方式" prop="enforceType">
  93 + <el-radio-group v-model="dataForm.enforceType">
  94 + <el-radio :label="1">柔性执法</el-radio>
  95 + <el-radio :label="2">行政执法</el-radio>
  96 + </el-radio-group>
  97 + </el-form-item>
  98 + </el-col>
  99 + <el-col :span="24" v-if='formType'>
  100 + <el-form-item label="执法说明" prop="enforceContent">
  101 + <el-input type="textarea" v-model="dataForm.enforceContent" placeholder="请输入处罚内容" clearable maxlength="200"/>
87 102 </el-form-item>
88 103 </el-col>
89 104 </el-form>
... ... @@ -91,8 +106,13 @@
91 106  
92 107 <span slot="footer" class="dialog-footer">
93 108 <el-button @click="visible = false">取 消</el-button>
94   - <el-button type="primary" v-if="!isDetail" @click="submit(1)">{{isSHILevel ? '下 发' : '上 报'}}</el-button>
95   - <el-button type="info" v-if="!isDetail" @click="submit(0)">保 存</el-button>
  109 + <template v-if="!isDetail && !formType">
  110 + <el-button type="primary" v-if="!isDetail" @click="submit(1)" :loading="btnLoading">{{isSHILevel ? '下 发' : '上 报'}}</el-button>
  111 + <el-button type="info" v-if="!isDetail" @click="submit(0)" :loading="btnLoading">保 存</el-button>
  112 + </template>
  113 + <template v-if="!isDetail && formType">
  114 + <el-button type="primary" v-if="!isDetail" @click="handle" :loading="btnLoading">提 交</el-button>
  115 + </template>
96 116 </span>
97 117 </el-dialog>
98 118 </template>
... ... @@ -109,6 +129,7 @@ export default {
109 129 visible: false,
110 130 loading: false,
111 131 isDetail: false,
  132 + formType: false,
112 133 dataForm: {
113 134 id: undefined,
114 135 registrationTime: undefined,
... ... @@ -127,6 +148,8 @@ export default {
127 148 noticeLetter: undefined,
128 149 punishmentDecision: undefined,
129 150 closingReport: undefined,
  151 + enforceType: undefined,
  152 + enforceContent: undefined,
130 153 },
131 154 rules: {
132 155 systemName: [
... ... @@ -135,10 +158,17 @@ export default {
135 158 districtCounty: [
136 159 { required: true, message: "请选择所属区域", trigger: "change" }
137 160 ],
  161 + enforceType: [
  162 + { required: true, message: "请选择执法方式", trigger: "change" }
  163 + ],
  164 + enforceContent: [
  165 + { required: true, message: "请填写执法说明", trigger: "bulr" }
  166 + ],
138 167 },
139 168 systemOption: [],
140 169 system_loading: false,
141 170 areaOptions: [],
  171 + btnLoading: false,
142 172 };
143 173 },
144 174 computed: {
... ... @@ -182,25 +212,29 @@ export default {
182 212 goBack() {
183 213 this.$emit("refresh");
184 214 },
185   - init(id, isDetail) {
  215 + init(id, isDetail, type) {
  216 + // type 0 上报/下派 1 处理
  217 + this.formType = Boolean(type) || false;
186 218 this.dataForm.id = id || 0;
187 219 this.isDetail = isDetail || false;
188   - // this.loading = true;
189 220 this.visible = true;
190 221 this.$nextTick(() => {
191 222 this.$refs["elForm"].resetFields();
192 223 if (this.dataForm.id) {
  224 + this.loading = true;
193 225 request({
194 226 url: `/Extend/BaseCaseHandling/${this.dataForm.id}`,
195 227 method: "GET",
196 228 }).then((res) => {
197 229 this.dataForm = res.data;
198   - // this.loading = false;
  230 + this.loading = false;
  231 + }).catch(() => {
  232 + this.loading = false;
199 233 });
200 234 }
201 235 });
202 236 },
203   - // 提交
  237 + // 上报/下派
204 238 submit(type) {
205 239 // type: 1 上报 0 保存
206 240 let obj = {
... ... @@ -209,22 +243,48 @@ export default {
209 243 }
210 244 this.$refs['elForm'].validate((valid) => {
211 245 if(!type || valid) {
  246 + !this.dataForm.id ? this.toRequest('/Extend/BaseCaseHandling', 'POST', obj) : this.toRequest(`/Extend/BaseCaseHandling/${this.dataForm.id}`, 'PUT', obj);
  247 + }
  248 + })
  249 + },
  250 + // 处理
  251 + handle() {
  252 + this.$refs['elForm'].validate((valid) => {
  253 + if(valid) {
  254 + return
  255 + this.btnLoading = true;
212 256 request({
213   - url: `/Extend/BaseCaseHandling`,
214   - method: "POST",
215   - data: obj,
  257 + url: `/Extend/basecasehandling/handling-case`,
  258 + method: "PUT",
  259 + data: this.dataForm,
216 260 }).then((res) => {
217 261 this.$message({
218 262 type: "success",
219   - message: res.msg,
220   - onClose: () => {
221   - this.visible = false;
222   - this.$emit("refresh", true);
223   - },
224   - });
225   - });
  263 + })
  264 + }).catch(() => {
  265 + this.btnLoading = false;
  266 + })
226 267 }
227 268 })
  269 + },
  270 + toRequest(url, method, data) {
  271 + this.btnLoading = true;
  272 + request({
  273 + url,
  274 + method,
  275 + data,
  276 + }).then((res) => {
  277 + this.$message({
  278 + type: "success",
  279 + message: res.msg,
  280 + onClose: () => {
  281 + this.visible = false;
  282 + this.$emit("refresh", true);
  283 + },
  284 + });
  285 + }).catch(() => {
  286 + this.btnLoading = false;
  287 + });
228 288 }
229 289 },
230 290 };
... ...
src/views/baseCaseHandling/index.vue
... ... @@ -97,31 +97,15 @@
97 97 <el-table-column prop="illegalReasons" label="违法原因" align="left" show-overflow-tooltip/>
98 98 <el-table-column prop="punishmentRequirements" label="处罚要求" align="left" show-overflow-tooltip/>
99 99 <el-table-column prop="punishmentContent" label="处罚内容" align="left" show-overflow-tooltip/>
100   - <el-table-column label="状态" prop="state" align="left" />
101   - <!-- <el-table-column prop="flowState" label="状态" width="100">
102   - <template slot-scope="scope">
103   - <el-tag v-if="scope.row.flowState == 1">等待审核</el-tag>
104   - <el-tag type="success" v-else-if="scope.row.flowState == 2"
105   - >审核通过</el-tag
106   - >
107   - <el-tag type="danger" v-else-if="scope.row.flowState == 3"
108   - >审核驳回</el-tag
109   - >
110   - <el-tag type="danger" v-else-if="scope.row.flowState == 4"
111   - >流程撤回</el-tag
112   - >
113   - <el-tag type="warning" v-else-if="scope.row.flowState == 5"
114   - >审核终止</el-tag
115   - >
116   - <el-tag type="info" v-else>等待提交</el-tag>
117   - </template>
118   - </el-table-column> -->
  100 + <el-table-column label="状态" prop="state" align="left" >
  101 + <template slot-scope="scope">{{ scope.row.state | dynamicTextUP(stateOptions) }}</template>
  102 + </el-table-column>
119 103 <el-table-column label="操作" fixed="right" width="180">
120 104 <template slot-scope="scope">
121   - <el-button type="text" :disabled="[1, 2, 5].indexOf(scope.row.flowState) > -1" @click="addOrUpdateHandle(scope.row.id)" >编辑</el-button>
122   - <el-button type="text" :disabled="[1, 2, 5].indexOf(scope.row.flowState) > -1" @click="addOrUpdateHandle(scope.row.id)" >{{isSHILevel ? '下发' : '上报'}}</el-button>
123   - <el-button type="text" :disabled="[1, 2, 3, 5].indexOf(scope.row.flowState) > -1" @click="handleDel(scope.row.id)" class="NCC-table-delBtn" >删除</el-button>
124   - <el-button size="mini" type="text" :disabled="!scope.row.flowState" @click=" addOrUpdateHandle(scope.row.id, scope.row.flowState) " >详情</el-button>
  105 + <el-button size="mini" type="text" @click="addOrUpdateHandle(scope.row.id, true) " >详情</el-button>
  106 + <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="addOrUpdateHandle(scope.row.id)" >编辑</el-button>
  107 + <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="toReportCase(scope.row.id)" >{{isSHILevel ? '下发' : '上报'}}</el-button>
  108 + <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="handleDel(scope.row.id)" class="NCC-table-delBtn" >删除</el-button>
125 109 </template>
126 110 </el-table-column>
127 111 </NCC-table>
... ... @@ -202,6 +186,7 @@ export default {
202 186 },
203 187 created() {
204 188 this.initAreaTypeList();
  189 + this.initStateTypeOption();
205 190 this.initData();
206 191 },
207 192 methods: {
... ... @@ -260,6 +245,26 @@ export default {
260 245 this.$refs.FlowBox.init(id, isDetail);
261 246 });
262 247 },
  248 + toReportCase(id) {
  249 + this.$confirm("确认上报/下发该案件?", "提示", {
  250 + type: "warning",
  251 + })
  252 + .then(() => {
  253 + request({
  254 + url: `/Extend/BaseCaseHandling/ReportCase/${id}`,
  255 + method: "PUT",
  256 + }).then((res) => {
  257 + this.$message({
  258 + type: "success",
  259 + message: res.msg,
  260 + onClose: () => {
  261 + this.initData();
  262 + },
  263 + });
  264 + });
  265 + })
  266 + .catch(() => {});
  267 + },
263 268 search() {
264 269 this.listQuery = {
265 270 currentPage: 1,
... ...
src/views/baseSpecialAction/infoForm.vue
... ... @@ -30,7 +30,7 @@
30 30 </el-table-column>
31 31 <el-table-column label="操作" fixed="right" width="80" >
32 32 <template slot-scope="scope">
33   - <el-button type="text" @click="toDetail(scope.row)" v-if="scope.row.state == '已填写'">详情</el-button>
  33 + <el-button type="text" @click="toDetailForm(scope.row)" :disabled="scope.row.state != '已填写'">详情</el-button>
34 34 </template>
35 35 </el-table-column>
36 36 </el-table>
... ... @@ -40,12 +40,14 @@
40 40 <span slot="footer" class="dialog-footer">
41 41 <el-button @click="close">取 消</el-button>
42 42 </span>
  43 + <NCCForm v-if="dialogVisible" ref="NCCForm" />
43 44 </el-dialog>
44 45 </template>
45 46 <script>
46 47 import request from "@/utils/request";
  48 +import NCCForm from '@/views/baseSpecialAction/dynamicModel/list/Form'
47 49 export default {
48   - components: {},
  50 + components: { NCCForm },
49 51 props: [],
50 52 data() {
51 53 return {
... ... @@ -58,6 +60,7 @@ export default {
58 60 },
59 61 total: 0,
60 62 form: {},
  63 + dialogVisible: false,
61 64 };
62 65 },
63 66 computed: {},
... ... @@ -92,9 +95,25 @@ export default {
92 95 });
93 96 }
94 97 },
95   - toDetail(row) {
96   -
97   - }
  98 + toDetailForm(row) {
  99 + console.log(row);
  100 +
  101 + // this.dialogVisible = true;
  102 + // var Itemid = row.itemId || '';//数据id,没有的话就是新增 ,有的话就是修改
  103 + // var modelId = row.formId;//关联的表单id
  104 + // var taskId = row.id; // 当前专项行动id
  105 + // var isPreview = false;//固定死,值不变
  106 + // var useFormPermission = false;//固定死,值不变
  107 + // var formData = [];
  108 + // request({
  109 + // url: '/visualdev/OnlineDev/'+modelId+'/Config',
  110 + // method: "GET",
  111 + // params:null
  112 + // }).then(res => {
  113 + // formData = res.data.formData;
  114 + // this.$refs.NCCForm.init(formData, modelId, Itemid, isPreview, useFormPermission, taskId)
  115 + // });
  116 + },
98 117 };
99 118 </script>
100 119 <style lang="scss" scoped>
... ...
src/views/baseSystemInfo/DetailForm.vue
... ... @@ -5,19 +5,19 @@
5 5 :visible.sync="visible"
6 6 class="NCC-dialog NCC-dialog_center systemInfoDialog"
7 7 lock-scroll
8   - width="70%"
  8 + width="40%"
9 9 >
10   - <el-row :gutter="15" style="height: 65vh" v-loading="loading">
  10 + <el-row :gutter="15" style="height: 65vh; margin: 10px;" v-loading="loading">
11 11 <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
12 12 <el-tab-pane label="应用信息" name="1">
13 13 <div class="system-info">
14   - <el-col :span="12">
  14 + <el-col :span="24">
15 15 <div class="form-item">
16 16 <div class="label w-100">主体企业:</div>
17 17 {{ dataForm.companyName || "--" }}
18 18 </div>
19 19 </el-col>
20   - <el-col :span="12">
  20 + <el-col :span="24">
21 21 <div class="form-item">
22 22 <div class="label w-100">系统类型:</div>
23 23 {{ dataForm.systemType | dynamicTextUP(systemTypeOptions) }}
... ... @@ -29,50 +29,50 @@
29 29 dataForm.systemType != '580634746028033285'
30 30 "
31 31 >
32   - <el-col :span="12">
  32 + <el-col :span="24">
33 33 <div class="form-item">
34 34 <div class="label w-100">特殊备案类型:</div>
35   - {{ dataForm.systemType || "--" }}
  35 + {{ dataForm.specialRecordType || "--" }}
36 36 </div>
37 37 </el-col>
38 38 <el-col :span="24">
39 39 <div class="form-item">
40 40 <div class="label w-100">特殊备案内容:</div>
41   - {{ dataForm.systemType || "--" }}
  41 + {{ dataForm.specialRecordContent || "--" }}
42 42 </div>
43 43 </el-col>
44   - <el-col :span="12">
  44 + <el-col :span="24">
45 45 <div class="form-item">
46 46 <div class="label w-100">特殊备案号:</div>
47   - {{ dataForm.systemType || "--" }}
  47 + {{ dataForm.specialRecordNumber || "--" }}
48 48 </div>
49 49 </el-col>
50   - <el-col :span="12">
  50 + <el-col :span="24">
51 51 <div class="form-item">
52 52 <div class="label w-100">特殊备案时间:</div>
53   - {{ dataForm.systemType || "--" }}
  53 + {{ ncc.dateFormat(dataForm.specialRecordTime, 'YYYY-MM-DD HH:mm:ss') || "--" }}
54 54 </div>
55 55 </el-col>
56 56 </template>
57   - <el-col :span="12">
  57 + <el-col :span="24">
58 58 <div class="form-item">
59 59 <div class="label w-100">系统名称:</div>
60 60 {{ dataForm.systemName || "--" }}
61 61 </div>
62 62 </el-col>
63   - <el-col :span="12">
  63 + <el-col :span="24">
64 64 <div class="form-item">
65 65 <div class="label w-100">系统分类:</div>
66 66 {{ dataForm.systemClass | dynamicTextClassName(systemClassOptions) }}
67 67 </div>
68 68 </el-col>
69   - <el-col :span="12">
  69 + <el-col :span="24">
70 70 <div class="form-item">
71 71 <div class="label w-100">备案许可证:</div>
72 72 {{ dataForm.recordLicense || "--" }}
73 73 </div>
74 74 </el-col>
75   - <el-col :span="12">
  75 + <el-col :span="24">
76 76 <div class="form-item">
77 77 <div class="label w-100">归属平台:</div>
78 78 {{ dataForm.platform || "--" }}
... ... @@ -84,25 +84,25 @@
84 84 {{ dataForm.domain || "--" }}
85 85 </div>
86 86 </el-col>
87   - <el-col :span="12">
  87 + <el-col :span="24">
88 88 <div class="form-item">
89 89 <div class="label w-100">下载量:</div>
90 90 {{ dataForm.systemDownloadVolume || "--" }}
91 91 </div>
92 92 </el-col>
93   - <el-col :span="12">
  93 + <el-col :span="24">
94 94 <div class="form-item">
95 95 <div class="label w-100">版本:</div>
96 96 {{ dataForm.version || "--" }}
97 97 </div>
98 98 </el-col>
99   - <el-col :span="12">
  99 + <el-col :span="24">
100 100 <div class="form-item">
101 101 <div class="label w-100">负责人姓名:</div>
102 102 {{ dataForm.principalName || "--" }}
103 103 </div>
104 104 </el-col>
105   - <el-col :span="12">
  105 + <el-col :span="24">
106 106 <div class="form-item">
107 107 <div class="label w-100">负责人电话:</div>
108 108 {{ dataForm.principalPhone || "--" }}
... ... @@ -124,43 +124,43 @@
124 124 </el-tab-pane>
125 125 <el-tab-pane label="公司信息" name="2">
126 126 <div class="company-info">
127   - <el-col :span="12">
  127 + <el-col :span="24">
128 128 <div class="form-item">
129 129 <div class="label w-100">公司名称:</div>
130 130 {{ companyForm.companyName || "--" }}
131 131 </div>
132 132 </el-col>
133   - <el-col :span="12">
  133 + <el-col :span="24">
134 134 <div class="form-item">
135 135 <div class="label w-100">社会信用代:</div>
136 136 {{ companyForm.socialCreditAgency || "--" }}
137 137 </div>
138 138 </el-col>
139   - <el-col :span="12">
  139 + <el-col :span="24">
140 140 <div class="form-item">
141 141 <div class="label w-100">公司法人:</div>
142 142 {{ companyForm.legalPerson || "--" }}
143 143 </div>
144 144 </el-col>
145   - <el-col :span="12">
  145 + <el-col :span="24">
146 146 <div class="form-item">
147 147 <div class="label w-100">公司地址:</div>
148 148 {{ companyForm.address || "--" }}
149 149 </div>
150 150 </el-col>
151   - <el-col :span="12">
  151 + <el-col :span="24">
152 152 <div class="form-item">
153 153 <div class="label w-100">联系人:</div>
154 154 {{ companyForm.contactUser || "--" }}
155 155 </div>
156 156 </el-col>
157   - <el-col :span="12">
  157 + <el-col :span="24">
158 158 <div class="form-item">
159 159 <div class="label w-100">联系方式:</div>
160 160 {{ companyForm.contactPhone || "--" }}
161 161 </div>
162 162 </el-col>
163   - <el-col :span="12">
  163 + <el-col :span="24">
164 164 <div class="form-item">
165 165 <div class="label w-100">所属区县:</div>
166 166 {{ companyForm.areaName || "--" }}
... ... @@ -177,7 +177,7 @@
177 177 <el-tab-pane label="核查处置记录" name="3">核查处置记录</el-tab-pane>
178 178 <el-tab-pane label="网信执法记录" name="4">网信执法记录</el-tab-pane>
179 179 <el-tab-pane label="数据日志" name="5">
180   - <div class="infinite-list-wrapper" style="overflow:auto;height: calc(65vh - 45px);">
  180 + <div class="infinite-list-wrapper" style="overflow:auto;height: calc(65vh - 65px);">
181 181 <el-timeline class="list" v-infinite-scroll="initInfoRecord" :infinite-scroll-disabled="record_disabled">
182 182 <el-timeline-item
183 183 placement="top"
... ... @@ -360,6 +360,14 @@ export default {
360 360 };
361 361 </script>
362 362 <style lang="scss" scoped>
  363 +.el-dialog__wrapper.NCC-dialog.NCC-dialog_center.systemInfoDialog {
  364 + :deep(.el-tabs__content) {
  365 + background: #f5f5f5;
  366 + border-radius: 10px;
  367 + padding: 10px;
  368 + }
  369 +}
  370 +
363 371 // .NCC-dialog.systemInfoDialog {
364 372 // :deep(.el-dialog__body) {
365 373 // overflow: unset !important;
... ...
src/views/overView/Overview.vue
... ... @@ -113,9 +113,9 @@
113 113 </el-table-column>
114 114 <el-table-column label="操作" fixed="right" width="150">
115 115 <template slot-scope="scope">
  116 + <el-button type="text" @click="checkDetail(scope.row, true)">详情</el-button>
116 117 <el-button type="text" @click="checkDetail(scope.row)" v-if="isSHILevel">编辑</el-button>
117 118 <el-button type="text" style="color: red;" @click="delNew(scope.row)">删除</el-button>
118   - <el-button type="text" style="color: #909399;" @click="checkDetail(scope.row, true)">详情</el-button>
119 119 </template>
120 120 </el-table-column>
121 121 </el-table>
... ... @@ -128,6 +128,7 @@
128 128 <MsgForm v-if="MsgFormVisible" ref="MsgForm" @refresh="msgRefresh"/>
129 129 <HandleInspectForm v-if="HandleInspectFormVisible" ref="HandleInspectForm" @refresh="(val) => {taskRefresh('HandleInspectFormVisible', val)}"/>
130 130 <NCC-Form v-if="formVisible" ref="NCCForm" @refreshDataList="(val) => {taskRefresh('formVisible', val)}" />
  131 + <HandForm v-if="HandFormVisible" ref="HandForm" @refresh="(val) => {taskRefresh('HandFormVisible', val)}" />
131 132 </div>
132 133 </template>
133 134  
... ... @@ -136,10 +137,11 @@ import request from &quot;@/utils/request&quot;;
136 137 import MsgForm from "./msgForm.vue"
137 138 import HandleInspectForm from "@/views/baseSystemInfo/HandleInspectForm.vue"
138 139 import NCCForm from '@/views/baseSpecialAction/dynamicModel/list/Form'
  140 +import HandForm from '@/views/baseCaseHandling/Form.vue'
139 141  
140 142 export default {
141 143 name: "Overview",
142   - components: { MsgForm, HandleInspectForm, NCCForm },
  144 + components: { MsgForm, HandleInspectForm, NCCForm, HandForm },
143 145 data() {
144 146 return {
145 147 todoTableData: [],
... ... @@ -169,7 +171,8 @@ export default {
169 171 taskList: [],
170 172 taskTotal: 0,
171 173 HandleInspectFormVisible: false,
172   - formVisible: false
  174 + formVisible: false,
  175 + HandFormVisible: false,
173 176 };
174 177 },
175 178 created() {
... ... @@ -313,6 +316,11 @@ export default {
313 316 formData = res.data.formData;
314 317 this.$refs.NCCForm.init(formData, modelId, Itemid, isPreview, useFormPermission, taskId)
315 318 });
  319 + } else if(row.taskType == '执法') {
  320 + this.HandFormVisible = true;
  321 + this.$nextTick(() => {
  322 + this.$refs.HandForm.init(row.taskCorrelationId, false, 1);
  323 + })
316 324 }
317 325 },
318 326 async getBaseSpecialActionInfo(id) {
... ...