Commit be032192 by chenwq

saas+订单转化

1 parent 3dd8d962
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="title-text">专员列表</div> <div class="title-text">专员列表</div>
<el-button :size="size" type="primary" class="battle-set-btn" @click="battleSetHandle">批量配置专员</el-button> <el-button :size="size" type="primary" class="battle-set-btn" @click="battleSetHandle">批量配置专员</el-button>
</div> </div>
<!-- <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> --> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable"> <GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
<div slot="activityTime" slot-scope="scope">{{ dateFormatFun(scope.scope.startTime) }}-{{ dateFormatFun(scope.scope.endTime) }}</div> <div slot="activityTime" slot-scope="scope">{{ dateFormatFun(scope.scope.startTime) }}-{{ dateFormatFun(scope.scope.endTime) }}</div>
...@@ -113,7 +113,6 @@ export default { ...@@ -113,7 +113,6 @@ export default {
setectList: [], setectList: [],
merchantList: [], merchantList: [],
groupList: [], groupList: [],
// tableSearchForm: {},
// 搜索 // 搜索
searchForm: { searchForm: {
yqMerchantId: '', yqMerchantId: '',
...@@ -194,7 +193,6 @@ export default { ...@@ -194,7 +193,6 @@ export default {
this.merchantList = this.$saasOrder?.merchantList || [] this.merchantList = this.$saasOrder?.merchantList || []
this.config.merchantId = this.merchantList[0]?.merchantId this.config.merchantId = this.merchantList[0]?.merchantId
this.config.merchantName = this.merchantList[0]?.merchantName this.config.merchantName = this.merchantList[0]?.merchantName
// this.getOptionsList('searchFormData')
}, },
computed: { computed: {
domEl() { domEl() {
...@@ -213,31 +211,6 @@ export default { ...@@ -213,31 +211,6 @@ export default {
} }
}, },
methods: { methods: {
getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle)
var index = this[formName].findIndex(k => k.name == refreshSigle)
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
} else {
this[formName].forEach((item, index) => {
if (item.type === 'select' && this.baseData[item.optionsName].length) {
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
}
})
}
},
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
yqMerchantId: '', yqMerchantId: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!