Commit 6c245fcf by 杨明

fixed

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