Commit 6c245fcf by 杨明

fixed

1 parent 13a7cd27
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-01-04 16:41:09
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-01-11 13:53:24
* @LastEditTime: 2023-01-11 17:18:05
* @FilePath: \scrm-micro-battles\src\views\battle\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -116,7 +116,7 @@
</transition>
</el-form-item>
</div>
<div class="clear-btn" v-if="editStatus" @click="clearWechat">清空</div>
<div class="clear-btn" @click="clearWechat">清空</div>
</div>
</el-form-item>
</el-form>
......@@ -143,7 +143,6 @@ export default {
return {
isgroup: true,
isAutomatic: true,
editStatus: false,
merchantId: '',
merchantName: '',
activeName: 'first',
......@@ -416,7 +415,7 @@ export default {
return
}
this.userList = []
this.editStatus = false
// this.editStatus = false
this.battleVisible = true
},
dateFormatFun(date) {
......@@ -466,7 +465,7 @@ export default {
})
this.setectList.forEach(item => {
let autoStaff = {}
if (!this.editStatus || Object.keys(this.wechat).length) {
if (Object.keys(this.wechat).length) {
autoStaff = {
autoStaffId: this.wechat.staffId,
autoStaffName: this.wechat.automaticName,
......@@ -505,9 +504,7 @@ export default {
this.userList = []
this.setectList.push(data)
this.battleVisible = true
this.editStatus = false
if (sign) {
this.editStatus = true
this.getStaffList(data)
}
this.getDepartmentTree()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!