From a28c3616116cc26888476dc9f3a2ad21b6752649 Mon Sep 17 00:00:00 2001 From: monkeyhouyi Date: Wed, 7 Aug 2024 16:49:37 +0800 Subject: [PATCH] 研判 --- src/views/DisposalSuggestions/Form.vue | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/src/views/DisposalSuggestions/Form.vue b/src/views/DisposalSuggestions/Form.vue index db07307..f344b7a 100644 --- a/src/views/DisposalSuggestions/Form.vue +++ b/src/views/DisposalSuggestions/Form.vue @@ -6,10 +6,10 @@ class="NCC-dialog NCC-dialog_center" lock-scroll width="60%" - v-loading="loading" + v-loading="loading" > - + 巡查上报详情 @@ -98,7 +98,7 @@ :style="{ width: '100%' }" type="textarea" :autosize="{ minRows: 4, maxRows: 4 }" - maxlength="200" + maxlength="200" > @@ -117,20 +117,14 @@ - 不采纳 - 执法 - 存档 - 进一步处置 + {{v.FullName}} - - + + @@ -196,14 +190,14 @@ export default { judgmentOpinions: "", //判断意见 judgmentClass: "", //判断分类 deadline: "", - judgmentClass: "", }, rules: { judgmentClass: [ { required: true, message: "请选择审核类型", trigger: "change" }, ], }, - showSuggsetion: false, + showSuggsetion: false, + judgmentClassOption: [], }; }, computed: { @@ -216,6 +210,7 @@ export default { created() { this.getplatformTypeOptions(); this.getquestionTypeOptions(); + this.getjudgmentClassOptions(); }, mounted() {}, methods: { @@ -229,17 +224,25 @@ export default { this.questionTypeOptions = res.data.list; }); }, + getjudgmentClassOptions() { + request({ + url: `/Extend/BaseInspectionReport/GetReviewTypeList`, + method: 'GET', + }).then(res => { + this.judgmentClassOption = res.data; + }) + }, goBack() { this.$emit("refresh"); }, init(id, isDetail) { this.dataForm.id = id || 0; this.visible = true; - this.showSuggsetion = false; + this.showSuggsetion = false; this.$nextTick(async () => { this.$refs["suggestionForm"].resetFields(); if (this.dataForm.id) { - this.loading = true; + this.loading = true; let res = await getDetail(this.dataForm.id); this.dataForm = res.data; this.loading = false; @@ -248,9 +251,10 @@ export default { } }); }, - judgmentClassChange(v) { - this.showSuggsetion = Boolean(v == '进一步处置' || v == '不采纳') - }, + judgmentClassChange(v) { + this.suggestionForm.judgmentOpinions = ''; + this.showSuggsetion = Boolean(v == "590769458901943557" || v == "590769521820697861"); + }, dataFormSubmit() { if ( !this.suggestionForm.disposalSuggestions && -- libgit2 0.21.4