Commit 76e683c71a0885ad8905d7a39ea8292b1a7ce4cf
1 parent
862f1695
提交
Showing
7 changed files
with
346 additions
and
23 deletions
src/components/InfoForm/index.vue
| @@ -27,10 +27,10 @@ | @@ -27,10 +27,10 @@ | ||
| 27 | <el-row :gutter="20" style="margin: unset;"> | 27 | <el-row :gutter="20" style="margin: unset;"> |
| 28 | <el-col :span="24"> | 28 | <el-col :span="24"> |
| 29 | <el-col :span="12"> | 29 | <el-col :span="12"> |
| 30 | - <el-form-item label="主体企业" prop="companyId"> | 30 | + <el-form-item label="运营主体" prop="companyId"> |
| 31 | <el-select | 31 | <el-select |
| 32 | v-model="infoForm.companyId" | 32 | v-model="infoForm.companyId" |
| 33 | - placeholder="请选择主体企业" | 33 | + placeholder="请选择运营主体" |
| 34 | clearable | 34 | clearable |
| 35 | v-loadMore="nextCompanyList" | 35 | v-loadMore="nextCompanyList" |
| 36 | style="width: 100%" | 36 | style="width: 100%" |
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | </div> | 74 | </div> |
| 75 | </el-col> | 75 | </el-col> |
| 76 | <el-col :span="24"> | 76 | <el-col :span="24"> |
| 77 | - <el-form-item label="系统类型" prop="systemType"> | 77 | + <el-form-item label="应用类型" prop="systemType"> |
| 78 | <el-radio-group v-model="infoForm.systemType"> | 78 | <el-radio-group v-model="infoForm.systemType"> |
| 79 | <el-radio | 79 | <el-radio |
| 80 | v-for="v in systemTypeOptions" | 80 | v-for="v in systemTypeOptions" |
| @@ -128,7 +128,7 @@ | @@ -128,7 +128,7 @@ | ||
| 128 | </el-col> | 128 | </el-col> |
| 129 | </el-col> | 129 | </el-col> |
| 130 | <el-col :span="12"> | 130 | <el-col :span="12"> |
| 131 | - <el-form-item label="系统名称" prop="systemName"> | 131 | + <el-form-item label="应用名称" prop="systemName"> |
| 132 | <el-input | 132 | <el-input |
| 133 | v-model="infoForm.systemName" | 133 | v-model="infoForm.systemName" |
| 134 | placeholder="请输入系统名称" | 134 | placeholder="请输入系统名称" |
| @@ -137,7 +137,7 @@ | @@ -137,7 +137,7 @@ | ||
| 137 | </el-form-item> | 137 | </el-form-item> |
| 138 | </el-col> | 138 | </el-col> |
| 139 | <el-col :span="12"> | 139 | <el-col :span="12"> |
| 140 | - <el-form-item label="系统分类" prop="systemClass"> | 140 | + <el-form-item label="应用分类" prop="systemClass"> |
| 141 | <el-select | 141 | <el-select |
| 142 | v-model="infoForm.systemClass" | 142 | v-model="infoForm.systemClass" |
| 143 | placeholder="请选择系统分类" | 143 | placeholder="请选择系统分类" |
src/views/DisposalSuggestions/Form.vue
| @@ -79,6 +79,12 @@ | @@ -79,6 +79,12 @@ | ||
| 79 | {{ dataForm.areaName || "--" }} | 79 | {{ dataForm.areaName || "--" }} |
| 80 | </div> | 80 | </div> |
| 81 | </el-col> | 81 | </el-col> |
| 82 | + <el-col :span="24" v-if="dataForm.disposalSuggestions"> | ||
| 83 | + <div class="form-item"> | ||
| 84 | + <div class="label w-100">区县处理说明</div> | ||
| 85 | + {{ dataForm.disposalSuggestions || "--" }} | ||
| 86 | + </div> | ||
| 87 | + </el-col> | ||
| 82 | </el-row> | 88 | </el-row> |
| 83 | </el-col> | 89 | </el-col> |
| 84 | <el-col :span="14"> | 90 | <el-col :span="14"> |
src/views/DisposalSuggestions/HandleForm.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-dialog | ||
| 3 | + title="巡查处理" | ||
| 4 | + :close-on-click-modal="false" | ||
| 5 | + :visible.sync="visible" | ||
| 6 | + class="NCC-dialog NCC-dialog_center" | ||
| 7 | + lock-scroll | ||
| 8 | + width="60%" | ||
| 9 | + v-loading="loading" | ||
| 10 | + > | ||
| 11 | + <el-row :gutter="15" class="NCC-dialog-content"> | ||
| 12 | + <el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px;"> | ||
| 13 | + <el-row> | ||
| 14 | + <el-col :span="24" class="form_title"> 巡查上报详情 </el-col> | ||
| 15 | + <el-col :span="24"> | ||
| 16 | + <div class="form-item"> | ||
| 17 | + <div class="label w-100">问题来源</div> | ||
| 18 | + {{ dataForm.source || "--" }} | ||
| 19 | + </div> | ||
| 20 | + </el-col> | ||
| 21 | + <el-col :span="24"> | ||
| 22 | + <div class="form-item"> | ||
| 23 | + <div class="label w-100">系统名称</div> | ||
| 24 | + {{ dataForm.platformName || "--" }} | ||
| 25 | + </div> | ||
| 26 | + </el-col> | ||
| 27 | + <el-col :span="24"> | ||
| 28 | + <div class="form-item"> | ||
| 29 | + <div class="label w-100">系统类型</div> | ||
| 30 | + {{ dataForm.platformType || "--" }} | ||
| 31 | + </div> | ||
| 32 | + </el-col> | ||
| 33 | + <el-col :span="24"> | ||
| 34 | + <div class="form-item"> | ||
| 35 | + <div class="label w-100">问题类型</div> | ||
| 36 | + {{ dataForm.questionType || "--" }} | ||
| 37 | + </div> | ||
| 38 | + </el-col> | ||
| 39 | + <template v-if="dataForm.questionType == '错误表述'"> | ||
| 40 | + <el-col :span="24"> | ||
| 41 | + <div class="form-item"> | ||
| 42 | + <div class="label w-100">正确描述</div> | ||
| 43 | + {{ dataForm.accurateDescription || "--" }} | ||
| 44 | + </div> | ||
| 45 | + </el-col> | ||
| 46 | + <el-col :span="24"> | ||
| 47 | + <div class="form-item"> | ||
| 48 | + <div class="label w-100">错误描述</div> | ||
| 49 | + {{ dataForm.incorrectDescription || "--" }} | ||
| 50 | + </div> | ||
| 51 | + </el-col> | ||
| 52 | + </template> | ||
| 53 | + <el-col :span="24"> | ||
| 54 | + <div class="form-item"> | ||
| 55 | + <div class="label w-100">关键词</div> | ||
| 56 | + {{ dataForm.questionClass || "--" }} | ||
| 57 | + </div> | ||
| 58 | + </el-col> | ||
| 59 | + <el-col :span="24"> | ||
| 60 | + <div class="form-item"> | ||
| 61 | + <div class="label w-100">问题内容</div> | ||
| 62 | + {{ dataForm.questionContent || "--" }} | ||
| 63 | + </div> | ||
| 64 | + </el-col> | ||
| 65 | + <el-col :span="24"> | ||
| 66 | + <div class="form-item"> | ||
| 67 | + <div class="label w-100">有害链接</div> | ||
| 68 | + {{ dataForm.link || "--" }} | ||
| 69 | + </div> | ||
| 70 | + </el-col> | ||
| 71 | + <el-col :span="24"> | ||
| 72 | + <div class="form-item"> | ||
| 73 | + <div class="label w-100">取证内容</div> | ||
| 74 | + </div> | ||
| 75 | + </el-col> | ||
| 76 | + <el-col :span="24"> | ||
| 77 | + <div class="form-item"> | ||
| 78 | + <div class="label w-100">研判意见</div> | ||
| 79 | + {{ dataForm.judgmentOpinions || "--" }} | ||
| 80 | + </div> | ||
| 81 | + </el-col> | ||
| 82 | + </el-row> | ||
| 83 | + </el-col> | ||
| 84 | + <el-col :span="14"> | ||
| 85 | + <el-row> | ||
| 86 | + <el-col :span="24" class="form_title"> 巡查处理 </el-col> | ||
| 87 | + <el-form | ||
| 88 | + ref="suggestionForm" | ||
| 89 | + :rules="rules" | ||
| 90 | + :model="suggestionForm" | ||
| 91 | + size="small" | ||
| 92 | + label-width="100px" | ||
| 93 | + label-position="right" | ||
| 94 | + > | ||
| 95 | + <el-col :span="24"> | ||
| 96 | + <el-form-item label="处理说明" prop="disposalSuggestions"> | ||
| 97 | + <el-input | ||
| 98 | + v-model="suggestionForm.disposalSuggestions" | ||
| 99 | + placeholder="请输入处理说明" | ||
| 100 | + show-word-limit | ||
| 101 | + :style="{ width: '100%' }" | ||
| 102 | + type="textarea" | ||
| 103 | + :autosize="{ minRows: 4, maxRows: 4 }" | ||
| 104 | + maxlength="200" | ||
| 105 | + > | ||
| 106 | + </el-input> | ||
| 107 | + </el-form-item> | ||
| 108 | + </el-col> | ||
| 109 | + </el-form> | ||
| 110 | + </el-row> | ||
| 111 | + </el-col> | ||
| 112 | + </el-row> | ||
| 113 | + <span slot="footer" class="dialog-footer"> | ||
| 114 | + <el-button @click="visible = false">取 消</el-button> | ||
| 115 | + <el-button type="primary" @click="dataFormSubmit()">确 定</el-button> | ||
| 116 | + </span> | ||
| 117 | + </el-dialog> | ||
| 118 | + </template> | ||
| 119 | + <script> | ||
| 120 | + import request from "@/utils/request"; | ||
| 121 | + import infoMixin from "@/mixins/info"; | ||
| 122 | + import { dynamicText } from "@/filters/index"; | ||
| 123 | + import { getDictionaryDataSelector } from "@/api/systemData/dictionary"; | ||
| 124 | + import { getDetail, disposalSuggestions } from "@/api/systemData/dataInterface"; | ||
| 125 | + export default { | ||
| 126 | + components: {}, | ||
| 127 | + mixins: [infoMixin], | ||
| 128 | + props: [], | ||
| 129 | + data() { | ||
| 130 | + return { | ||
| 131 | + loading: true, | ||
| 132 | + visible: false, | ||
| 133 | + isDetail: true, | ||
| 134 | + dataForm: { | ||
| 135 | + id: undefined, | ||
| 136 | + platformName: undefined, | ||
| 137 | + platformType: undefined, | ||
| 138 | + questionType: undefined, | ||
| 139 | + questionClass: undefined, | ||
| 140 | + questionContent: undefined, | ||
| 141 | + link: undefined, | ||
| 142 | + obtainEvidence: [], | ||
| 143 | + annex: [], | ||
| 144 | + }, | ||
| 145 | + sourceOptions: [ | ||
| 146 | + { fullName: "市网信办线索", id: "市网信办线索" }, | ||
| 147 | + { fullName: "自主巡查发现", id: "自主巡查发现" }, | ||
| 148 | + ], | ||
| 149 | + platformTypeOptions: [], | ||
| 150 | + questionTypeOptions: [], | ||
| 151 | + questionClassOptions: [ | ||
| 152 | + { fullName: "选项一", id: "1" }, | ||
| 153 | + { fullName: "选项二", id: "2" }, | ||
| 154 | + ], | ||
| 155 | + stageOptions: [ | ||
| 156 | + { fullName: "选项一", id: "1" }, | ||
| 157 | + { fullName: "选项二", id: "2" }, | ||
| 158 | + ], | ||
| 159 | + | ||
| 160 | + suggestionForm: { | ||
| 161 | + disposalSuggestions: "", //处置建议 | ||
| 162 | + judgmentOpinions: "", //判断意见 | ||
| 163 | + reviewType: "", //判断分类 | ||
| 164 | + deadline: "", | ||
| 165 | + area: '', | ||
| 166 | + disposalSuggestions: '', // 处置建议 | ||
| 167 | + }, | ||
| 168 | + rules: { | ||
| 169 | + disposalSuggestions: [ | ||
| 170 | + { required: true, message: "请输入处理说明", trigger: "blur" }, | ||
| 171 | + ], | ||
| 172 | + }, | ||
| 173 | + showSuggsetion: false, | ||
| 174 | + showarea: false, | ||
| 175 | + judgmentClassOption: [], | ||
| 176 | + areaOptions: [], | ||
| 177 | + }; | ||
| 178 | + }, | ||
| 179 | + computed: { | ||
| 180 | + isSHILevel() { | ||
| 181 | + // 判断角色是否为‘市级办公室’ | ||
| 182 | + return this.$store.state.user.islader; | ||
| 183 | + }, | ||
| 184 | + }, | ||
| 185 | + watch: {}, | ||
| 186 | + created() { | ||
| 187 | + this.initAreaTypeList(); | ||
| 188 | + this.getplatformTypeOptions(); | ||
| 189 | + this.getquestionTypeOptions(); | ||
| 190 | + this.getjudgmentClassOptions(); | ||
| 191 | + }, | ||
| 192 | + mounted() {}, | ||
| 193 | + methods: { | ||
| 194 | + getplatformTypeOptions() { | ||
| 195 | + getDictionaryDataSelector("576279943168656645").then((res) => { | ||
| 196 | + this.platformTypeOptions = res.data.list; | ||
| 197 | + }); | ||
| 198 | + }, | ||
| 199 | + getquestionTypeOptions() { | ||
| 200 | + getDictionaryDataSelector("577006814432855301").then((res) => { | ||
| 201 | + this.questionTypeOptions = res.data.list; | ||
| 202 | + }); | ||
| 203 | + }, | ||
| 204 | + getjudgmentClassOptions() { | ||
| 205 | + request({ | ||
| 206 | + url: `/Extend/BaseInspectionReport/GetReviewTypeList`, | ||
| 207 | + method: 'GET', | ||
| 208 | + }).then(res => { | ||
| 209 | + this.judgmentClassOption = res.data; | ||
| 210 | + }) | ||
| 211 | + }, | ||
| 212 | + goBack() { | ||
| 213 | + this.$emit("refresh"); | ||
| 214 | + }, | ||
| 215 | + init(id, isDetail) { | ||
| 216 | + this.dataForm.id = id || 0; | ||
| 217 | + this.visible = true; | ||
| 218 | + this.showSuggsetion = false; | ||
| 219 | + this.$nextTick(async () => { | ||
| 220 | + this.$refs["suggestionForm"].resetFields(); | ||
| 221 | + if (this.dataForm.id) { | ||
| 222 | + this.loading = true; | ||
| 223 | + let res = await getDetail(this.dataForm.id); | ||
| 224 | + this.dataForm = res.data; | ||
| 225 | + this.loading = false; | ||
| 226 | + this.dataForm.areaName = dynamicText(res.data.areaId, this.areaOptions); | ||
| 227 | + this.suggestionForm.area = res.data.areaId | ||
| 228 | + if (!this.dataForm.obtainEvidence) this.dataForm.obtainEvidence = []; | ||
| 229 | + if (!this.dataForm.annex) this.dataForm.annex = []; | ||
| 230 | + } | ||
| 231 | + }); | ||
| 232 | + }, | ||
| 233 | + judgmentClassChange(v) { | ||
| 234 | + this.suggestionForm.judgmentOpinions = ''; | ||
| 235 | + this.showSuggsetion = Boolean(v == "590769458901943557" || v == "590769521820697861"); // 进一步处置,不采纳 | ||
| 236 | + this.showarea = Boolean(v == "590769199001896197" || v == "590769458901943557"); // 执法,进一步处置 | ||
| 237 | + }, | ||
| 238 | + dataFormSubmit() { | ||
| 239 | + this.$refs["suggestionForm"].validate(async (valid) => { | ||
| 240 | + if (valid) { | ||
| 241 | + let obj = { | ||
| 242 | + ...this.suggestionForm, | ||
| 243 | + id: this.dataForm.id, | ||
| 244 | + }; | ||
| 245 | + let res = await disposalSuggestions(obj); | ||
| 246 | + this.$message({ | ||
| 247 | + message: res.msg, | ||
| 248 | + type: "success", | ||
| 249 | + duration: 1000, | ||
| 250 | + onClose: () => { | ||
| 251 | + (this.visible = false), this.$emit("refresh", true); | ||
| 252 | + }, | ||
| 253 | + }); | ||
| 254 | + } | ||
| 255 | + }); | ||
| 256 | + }, | ||
| 257 | + }, | ||
| 258 | + }; | ||
| 259 | + </script> | ||
| 260 | + <style lang="scss" scoped> | ||
| 261 | + .form_title { | ||
| 262 | + line-height: 30px; | ||
| 263 | + padding-left: 40px; | ||
| 264 | + color: #409eff; | ||
| 265 | + } | ||
| 266 | + </style> | ||
| 267 | + | ||
| 0 | \ No newline at end of file | 268 | \ No newline at end of file |
src/views/DisposalSuggestions/index.vue
| @@ -57,7 +57,8 @@ | @@ -57,7 +57,8 @@ | ||
| 57 | </el-table-column> --> | 57 | </el-table-column> --> |
| 58 | <el-table-column label="操作" fixed="right" width="100"> | 58 | <el-table-column label="操作" fixed="right" width="100"> |
| 59 | <template slot-scope="scope"> | 59 | <template slot-scope="scope"> |
| 60 | - <el-button type="text" @click="addOrUpdateHandle(scope.row.id)" >研判</el-button> | 60 | + <el-button type="text" v-if="isSHILevel" @click="addOrUpdateHandle(scope.row.id)" >研判</el-button> |
| 61 | + <el-button type="text" v-else @click="toHandle(scope.row.id)" >处理</el-button> | ||
| 61 | </template> | 62 | </template> |
| 62 | </el-table-column> | 63 | </el-table-column> |
| 63 | </NCC-table> | 64 | </NCC-table> |
| @@ -65,6 +66,7 @@ | @@ -65,6 +66,7 @@ | ||
| 65 | </div> | 66 | </div> |
| 66 | </div> | 67 | </div> |
| 67 | <NCC-Form v-if="formVisible" ref="NCCForm" @refresh="refresh" /> | 68 | <NCC-Form v-if="formVisible" ref="NCCForm" @refresh="refresh" /> |
| 69 | + <HandleForm v-if="HandleFormVisible" ref="HandleForm" @refresh="refresh" /> | ||
| 68 | </div> | 70 | </div> |
| 69 | </div> | 71 | </div> |
| 70 | </div> | 72 | </div> |
| @@ -74,9 +76,10 @@ | @@ -74,9 +76,10 @@ | ||
| 74 | import request from '@/utils/request' | 76 | import request from '@/utils/request' |
| 75 | import infoMixin from "@/mixins/info"; | 77 | import infoMixin from "@/mixins/info"; |
| 76 | import NCCForm from './Form' | 78 | import NCCForm from './Form' |
| 79 | + import HandleForm from './HandleForm' | ||
| 77 | import { getListForJudge, previewDataInterface } from '@/api/systemData/dataInterface' | 80 | import { getListForJudge, previewDataInterface } from '@/api/systemData/dataInterface' |
| 78 | export default { | 81 | export default { |
| 79 | - components: { NCCForm }, | 82 | + components: { NCCForm, HandleForm }, |
| 80 | mixins: [infoMixin], | 83 | mixins: [infoMixin], |
| 81 | data() { | 84 | data() { |
| 82 | return { | 85 | return { |
| @@ -115,9 +118,16 @@ | @@ -115,9 +118,16 @@ | ||
| 115 | questionTypeOptions : [], | 118 | questionTypeOptions : [], |
| 116 | questionClassOptions:[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}], | 119 | questionClassOptions:[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}], |
| 117 | stageOptions:[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}], | 120 | stageOptions:[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}], |
| 121 | + | ||
| 122 | + HandleFormVisible: false | ||
| 118 | } | 123 | } |
| 119 | }, | 124 | }, |
| 120 | - computed: {}, | 125 | + computed: { |
| 126 | + isSHILevel() { | ||
| 127 | + // 判断角色是否为‘市级办公室’ | ||
| 128 | + return this.$store.state.user.islader; | ||
| 129 | + }, | ||
| 130 | + }, | ||
| 121 | created() { | 131 | created() { |
| 122 | this.initSystemTypeList(); | 132 | this.initSystemTypeList(); |
| 123 | this.initData() | 133 | this.initData() |
| @@ -161,8 +171,16 @@ | @@ -161,8 +171,16 @@ | ||
| 161 | }, | 171 | }, |
| 162 | refresh(isrRefresh) { | 172 | refresh(isrRefresh) { |
| 163 | this.formVisible = false | 173 | this.formVisible = false |
| 174 | + this.HandleFormVisible = false | ||
| 164 | if (isrRefresh) this.reset() | 175 | if (isrRefresh) this.reset() |
| 165 | }, | 176 | }, |
| 177 | + // 处理 | ||
| 178 | + toHandle(id, isDetail) { | ||
| 179 | + this.HandleFormVisible = true | ||
| 180 | + this.$nextTick(() => { | ||
| 181 | + this.$refs.HandleForm.init(id, isDetail) | ||
| 182 | + }) | ||
| 183 | + }, | ||
| 166 | reset() { | 184 | reset() { |
| 167 | for (let key in this.query) { | 185 | for (let key in this.query) { |
| 168 | this.query[key] = undefined | 186 | this.query[key] = undefined |
src/views/baseSystemInfo/index.vue
| @@ -99,7 +99,7 @@ | @@ -99,7 +99,7 @@ | ||
| 99 | <el-table-column label="应用类型" prop="systemType" align="left" show-overflow-tooltip> | 99 | <el-table-column label="应用类型" prop="systemType" align="left" show-overflow-tooltip> |
| 100 | <template slot-scope="scope">{{ scope.row.systemType | dynamicTextUP(systemTypeOptions) }}</template> | 100 | <template slot-scope="scope">{{ scope.row.systemType | dynamicTextUP(systemTypeOptions) }}</template> |
| 101 | </el-table-column> | 101 | </el-table-column> |
| 102 | - <el-table-column label="系统分类" prop="systemClass" align="left" show-overflow-tooltip> | 102 | + <el-table-column label="应用分类" prop="systemClass" align="left" show-overflow-tooltip> |
| 103 | <!-- <template slot-scope="scope">{{ scope.row.systemClass | dynamicTextUP(systemTypeOptions) }}</template> --> | 103 | <!-- <template slot-scope="scope">{{ scope.row.systemClass | dynamicTextUP(systemTypeOptions) }}</template> --> |
| 104 | </el-table-column> | 104 | </el-table-column> |
| 105 | <el-table-column | 105 | <el-table-column |
| @@ -199,7 +199,7 @@ | @@ -199,7 +199,7 @@ | ||
| 199 | 199 | ||
| 200 | <script> | 200 | <script> |
| 201 | import request from "@/utils/request"; | 201 | import request from "@/utils/request"; |
| 202 | -import { getInfoList } from "@/api/baseData/info"; | 202 | +import { getList } from "@/api/baseData/info"; |
| 203 | import { applnyChageArea } from "@/api/baseData/info"; | 203 | import { applnyChageArea } from "@/api/baseData/info"; |
| 204 | import infoMixin from "@/mixins/info"; | 204 | import infoMixin from "@/mixins/info"; |
| 205 | import InspectionForm from "./InspectForm.vue"; | 205 | import InspectionForm from "./InspectForm.vue"; |
| @@ -317,7 +317,7 @@ export default { | @@ -317,7 +317,7 @@ export default { | ||
| 317 | ...this.listQuery, | 317 | ...this.listQuery, |
| 318 | ...this.query, | 318 | ...this.query, |
| 319 | }; | 319 | }; |
| 320 | - getInfoList(query).then(({ data }) => { | 320 | + getList(query).then(({ data }) => { |
| 321 | let list = []; | 321 | let list = []; |
| 322 | data.list.length && | 322 | data.list.length && |
| 323 | data.list.forEach((v) => { | 323 | data.list.forEach((v) => { |
src/views/overView/Overview.vue
| @@ -132,7 +132,12 @@ | @@ -132,7 +132,12 @@ | ||
| 132 | <MsgForm v-if="MsgFormVisible" ref="MsgForm" @refresh="msgRefresh"/> | 132 | <MsgForm v-if="MsgFormVisible" ref="MsgForm" @refresh="msgRefresh"/> |
| 133 | <HandleInspectForm v-if="HandleInspectFormVisible" ref="HandleInspectForm" @refresh="(val) => {taskRefresh('HandleInspectFormVisible', val)}"/> | 133 | <HandleInspectForm v-if="HandleInspectFormVisible" ref="HandleInspectForm" @refresh="(val) => {taskRefresh('HandleInspectFormVisible', val)}"/> |
| 134 | <NCC-Form v-if="formVisible" ref="NCCForm" @refreshDataList="(val) => {taskRefresh('formVisible', val)}" /> | 134 | <NCC-Form v-if="formVisible" ref="NCCForm" @refreshDataList="(val) => {taskRefresh('formVisible', val)}" /> |
| 135 | + <!-- 案件处理 --> | ||
| 135 | <HandForm v-if="HandFormVisible" ref="HandForm" @refresh="(val) => {taskRefresh('HandFormVisible', val)}" /> | 136 | <HandForm v-if="HandFormVisible" ref="HandForm" @refresh="(val) => {taskRefresh('HandFormVisible', val)}" /> |
| 137 | + <!-- 研判 --> | ||
| 138 | + <DisposalForm v-if="DisposalFormVisible" ref="DisposalForm" @refresh="(val) => {taskRefresh('DisposalFormVisible', val)}"/> | ||
| 139 | + <DisposalHandleForm v-if="DisposalHandleFormVisible" ref="DisposalHandleForm" @refresh="(val) => {taskRefresh('DisposalHandleFormVisible', val)}"/> | ||
| 140 | + | ||
| 136 | </div> | 141 | </div> |
| 137 | </template> | 142 | </template> |
| 138 | 143 | ||
| @@ -142,10 +147,13 @@ import MsgForm from "./msgForm.vue" | @@ -142,10 +147,13 @@ import MsgForm from "./msgForm.vue" | ||
| 142 | import HandleInspectForm from "@/views/baseSystemInfo/HandleInspectForm.vue" | 147 | import HandleInspectForm from "@/views/baseSystemInfo/HandleInspectForm.vue" |
| 143 | import NCCForm from '@/views/baseSpecialAction/dynamicModel/list/Form' | 148 | import NCCForm from '@/views/baseSpecialAction/dynamicModel/list/Form' |
| 144 | import HandForm from '@/views/baseCaseHandling/Form.vue' | 149 | import HandForm from '@/views/baseCaseHandling/Form.vue' |
| 145 | - | 150 | +// 研判 |
| 151 | +import DisposalForm from "@/views/DisposalSuggestions/Form.vue"; | ||
| 152 | +// 巡查处理 | ||
| 153 | +import DisposalHandleForm from "@/views/DisposalSuggestions/HandleForm.vue"; | ||
| 146 | export default { | 154 | export default { |
| 147 | name: "Overview", | 155 | name: "Overview", |
| 148 | - components: { MsgForm, HandleInspectForm, NCCForm, HandForm }, | 156 | + components: { MsgForm, HandleInspectForm, NCCForm, HandForm, DisposalForm, DisposalHandleForm }, |
| 149 | data() { | 157 | data() { |
| 150 | return { | 158 | return { |
| 151 | todoTableData: [], | 159 | todoTableData: [], |
| @@ -177,6 +185,8 @@ export default { | @@ -177,6 +185,8 @@ export default { | ||
| 177 | HandleInspectFormVisible: false, | 185 | HandleInspectFormVisible: false, |
| 178 | formVisible: false, | 186 | formVisible: false, |
| 179 | HandFormVisible: false, | 187 | HandFormVisible: false, |
| 188 | + DisposalHandleFormVisible: false, | ||
| 189 | + DisposalFormVisible: false, | ||
| 180 | }; | 190 | }; |
| 181 | }, | 191 | }, |
| 182 | created() { | 192 | created() { |
| @@ -297,12 +307,7 @@ export default { | @@ -297,12 +307,7 @@ export default { | ||
| 297 | this.getAllTaskList(); | 307 | this.getAllTaskList(); |
| 298 | }, | 308 | }, |
| 299 | async handleTask(row) { | 309 | async handleTask(row) { |
| 300 | - if(row.taskType == '归属地变更') { | ||
| 301 | - this.HandleInspectFormVisible = true; | ||
| 302 | - this.$nextTick(() => { | ||
| 303 | - this.$refs.HandleInspectForm.init(row.taskCorrelationId, true); | ||
| 304 | - }) | ||
| 305 | - } else if(row.taskType == '专项行动') { | 310 | + if(row.taskType == '专项行动') { |
| 306 | this.formVisible = true; | 311 | this.formVisible = true; |
| 307 | // let data = await this.getBaseSpecialActionInfo('588008032122701061'); | 312 | // let data = await this.getBaseSpecialActionInfo('588008032122701061'); |
| 308 | let data = await this.getBaseSpecialActionInfo(row.taskCorrelationId); | 313 | let data = await this.getBaseSpecialActionInfo(row.taskCorrelationId); |
| @@ -320,13 +325,41 @@ export default { | @@ -320,13 +325,41 @@ export default { | ||
| 320 | formData = res.data.formData; | 325 | formData = res.data.formData; |
| 321 | this.$refs.NCCForm.init(formData, modelId, Itemid, isPreview, useFormPermission, taskId) | 326 | this.$refs.NCCForm.init(formData, modelId, Itemid, isPreview, useFormPermission, taskId) |
| 322 | }); | 327 | }); |
| 323 | - } else if(row.taskType == '案件处理') { | ||
| 324 | - this.HandFormVisible = true; | 328 | + } else { |
| 329 | + let type = row.taskType; | ||
| 330 | + if(row.taskType == '核查处理' || row.taskType == '研判') { | ||
| 331 | + let str = row.taskTitle; | ||
| 332 | + type = str.slice(1, str.indexOf('】')); | ||
| 333 | + } | ||
| 334 | + let openObject = this.getDialog(type); | ||
| 335 | + this[openObject.visible] = true; | ||
| 325 | this.$nextTick(() => { | 336 | this.$nextTick(() => { |
| 326 | - this.$refs.HandForm.init(row.taskCorrelationId, false, 1); | 337 | + this.$refs[`${openObject.node}`].init(row.taskCorrelationId, true, openObject.isDetail, 1); |
| 327 | }) | 338 | }) |
| 328 | } | 339 | } |
| 329 | }, | 340 | }, |
| 341 | + getDialog(type) { | ||
| 342 | + switch (type) { | ||
| 343 | + case '归属地变更': | ||
| 344 | + return { visible: 'HandleInspectFormVisible', node: 'HandleInspectForm', isDetail: true } | ||
| 345 | + break; | ||
| 346 | + case '专项行动': | ||
| 347 | + | ||
| 348 | + break; | ||
| 349 | + case '案件处理': | ||
| 350 | + case '网信执法': | ||
| 351 | + return { visible: 'HandFormVisible', node: 'HandForm', isDetail: false, type: 1} | ||
| 352 | + break; | ||
| 353 | + case '研判': | ||
| 354 | + return { visible: 'DisposalFormVisible', node: 'DisposalForm', isDetail: false} | ||
| 355 | + break; | ||
| 356 | + case '进一步处置': | ||
| 357 | + return { visible: 'DisposalHandleFormVisible', node: 'DisposalHandleForm', isDetail: false} | ||
| 358 | + break; | ||
| 359 | + default: | ||
| 360 | + break; | ||
| 361 | + } | ||
| 362 | + }, | ||
| 330 | async getBaseSpecialActionInfo(id) { | 363 | async getBaseSpecialActionInfo(id) { |
| 331 | let {data} = await request({ | 364 | let {data} = await request({ |
| 332 | url: `/Extend/BaseSpecialActionInfo/${id}`, | 365 | url: `/Extend/BaseSpecialActionInfo/${id}`, |
vue.config.js
| @@ -18,7 +18,6 @@ module.exports = defineConfig({ | @@ -18,7 +18,6 @@ module.exports = defineConfig({ | ||
| 18 | '/api': { | 18 | '/api': { |
| 19 | // 跨域请求的地址 | 19 | // 跨域请求的地址 |
| 20 | target: process.env.VUE_APP_BASE_API + '/api', | 20 | target: process.env.VUE_APP_BASE_API + '/api', |
| 21 | - // target: 'http://localhost:2015/api', | ||
| 22 | changeOrigin: true, // 是否允许跨域请求,在本地会创建一个虚拟服务端,发送接收请求数据,这样服务端和服务端进行数据的交互就不会有跨域问题 | 21 | changeOrigin: true, // 是否允许跨域请求,在本地会创建一个虚拟服务端,发送接收请求数据,这样服务端和服务端进行数据的交互就不会有跨域问题 |
| 23 | // 路径重写,替换请求地址 | 22 | // 路径重写,替换请求地址 |
| 24 | pathRewrite: { | 23 | pathRewrite: { |