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