Commit b1b3be19896716ad03facec87d55fcd6f9af17ea
1 parent
21303a31
对18号提出需求进行整改
Showing
11 changed files
with
203 additions
and
80 deletions
src/components/CompanyForm/index.vue
| ... | ... | @@ -78,7 +78,7 @@ |
| 78 | 78 | </el-col> |
| 79 | 79 | <el-col :span="24"> |
| 80 | 80 | <el-form-item label="所属区(市)县" prop="areaId"> |
| 81 | - <el-radio-group v-removeAriaHidden v-model="dataForm.areaId" placeholder="请选择所属区(市)县" style="line-height: 22px"> | |
| 81 | + <el-radio-group v-removeAriaHidden v-model="dataForm.areaId" placeholder="请选择所属区(市)县" style="line-height: 22px" :disabled="!isSHILevel"> | |
| 82 | 82 | <el-radio v-for="v in areaOptions" :key="v.id" :label="v.id">{{ v.fullName }}</el-radio> |
| 83 | 83 | </el-radio-group> |
| 84 | 84 | </el-form-item> |
| ... | ... | @@ -145,6 +145,15 @@ export default { |
| 145 | 145 | }; |
| 146 | 146 | }, |
| 147 | 147 | watch: {}, |
| 148 | + computed: { | |
| 149 | + organizeId() { | |
| 150 | + return this.$store.state.user.userInfo.organizeId; | |
| 151 | + }, | |
| 152 | + isSHILevel() { | |
| 153 | + // 判断角色是否为‘市级办公室’ | |
| 154 | + return this.$store.state.user.islader; | |
| 155 | + }, | |
| 156 | + }, | |
| 148 | 157 | mounted() {}, |
| 149 | 158 | created() { |
| 150 | 159 | }, |
| ... | ... | @@ -156,6 +165,7 @@ export default { |
| 156 | 165 | this.visible = true; |
| 157 | 166 | await this.initAreaTypeList(); |
| 158 | 167 | this.$refs['elForm'].resetFields(); |
| 168 | + !this.isSHILevel && (this.dataForm.areaId = this.organizeId); | |
| 159 | 169 | }, |
| 160 | 170 | async dataFormSubmit() { |
| 161 | 171 | this.$refs['elForm'].validate((valid) => { | ... | ... |
src/components/InfoForm/index.vue
| ... | ... | @@ -133,9 +133,9 @@ |
| 133 | 133 | </el-form-item> |
| 134 | 134 | </el-col> |
| 135 | 135 | <el-col :span="24" v-show="infoForm.systemType == '576280043370579205'"> |
| 136 | - <el-form-item label="域名" prop="url"> | |
| 136 | + <el-form-item label="域名" prop="domain"> | |
| 137 | 137 | <el-input |
| 138 | - v-model="infoForm.url" | |
| 138 | + v-model="infoForm.domain" | |
| 139 | 139 | placeholder="请输入域名" |
| 140 | 140 | maxlength="200" |
| 141 | 141 | > |
| ... | ... | @@ -216,7 +216,7 @@ |
| 216 | 216 | ></el-input> |
| 217 | 217 | </el-form-item> |
| 218 | 218 | </el-col> |
| 219 | - <el-col :span="12"> | |
| 219 | + <!-- <el-col :span="12"> | |
| 220 | 220 | <el-form-item label="域名" prop="domain"> |
| 221 | 221 | <el-input |
| 222 | 222 | v-model="infoForm.domain" |
| ... | ... | @@ -224,7 +224,7 @@ |
| 224 | 224 | maxlength="200" |
| 225 | 225 | ></el-input> |
| 226 | 226 | </el-form-item> |
| 227 | - </el-col> | |
| 227 | + </el-col> --> | |
| 228 | 228 | <!-- <el-col :span="12"> |
| 229 | 229 | <el-form-item label="下载量" prop="systemDownloadVolume"> |
| 230 | 230 | <el-input |
| ... | ... | @@ -291,6 +291,7 @@ |
| 291 | 291 | v-model="infoForm.areaId" |
| 292 | 292 | placeholder="请选择所属区(市)县" |
| 293 | 293 | style="line-height: 22px" |
| 294 | + :disabled="!isSHILevel" | |
| 294 | 295 | > |
| 295 | 296 | <el-radio v-for="v in areaOptions" :key="v.id" :label="v.id">{{ |
| 296 | 297 | v.fullName |
| ... | ... | @@ -371,7 +372,6 @@ export default { |
| 371 | 372 | MAU: '', |
| 372 | 373 | followerCount: 0, |
| 373 | 374 | externalAssistanceId: '', |
| 374 | - url: '', | |
| 375 | 375 | }, |
| 376 | 376 | infoRules: { |
| 377 | 377 | systemName: { |
| ... | ... | @@ -423,6 +423,15 @@ export default { |
| 423 | 423 | isFilings: false, |
| 424 | 424 | }; |
| 425 | 425 | }, |
| 426 | + computed: { | |
| 427 | + organizeId() { | |
| 428 | + return this.$store.state.user.userInfo.organizeId; | |
| 429 | + }, | |
| 430 | + isSHILevel() { | |
| 431 | + // 判断角色是否为‘市级办公室’ | |
| 432 | + return this.$store.state.user.islader; | |
| 433 | + }, | |
| 434 | + }, | |
| 426 | 435 | watch: {}, |
| 427 | 436 | mounted() {}, |
| 428 | 437 | created() {}, |
| ... | ... | @@ -504,9 +513,10 @@ export default { |
| 504 | 513 | this.infoForm_loading = true; |
| 505 | 514 | await this.initCompanyList(); |
| 506 | 515 | await this.initSystemTypeList(); |
| 507 | - await this.initCommunicationOutOptions(); | |
| 516 | + // await this.initCommunicationOutOptions(); | |
| 508 | 517 | await this.initAreaTypeList(); |
| 509 | 518 | await this.initSpecialRecordTypeOption(); |
| 519 | + !this.isSHILevel && (this.infoForm.areaId = this.organizeId); | |
| 510 | 520 | this.type == "edit" && (await this.initForm()); |
| 511 | 521 | this.infoForm_loading = false; |
| 512 | 522 | }, | ... | ... |
src/views/DisposalSuggestions/Form.vue
| ... | ... | @@ -79,12 +79,24 @@ |
| 79 | 79 | {{ dataForm.areaName || "--" }} |
| 80 | 80 | </div> |
| 81 | 81 | </el-col> |
| 82 | + <el-col :span="24"> | |
| 83 | + <div class="form-item"> | |
| 84 | + <div class="label w-100">所属外协:</div> | |
| 85 | + {{ dataForm.externalAssistanceId || "--" }} | |
| 86 | + </div> | |
| 87 | + </el-col> | |
| 82 | 88 | <el-col :span="24" v-if="dataForm.disposalSuggestions"> |
| 83 | 89 | <div class="form-item"> |
| 84 | - <div class="label w-100">区县处理说明:</div> | |
| 90 | + <div class="label w-100">处置结果:</div> | |
| 85 | 91 | {{ dataForm.disposalSuggestions || "--" }} |
| 86 | 92 | </div> |
| 87 | 93 | </el-col> |
| 94 | + <el-col :span="24" v-if="dataForm.disposalFiles && dataForm.disposalFiles.length"> | |
| 95 | + <div class="form-item"> | |
| 96 | + <div class="label w-100">附件:</div> | |
| 97 | + <NCC-UploadFz v-model="dataForm.disposalFiles" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> | |
| 98 | + </div> | |
| 99 | + </el-col> | |
| 88 | 100 | </el-row> |
| 89 | 101 | </el-col> |
| 90 | 102 | <el-col :span="14"> |
| ... | ... | @@ -111,16 +123,23 @@ |
| 111 | 123 | </el-col> |
| 112 | 124 | <el-col :span="24" v-show="(!dataForm.areaId || dataForm.areaId == '580548871316383493') && showarea"> |
| 113 | 125 | <el-form-item label="所属区县" prop="area"> |
| 114 | - <el-radio-group v-removeAriaHidden v-model="suggestionForm.area" placeholder="请选择所属区县" style="line-height: 22px" @change="suggestionFormAreaChange"> | |
| 115 | - <el-radio v-for="v in areaOptions.filter(j => j.id != '580548871316383493')" :key="v.id" :label="v.id">{{ v.fullName }}</el-radio> | |
| 126 | + <el-radio-group v-removeAriaHidden v-model="suggestionForm.area" placeholder="请选择所属区县" style="line-height: 22px"> | |
| 127 | + <el-radio v-for="v in areaOptions" :key="v.id" :label="v.id">{{ v.fullName }}</el-radio> | |
| 128 | + </el-radio-group> | |
| 129 | + </el-form-item> | |
| 130 | + </el-col> | |
| 131 | + <el-col :span="24" v-show="!dataForm.externalAssistanceId && showarea"> | |
| 132 | + <el-form-item label="所属外协" prop="externalAssistanceId"> | |
| 133 | + <el-radio-group v-removeAriaHidden v-model="suggestionForm.externalAssistanceId" placeholder="请选择所属外协" style="line-height: 22px"> | |
| 134 | + <el-radio v-for="v in communicationOutOptions" :key="v.id" :label="v.id">{{ v.fullName }}</el-radio> | |
| 116 | 135 | </el-radio-group> |
| 117 | 136 | </el-form-item> |
| 118 | 137 | </el-col> |
| 119 | 138 | <el-col :span="24" v-if="showSuggsetion"> |
| 120 | - <el-form-item label="研判意见" prop="judgmentOpinions"> | |
| 139 | + <el-form-item label="处置建议" prop="judgmentOpinions"> | |
| 121 | 140 | <el-input |
| 122 | 141 | v-model="suggestionForm.judgmentOpinions" |
| 123 | - placeholder="请输入研判意见" | |
| 142 | + placeholder="请输入处置建议" | |
| 124 | 143 | show-word-limit |
| 125 | 144 | :style="{ width: '100%' }" |
| 126 | 145 | type="textarea" |
| ... | ... | @@ -167,6 +186,7 @@ export default { |
| 167 | 186 | link: undefined, |
| 168 | 187 | obtainEvidence: [], |
| 169 | 188 | annex: [], |
| 189 | + externalAssistanceId: undefined, | |
| 170 | 190 | }, |
| 171 | 191 | sourceOptions: [], |
| 172 | 192 | platformTypeOptions: [], |
| ... | ... | @@ -186,6 +206,7 @@ export default { |
| 186 | 206 | reviewType: "", //判断分类 |
| 187 | 207 | deadline: "", |
| 188 | 208 | area: '', |
| 209 | + externalAssistanceId: '', | |
| 189 | 210 | }, |
| 190 | 211 | rules: { |
| 191 | 212 | reviewType: [ |
| ... | ... | @@ -203,6 +224,7 @@ export default { |
| 203 | 224 | judgmentClassOption: [], |
| 204 | 225 | areaOptions: [], |
| 205 | 226 | btnLoading: false, |
| 227 | + communicationOutOptions: [], | |
| 206 | 228 | }; |
| 207 | 229 | }, |
| 208 | 230 | computed: { |
| ... | ... | @@ -251,6 +273,7 @@ export default { |
| 251 | 273 | this.showSuggsetion = false; |
| 252 | 274 | this.showarea = false; |
| 253 | 275 | this.loading = true; |
| 276 | + await this.initCommunicationOutOptions(); | |
| 254 | 277 | await this.getSourceOptions(); |
| 255 | 278 | await this.initAreaTypeList(); |
| 256 | 279 | await this.getjudgmentClassOptions(); |
| ... | ... | @@ -260,7 +283,6 @@ export default { |
| 260 | 283 | let res = await getDetail(this.dataForm.id); |
| 261 | 284 | this.dataForm = res.data; |
| 262 | 285 | this.dataForm.areaName = dynamicText(res.data.areaId, this.areaOptions); |
| 263 | - this.suggestionFormAreaChange(res.data.areaId) | |
| 264 | 286 | this.sourceOptions.length && this.dataForm.reportSource && (this.dataForm.reportSourceName = this.sourceOptions.find(v => v.Id == this.dataForm.reportSource).FullName); |
| 265 | 287 | if (!this.dataForm.obtainEvidence) this.dataForm.obtainEvidence = []; |
| 266 | 288 | if (!this.dataForm.annex) this.dataForm.annex = []; |
| ... | ... | @@ -270,11 +292,6 @@ export default { |
| 270 | 292 | } |
| 271 | 293 | }); |
| 272 | 294 | }, |
| 273 | - suggestionFormAreaChange(val) { | |
| 274 | - if(val == '580548871316383493') return; | |
| 275 | - this.suggestionForm.area = val; | |
| 276 | - this.$forceUpdate(); | |
| 277 | - }, | |
| 278 | 295 | judgmentClassChange(v) { |
| 279 | 296 | this.suggestionForm.judgmentOpinions = ''; |
| 280 | 297 | this.showSuggsetion = Boolean(v == "590769458901943557" || v == "590769521820697861"); // 进一步处置,不采纳 | ... | ... |
src/views/DisposalSuggestions/HandleForm.vue
| 1 | 1 | <template> |
| 2 | 2 | <el-dialog |
| 3 | - title="巡查处理" | |
| 3 | + title="线索核查" | |
| 4 | 4 | :close-on-click-modal="false" |
| 5 | 5 | :visible.sync="visible" |
| 6 | 6 | class="NCC-dialog NCC-dialog_center" |
| ... | ... | @@ -62,9 +62,9 @@ |
| 62 | 62 | {{ dataForm.questionClass || "--" }} |
| 63 | 63 | </div> |
| 64 | 64 | </el-col> |
| 65 | - <el-col :span="24"> | |
| 65 | + <el-col :span="24" v-if="dataForm.judgmentOpinions"> | |
| 66 | 66 | <div class="form-item"> |
| 67 | - <div class="label w-100">研判意见:</div> | |
| 67 | + <div class="label w-100">处置建议:</div> | |
| 68 | 68 | {{ dataForm.judgmentOpinions || "--" }} |
| 69 | 69 | </div> |
| 70 | 70 | </el-col> |
| ... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 | </el-col> |
| 73 | 73 | <el-col :span="14"> |
| 74 | 74 | <el-row> |
| 75 | - <el-col :span="24" class="form_title"> 巡查处理 </el-col> | |
| 75 | + <el-col :span="24" class="form_title"> 线索核查 </el-col> | |
| 76 | 76 | <el-form |
| 77 | 77 | ref="suggestionForm" |
| 78 | 78 | :rules="rules" |
| ... | ... | @@ -82,10 +82,10 @@ |
| 82 | 82 | label-position="right" |
| 83 | 83 | > |
| 84 | 84 | <el-col :span="24"> |
| 85 | - <el-form-item label="处理结果" prop="disposalSuggestions"> | |
| 85 | + <el-form-item label="处置结果" prop="disposalSuggestions"> | |
| 86 | 86 | <el-input |
| 87 | 87 | v-model="suggestionForm.disposalSuggestions" |
| 88 | - placeholder="请输入处理结果" | |
| 88 | + placeholder="请输入处置结果" | |
| 89 | 89 | show-word-limit |
| 90 | 90 | :style="{ width: '100%' }" |
| 91 | 91 | type="textarea" | ... | ... |
src/views/DisposalSuggestions/index.vue
| ... | ... | @@ -42,7 +42,9 @@ |
| 42 | 42 | <el-table-column show-overflow-tooltip label="应用类型" prop="platformType" align="left"> |
| 43 | 43 | <template slot-scope="scope">{{ scope.row.platformNameStr || scope.row.platformName }}</template> |
| 44 | 44 | </el-table-column> |
| 45 | - <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left" /> | |
| 45 | + <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left" > | |
| 46 | + <template slot-scope="scope">{{ scope.row.questionType }}{{ scope.row.questionCode }}</template> | |
| 47 | + </el-table-column> | |
| 46 | 48 | <!-- <el-table-column show-overflow-tooltip prop="link" label="有害链接" align="left" /> --> |
| 47 | 49 | <el-table-column show-overflow-tooltip prop="questionClass" label="关键词" align="left" /> |
| 48 | 50 | <el-table-column show-overflow-tooltip prop="creatorTime" label="录入时间" align="left" :formatter="ncc.tableDateFormat"/> |
| ... | ... | @@ -60,7 +62,8 @@ |
| 60 | 62 | <!-- 未研判 ‘577006621985604869’/未下发 ‘577006641364189019’ / 已处置 ‘577006696312866053’ 可以研判 --> |
| 61 | 63 | <!-- <el-button type="text" v-if="isSHILevel" @click="addOrUpdateHandle(scope.row.id)" :disabled="['577006621985604869', '577006641364189019', '577006696312866053'].includes(scope.row.stage) == -1">{{ scope.row.stage == '577006641364189019' ? '下发' : '研判'}}</el-button> --> |
| 62 | 64 | <el-button type="text" v-if="isSHILevel" @click="addOrUpdateHandle(scope.row.id)" :disabled="['577006621985604869', '577006641364189019', '577006696312866053'].includes(scope.row.stage) == -1">研判</el-button> |
| 63 | - <el-button type="text" v-else @click="toHandle(scope.row.id)" >处理</el-button> | |
| 65 | + <!-- 待处置进行处理 --> | |
| 66 | + <el-button type="text" v-else @click="toHandle(scope.row.id)" :disabled="scope.row.stage == '577004235234524513'">处理</el-button> | |
| 64 | 67 | <el-button type="text" @click="toDetail(scope.row.id)" >详情</el-button> |
| 65 | 68 | </template> |
| 66 | 69 | </el-table-column> | ... | ... |
src/views/baseCaseHandling/Form.vue
| ... | ... | @@ -25,6 +25,11 @@ |
| 25 | 25 | </el-form-item> |
| 26 | 26 | </el-col> |
| 27 | 27 | <el-col :span="24"> |
| 28 | + <el-form-item label="来源登记" prop="sourceRecord"> | |
| 29 | + <el-input v-model="dataForm.sourceRecord" placeholder="请输入来源登记" clearable/> | |
| 30 | + </el-form-item> | |
| 31 | + </el-col> | |
| 32 | + <el-col :span="24"> | |
| 28 | 33 | <el-form-item label="案件名称" prop="systemName"> |
| 29 | 34 | <el-select |
| 30 | 35 | ref="select" |
| ... | ... | @@ -74,7 +79,7 @@ |
| 74 | 79 | </el-col> |
| 75 | 80 | <el-col :span="24"> |
| 76 | 81 | <el-form-item label="备案号" prop="recordNumber"> |
| 77 | - <el-input v-model="dataForm.recordNumber" placeholder="选择备案号" clearable :disabled="formType == 2"/> | |
| 82 | + <el-input v-model="dataForm.recordNumber" placeholder="请输入备案号" clearable :disabled="formType == 2"/> | |
| 78 | 83 | </el-form-item> |
| 79 | 84 | </el-col> |
| 80 | 85 | <el-col :span="24" v-if="isSHILevel"> |
| ... | ... | @@ -123,6 +128,10 @@ |
| 123 | 128 | </el-row> |
| 124 | 129 | <el-row v-show="!!isDetail"> |
| 125 | 130 | <el-col class="form-item"> |
| 131 | + <div class="label w-120">来源登记:</div> | |
| 132 | + <div class="text">{{ dataForm.sourceRecord || '--' }}</div> | |
| 133 | + </el-col> | |
| 134 | + <el-col class="form-item"> | |
| 126 | 135 | <div class="label w-120">案件名称:</div> |
| 127 | 136 | <div class="text">{{ dataForm.systemNameStr || '--' }}</div> |
| 128 | 137 | </el-col> |
| ... | ... | @@ -192,6 +201,7 @@ export default { |
| 192 | 201 | formType: false, // 0 新增 1 编辑 2 处理 |
| 193 | 202 | dataForm: { |
| 194 | 203 | id: undefined, |
| 204 | + sourceRecord: undefined, | |
| 195 | 205 | registrationTime: undefined, |
| 196 | 206 | systemName: undefined, |
| 197 | 207 | registeredEntity: undefined, |
| ... | ... | @@ -215,6 +225,9 @@ export default { |
| 215 | 225 | isHaveSystem: undefined, |
| 216 | 226 | }, |
| 217 | 227 | rules: { |
| 228 | + sourceRecord: [ | |
| 229 | + { required: true, message: "请输入来源登记", trigger: "bulr" } | |
| 230 | + ], | |
| 218 | 231 | systemName: [ |
| 219 | 232 | { required: true, message: "请选择应用名称", trigger: "bulr" } |
| 220 | 233 | ], | ... | ... |
src/views/baseCaseHandling/index.vue
| ... | ... | @@ -6,12 +6,7 @@ |
| 6 | 6 | <div class="NCC-common-layout-center"> |
| 7 | 7 | <el-row class="NCC-common-search-box" :gutter="16"> |
| 8 | 8 | <el-form @submit.native.prevent size="mini"> |
| 9 | - <el-col :span="4"> | |
| 10 | - <el-form-item label=""> | |
| 11 | - <el-input v-model="query.number" placeholder="请输入档案号" clearable/> | |
| 12 | - </el-form-item> | |
| 13 | - </el-col> | |
| 14 | - <!-- <el-col :span="4"> | |
| 9 | + <el-col :span="5"> | |
| 15 | 10 | <el-form-item label=""> |
| 16 | 11 | <el-date-picker |
| 17 | 12 | v-model="query.registrationTime" |
| ... | ... | @@ -23,15 +18,20 @@ |
| 23 | 18 | > |
| 24 | 19 | </el-date-picker> |
| 25 | 20 | </el-form-item> |
| 26 | - </el-col> --> | |
| 27 | - <el-col :span="4"> | |
| 21 | + </el-col> | |
| 22 | + <el-col :span="3"> | |
| 23 | + <el-form-item label=""> | |
| 24 | + <el-input v-model="query.number" placeholder="请输入档案号" clearable/> | |
| 25 | + </el-form-item> | |
| 26 | + </el-col> | |
| 27 | + <el-col :span="3"> | |
| 28 | 28 | <el-form-item label=""> |
| 29 | 29 | <el-input v-model="query.systemName" placeholder="请输入应用名称" clearable/> |
| 30 | 30 | </el-form-item> |
| 31 | 31 | </el-col> |
| 32 | - <el-col :span="4"> | |
| 32 | + <el-col :span="3"> | |
| 33 | 33 | <el-form-item label=""> |
| 34 | - <el-select v-model="query.category" placeholder="应用类别" clearable> | |
| 34 | + <el-select v-model="query.category" placeholder="请选择应用类别" clearable> | |
| 35 | 35 | <el-option |
| 36 | 36 | v-for="(item, index) in systemTypeOptions" |
| 37 | 37 | :key="index" |
| ... | ... | @@ -42,6 +42,14 @@ |
| 42 | 42 | </el-form-item> |
| 43 | 43 | </el-col> |
| 44 | 44 | <el-col :span="3"> |
| 45 | + <el-form-item label=""> | |
| 46 | + <el-select v-model="query.enforceType" placeholder="请选择执法方式" clearable> | |
| 47 | + <el-option label="柔性执法" value="柔性执法"/> | |
| 48 | + <el-option label="行政执法" value="行政执法"/> | |
| 49 | + </el-select> | |
| 50 | + </el-form-item> | |
| 51 | + </el-col> | |
| 52 | + <el-col :span="3"> | |
| 45 | 53 | <el-form-item> |
| 46 | 54 | <el-button type="primary" icon="el-icon-search" @click="search()" >查询</el-button> |
| 47 | 55 | <el-button icon="el-icon-refresh-right" @click="reset()">重置</el-button> |
| ... | ... | @@ -75,6 +83,7 @@ |
| 75 | 83 | <el-table-column prop="districtCounty" label="所属区(市)县" align="left" width="150"> |
| 76 | 84 | <template slot-scope="scope">{{ scope.row.districtCounty | dynamicText(areaOptions) }}</template> |
| 77 | 85 | </el-table-column> |
| 86 | + <el-table-column prop="enforceType" label="执法方式" align="left" show-overflow-tooltip/> | |
| 78 | 87 | <el-table-column prop="illegalReasons" label="违法原因" align="left" show-overflow-tooltip/> |
| 79 | 88 | <el-table-column prop="punishmentRequirements" label="处罚要求" align="left" show-overflow-tooltip/> |
| 80 | 89 | <el-table-column prop="punishmentContent" label="处罚内容" align="left" show-overflow-tooltip/> |
| ... | ... | @@ -124,6 +133,7 @@ export default { |
| 124 | 133 | registrationTime: undefined, |
| 125 | 134 | systemName: undefined, |
| 126 | 135 | category: undefined, |
| 136 | + enforceType: undefined | |
| 127 | 137 | }, |
| 128 | 138 | list: [], |
| 129 | 139 | listLoading: false, | ... | ... |
src/views/baseComapnyInfo/Form.vue
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | </el-col> |
| 65 | 65 | <el-col :span="24"> |
| 66 | 66 | <el-form-item label="所属区(市)县" prop="areaId"> |
| 67 | - <el-radio-group v-model="dataForm.areaId" placeholder="请选择所属区(市)县" style="line-height: 22px"> | |
| 67 | + <el-radio-group v-model="dataForm.areaId" placeholder="请选择所属区(市)县" style="line-height: 22px" :disabled="!isSHILevel"> | |
| 68 | 68 | <el-radio v-for="v in areaOptions" :key="v.id" :label="v.id">{{ v.fullName }}</el-radio> |
| 69 | 69 | </el-radio-group> |
| 70 | 70 | </el-form-item> |
| ... | ... | @@ -132,7 +132,15 @@ export default { |
| 132 | 132 | btnLoading: false, |
| 133 | 133 | } |
| 134 | 134 | }, |
| 135 | - computed: {}, | |
| 135 | + computed: { | |
| 136 | + organizeId() { | |
| 137 | + return this.$store.state.user.userInfo.organizeId; | |
| 138 | + }, | |
| 139 | + isSHILevel() { | |
| 140 | + // 判断角色是否为‘市级办公室’ | |
| 141 | + return this.$store.state.user.islader; | |
| 142 | + }, | |
| 143 | + }, | |
| 136 | 144 | watch: {}, |
| 137 | 145 | created() { |
| 138 | 146 | this.initAreaTypeList(); |
| ... | ... | @@ -159,6 +167,8 @@ export default { |
| 159 | 167 | this.loading = false; |
| 160 | 168 | if (!this.dataForm.qualificationCertificate) this.dataForm.qualificationCertificate = []; |
| 161 | 169 | }) |
| 170 | + } else { | |
| 171 | + !this.isSHILevel && (this.dataForm.areaId = this.organizeId); | |
| 162 | 172 | } |
| 163 | 173 | }) |
| 164 | 174 | }, | ... | ... |
src/views/baseInspectionReport/Form.vue
| ... | ... | @@ -19,19 +19,19 @@ |
| 19 | 19 | :disabled="!!isDetail" |
| 20 | 20 | :rules="rules" |
| 21 | 21 | > |
| 22 | - <el-col :span="23" v-if="false"> | |
| 22 | + <el-col :span="24" v-if="false"> | |
| 23 | 23 | <el-form-item label="主键" prop="id"> |
| 24 | 24 | <el-input v-model="dataForm.id" placeholder="请输入" clearable :style="{ width: '100%' }"></el-input> |
| 25 | 25 | </el-form-item> |
| 26 | 26 | </el-col> |
| 27 | - <el-col :span="23"> | |
| 27 | + <el-col :span="24"> | |
| 28 | 28 | <el-form-item label="问题来源" prop="reportSource"> |
| 29 | 29 | <el-radio-group v-model="dataForm.reportSource"> |
| 30 | 30 | <el-radio v-for="(item, index) in sourceOptions" :key="index" :label="item.Id">{{ item.FullName }}</el-radio> |
| 31 | 31 | </el-radio-group> |
| 32 | 32 | </el-form-item> |
| 33 | 33 | </el-col> |
| 34 | - <el-col :span="23"> | |
| 34 | + <el-col :span="24"> | |
| 35 | 35 | <el-form-item label="应用名称" prop="platformName"> |
| 36 | 36 | <el-select |
| 37 | 37 | ref="select" |
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | </el-select> |
| 50 | 50 | </el-form-item> |
| 51 | 51 | </el-col> |
| 52 | - <el-col :span="23"> | |
| 52 | + <el-col :span="24"> | |
| 53 | 53 | <el-form-item label="运营主体" prop="company"> |
| 54 | 54 | <el-select |
| 55 | 55 | ref="companySelect" |
| ... | ... | @@ -72,63 +72,91 @@ |
| 72 | 72 | </el-select> |
| 73 | 73 | </el-form-item> |
| 74 | 74 | </el-col> |
| 75 | - <el-col :span="23"> | |
| 75 | + <el-col :span="24"> | |
| 76 | 76 | <el-form-item label="应用类型" prop="platformType"> |
| 77 | 77 | <el-radio-group v-model="dataForm.platformType" :disabled='isDisabledTypeByName || !!this.dataForm.id'> |
| 78 | 78 | <el-radio v-for="(item, index) in platformTypeOptions" :key="index" :label="item.Id">{{ item.FullName }}</el-radio> |
| 79 | 79 | </el-radio-group> |
| 80 | 80 | </el-form-item> |
| 81 | 81 | </el-col> |
| 82 | - <el-col :span="23" v-show="dataForm.platformType == '580634746028033285'"> | |
| 82 | + <el-col :span="24" v-show="dataForm.platformType == '580634746028033285'"> | |
| 83 | 83 | <el-form-item label="归属平台" prop="selfMediaPlatformType"> |
| 84 | 84 | <el-radio-group v-model="dataForm.selfMediaPlatformType" :disabled="!!this.dataForm.id"> |
| 85 | 85 | <el-radio v-for="(item, index) in mediaPlatList" :key="index" :label="item" >{{ item }}</el-radio> |
| 86 | 86 | </el-radio-group> |
| 87 | 87 | </el-form-item> |
| 88 | 88 | </el-col> |
| 89 | - <el-col :span="23" v-show="dataForm.selfMediaPlatformType == '其他'"> | |
| 89 | + <el-col :span="24" v-show="dataForm.selfMediaPlatformType == '其他'"> | |
| 90 | 90 | <el-form-item label="其他归属平台" prop="selfMediaPlatformTypeOther"> |
| 91 | 91 | <el-input v-model="dataForm.selfMediaPlatformTypeOther" placeholder="请输入其他归属平台" clearable :style="{ width: '100%' }" /> |
| 92 | 92 | </el-form-item> |
| 93 | 93 | </el-col> |
| 94 | - <el-col :span="23"> | |
| 94 | + <el-col :span="24"> | |
| 95 | 95 | <el-form-item label="问题类型" prop="questionType"> |
| 96 | 96 | <el-radio-group v-model="dataForm.questionType"> |
| 97 | 97 | <el-radio v-for="(item, index) in questionTypeOptions" :key="index" :label="item.fullName" >{{ item.fullName }}</el-radio> |
| 98 | 98 | </el-radio-group> |
| 99 | 99 | </el-form-item> |
| 100 | 100 | </el-col> |
| 101 | - <el-col :span="23" v-show="dataForm.questionType == '其他'"> | |
| 101 | + <el-col :span="24" v-show="dataForm.questionType == '其他'"> | |
| 102 | 102 | <el-form-item label="其他问题类型" prop="otherQuestionType"> |
| 103 | 103 | <el-input v-model="dataForm.otherQuestionType" placeholder="请输入其他问题类型" clearable :style="{ width: '100%' }" /> |
| 104 | 104 | </el-form-item> |
| 105 | 105 | </el-col> |
| 106 | - <el-col :span="23" v-show="dataForm.questionType == '错误表述'"> | |
| 106 | + <el-col :span="24" v-show="dataForm.questionType == '错误表述'"> | |
| 107 | 107 | <el-form-item label="正确描述" prop="accurateDescription"> |
| 108 | 108 | <el-input v-model="dataForm.accurateDescription" placeholder="请输入正确描述" clearable :style="{ width: '100%' }"></el-input> |
| 109 | 109 | </el-form-item> |
| 110 | 110 | </el-col> |
| 111 | - <el-col :span="23" v-show="dataForm.questionType == '错误表述'"> | |
| 111 | + <el-col :span="24" v-show="dataForm.questionType == '错误表述'"> | |
| 112 | 112 | <el-form-item label="错误描述" prop="incorrectDescription"> |
| 113 | 113 | <el-input v-model="dataForm.incorrectDescription" placeholder="请输入错误描述" clearable :style="{ width: '100%' }"></el-input> |
| 114 | 114 | </el-form-item> |
| 115 | 115 | </el-col> |
| 116 | - <el-col :span="23"> | |
| 116 | + <el-col :span="24"> | |
| 117 | 117 | <el-form-item label="问题内容" prop="questionContent"> |
| 118 | 118 | <el-input v-model="dataForm.questionContent" placeholder="请输入" show-word-limit :style="{ width: '100%' }" type="textarea" :autosize="{ minRows: 4, maxRows: 4 }" /> |
| 119 | 119 | </el-form-item> |
| 120 | 120 | </el-col> |
| 121 | - <!-- <el-col :span="23"> | |
| 121 | + <el-col :span="24"> | |
| 122 | 122 | <el-form-item label="链接" prop="link"> |
| 123 | 123 | <el-input v-model="dataForm.link" placeholder="请输入链接" clearable :style="{ width: '100%' }"></el-input> |
| 124 | 124 | </el-form-item> |
| 125 | - </el-col> --> | |
| 126 | - <el-col :span="23"> | |
| 125 | + </el-col> | |
| 126 | + <el-col :span="24"> | |
| 127 | 127 | <el-form-item label="关键词" prop="questionClass"> |
| 128 | 128 | <el-input v-model="dataForm.questionClass" placeholder="请输入关键词" clearable :style="{ width: '100%' }"></el-input> |
| 129 | 129 | </el-form-item> |
| 130 | 130 | </el-col> |
| 131 | - <el-col :span="23"> | |
| 131 | + <el-col :span="24" v-if="isSHILevel"> | |
| 132 | + <el-form-item label="处置建议" prop="judgmentOpinions"> | |
| 133 | + <el-input | |
| 134 | + v-model="dataForm.judgmentOpinions" | |
| 135 | + placeholder="请输入处置建议" | |
| 136 | + show-word-limit | |
| 137 | + :style="{ width: '100%' }" | |
| 138 | + type="textarea" | |
| 139 | + :autosize="{ minRows: 4, maxRows: 4 }" | |
| 140 | + maxlength="200" | |
| 141 | + > | |
| 142 | + </el-input> | |
| 143 | + </el-form-item> | |
| 144 | + </el-col> | |
| 145 | + <el-col :span="24" v-if="!isSHILevel"> | |
| 146 | + <el-form-item label="处置结果" prop="disposalSuggestions"> | |
| 147 | + <el-input | |
| 148 | + v-model="dataForm.disposalSuggestions" | |
| 149 | + placeholder="请输入处置结果" | |
| 150 | + show-word-limit | |
| 151 | + :style="{ width: '100%' }" | |
| 152 | + type="textarea" | |
| 153 | + :autosize="{ minRows: 4, maxRows: 4 }" | |
| 154 | + maxlength="200" | |
| 155 | + > | |
| 156 | + </el-input> | |
| 157 | + </el-form-item> | |
| 158 | + </el-col> | |
| 159 | + <el-col :span="24"> | |
| 132 | 160 | <el-form-item label="附件" prop="annex"> |
| 133 | 161 | <NCC-UploadFz v-model="dataForm.annex" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" /> |
| 134 | 162 | </el-form-item> |
| ... | ... | @@ -173,6 +201,10 @@ |
| 173 | 201 | <div class="text">{{ dataForm.questionContent || '--' }}</div> |
| 174 | 202 | </el-col> |
| 175 | 203 | <el-col class="form-item"> |
| 204 | + <div class="label w-120">链接:</div> | |
| 205 | + <div class="text">{{ dataForm.link || '--' }}</div> | |
| 206 | + </el-col> | |
| 207 | + <el-col class="form-item"> | |
| 176 | 208 | <div class="label w-120">关键词:</div> |
| 177 | 209 | <div class="text">{{ dataForm.questionClass || '--' }}</div> |
| 178 | 210 | </el-col> |
| ... | ... | @@ -181,11 +213,11 @@ |
| 181 | 213 | <NCC-UploadFz v-model="dataForm.annex" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> |
| 182 | 214 | </el-col> |
| 183 | 215 | <el-col class="form-item" v-if="dataForm.judgmentOpinions"> |
| 184 | - <div class="label w-120">研判意见:</div> | |
| 216 | + <div class="label w-120">处置建议:</div> | |
| 185 | 217 | <div class="text">{{ dataForm.judgmentOpinions || '--' }}</div> |
| 186 | 218 | </el-col> |
| 187 | 219 | <el-col class="form-item" v-if="dataForm.disposalSuggestions"> |
| 188 | - <div class="label w-120">处理结果:</div> | |
| 220 | + <div class="label w-120">处置结果:</div> | |
| 189 | 221 | <div class="text">{{ dataForm.disposalSuggestions || '--' }}</div> |
| 190 | 222 | </el-col> |
| 191 | 223 | </el-row> |
| ... | ... | @@ -232,6 +264,8 @@ export default { |
| 232 | 264 | selfMediaPlatformTypeOther: undefined, |
| 233 | 265 | company: undefined, |
| 234 | 266 | reportSourceName: undefined, |
| 267 | + judgmentOpinions: undefined, | |
| 268 | + disposalSuggestions: undefined, | |
| 235 | 269 | }, |
| 236 | 270 | rules: { |
| 237 | 271 | platformName: [ |
| ... | ... | @@ -264,7 +298,11 @@ export default { |
| 264 | 298 | if(!this.nameOptions.length) return false; |
| 265 | 299 | let index = this.nameOptions.findIndex(v => v.id == this.dataForm.platformName); |
| 266 | 300 | return index != -1; |
| 267 | - } | |
| 301 | + }, | |
| 302 | + isSHILevel() { | |
| 303 | + // 判断角色是否为‘市级办公室’ | |
| 304 | + return this.$store.state.user.islader; | |
| 305 | + }, | |
| 268 | 306 | }, |
| 269 | 307 | watch: {}, |
| 270 | 308 | created() {}, |
| ... | ... | @@ -407,16 +445,19 @@ export default { |
| 407 | 445 | selfMediaPlatformType: this.dataForm.selfMediaPlatformType == '其他' ? this.dataForm.selfMediaPlatformTypeOther : this.dataForm.selfMediaPlatformType, |
| 408 | 446 | } |
| 409 | 447 | this.btnLoading = true; |
| 410 | - let res = !this.dataForm.id ? await addForm(obj) : await updataForm(obj); | |
| 411 | - if (res.code != 200) return this.btnLoading = false; | |
| 412 | - this.$message({ | |
| 413 | - message: res.msg, | |
| 414 | - type: "success", | |
| 415 | - duration: 1000, | |
| 416 | - onClose: () => { | |
| 417 | - (this.visible = false), this.$emit("refresh", true); | |
| 418 | - }, | |
| 419 | - }); | |
| 448 | + try { | |
| 449 | + let res = !this.dataForm.id ? await addForm(obj) : await updataForm(obj); | |
| 450 | + this.$message({ | |
| 451 | + message: res.msg, | |
| 452 | + type: "success", | |
| 453 | + duration: 1000, | |
| 454 | + onClose: () => { | |
| 455 | + (this.visible = false), this.$emit("refresh", true); | |
| 456 | + }, | |
| 457 | + }); | |
| 458 | + } catch (error) { | |
| 459 | + this.btnLoading = false; | |
| 460 | + } | |
| 420 | 461 | } |
| 421 | 462 | }); |
| 422 | 463 | }, | ... | ... |
src/views/baseInspectionReport/index.vue
| ... | ... | @@ -55,7 +55,9 @@ |
| 55 | 55 | <el-table-column show-overflow-tooltip label="应用类型" prop="platformType" align="left"> |
| 56 | 56 | <template slot-scope="scope">{{ scope.row.platformType | dynamicTextUP(systemTypeOptions) }}</template> |
| 57 | 57 | </el-table-column> |
| 58 | - <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left" /> | |
| 58 | + <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left" > | |
| 59 | + <template slot-scope="scope">{{ scope.row.questionType }}{{ scope.row.questionCode }}</template> | |
| 60 | + </el-table-column> | |
| 59 | 61 | <!-- <el-table-column show-overflow-tooltip prop="link" label="有害链接" align="left" /> --> |
| 60 | 62 | <el-table-column show-overflow-tooltip prop="questionClass" label="关键词" align="left" /> |
| 61 | 63 | <el-table-column show-overflow-tooltip prop="creatorTime" label="录入时间" align="left" :formatter="ncc.tableDateFormat"/> | ... | ... |
src/views/baseSystemInfo/DetailForm.vue
| ... | ... | @@ -53,6 +53,12 @@ |
| 53 | 53 | <p class="text">{{ dataForm.specialRecordContent || "--" }}</p> |
| 54 | 54 | </div> |
| 55 | 55 | </el-col> |
| 56 | + <el-col :span="24" v-if="dataForm.systemType == '576280043370579205'"> | |
| 57 | + <div class="form-item"> | |
| 58 | + <div class="label w-100">域名:</div> | |
| 59 | + <p class="text">{{ dataForm.domain || "--" }}</p> | |
| 60 | + </div> | |
| 61 | + </el-col> | |
| 56 | 62 | <el-col :span="24"> |
| 57 | 63 | <div class="form-item"> |
| 58 | 64 | <div class="label w-100">特殊备案号:</div> |
| ... | ... | @@ -96,12 +102,7 @@ |
| 96 | 102 | <p class="text">{{ dataForm.platform || "--" }}</p> |
| 97 | 103 | </div> |
| 98 | 104 | </el-col> |
| 99 | - <el-col :span="24"> | |
| 100 | - <div class="form-item"> | |
| 101 | - <div class="label w-100">域名:</div> | |
| 102 | - <p class="text">{{ dataForm.domain || "--" }}</p> | |
| 103 | - </div> | |
| 104 | - </el-col> | |
| 105 | + | |
| 105 | 106 | <!-- <el-col :span="24"> |
| 106 | 107 | <div class="form-item"> |
| 107 | 108 | <div class="label w-100">下载量:</div> |
| ... | ... | @@ -145,12 +146,12 @@ |
| 145 | 146 | <p class="text">{{ dataForm.areaId | dynamicText(areaOptions) }}</p> |
| 146 | 147 | </div> |
| 147 | 148 | </el-col> |
| 148 | - <el-col :span="24"> | |
| 149 | + <!-- <el-col :span="24"> | |
| 149 | 150 | <div class="form-item"> |
| 150 | 151 | <div class="label w-100">所属外协:</div> |
| 151 | 152 | <p class="text">{{ dataForm.externalAssistanceId ? '外协一' : "--" }}</p> |
| 152 | 153 | </div> |
| 153 | - </el-col> | |
| 154 | + </el-col> --> | |
| 154 | 155 | </div> |
| 155 | 156 | </el-tab-pane> |
| 156 | 157 | <el-tab-pane label="运营主体信息" name="2"> |
| ... | ... | @@ -163,7 +164,7 @@ |
| 163 | 164 | </el-col> |
| 164 | 165 | <el-col :span="24"> |
| 165 | 166 | <div class="form-item"> |
| 166 | - <div class="label w-100">社会信用代:</div> | |
| 167 | + <div class="label w-100">社会信用代码:</div> | |
| 167 | 168 | <p class="text">{{ companyForm.socialCreditAgency || "--" }}</p> |
| 168 | 169 | </div> |
| 169 | 170 | </el-col> |
| ... | ... | @@ -181,14 +182,20 @@ |
| 181 | 182 | </el-col> |
| 182 | 183 | <el-col :span="24"> |
| 183 | 184 | <div class="form-item"> |
| 185 | + <div class="label w-100">资质证明:</div> | |
| 186 | + <NCC-UploadFz v-model="companyForm.qualificationCertificate" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" disabled/> | |
| 187 | + </div> | |
| 188 | + </el-col> | |
| 189 | + <el-col :span="24"> | |
| 190 | + <div class="form-item"> | |
| 184 | 191 | <div class="label w-100">联系人:</div> |
| 185 | 192 | <p class="text">{{ companyForm.contactUser || "--" }}</p> |
| 186 | 193 | </div> |
| 187 | 194 | </el-col> |
| 188 | 195 | <el-col :span="24"> |
| 189 | 196 | <div class="form-item"> |
| 190 | - <div class="label w-100">联系方式:</div> | |
| 191 | - <p class="text">{{ companyForm.contactInformation || "--" }}</p> | |
| 197 | + <div class="label w-100">联系电话:</div> | |
| 198 | + <p class="text">{{ companyForm.contactPhone || "--" }}</p> | |
| 192 | 199 | </div> |
| 193 | 200 | </el-col> |
| 194 | 201 | <el-col :span="24"> | ... | ... |