|
|
|
@ -407,10 +407,6 @@
|
|
|
|
|
form.sentimentName
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item label="舆情内容">{{
|
|
|
|
|
form.sentimentContent
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item label="部门名称">{{
|
|
|
|
|
form.depName
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
@ -452,9 +448,12 @@
|
|
|
|
|
<dict-tag :options="dict.type.tc_yq_media" :value="form.source" />
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item label="是否转办">
|
|
|
|
|
<el-descriptions-item label="是否转办" :span="2">
|
|
|
|
|
<dict-tag :options="dict.type.tc_yes_no" :value="form.isturn" />
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="舆情内容" :span="2">{{
|
|
|
|
|
form.sentimentContent
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
<FileView :fileList="fileList" />
|
|
|
|
|
</el-dialog>
|
|
|
|
@ -626,6 +625,15 @@ export default {
|
|
|
|
|
this.reset();
|
|
|
|
|
const id = row.id || this.ids;
|
|
|
|
|
getSentiment(id).then((response) => {
|
|
|
|
|
response.data.areaId = JSON.parse(response.data.areaId);
|
|
|
|
|
if (
|
|
|
|
|
response.data.areaId.length > 0 &&
|
|
|
|
|
Array.isArray(response.data.areaId)
|
|
|
|
|
) {
|
|
|
|
|
response.data.areaId = response.data.areaId.join("、");
|
|
|
|
|
} else {
|
|
|
|
|
response.data.areaId = "";
|
|
|
|
|
}
|
|
|
|
|
this.filterFile(2, response.data.fileName, response.data.fileUrl);
|
|
|
|
|
|
|
|
|
|
this.form = response.data;
|
|
|
|
@ -644,6 +652,7 @@ export default {
|
|
|
|
|
this.reset();
|
|
|
|
|
const id = row.id || this.ids;
|
|
|
|
|
getSentiment(id).then((response) => {
|
|
|
|
|
response.data.areaId = JSON.parse(response.data.areaId);
|
|
|
|
|
this.filterFile(2, response.data.fileName, response.data.fileUrl);
|
|
|
|
|
|
|
|
|
|
this.form = response.data;
|
|
|
|
@ -687,6 +696,8 @@ export default {
|
|
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
this.form.areaId = JSON.stringify(this.form.areaId);
|
|
|
|
|
|
|
|
|
|
this.filterFile(1);
|
|
|
|
|
updateSentiment(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|