diff --git a/packages/xbot/AppSeatManagementXbot/components/GroupList.vue b/packages/xbot/AppSeatManagementXbot/components/GroupList.vue index 5f1466f3..4a909a80 100644 --- a/packages/xbot/AppSeatManagementXbot/components/GroupList.vue +++ b/packages/xbot/AppSeatManagementXbot/components/GroupList.vue @@ -59,13 +59,21 @@
{{editInfo.managerWxid}}
- + + + + @@ -109,7 +117,8 @@ export default { dialog: false, editInfo: {}, showArea: false, - areaInfo: {} + areaInfo: {}, + chooseUserList: [], } }, created() { @@ -190,7 +199,7 @@ export default { edit(row) { this.dialog = true this.editInfo = {...row} - this.editInfo.user = [{id: row.managerTpwxid, name: row.managerTpUserName}] + this.chooseUserList = [{id: row.managerTpwxid, name: row.managerTpUserName}] }, onChooseUser(v) { this.editInfo.wxUserId = v[0].id @@ -235,6 +244,16 @@ export default { } }); }, + + selectPerson(val) { + if (val) { + this.editInfo.managerTpUserName = val.name + this.editInfo.wxUserId = val.wxUserId + } else { + this.editInfo.managerTpUserName = '' + this.editInfo.wxUserId = '' + } + }, }, } diff --git a/project/biaopin/AppWorkOrder/components/Detail.vue b/project/biaopin/AppWorkOrder/components/Detail.vue index c397e099..a7e0c0a5 100644 --- a/project/biaopin/AppWorkOrder/components/Detail.vue +++ b/project/biaopin/AppWorkOrder/components/Detail.vue @@ -30,7 +30,8 @@ - {{ detail.girdName }} + {{ detail.girdName }} + {{ detail.wxGroupName }}
@@ -621,7 +622,7 @@ export default { onConfirmEdit() { this.$refs.editInfo.validate(v => { if (v) { - this.instance.post('/app/apppatrolreportinfov2/addByGirdMember', { + this.instance.post('/app/apppatrolreportinfov2/update', { ...this.editInfo, id: this.$route.query.id }).then(res => { diff --git a/project/biaopin/AppWorkOrder/components/List.vue b/project/biaopin/AppWorkOrder/components/List.vue index 35fd6bd7..936b43b1 100644 --- a/project/biaopin/AppWorkOrder/components/List.vue +++ b/project/biaopin/AppWorkOrder/components/List.vue @@ -70,7 +70,7 @@ class="search-input" size="small" v-throttle="() => {search.current = 1, getList()}" - :placeholder="currIndex == 1 ? '敏感词、涉及对象、姓名、手机号' : '请输入内容描述/上报人员/联系方式'" + :placeholder="placeholderTextList[currIndex]" clearable @change="getList" @clear="search.current = 1, search.content = '', getList()" @@ -139,6 +139,7 @@ export default { ], currIndex: 0, rightBtnTextList: ['工单特征库', '敏感关键词', '事件类型', '事件类型'], + placeholderTextList: ['请输入内容描述/昵称', '请输入内容描述/姓名', '请输入内容描述/上报人员/联系方式', '请输入内容描述/上报人员/联系方式'], colConfigs: [] } },