xbot
This commit is contained in:
@@ -488,7 +488,6 @@ export default {
|
|||||||
this.id = this.params.id;
|
this.id = this.params.id;
|
||||||
this.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
this.getList()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
></ai-select>
|
></ai-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="所属网格" style="width: 100%;">
|
<el-form-item label="所属网格" style="width: 100%;">
|
||||||
<el-input disabled size="small" v-model="editInfo.girdName" clearable placeholder="选择所属网格">
|
<el-input disabled size="small" v-model="editInfo.girdName" clearable>
|
||||||
<template slot="append">
|
<template slot="append">
|
||||||
<ai-picker :ops="{label: 'girdName'}" :instance="instance" v-model="editInfo.girdIds" @pick="e => onUserChange(e)" dialogTitle="选择所属网格" action="/app/appgirdinfo/girdList">
|
<ai-picker :ops="{label: 'girdName'}" :instance="instance" v-model="editInfo.girdIds" @pick="e => onUserChange(e)" dialogTitle="选择所属网格" action="/app/appgirdinfo/girdList">
|
||||||
<div class="time-select">
|
<div class="time-select">
|
||||||
@@ -277,7 +277,7 @@ export default {
|
|||||||
this.detail = res.data
|
this.detail = res.data
|
||||||
this.processList = res.data.processList
|
this.processList = res.data.processList
|
||||||
this.form.groupId = res.data.groupId
|
this.form.groupId = res.data.groupId
|
||||||
|
this.$forceUpdate()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.initMap()
|
this.initMap()
|
||||||
})
|
})
|
||||||
@@ -309,11 +309,9 @@ export default {
|
|||||||
this.form.content = ''
|
this.form.content = ''
|
||||||
this.form.eventStatus = ''
|
this.form.eventStatus = ''
|
||||||
this.forwardForm.content = ''
|
this.forwardForm.content = ''
|
||||||
this.forwardForm.girdId = ''
|
this.forwardForm.handleUserName = ''
|
||||||
this.forwardForm.girdName = ''
|
this.forwardForm.user = []
|
||||||
this.forwardForm.girdMemberId = ''
|
this.forwardForm.files = []
|
||||||
this.forwardForm.girdMemberName = ''
|
|
||||||
this.forwardForm.name = ''
|
|
||||||
},
|
},
|
||||||
|
|
||||||
formatList(list) {
|
formatList(list) {
|
||||||
@@ -347,9 +345,12 @@ export default {
|
|||||||
id: this.$route.query.id
|
id: this.$route.query.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.isShowForward = false
|
|
||||||
this.getDetail()
|
|
||||||
this.$message.success('转交成功!')
|
this.$message.success('转交成功!')
|
||||||
|
this.isShowForward = false
|
||||||
|
this.processList = []
|
||||||
|
this.onClose()
|
||||||
|
this.getDetail()
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<el-form-item label="特征词" prop="wordName">
|
<el-form-item label="特征词" prop="wordName">
|
||||||
<el-input v-model.trim="form.wordName" type="textarea" :rows="2" placeholder="多个特征词以;隔开"></el-input>
|
<el-input v-model.trim="form.wordName" type="textarea" :rows="2" placeholder="多个特征词以;隔开"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="事件类型" prop="eventType">
|
||||||
|
<ai-select v-model="form.eventType" :selectList="dict.getDict('xbotReportEventType')" placeholder="请选择" />
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</ai-dialog>
|
</ai-dialog>
|
||||||
</section>
|
</section>
|
||||||
@@ -68,13 +71,14 @@ export default {
|
|||||||
current: 1,
|
current: 1,
|
||||||
form: {
|
form: {
|
||||||
wordName: '',
|
wordName: '',
|
||||||
|
eventType: ''
|
||||||
},
|
},
|
||||||
dialog: false,
|
dialog: false,
|
||||||
flag: false,
|
flag: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.dict.load(['processDefStatus']).then(() => {
|
this.dict.load(['processDefStatus', 'xbotReportEventType']).then(() => {
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -83,7 +87,7 @@ export default {
|
|||||||
colConfigs() {
|
colConfigs() {
|
||||||
return [
|
return [
|
||||||
{ prop: "wordName", label: '特征词', align: "left"},
|
{ prop: "wordName", label: '特征词', align: "left"},
|
||||||
{ prop: "createTime", label: '事件类型', width: 200, align: 'center'},
|
{ prop: "eventType", label: '事件类型', width: 200, align: 'center', dict: 'xbotReportEventType'},
|
||||||
{ prop: "createTime", label: '创建时间', width: 200, align: 'center'},
|
{ prop: "createTime", label: '创建时间', width: 200, align: 'center'},
|
||||||
{ prop: "createUserName", label: '创建人', width: 200, align: 'center'},
|
{ prop: "createUserName", label: '创建人', width: 200, align: 'center'},
|
||||||
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus', align: 'center'},
|
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus', align: 'center'},
|
||||||
@@ -93,6 +97,7 @@ export default {
|
|||||||
rules() {
|
rules() {
|
||||||
return {
|
return {
|
||||||
wordName: [{required: true, message: '请输入特征词', trigger: 'blur' }],
|
wordName: [{required: true, message: '请输入特征词', trigger: 'blur' }],
|
||||||
|
eventType: [{required: true, message: '请选择事件类型', trigger: 'blur' }],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user