Commit 7128de28 by xuyl

更新v2.9.0代码

1 parent 09dd9b75
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
<span slot="customerName" slot-scope="scope"> <span slot="customerName" slot-scope="scope">
<GLFull :labelWidth="70" :identification="`node_${scope.scope.id}`">{{ scope.scope.customerName ? scope.scope.customerName : '--' }}</GLFull> <GLFull :labelWidth="70" :identification="`node_${scope.scope.id}`">{{ scope.scope.customerName ? scope.scope.customerName : '--' }}</GLFull>
</span> </span>
<span slot="customerSex" slot-scope="scope"> <!-- <span slot="customerSex" slot-scope="scope" >-->
<span slot="customerSex" slot-scope="scope" >
<span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span> <span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span>
</span> </span>
<!-- 企微名称 --> <!-- 企微名称 -->
...@@ -236,12 +237,12 @@ export default { ...@@ -236,12 +237,12 @@ export default {
// mutiSelectUniqueKey: 'id', // mutiSelectUniqueKey: 'id',
tableColumns: [ tableColumns: [
{ // {
label: '客户ID', // label: '客户ID',
prop: 'oneId', // prop: 'oneId',
width: 290, // width: 290,
line: 1 // line: 1
}, // },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
...@@ -443,7 +444,7 @@ export default { ...@@ -443,7 +444,7 @@ export default {
setTableHeightEvent() { setTableHeightEvent() {
this.$refs.clientManage.setTableHeightFun() this.$refs.clientManage.setTableHeightFun()
}, },
setTableFinishFun(content) { setTableFinishFun() {
//关闭默认时间30天再刷新,showDefaultTime也要设置false //关闭默认时间30天再刷新,showDefaultTime也要设置false
// if (!this.flushTime) { // if (!this.flushTime) {
// this.flushTime = true // this.flushTime = true
...@@ -457,7 +458,7 @@ export default { ...@@ -457,7 +458,7 @@ export default {
this.$refs.clientManage.data.length ? (this.$refs.clientManage.tableHeightValues = '') : this.$refs.clientManage.setTableHeightFun() this.$refs.clientManage.data.length ? (this.$refs.clientManage.tableHeightValues = '') : this.$refs.clientManage.setTableHeightFun()
}, },
getParams() { getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm)) let params = JSON.parse(JSON.stringify(this.searchForm))
if (params.daterange) { if (params.daterange) {
params.beginTime = this.searchForm.daterange[0] params.beginTime = this.searchForm.daterange[0]
params.endTime = this.searchForm.daterange[1] params.endTime = this.searchForm.daterange[1]
...@@ -487,14 +488,13 @@ export default { ...@@ -487,14 +488,13 @@ export default {
// resolve() // resolve()
// }) // })
return new Promise(async (resolve, reject) => { return new Promise(async (resolve) => {
if (Object.keys(this.$route.query).length && this.queryFlag == 0) { if (Object.keys(this.$route.query).length && this.queryFlag == 0) {
const res = JSON.parse(window.localStorage.getItem('sourceList')) const res = JSON.parse(window.localStorage.getItem('sourceList'))
let add_way = this.$route.query.addWay || '' let add_way = this.$route.query.addWay || ''
let isJoinVal = this.$route.query.isJoin || null let isJoinVal = this.$route.query.isJoin || null
let addWayObj = res.find(i => i.label === add_way) let addWayObj = res.find(i => i.label === add_way)
let addWayVal = addWayObj.value this.searchForm.addWay = addWayObj.value
this.searchForm.addWay = addWayVal
this.searchForm.isJoin = isJoinVal === null ? null : Number(isJoinVal) this.searchForm.isJoin = isJoinVal === null ? null : Number(isJoinVal)
setTimeout(() => { setTimeout(() => {
this.$refs.combiForm.expandFn() this.$refs.combiForm.expandFn()
...@@ -568,7 +568,7 @@ export default { ...@@ -568,7 +568,7 @@ export default {
}, },
//导出 //导出
handleExport() { handleExport() {
var params = this.getParams() let params = this.getParams()
clientManageExportApi(params).then(res => { clientManageExportApi(params).then(res => {
this.$Utils.exportFn(res) this.$Utils.exportFn(res)
}) })
...@@ -675,8 +675,6 @@ export default { ...@@ -675,8 +675,6 @@ export default {
} }
} }
padding: 20px 20px 30px; padding: 20px 20px 30px;
// min-width: 1300px;
background-color: #fff; background-color: #fff;
.el-button + .el-button { .el-button + .el-button {
margin-left: 10px; margin-left: 10px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!