Commit fcb54e2d by 李伟康

Merge branch 'SAAS+V5.8.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.8.0
2 parents 72284c02 ea43e499
...@@ -26,12 +26,6 @@ ...@@ -26,12 +26,6 @@
<el-radio label="2"> <el-radio label="2">
流量方 流量方
</el-radio> </el-radio>
<!-- <el-radio label="7">
服务商
</el-radio>
<el-radio label="6" v-if="yqCheckVisible">
园区店
</el-radio> -->
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="对账商户:" prop="merchant"> <el-form-item label="对账商户:" prop="merchant">
...@@ -147,7 +141,6 @@ import { localTmplList } from "./constant/baseData"; ...@@ -147,7 +141,6 @@ import { localTmplList } from "./constant/baseData";
export default { export default {
name: "DownloadAccountDialog", name: "DownloadAccountDialog",
components: {}, components: {},
props: { props: {
accountVisible: { accountVisible: {
type: Boolean, type: Boolean,
...@@ -278,16 +271,6 @@ export default { ...@@ -278,16 +271,6 @@ export default {
confId: false, confId: false,
confLabel: "否", confLabel: "否",
}], }],
// payeeTypeList: [{
// confId: 'all',
// confLabel: '全部'
// }, {
// confId: '0',
// confLabel: '嘀加收款'
// }, {
// confId: '1',
// confLabel: '门店收款'
// }],
merchantList: [], merchantList: [],
// 流量方对账单 // 流量方对账单
trafficTemplateList: [], trafficTemplateList: [],
...@@ -313,9 +296,7 @@ export default { ...@@ -313,9 +296,7 @@ export default {
}, },
mounted() { mounted() {
// console.log(this.scene)
this.$EventBus.$on("changeFieldIds", (obj) => { this.$EventBus.$on("changeFieldIds", (obj) => {
console.log(obj, "obj---");
this.tmplSelectList = obj?.fieldIds || []; this.tmplSelectList = obj?.fieldIds || [];
this.infoForm.fieldsTxt = this.getFieldsTxt(); this.infoForm.fieldsTxt = this.getFieldsTxt();
this.getMetaTmpl(); this.getMetaTmpl();
...@@ -413,7 +394,6 @@ export default { ...@@ -413,7 +394,6 @@ export default {
}, },
getFieldsTxt() { getFieldsTxt() {
let fieldNames = "";
const tmplName = this.localTmplList.find(item => item.type == this.infoForm.tmplType)?.name || "trafficTmpl"; const tmplName = this.localTmplList.find(item => item.type == this.infoForm.tmplType)?.name || "trafficTmpl";
console.log(tmplName, "tmplName---"); console.log(tmplName, "tmplName---");
let list = JSON.parse(localStorage.getItem(tmplName)); let list = JSON.parse(localStorage.getItem(tmplName));
......
...@@ -4,12 +4,10 @@ ...@@ -4,12 +4,10 @@
<div slot="header" <div slot="header"
class="header" class="header"
style="background: #e7eaec"> style="background: #e7eaec">
<!-- @tab-click="tabClick" -->
<el-tabs v-model="searchForm.sceneType"> <el-tabs v-model="searchForm.sceneType">
<el-tab-pane :label="newSceneList['0']" name="0" /> <el-tab-pane :label="newSceneList['0']" name="0" />
<el-tab-pane :label="newSceneList['1']" name="1" /> <el-tab-pane :label="newSceneList['1']" name="1" />
</el-tabs> </el-tabs>
<!-- <el-card class="finance_list_summary" :body-style="{ padding: 0 }" v-show="sunmmaryVisible"> -->
<!-- 汇总模块暂不显示 --> <!-- 汇总模块暂不显示 -->
<el-card v-show="false" <el-card v-show="false"
class="finance_list_summary" class="finance_list_summary"
...@@ -173,7 +171,6 @@ ...@@ -173,7 +171,6 @@
<span class="downloadBtn"> <span class="downloadBtn">
<auth-button :show-btn-ids="['9050104']" category="Button" /> <auth-button :show-btn-ids="['9050104']" category="Button" />
</span> </span>
<!-- <span style="position: absolute; right: 41px; top: 42px; z-index: 999;"> -->
<span class="downloadBtn"> <span class="downloadBtn">
<!-- <el-button type="primary" <!-- <el-button type="primary"
size="mini" size="mini"
...@@ -966,7 +963,6 @@ export default { ...@@ -966,7 +963,6 @@ export default {
}, },
"searchForm.sceneType": { "searchForm.sceneType": {
handler(val) { handler(val) {
// console.log('searchForm.sceneType', val)
if (val == 0 || val == 4) { if (val == 0 || val == 4) {
/** /**
1.0场景(暂无业务支撑) 1.0场景(暂无业务支撑)
...@@ -1246,7 +1242,6 @@ export default { ...@@ -1246,7 +1242,6 @@ export default {
...params, ...params,
}; };
// const apiName = this.userInfo.beSuper ? 'getList' : 'getYqList' // const apiName = this.userInfo.beSuper ? 'getList' : 'getYqList'
// console.log(params)
// api[apiName](params).then(res => { // api[apiName](params).then(res => {
this.tableData = []; this.tableData = [];
...@@ -1285,7 +1280,6 @@ export default { ...@@ -1285,7 +1280,6 @@ export default {
item = this.numAddPrefix(item); item = this.numAddPrefix(item);
return item; return item;
}); });
// console.log(this.tableData)
this.page.currentPage = res.pageNum; this.page.currentPage = res.pageNum;
this.page.pageSize = res.pageSize; this.page.pageSize = res.pageSize;
this.total = res.total; this.total = res.total;
...@@ -1407,9 +1401,11 @@ export default { ...@@ -1407,9 +1401,11 @@ export default {
} }
if (Array.isArray(this.searchForm.baseSceneCodeList) && this.searchForm.baseSceneCodeList.length) { if (Array.isArray(this.searchForm.baseSceneCodeList) && this.searchForm.baseSceneCodeList.length) {
const selected = this.searchForm.baseSceneCodeList; const selected = this.searchForm.baseSceneCodeList;
// “全部”= 不传;否则保持数组类型传给后端 // “全部”= 不传;否则按后端需要解构成 baseSceneCodeList[0]=xxx
if (!selected.includes("")) { if (!selected.includes("")) {
params.baseSceneCodeList = selected; selected.forEach((code, index) => {
params[`baseSceneCodeList[${index}]`] = code;
});
} }
} }
if (this.searchForm.sceneType) { if (this.searchForm.sceneType) {
...@@ -1421,7 +1417,6 @@ export default { ...@@ -1421,7 +1417,6 @@ export default {
return params; return params;
}, },
getTotal() { getTotal() {
console.log(this.getParams());
api.getListTotal(this.getParams()).then((res) => { api.getListTotal(this.getParams()).then((res) => {
this.totalObj = res; this.totalObj = res;
}); });
...@@ -1459,7 +1454,6 @@ export default { ...@@ -1459,7 +1454,6 @@ export default {
// 自定义模版字段 // 自定义模版字段
handleCustTmpl(val) { handleCustTmpl(val) {
console.log(val, "val---");
this.tmplInfo.type = val.tmplType; this.tmplInfo.type = val.tmplType;
this.tmplInfo.tmplSelectList = val.tmplSelectList || []; this.tmplInfo.tmplSelectList = val.tmplSelectList || [];
this.handleCustVisible(); this.handleCustVisible();
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
</template> </template>
<script> <script>
// import { getList } from "@api/serviceManage";
import { disableScene, enableScene, getList, getSceneTags } from "@api/senseManage"; import { disableScene, enableScene, getList, getSceneTags } from "@api/senseManage";
import { mapActions } from "vuex"; import { mapActions } from "vuex";
import { procureModeList } from "@/common/constants"; import { procureModeList } from "@/common/constants";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!