|
@@ -84,8 +84,8 @@
|
84
|
84
|
<template slot="header" slot-scope="scope">
|
85
|
85
|
<em style="color: #ff0000;">*</em>人数上限
|
86
|
86
|
</template>
|
87
|
|
- <template slot-scope="{ row }">
|
88
|
|
- <el-input size="mini" v-model="row.user_limit" />
|
|
87
|
+ <template slot-scope="{ row, $index }">
|
|
88
|
+ <el-input size="mini" v-model="row.user_limit" @input="onInputUserLimit($event, $index)" />
|
89
|
89
|
</template>
|
90
|
90
|
</el-table-column>
|
91
|
91
|
<el-table-column label="状态" align="center">
|
|
@@ -160,6 +160,7 @@
|
160
|
160
|
import dialogGroup from './components/dialogGroup.vue'
|
161
|
161
|
import chatGroupOptions from './components/chatGroupOptions.vue'
|
162
|
162
|
import selfCustomerservice from '@/components/assembly/screen/customerService.vue'
|
|
163
|
+import { getIntegerNumber } from '@/assets/js/common'
|
163
|
164
|
import Sortable from 'sortablejs'
|
164
|
165
|
import _lodash from 'lodash'
|
165
|
166
|
|
|
@@ -316,6 +317,10 @@ export default {
|
316
|
317
|
this.loading = false
|
317
|
318
|
}
|
318
|
319
|
},
|
|
320
|
+ // 监听输入"人数上限"
|
|
321
|
+ onInputUserLimit(inputVal, idx) {
|
|
322
|
+ this.groupForm.chat_id_list[idx].user_limit = getIntegerNumber(inputVal)
|
|
323
|
+ },
|
319
|
324
|
// 表单校验
|
320
|
325
|
handleFormValidate() {
|
321
|
326
|
const { name, chat_id_list, is_limit, user_list, leading_words } = this.groupForm
|