Commit 52edbca9 by 周志凯

[fixed]: deleted api path '/'

1 parent 530e37bc
...@@ -926,6 +926,7 @@ ...@@ -926,6 +926,7 @@
<el-scrollbar ref="scrollbarRef" wrap-class="scrollbar-wrapper"> <el-scrollbar ref="scrollbarRef" wrap-class="scrollbar-wrapper">
<div id="showDiv" class="result-content" v-show="showDiv"> <div id="showDiv" class="result-content" v-show="showDiv">
<!-- /{{ item.totalNum }}条 --> <!-- /{{ item.totalNum }}条 -->
<div v-if="isResultsShow && !results.length">数据为空~</div>
<div class="result-item" v-for="item in results" :key="item.id"> <div class="result-item" v-for="item in results" :key="item.id">
<!-- /{{ item.totalNum }}条 --> <!-- /{{ item.totalNum }}条 -->
<div class="result-page"> <div class="result-page">
...@@ -1155,6 +1156,11 @@ ...@@ -1155,6 +1156,11 @@
} }
}, },
computed: { computed: {
isResultsShow() {
return this.dateFormat === 'revisitFeature' ||
this.dateFormat === 'rebuildFeatureLib' ||
this.dateFormat === 'rematchPerson'
},
isSendDateParam() { isSendDateParam() {
if ( if (
(this.dateFormat === 'rebuildFeatureLib' (this.dateFormat === 'rebuildFeatureLib'
...@@ -1902,13 +1908,13 @@ ...@@ -1902,13 +1908,13 @@
this.endTiming = 0 this.endTiming = 0
const TAB_API = { const TAB_API = {
revisitFeature: (val) => { revisitFeature: (val) => {
return val === 3 ? '/mall/staffFeature' : '/mall/feature' return val === 3 ? 'mall/staffFeature' : 'mall/feature'
}, },
rebuildFeatureLib: (val) => { rebuildFeatureLib: (val) => {
return val === 1 ? '/mall/staffPool' : '/mall/customPool' return val === 1 ? 'mall/staffPool' : 'mall/customPool'
}, },
rematchPerson: (val) => { rematchPerson: (val) => {
return val === 1 ? '/mall/staff' : '/mall/custom' return val === 1 ? 'mall/staff' : 'mall/custom'
} }
} }
const { dateFormat, query, isSendDateParam } = this const { dateFormat, query, isSendDateParam } = this
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!