76e683c7
monkeyhouyi
提交
|
1
2
|
<template>
<el-dialog
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
3
|
title="线索核查"
|
76e683c7
monkeyhouyi
提交
|
4
5
6
7
8
9
10
11
12
|
:close-on-click-modal="false"
:visible.sync="visible"
class="NCC-dialog NCC-dialog_center"
lock-scroll
width="60%"
v-loading="loading"
>
<el-row :gutter="15" class="NCC-dialog-content">
<el-col :span="10" style="border-right: 1px solid #e6e6e6; height: 400px;">
|
73755355
monkeyhouyi
优化
|
13
14
15
16
17
|
<el-row>
<el-col :span="24" class="form_title"> 巡查上报详情 </el-col>
<el-col :span="24">
<div class="form-item">
<div class="label w-100">问题来源:</div>
|
541d55ac
monkeyhouyi
优化
|
18
|
{{ dataForm.reportSourceName || "--" }}
|
73755355
monkeyhouyi
优化
|
19
20
21
22
23
|
</div>
</el-col>
<el-col :span="24">
<div class="form-item">
<div class="label w-100">应用名称:</div>
|
541d55ac
monkeyhouyi
优化
|
24
|
{{ dataForm.platformNameStr || "--" }}
|
73755355
monkeyhouyi
优化
|
25
26
27
28
29
|
</div>
</el-col>
<el-col :span="24">
<div class="form-item">
<div class="label w-100">应用类型:</div>
|
541d55ac
monkeyhouyi
优化
|
30
|
{{ dataForm.platformTypeStr || "--" }}
|
73755355
monkeyhouyi
优化
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
</div>
</el-col>
<el-col :span="24">
<div class="form-item">
<div class="label w-100">问题类型:</div>
{{ dataForm.questionType || "--" }}
</div>
</el-col>
<template v-if="dataForm.questionType == '错误表述'">
<el-col :span="24">
<div class="form-item">
<div class="label w-100">正确描述:</div>
{{ dataForm.accurateDescription || "--" }}
</div>
</el-col>
<el-col :span="24">
<div class="form-item">
<div class="label w-100">错误描述:</div>
{{ dataForm.incorrectDescription || "--" }}
</div>
</el-col>
</template>
<el-col :span="24">
<div class="form-item">
|
73755355
monkeyhouyi
优化
|
55
56
57
58
59
60
|
<div class="label w-100">问题内容:</div>
{{ dataForm.questionContent || "--" }}
</div>
</el-col>
<el-col :span="24">
<div class="form-item">
|
541d55ac
monkeyhouyi
优化
|
61
62
|
<div class="label w-100">关键词</div>
{{ dataForm.questionClass || "--" }}
|
76e683c7
monkeyhouyi
提交
|
63
64
|
</div>
</el-col>
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
65
|
<el-col :span="24" v-if="dataForm.judgmentOpinions">
|
76e683c7
monkeyhouyi
提交
|
66
|
<div class="form-item">
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
67
|
<div class="label w-100">处置建议:</div>
|
73755355
monkeyhouyi
优化
|
68
|
{{ dataForm.judgmentOpinions || "--" }}
|
76e683c7
monkeyhouyi
提交
|
69
70
|
</div>
</el-col>
|
73755355
monkeyhouyi
优化
|
71
|
</el-row>
|
76e683c7
monkeyhouyi
提交
|
72
73
74
|
</el-col>
<el-col :span="14">
<el-row>
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
75
|
<el-col :span="24" class="form_title"> 线索核查 </el-col>
|
76e683c7
monkeyhouyi
提交
|
76
77
78
79
80
81
82
83
84
|
<el-form
ref="suggestionForm"
:rules="rules"
:model="suggestionForm"
size="small"
label-width="100px"
label-position="right"
>
<el-col :span="24">
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
85
|
<el-form-item label="处置结果" prop="disposalSuggestions">
|
76e683c7
monkeyhouyi
提交
|
86
87
|
<el-input
v-model="suggestionForm.disposalSuggestions"
|
b1b3be19
monkeyhouyi
对18号提出需求进行整改
|
88
|
placeholder="请输入处置结果"
|
76e683c7
monkeyhouyi
提交
|
89
90
91
92
93
94
95
96
97
|
show-word-limit
:style="{ width: '100%' }"
type="textarea"
:autosize="{ minRows: 4, maxRows: 4 }"
maxlength="200"
>
</el-input>
</el-form-item>
</el-col>
|
f5dee0fd
monkeyhouyi
核查处置处理结果增加上传附件字段d...
|
98
|
<el-col :span="24">
|
6143a919
monkeyhouyi
研判附件
|
99
100
|
<el-form-item label="上传附件" prop="disposalResultFileUrl">
<NCC-UploadFz v-model="suggestionForm.disposalResultFileUrl" :fileSize="5" sizeUnit="MB" :limit="9" buttonText="点击上传" />
|
f5dee0fd
monkeyhouyi
核查处置处理结果增加上传附件字段d...
|
101
102
|
</el-form-item>
</el-col>
|
76e683c7
monkeyhouyi
提交
|
103
104
105
106
107
108
|
</el-form>
</el-row>
</el-col>
</el-row>
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false">取 消</el-button>
|
a242b994
monkeyhouyi
附件调试
|
109
|
<el-button type="primary" @click="dataFormSubmit()" :loading="btnLoading">确 定</el-button>
|
76e683c7
monkeyhouyi
提交
|
110
111
112
113
114
115
116
117
|
</span>
</el-dialog>
</template>
<script>
import request from "@/utils/request";
import infoMixin from "@/mixins/info";
import { dynamicText } from "@/filters/index";
import { getDictionaryDataSelector } from "@/api/systemData/dictionary";
|
6cd34f81
monkeyhouyi
对接接口优化
|
118
|
import { getDetail, disposalSuggestionsAPI } from "@/api/systemData/dataInterface";
|
76e683c7
monkeyhouyi
提交
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
export default {
components: {},
mixins: [infoMixin],
props: [],
data() {
return {
loading: true,
visible: false,
isDetail: true,
dataForm: {
id: undefined,
platformName: undefined,
platformType: undefined,
questionType: undefined,
questionClass: undefined,
questionContent: undefined,
link: undefined,
obtainEvidence: [],
annex: [],
},
sourceOptions: [
{ fullName: "市网信办线索", id: "市网信办线索" },
{ fullName: "自主巡查发现", id: "自主巡查发现" },
],
platformTypeOptions: [],
questionTypeOptions: [],
questionClassOptions: [
{ fullName: "选项一", id: "1" },
{ fullName: "选项二", id: "2" },
],
stageOptions: [
{ fullName: "选项一", id: "1" },
{ fullName: "选项二", id: "2" },
],
suggestionForm: {
disposalSuggestions: "", //处置建议
judgmentOpinions: "", //判断意见
reviewType: "", //判断分类
deadline: "",
area: '',
disposalSuggestions: '', // 处置建议
|
6143a919
monkeyhouyi
研判附件
|
161
|
disposalResultFileUrl: [],
|
76e683c7
monkeyhouyi
提交
|
162
163
164
165
166
167
168
169
170
171
|
},
rules: {
disposalSuggestions: [
{ required: true, message: "请输入处理说明", trigger: "blur" },
],
},
showSuggsetion: false,
showarea: false,
judgmentClassOption: [],
areaOptions: [],
|
a242b994
monkeyhouyi
附件调试
|
172
|
btnLoading: false,
|
76e683c7
monkeyhouyi
提交
|
173
174
175
176
177
178
179
180
181
182
|
};
},
computed: {
isSHILevel() {
// 判断角色是否为‘市级办公室’
return this.$store.state.user.islader;
},
},
watch: {},
created() {
|
541d55ac
monkeyhouyi
优化
|
183
184
185
186
|
this.getSourceOptions();
// this.getplatformTypeOptions();
// this.getquestionTypeOptions();
// this.getjudgmentClassOptions();
|
76e683c7
monkeyhouyi
提交
|
187
188
189
|
},
mounted() {},
methods: {
|
541d55ac
monkeyhouyi
优化
|
190
191
192
193
194
195
196
|
async getSourceOptions() {
let { data } = await request({
url: `/Extend/baseinspectionreport/GetReportSourceList`,
method: "GET",
});
this.sourceOptions = data;
},
|
76e683c7
monkeyhouyi
提交
|
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
getplatformTypeOptions() {
getDictionaryDataSelector("576279943168656645").then((res) => {
this.platformTypeOptions = res.data.list;
});
},
getquestionTypeOptions() {
getDictionaryDataSelector("577006814432855301").then((res) => {
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.$nextTick(async () => {
this.$refs["suggestionForm"].resetFields();
if (this.dataForm.id) {
this.loading = true;
let res = await getDetail(this.dataForm.id);
this.dataForm = res.data;
this.loading = false;
|
d8ed082d
monkeyhouyi
研判页面添加研判按钮校验和详情弹框
|
229
|
this.sourceOptions.length && this.dataForm.reportSource && (this.dataForm.reportSourceName = this.sourceOptions.find(v => v.Id == this.dataForm.reportSource).FullName);
|
76e683c7
monkeyhouyi
提交
|
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
|
this.dataForm.areaName = dynamicText(res.data.areaId, this.areaOptions);
this.suggestionForm.area = res.data.areaId
if (!this.dataForm.obtainEvidence) this.dataForm.obtainEvidence = [];
if (!this.dataForm.annex) this.dataForm.annex = [];
}
});
},
judgmentClassChange(v) {
this.suggestionForm.judgmentOpinions = '';
this.showSuggsetion = Boolean(v == "590769458901943557" || v == "590769521820697861"); // 进一步处置,不采纳
this.showarea = Boolean(v == "590769199001896197" || v == "590769458901943557"); // 执法,进一步处置
},
dataFormSubmit() {
this.$refs["suggestionForm"].validate(async (valid) => {
if (valid) {
let obj = {
...this.suggestionForm,
id: this.dataForm.id,
};
|
a242b994
monkeyhouyi
附件调试
|
249
|
this.btnLoading = true;
|
6cd34f81
monkeyhouyi
对接接口优化
|
250
|
let res = await disposalSuggestionsAPI(obj);
|
a242b994
monkeyhouyi
附件调试
|
251
|
if(res.code != 200) return this.btnLoading = false;
|
76e683c7
monkeyhouyi
提交
|
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
this.$message({
message: res.msg,
type: "success",
duration: 1000,
onClose: () => {
(this.visible = false), this.$emit("refresh", true);
},
});
}
});
},
},
};
</script>
<style lang="scss" scoped>
.form_title {
line-height: 30px;
padding-left: 40px;
color: #409eff;
}
</style>
|