Commit 8b8b4c3f by 李长胜

样式调整

1 parent 6f948c7f
...@@ -118,12 +118,12 @@ export default { ...@@ -118,12 +118,12 @@ export default {
], ],
tableOption: { tableOption: {
width: 170, width: 170,
btnList: [ // btnList: [
{ // {
name: '详情', // name: '详情',
pType: 'detail' // // pType: 'detail'
} // }
] // ]
} }
}, },
getListApi: getTableList, getListApi: getTableList,
...@@ -133,6 +133,9 @@ export default { ...@@ -133,6 +133,9 @@ export default {
flushTime: false flushTime: false
} }
}, },
activated () {
this.searchTable();
},
created() { created() {
if (window.__POWERED_BY_QIANKUN__) { if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中 //运行在qiankun容器中
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</search-form> </search-form>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="clientManage" :hasNum="true" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchFormTable" :noDataImg="url" :pageConf="pageConf" :tableParams="tableParams" :headerStyle="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }"> <GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="clientManage" :hasNum="true" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchFormTable" :noDataImg="url" :pageConf="pageConf" :tableParams="tableParams" :headerStyle="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<span slot="customerName" class="flex-center" slot-scope="scope" > <span slot="customerName" class="flex-center" slot-scope="scope">
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top"> <el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span> <span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip> </el-tooltip>
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff'
// addHtml:'followStaff' // addHtml:'followStaff'
}, },
{ {
...@@ -211,13 +211,13 @@ export default { ...@@ -211,13 +211,13 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 80, width: 80
btnList: [ // btnList: [
{ // {
name: '详情', // name: '详情',
pType: 'detail' // // pType: 'detail'
} // }
] // ]
} }
}, },
getListApi: getTableList, getListApi: getTableList,
...@@ -227,6 +227,9 @@ export default { ...@@ -227,6 +227,9 @@ export default {
flushTime: false flushTime: false
} }
}, },
activated() {
this.searchTable()
},
created() { created() {
if (window.__POWERED_BY_QIANKUN__) { if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中 //运行在qiankun容器中
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
</div> </div>
</span> </span>
<template slot="xxx" slot-scope="scope"> <template slot="xxx" slot-scope="scope">
<!-- 这版关掉自店标签 -->
<span @click="btnClick('edit', scope.scope)" class="blue-text" v-if="scope.scope.labelType != '行业标签' && isShowEditBtn(scope.scope)">编辑标签组</span> <span @click="btnClick('edit', scope.scope)" class="blue-text" v-if="scope.scope.labelType != '行业标签' && isShowEditBtn(scope.scope)">编辑标签组</span>
</template> </template>
<!-- <div slot="additionalContent"> <!-- <div slot="additionalContent">
...@@ -338,6 +339,9 @@ export default { ...@@ -338,6 +339,9 @@ export default {
isShowEditBtn(row) { isShowEditBtn(row) {
//集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店 //集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店
//单店模式下,仅门店和员工可以编辑 //单店模式下,仅门店和员工可以编辑
if(row.labelType=="自店标签"){
return false
}
if (this.merchantModel == 1) { if (this.merchantModel == 1) {
if (this.accountLevel == 1 && this.userType == 1) { if (this.accountLevel == 1 && this.userType == 1) {
return true return true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!