Commit 5317f4af by 前端

Merge branch 'littlexu_dev_v3.5.0' into 'v3.5.0'

修复bug

See merge request !59
2 parents a320b325 95ff9116
......@@ -126,7 +126,6 @@ export default {
userName:this.searchForm.userName
}
this.$apis.collocation.getStaffFriends(params).then(res => {
console.log(res)
this.tableData = res && res.data
this.tableTotal = res && res.count
// console.log(this.inner)
......@@ -216,6 +215,7 @@ export default {
this.$refs.crowdTable.$refs.crowdlistMutiTable.toggleRowSelection(this.tableData[i])
}
},
rowClick(row) {
this.$refs.crowdTable.$refs.crowdlistMutiTable.toggleRowSelection(row)
},
......
......@@ -9,9 +9,9 @@
<el-button type="primary" @click="handleSearch">查询</el-button>
</el-form-item>
</el-form>
<GLTable :hasNum="false" v-if="dialogVisible" @refreshTable="handleSearch" ref="table" :layout="layout"
<GLTable :hasNum="true" v-if="dialogVisible" @refreshTable="handleSearch" ref="table" :layout="layout"
:tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div slot="options" slot-scope="scope">
<div fixed="left" slot="options" slot-scope="scope">
<el-radio :label="scope.scope.idBefEncryption" v-model="selectId"></el-radio>
</div>
</GLTable>
......@@ -44,11 +44,14 @@ export default {
{
label: '',
prop: '',
fixed: 'left',
// width:'120',
addHtml: 'options'
},
{
label: '员工姓名',
prop: 'staffName'
prop: 'staffName',
// width:'220',
},
{
label: '企业微信',
......
......@@ -49,8 +49,8 @@ export default {
},
// 客户筛选弹窗
selectCustomer() {
this.isUpdate = true
const {staffCloudIdList, customerList} = this.basicForm
console.log()
if (staffCloudIdList.length == 0) {
return this.$message({
type: 'error',
......@@ -307,6 +307,7 @@ export default {
this.basicForm.customerList.splice(index, 1)
this.getCustomerData(this.basicForm.customerList)
this.key = new Date()
this.isUpdate = true
},
}
}
......@@ -99,13 +99,13 @@
<i class="el-icon-plus"></i>
选择发送人
</el-button>
<div class="sale-select" v-show="selectSenderList && selectSenderList.staffName">
<div class="sale-select" v-show="selectSenderList && !!selectSenderList.staffName">
<div class="el-input-tag input-tag-wrapper">
<el-tag effect="plain" type="info"
closable
:disable-transitions="false" @close="selectSenderList = null">
<i class="el-icon-user-solid"></i>
{{ selectSenderList.staffName }}
{{ selectSenderList && selectSenderList.staffName }}
</el-tag>
</div>
</div>
......@@ -329,12 +329,12 @@ export default {
this.empErrorShow = false
},
'selectSenderList'(val) {
if (val.length > 0) {
if (val && val.length > 0) {
this.empErrorShowExpediter = false
}
},
'basicForm.customerList'(val) {
if (val.length !== 0) {
if (val && val.length !== 0) {
this.empErrorShowCustomer = false
}
},
......
......@@ -74,13 +74,13 @@
<i class="el-icon-plus"></i>
选择发送人
</el-button>
<div class="sale-select" v-show="selectSenderList && selectSenderList.staffName">
<div class="sale-select" v-show="selectSenderList && !!selectSenderList.staffName">
<div class="el-input-tag input-tag-wrapper">
<el-tag effect="plain" type="info"
closable
:disable-transitions="false" @close="selectSenderList = null">
<i class="el-icon-user-solid"></i>
{{ selectSenderList.staffName }}
{{ selectSenderList && selectSenderList.staffName }}
</el-tag>
</div>
</div>
......@@ -383,7 +383,7 @@ export default {
}
},
'selectSenderList'(val) {
if (val.length > 0) {
if (val && val.length > 0) {
this.empErrorShowExpediter = false
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!