Commit f0d64cc9c0a2dfc7a9a635847a06e171308b3695

Authored by monkeyhouyi
1 parent 7e62c38f

优化

src/views/DisposalSuggestions/Form.vue
@@ -119,6 +119,12 @@ @@ -119,6 +119,12 @@
119 <div class="label w-120">处置建议:</div> 119 <div class="label w-120">处置建议:</div>
120 <div class="text">{{ v.judgmentOpinion }}</div> 120 <div class="text">{{ v.judgmentOpinion }}</div>
121 </div> 121 </div>
  122 + <div class="form-item" v-if="v.judgmentFileUrl">
  123 + <div class="label w-120">处置附件:</div>
  124 + <div class="text" style="width: calc(100% - 120px);">
  125 + <NCC-UploadFz v-model="v.judgmentFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
  126 + </div>
  127 + </div>
122 </el-col> 128 </el-col>
123 <el-col :span="24" v-for="(v, index) in dataForm.disposalSuggestions" :key="index + 'disposalSuggestions'" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;"> 129 <el-col :span="24" v-for="(v, index) in dataForm.disposalSuggestions" :key="index + 'disposalSuggestions'" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;">
124 <div class="title">处置信息{{ index + 1 }}</div> 130 <div class="title">处置信息{{ index + 1 }}</div>
@@ -126,10 +132,10 @@ @@ -126,10 +132,10 @@
126 <div class="label w-120">处置结果:</div> 132 <div class="label w-120">处置结果:</div>
127 <div class="text">{{ v.disposalSuggestion }}</div> 133 <div class="text">{{ v.disposalSuggestion }}</div>
128 </div> 134 </div>
129 - <div class="form-item" v-if="v.fileUrl"> 135 + <div class="form-item" v-if="v.disposalResultFileUrl">
130 <div class="label w-120">处置附件:</div> 136 <div class="label w-120">处置附件:</div>
131 <div class="text" style="width: calc(100% - 120px);"> 137 <div class="text" style="width: calc(100% - 120px);">
132 - <NCC-UploadFz v-model="v.fileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> 138 + <NCC-UploadFz v-model="v.disposalResultFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
133 </div> 139 </div>
134 </div> 140 </div>
135 </el-col> 141 </el-col>
@@ -242,7 +248,7 @@ @@ -242,7 +248,7 @@
242 </el-radio-group> 248 </el-radio-group>
243 </el-form-item> 249 </el-form-item>
244 </el-col> 250 </el-col>
245 - <el-col :span="24" v-if="showSuggsetion"> 251 + <el-col :span="24">
246 <el-form-item label="处置建议" prop="judgmentOpinions"> 252 <el-form-item label="处置建议" prop="judgmentOpinions">
247 <el-input 253 <el-input
248 v-model="suggestionForm.judgmentOpinions" 254 v-model="suggestionForm.judgmentOpinions"
@@ -256,6 +262,11 @@ @@ -256,6 +262,11 @@
256 </el-input> 262 </el-input>
257 </el-form-item> 263 </el-form-item>
258 </el-col> 264 </el-col>
  265 + <el-col :span="24">
  266 + <el-form-item label="上传附件" prop="judgmentFileUrl">
  267 + <NCC-UploadFz v-model="suggestionForm.judgmentFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" />
  268 + </el-form-item>
  269 + </el-col>
259 </el-form> 270 </el-form>
260 </el-row> 271 </el-row>
261 </el-col> 272 </el-col>
@@ -300,6 +311,7 @@ export default { @@ -300,6 +311,7 @@ export default {
300 obtainEvidence: [], 311 obtainEvidence: [],
301 annex: [], 312 annex: [],
302 externalAssistanceId: undefined, 313 externalAssistanceId: undefined,
  314 + judgmentFileUrl: [],
303 }, 315 },
304 sourceOptions: [], 316 sourceOptions: [],
305 platformTypeOptions: [], 317 platformTypeOptions: [],
src/views/DisposalSuggestions/HandleForm.vue
@@ -120,6 +120,12 @@ @@ -120,6 +120,12 @@
120 <div class="label w-120">处置建议:</div> 120 <div class="label w-120">处置建议:</div>
121 <div class="text">{{ v.judgmentOpinion }}</div> 121 <div class="text">{{ v.judgmentOpinion }}</div>
122 </div> 122 </div>
  123 + <div class="form-item" v-if="v.judgmentFileUrl">
  124 + <div class="label w-120">处置附件:</div>
  125 + <div class="text" style="width: calc(100% - 120px);">
  126 + <NCC-UploadFz v-model="v.judgmentFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
  127 + </div>
  128 + </div>
123 </el-col> 129 </el-col>
124 <el-col :span="24" v-for="(v, i) in dataForm.disposalSuggestions" :key="i" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;"> 130 <el-col :span="24" v-for="(v, i) in dataForm.disposalSuggestions" :key="i" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;">
125 <div class="title">处置信息{{ i + 1 }}</div> 131 <div class="title">处置信息{{ i + 1 }}</div>
@@ -127,10 +133,10 @@ @@ -127,10 +133,10 @@
127 <div class="label w-120">处置结果:</div> 133 <div class="label w-120">处置结果:</div>
128 <div class="text">{{ v.disposalSuggestion }}</div> 134 <div class="text">{{ v.disposalSuggestion }}</div>
129 </div> 135 </div>
130 - <div class="form-item" v-if="v.fileUrl"> 136 + <div class="form-item" v-if="v.disposalResultFileUrl">
131 <div class="label w-120">处置附件:</div> 137 <div class="label w-120">处置附件:</div>
132 <div class="text" style="width: calc(100% - 120px);"> 138 <div class="text" style="width: calc(100% - 120px);">
133 - <NCC-UploadFz v-model="v.fileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> 139 + <NCC-UploadFz v-model="v.disposalResultFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
134 </div> 140 </div>
135 </div> 141 </div>
136 </el-col> 142 </el-col>
@@ -283,6 +289,7 @@ @@ -283,6 +289,7 @@
283 }, 289 },
284 watch: {}, 290 watch: {},
285 created() { 291 created() {
  292 + this.initAreaTypeList();
286 this.getSourceOptions(); 293 this.getSourceOptions();
287 // this.getplatformTypeOptions(); 294 // this.getplatformTypeOptions();
288 // this.getquestionTypeOptions(); 295 // this.getquestionTypeOptions();
@@ -331,6 +338,7 @@ @@ -331,6 +338,7 @@
331 this.loading = false; 338 this.loading = false;
332 this.sourceOptions.length && this.dataForm.reportSource && (this.dataForm.reportSourceName = this.sourceOptions.find(v => v.Id == this.dataForm.reportSource).FullName); 339 this.sourceOptions.length && this.dataForm.reportSource && (this.dataForm.reportSourceName = this.sourceOptions.find(v => v.Id == this.dataForm.reportSource).FullName);
333 this.dataForm.areaName = dynamicText(res.data.areaId, this.areaOptions); 340 this.dataForm.areaName = dynamicText(res.data.areaId, this.areaOptions);
  341 + console.log(this.dataForm.areaName);
334 this.suggestionForm.area = res.data.areaId 342 this.suggestionForm.area = res.data.areaId
335 if (!this.dataForm.obtainEvidence) this.dataForm.obtainEvidence = []; 343 if (!this.dataForm.obtainEvidence) this.dataForm.obtainEvidence = [];
336 if (!this.dataForm.annex) this.dataForm.annex = []; 344 if (!this.dataForm.annex) this.dataForm.annex = [];
src/views/DisposalSuggestions/index.vue
@@ -32,12 +32,15 @@ @@ -32,12 +32,15 @@
32 </el-col> 32 </el-col>
33 <el-col :span="3"> 33 <el-col :span="3">
34 <el-form-item label=""> 34 <el-form-item label="">
35 - <el-input v-model="query.questionType" placeholder="请选择问题类型" clearable/> 35 + <el-select v-model="query.questionType" placeholder="请选择问题类型" clearable>
  36 + <el-option v-for="(item, index) in questionTypeOptions" :key="index" :label="item.fullName" :value="item.id" />
  37 + </el-select>
  38 + <!-- <el-input v-model="query.questionType" placeholder="请选择问题类型" clearable/> -->
36 </el-form-item> 39 </el-form-item>
37 </el-col> 40 </el-col>
38 <el-col :span="3"> 41 <el-col :span="3">
39 <el-form-item label=""> 42 <el-form-item label="">
40 - <el-select v-model="query.state" placeholder="请选择类型" clearable> 43 + <el-select v-model="query.state" placeholder="请选择状态" clearable>
41 <el-option v-for="item in stateOptions" :key="item" :label="item" :value="item"/> 44 <el-option v-for="item in stateOptions" :key="item" :label="item" :value="item"/>
42 </el-select> 45 </el-select>
43 </el-form-item> 46 </el-form-item>
@@ -110,9 +113,9 @@ @@ -110,9 +113,9 @@
110 </el-table-column> --> 113 </el-table-column> -->
111 <el-table-column label="操作" fixed="right" width="200"> 114 <el-table-column label="操作" fixed="right" width="200">
112 <template slot-scope="scope"> 115 <template slot-scope="scope">
113 - <template v-if="userId == scope.row.creatorUserId">  
114 - <el-button type="text" @click="addForm(scope.row.id)" :disabled="scope.row.stage != '577006621985604869' && scope.row.stage !='577006641364189019'">编辑</el-button>  
115 - <el-button type="text" @click="handleDel(scope.row.id)" class="NCC-table-delBtn" :disabled="scope.row.stage != '577006621985604869' && scope.row.stage !='577006641364189019'">删除</el-button> 116 + <template v-if="userId == scope.row.creatorUserId && (scope.row.stage == '577006621985604869' || scope.row.stage =='577006641364189019')">
  117 + <el-button type="text" @click="addForm(scope.row.id)">编辑</el-button>
  118 + <el-button type="text" @click="handleDel(scope.row.id)" class="NCC-table-delBtn">删除</el-button>
116 </template> 119 </template>
117 <el-button type="text" @click="addOrUpdateHandle(scope.row.id, false, 'edit')" v-if="isSHILevel && scope.row.stage == '577006666214540549'" >建议修改</el-button> 120 <el-button type="text" @click="addOrUpdateHandle(scope.row.id, false, 'edit')" v-if="isSHILevel && scope.row.stage == '577006666214540549'" >建议修改</el-button>
118 <!-- 未研判 ‘577006621985604869’/未下发 ‘577006641364189019’ / 已处置 ‘577006696312866053’ 可以研判 --> 121 <!-- 未研判 ‘577006621985604869’/未下发 ‘577006641364189019’ / 已处置 ‘577006696312866053’ 可以研判 -->
@@ -192,7 +195,14 @@ export default { @@ -192,7 +195,14 @@ export default {
192 { fullName: "自主巡查发现", id: "自主巡查发现" }, 195 { fullName: "自主巡查发现", id: "自主巡查发现" },
193 ], 196 ],
194 systemTypeOptions: [], 197 systemTypeOptions: [],
195 - questionTypeOptions: [], 198 + questionTypeOptions: [
  199 + { fullName: "存在有害信息", id: "577006944540165381" },
  200 + { fullName: "内容审核不到位", id: "577006978564359429" },
  201 + { fullName: "错误表述", id: "584886326260663557" },
  202 + { fullName: "删除链接", id: "591435954770674949" },
  203 + { fullName: "样本查删", id: "591436151911351557" },
  204 + { fullName: "其他", id: "0" },
  205 + ],
196 questionClassOptions: [ 206 questionClassOptions: [
197 { fullName: "选项一", id: "1" }, 207 { fullName: "选项一", id: "1" },
198 { fullName: "选项二", id: "2" }, 208 { fullName: "选项二", id: "2" },
src/views/baseCaseHandling/Form.vue
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 </el-col> 26 </el-col>
27 <el-col :span="24"> 27 <el-col :span="24">
28 <el-form-item label="来源登记" prop="sourceRegistration"> 28 <el-form-item label="来源登记" prop="sourceRegistration">
29 - <el-input v-model="dataForm.sourceRegistration" placeholder="请输入来源登记" clearable :disabled="formType != 0"/> 29 + <el-input v-model="dataForm.sourceRegistration" placeholder="请输入来源登记" clearable />
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 <!-- <el-col :span="24"> 32 <!-- <el-col :span="24">
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@
92 </el-col> 92 </el-col>
93 <el-col :span="24"> 93 <el-col :span="24">
94 <el-form-item label="备案号" prop="recordNumber"> 94 <el-form-item label="备案号" prop="recordNumber">
95 - <el-input v-model="dataForm.recordNumber" placeholder="请输入备案号" clearable :disabled="formType == 2"/> 95 + <el-input v-model="dataForm.recordNumber" placeholder="请输入备案号" clearable />
96 </el-form-item> 96 </el-form-item>
97 </el-col> 97 </el-col>
98 <el-col :span="24" v-if="isSHILevel"> 98 <el-col :span="24" v-if="isSHILevel">
@@ -111,20 +111,20 @@ @@ -111,20 +111,20 @@
111 </el-col> 111 </el-col>
112 <el-col :span="24"> 112 <el-col :span="24">
113 <el-form-item label="违法原因" prop="illegalReasons"> 113 <el-form-item label="违法原因" prop="illegalReasons">
114 - <el-input type="textarea" v-model="dataForm.illegalReasons" placeholder="请输入违法原因" clearable maxlength="200" :disabled="formType == 2"/> 114 + <el-input type="textarea" v-model="dataForm.illegalReasons" placeholder="请输入违法原因" clearable maxlength="200" />
115 </el-form-item> 115 </el-form-item>
116 </el-col> 116 </el-col>
117 <el-col :span="24"> 117 <el-col :span="24">
118 <el-form-item label="处罚要求" prop="punishmentRequirements"> 118 <el-form-item label="处罚要求" prop="punishmentRequirements">
119 - <el-input type="textarea" v-model="dataForm.punishmentRequirements" placeholder="请输入处罚要求" clearable maxlength="200" :disabled="formType == 2"/> 119 + <el-input type="textarea" v-model="dataForm.punishmentRequirements" placeholder="请输入处罚要求" clearable maxlength="200" />
120 </el-form-item> 120 </el-form-item>
121 </el-col> 121 </el-col>
122 <el-col :span="24"> 122 <el-col :span="24">
123 <el-form-item label="处罚内容" prop="punishmentContent"> 123 <el-form-item label="处罚内容" prop="punishmentContent">
124 - <el-input type="textarea" v-model="dataForm.punishmentContent" placeholder="请输入处罚内容" clearable maxlength="200" :disabled="formType == 2"/> 124 + <el-input type="textarea" v-model="dataForm.punishmentContent" placeholder="请输入处罚内容" clearable maxlength="200" />
125 </el-form-item> 125 </el-form-item>
126 </el-col> 126 </el-col>
127 - <el-col :span="24" v-if="isSHILevel"> 127 + <el-col :span="24" >
128 <el-form-item label="执法方式" prop="enforceType"> 128 <el-form-item label="执法方式" prop="enforceType">
129 <el-radio-group v-model="dataForm.enforceType"> 129 <el-radio-group v-model="dataForm.enforceType">
130 <el-radio label="柔性执法">柔性执法</el-radio> 130 <el-radio label="柔性执法">柔性执法</el-radio>
@@ -132,13 +132,13 @@ @@ -132,13 +132,13 @@
132 </el-radio-group> 132 </el-radio-group>
133 </el-form-item> 133 </el-form-item>
134 </el-col> 134 </el-col>
135 - <el-col :span="24" v-if="!isSHILevel && formType == 2"> 135 + <el-col :span="24" >
136 <el-form-item label="执法说明" prop="enforcecontent"> 136 <el-form-item label="执法说明" prop="enforcecontent">
137 <el-input type="textarea" v-model="dataForm.enforcecontent" placeholder="请输入执法说明" clearable maxlength="200"/> 137 <el-input type="textarea" v-model="dataForm.enforcecontent" placeholder="请输入执法说明" clearable maxlength="200"/>
138 </el-form-item> 138 </el-form-item>
139 </el-col> 139 </el-col>
140 <!-- 立案审批、调查(询问)笔录、案件处理意见、执法约谈、行政处罚意见告知、行政处罚决定、行政处罚结案报告、其他(每个流程都为填空+上传附件,非必填) --> 140 <!-- 立案审批、调查(询问)笔录、案件处理意见、执法约谈、行政处罚意见告知、行政处罚决定、行政处罚结案报告、其他(每个流程都为填空+上传附件,非必填) -->
141 - <template v-if="formType == 2"> 141 + <template>
142 <el-col :span="24"> 142 <el-col :span="24">
143 <el-form-item label="立案审批" prop="registerApproval"> 143 <el-form-item label="立案审批" prop="registerApproval">
144 <el-input type="textarea" v-model="dataForm.registerApproval" placeholder="请输入立案审批" clearable maxlength="200"/> 144 <el-input type="textarea" v-model="dataForm.registerApproval" placeholder="请输入立案审批" clearable maxlength="200"/>
@@ -426,12 +426,12 @@ export default { @@ -426,12 +426,12 @@ export default {
426 districtCounty: [ 426 districtCounty: [
427 { required: true, message: "请选择所属区域", trigger: "change" } 427 { required: true, message: "请选择所属区域", trigger: "change" }
428 ], 428 ],
429 - enforceType: [  
430 - { required: true, message: "请选择执法方式", trigger: "bulr" }  
431 - ],  
432 - enforcecontent: [  
433 - { required: true, message: "请填写执法说明", trigger: "bulr" }  
434 - ], 429 + // enforceType: [
  430 + // { required: true, message: "请选择执法方式", trigger: "bulr" }
  431 + // ],
  432 + // enforcecontent: [
  433 + // { required: true, message: "请填写执法说明", trigger: "bulr" }
  434 + // ],
435 }, 435 },
436 systemOption: [], 436 systemOption: [],
437 system_loading: false, 437 system_loading: false,
@@ -586,7 +586,7 @@ export default { @@ -586,7 +586,7 @@ export default {
586 this.$emit("refresh"); 586 this.$emit("refresh");
587 }, 587 },
588 init(id, isDetail, type) { 588 init(id, isDetail, type) {
589 - // type 0 上报/下派 1 处理 589 + // type 0 新增 1 编辑 2 处理
590 this.formType = type || '0'; 590 this.formType = type || '0';
591 this.dataForm.id = id || undefined; 591 this.dataForm.id = id || undefined;
592 this.isDetail = isDetail || false; 592 this.isDetail = isDetail || false;
src/views/baseCaseHandling/index.vue
@@ -87,7 +87,7 @@ @@ -87,7 +87,7 @@
87 <el-table-column prop="illegalReasons" label="违法原因" align="left" show-overflow-tooltip/> 87 <el-table-column prop="illegalReasons" label="违法原因" align="left" show-overflow-tooltip/>
88 <el-table-column prop="punishmentRequirements" label="处罚要求" align="left" show-overflow-tooltip/> 88 <el-table-column prop="punishmentRequirements" label="处罚要求" align="left" show-overflow-tooltip/>
89 <el-table-column prop="punishmentContent" label="处罚内容" align="left" show-overflow-tooltip/> 89 <el-table-column prop="punishmentContent" label="处罚内容" align="left" show-overflow-tooltip/>
90 - <el-table-column label="状态" prop="state" align="left" > 90 + <el-table-column label="状态" prop="state" align="left" width="100">
91 <template slot-scope="scope"> 91 <template slot-scope="scope">
92 <el-tag :type="ncc.getStateTagType(scope.row.state, stateOptions)">{{ scope.row.state | dynamicTextUP(stateOptions) }}</el-tag> 92 <el-tag :type="ncc.getStateTagType(scope.row.state, stateOptions)">{{ scope.row.state | dynamicTextUP(stateOptions) }}</el-tag>
93 </template> 93 </template>
@@ -100,7 +100,7 @@ @@ -100,7 +100,7 @@
100 <el-table-column label="操作" fixed="right" width="180"> 100 <el-table-column label="操作" fixed="right" width="180">
101 <template slot-scope="scope"> 101 <template slot-scope="scope">
102 <el-button size="mini" type="text" @click="addOrUpdateHandle(scope.row.id, true) " >详情</el-button> 102 <el-button size="mini" type="text" @click="addOrUpdateHandle(scope.row.id, true) " >详情</el-button>
103 - <el-button type="text" v-if="scope.row.state == '592592903172261125' && scope.row.creatorUserId != $store.state.user.id" @click="addOrUpdateHandle(scope.row.id, false, '2')" >处理</el-button> 103 + <el-button type="text" v-if="(scope.row.state == '592592903172261125' && !isSHILevel) || (scope.row.state == '594684878927787126' && isSHILevel)" @click="addOrUpdateHandle(scope.row.id, false, '2')" >处理</el-button>
104 <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="addOrUpdateHandle(scope.row.id, false, '1')" >编辑</el-button> 104 <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="addOrUpdateHandle(scope.row.id, false, '1')" >编辑</el-button>
105 <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="toReportCase(scope.row.id)" >{{isSHILevel ? '下发' : '上报'}}</el-button> 105 <el-button type="text" v-if="scope.row.state == '592592614457345285' || scope.row.state == '592592756363232517'" @click="toReportCase(scope.row.id)" >{{isSHILevel ? '下发' : '上报'}}</el-button>
106 <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> 106 <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>
@@ -170,6 +170,15 @@ export default { @@ -170,6 +170,15 @@ export default {
170 { fullName: "选项一", id: "选项一" }, 170 { fullName: "选项一", id: "选项一" },
171 { fullName: "", id: "选项二" }, 171 { fullName: "", id: "选项二" },
172 ], 172 ],
  173 + stateList: [
  174 + { fullName: "未上报", id: "592592614457345285" },
  175 + { fullName: "未下发", id: "592592756363232517" },
  176 + { fullName: "待处理", id: "592592903172261125" },
  177 + { fullName: "下发待处理", id: "592592903172261125" },
  178 + { fullName: "上报待处理", id: "594684878927787126" },
  179 + { fullName: "已处理", id: "592592999649641733" },
  180 + { fullName: "仅保存", id: "593238431962760453" },
  181 + ],
173 stateOptions: [], 182 stateOptions: [],
174 areaOptions: [], 183 areaOptions: [],
175 systemOptions: [], 184 systemOptions: [],
src/views/baseInspectionReport/Form.vue
@@ -268,6 +268,12 @@ @@ -268,6 +268,12 @@
268 <div class="label w-120">处置建议:</div> 268 <div class="label w-120">处置建议:</div>
269 <div class="text">{{ v.judgmentOpinion }}</div> 269 <div class="text">{{ v.judgmentOpinion }}</div>
270 </div> 270 </div>
  271 + <div class="form-item" v-if="v.judgmentFileUrl">
  272 + <div class="label w-120">处置附件:</div>
  273 + <div class="text" style="width: calc(100% - 120px);">
  274 + <NCC-UploadFz v-model="v.judgmentFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
  275 + </div>
  276 + </div>
271 </el-col> 277 </el-col>
272 <el-col v-for="(v, i) in dataForm.disposalSuggestions" :key="i" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;"> 278 <el-col v-for="(v, i) in dataForm.disposalSuggestions" :key="i" style="border: #f6f6f6 solid 1px; border-radius: 10px; padding: 8px; margin-bottom: 5px;">
273 <div class="title">处置信息{{ i + 1 }}</div> 279 <div class="title">处置信息{{ i + 1 }}</div>
@@ -275,10 +281,10 @@ @@ -275,10 +281,10 @@
275 <div class="label w-120">处置结果:</div> 281 <div class="label w-120">处置结果:</div>
276 <div class="text">{{ v.disposalSuggestion }}</div> 282 <div class="text">{{ v.disposalSuggestion }}</div>
277 </div> 283 </div>
278 - <div class="form-item" v-if="v.fileUrl"> 284 + <div class="form-item" v-if="v.disposalResultFileUrl">
279 <div class="label w-120">处置附件:</div> 285 <div class="label w-120">处置附件:</div>
280 <div class="text" style="width: calc(100% - 120px);"> 286 <div class="text" style="width: calc(100% - 120px);">
281 - <NCC-UploadFz v-model="v.fileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> 287 + <NCC-UploadFz v-model="v.disposalResultFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
282 </div> 288 </div>
283 </div> 289 </div>
284 </el-col> 290 </el-col>
@@ -585,7 +591,6 @@ export default { @@ -585,7 +591,6 @@ export default {
585 dataFormSubmit() { 591 dataFormSubmit() {
586 this.$refs["elForm"].validate(async (valid) => { 592 this.$refs["elForm"].validate(async (valid) => {
587 if (valid) { 593 if (valid) {
588 - console.log(this.dataForm, 'this.dataForm');  
589 let obj = { 594 let obj = {
590 ...this.dataForm, 595 ...this.dataForm,
591 questionType: this.dataForm.questionType == '0' ? this.dataForm.otherQuestionType : this.dataForm.questionType, 596 questionType: this.dataForm.questionType == '0' ? this.dataForm.otherQuestionType : this.dataForm.questionType,
src/views/baseListHazardousSamples/index.vue
@@ -60,7 +60,10 @@ @@ -60,7 +60,10 @@
60 </el-col> 60 </el-col>
61 <el-col :span="5"> 61 <el-col :span="5">
62 <el-form-item label=""> 62 <el-form-item label="">
63 - <el-input v-model="query.questionType" clearable placeholder="请输入问题类型" /> 63 + <el-select v-model="query.questionType" placeholder="请选择问题类型" clearable>
  64 + <el-option v-for="(item, index) in questionTypeOptions" :key="index" :label="item.fullName" :value="item.id" />
  65 + </el-select>
  66 + <!-- <el-input v-model="query.questionType" clearable placeholder="请输入问题类型" /> -->
64 </el-form-item> 67 </el-form-item>
65 </el-col> 68 </el-col>
66 <el-col :span="3"> 69 <el-col :span="3">
@@ -128,6 +131,14 @@ export default { @@ -128,6 +131,14 @@ export default {
128 company: undefined, 131 company: undefined,
129 questionType: undefined, 132 questionType: undefined,
130 }, 133 },
  134 + questionTypeOptions: [
  135 + { fullName: "存在有害信息", id: "577006944540165381" },
  136 + { fullName: "内容审核不到位", id: "577006978564359429" },
  137 + { fullName: "错误表述", id: "584886326260663557" },
  138 + { fullName: "删除链接", id: "591435954770674949" },
  139 + { fullName: "样本查删", id: "591436151911351557" },
  140 + { fullName: "其他", id: "0" },
  141 + ],
131 list: [], 142 list: [],
132 listLoading: false, 143 listLoading: false,
133 multipleSelection: [], 144 multipleSelection: [],
src/views/basePrincipalResponsibility/index.vue
@@ -13,7 +13,10 @@ @@ -13,7 +13,10 @@
13 </el-col> 13 </el-col>
14 <el-col :span="6"> 14 <el-col :span="6">
15 <el-form-item label=""> 15 <el-form-item label="">
16 - <el-input v-model="query.fileType" placeholder="请输入文件类型" clearable/> 16 + <el-select v-model="query.fileType" placeholder="请选择文件类型" clearable>
  17 + <el-option v-for="(item, index) in fileTypeOptions" :key="index" :label="item.fullName" :value="item.id" />
  18 + </el-select>
  19 + <!-- <el-input v-model="query.fileType" placeholder="请输入文件类型" clearable/> -->
17 </el-form-item> 20 </el-form-item>
18 </el-col> 21 </el-col>
19 <el-col :span="4"> 22 <el-col :span="4">
@@ -113,10 +116,9 @@ export default { @@ -113,10 +116,9 @@ export default {
113 this.getfileTypeOptions(); 116 this.getfileTypeOptions();
114 }, 117 },
115 methods: { 118 methods: {
116 - getfileTypeOptions() {  
117 - getDictionaryDataSelector("577087166203561221").then((res) => {  
118 - this.fileTypeOptions = res.data.list;  
119 - }); 119 + async getfileTypeOptions() {
  120 + let res = await getDictionaryDataSelector('577087166203561221');
  121 + this.fileTypeOptions = [...res.data.list, { fullName: '其他', id: '0' }];
120 }, 122 },
121 initData() { 123 initData() {
122 this.listLoading = true; 124 this.listLoading = true;
src/views/overView/Overview.vue
@@ -258,27 +258,45 @@ export default { @@ -258,27 +258,45 @@ export default {
258 val && this.getAllMsgList(); 258 val && this.getAllMsgList();
259 }, 259 },
260 checkDetail(row, isDetail) { 260 checkDetail(row, isDetail) {
261 - this.MsgFormVisible = true;  
262 - this.$nextTick(() => {  
263 - this.$refs.MsgForm.init(row.id, isDetail);  
264 - }) 261 + let type1 = row.communicationAreaList.some((v) => v.IsRead)
  262 + let type2 = row.communicationOutList.some((v) => v.IsRead)
  263 + if(!isDetail && (type1 || type2)) {
  264 + this.$message({
  265 + message: '该消息已有区县/外协阅读无法编辑!',
  266 + type: 'warning'
  267 + });
  268 + } else {
  269 + this.MsgFormVisible = true;
  270 + this.$nextTick(() => {
  271 + this.$refs.MsgForm.init(row.id, isDetail);
  272 + })
  273 + }
265 }, 274 },
266 delNew(row) { 275 delNew(row) {
267 - this.$confirm('此操作将永久删除该消息, 是否继续?', '提示', {  
268 - confirmButtonText: '确定',  
269 - cancelButtonText: '取消',  
270 - type: 'warning'  
271 - }).then(async () => {  
272 - let res = await request({  
273 - url: `/SubDev/ZyOaArticle/${row.id}`,  
274 - method: "DELETE",  
275 - }); 276 + let type1 = row.communicationAreaList.some((v) => v.IsRead)
  277 + let type2 = row.communicationOutList.some((v) => v.IsRead)
  278 + if(type1 || type2) {
276 this.$message({ 279 this.$message({
277 - message: res.msg,  
278 - type: 'success' 280 + message: '该消息已有区县阅读无法编辑!',
  281 + type: 'warning'
279 }); 282 });
280 - this.getAllMsgList();  
281 - }); 283 + } else {
  284 + this.$confirm('此操作将永久删除该消息, 是否继续?', '提示', {
  285 + confirmButtonText: '确定',
  286 + cancelButtonText: '取消',
  287 + type: 'warning'
  288 + }).then(async () => {
  289 + let res = await request({
  290 + url: `/SubDev/ZyOaArticle/${row.id}`,
  291 + method: "DELETE",
  292 + });
  293 + this.$message({
  294 + message: res.msg,
  295 + type: 'success'
  296 + });
  297 + this.getAllMsgList();
  298 + });
  299 + }
282 }, 300 },
283 301
284 // 发布消息通知 302 // 发布消息通知
@@ -365,7 +383,7 @@ export default { @@ -365,7 +383,7 @@ export default {
365 let openObject = this.getDialog(type); 383 let openObject = this.getDialog(type);
366 this[openObject.visible] = true; 384 this[openObject.visible] = true;
367 this.$nextTick(() => { 385 this.$nextTick(() => {
368 - this.$refs[`${openObject.node}`].init(row.taskCorrelationId, openObject.isDetail, 1); 386 + this.$refs[`${openObject.node}`].init(row.taskCorrelationId, openObject.isDetail, openObject.type);
369 }) 387 })
370 } 388 }
371 }, 389 },
@@ -410,7 +428,7 @@ export default { @@ -410,7 +428,7 @@ export default {
410 break; 428 break;
411 case '案件处理': 429 case '案件处理':
412 case '网信执法': 430 case '网信执法':
413 - return { visible: 'HandFormVisible', node: 'HandForm', isDetail: false, type: 1} 431 + return { visible: 'HandFormVisible', node: 'HandForm', isDetail: false, type: 2}
414 break; 432 break;
415 case '研判': 433 case '研判':
416 return { visible: 'DisposalFormVisible', node: 'DisposalForm', isDetail: false} 434 return { visible: 'DisposalFormVisible', node: 'DisposalForm', isDetail: false}
src/views/overView/msgForm.vue
@@ -90,6 +90,11 @@ @@ -90,6 +90,11 @@
90 <div class="msg-title">{{ dataForm.title }}</div> 90 <div class="msg-title">{{ dataForm.title }}</div>
91 <div class="content" v-html="dataForm.bodyContent"></div> 91 <div class="content" v-html="dataForm.bodyContent"></div>
92 <div class="files" v-if="isSHILevel"> 92 <div class="files" v-if="isSHILevel">
  93 + <h4>附件</h4>
  94 + <div style="margin-bottom: 10px;">
  95 + <NCC-UploadFz v-if="dataForm.imgUrl && dataForm.imgUrl.length" v-model="dataForm.imgUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/>
  96 + <div style="margin-top: 10px;" v-else>无附件</div>
  97 + </div>
93 <h4>查看情况</h4> 98 <h4>查看情况</h4>
94 <div style="font-size: 12px; margin: 8px;"> 99 <div style="font-size: 12px; margin: 8px;">
95 注:<el-tag type="success" size="mini">区县</el-tag>表示 【已查看】 的区县, <el-tag type="danger" size="mini">区县</el-tag>表示 【未查看】 的区县 100 注:<el-tag type="success" size="mini">区县</el-tag>表示 【已查看】 的区县, <el-tag type="danger" size="mini">区县</el-tag>表示 【未查看】 的区县