Commit fe398db6 authored by 邓春圆's avatar 邓春圆

客户模块 返回列表状态丢失bug修复

parent 22ab0f26
...@@ -521,7 +521,10 @@ import transferCustomer from "@/views/ecw/customer/transferCustomer"; ...@@ -521,7 +521,10 @@ import transferCustomer from "@/views/ecw/customer/transferCustomer";
import Template from "@/views/cms/template/index.vue"; import Template from "@/views/cms/template/index.vue";
export default { export default {
name: "Customer", name: "EcwCustomerIndex",
activated(){
this.getList();
},
computed:{ computed:{
isChinese(){ isChinese(){
return this.$i18n.locale === 'zh_CN' return this.$i18n.locale === 'zh_CN'
......
...@@ -97,7 +97,10 @@ import {exportCustomerComplaintExcel} from "@/api/ecw/customerComplaint"; ...@@ -97,7 +97,10 @@ import {exportCustomerComplaintExcel} from "@/api/ecw/customerComplaint";
import {indirectCustomerExportExcel} from "@/api/ecw/customer"; import {indirectCustomerExportExcel} from "@/api/ecw/customer";
export default { export default {
name: "IndirectCustomer", name: "EcwCustomerIndirectcustomer",
activated() {
this.getList()
},
data() { data() {
return { return {
exportLoading:false, exportLoading:false,
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<!-- 分页组件 --> <!-- 分页组件 -->
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize" <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
@pagination="getList"/> @pagination="getList"/>
x
</div> </div>
</template> </template>
...@@ -146,7 +146,10 @@ import {customerDropDownList} from "@/api/ecw/customerCommissionInfo"; ...@@ -146,7 +146,10 @@ import {customerDropDownList} from "@/api/ecw/customerCommissionInfo";
import {getCustomerList} from "@/api/ecw/customer"; import {getCustomerList} from "@/api/ecw/customer";
export default { export default {
name: "CustomerCommission", name: "EcwCustomercommissionIndex",
activated() {
this.getList()
},
components: { components: {
}, },
data() { data() {
......
...@@ -360,7 +360,10 @@ import {getCreditPage} from "@/api/customer/credit"; ...@@ -360,7 +360,10 @@ import {getCreditPage} from "@/api/customer/credit";
export default { export default {
name: "Customer", name: "EcwCustomerconfirmIndex",
activated() {
this.getList();
},
computed:{ computed:{
isChinese(){ isChinese(){
return this.$i18n.locale === 'zh_CN' return this.$i18n.locale === 'zh_CN'
......
...@@ -169,7 +169,10 @@ import {getCreditPage} from "@/api/customer/credit"; ...@@ -169,7 +169,10 @@ import {getCreditPage} from "@/api/customer/credit";
import transferCustomer from "@/views/ecw/customer/transferCustomer"; import transferCustomer from "@/views/ecw/customer/transferCustomer";
import Template from "@/views/cms/template/index.vue"; import Template from "@/views/cms/template/index.vue";
export default { export default {
name: "customerToBeAssigned", name: "EcwCustomertobeassignedIndex",
activated() {
this.getList()
},
components: { components: {
Template, Template,
upload, upload,
......
...@@ -155,7 +155,7 @@ import {getCountryListAll} from "@/api/ecw/country"; ...@@ -155,7 +155,7 @@ import {getCountryListAll} from "@/api/ecw/country";
import {getCreditPage} from "@/api/customer/credit"; import {getCreditPage} from "@/api/customer/credit";
import transferCustomer from "@/views/ecw/customer/transferCustomer"; import transferCustomer from "@/views/ecw/customer/transferCustomer";
export default { export default {
name: "myCustomerService", name: "EcwMycustomerserviceIndex",
components: { components: {
upload, upload,
customerFollowList, customerFollowList,
...@@ -224,6 +224,9 @@ export default { ...@@ -224,6 +224,9 @@ export default {
selectCustomerList:[], selectCustomerList:[],
}; };
}, },
activated () {
this.getList();
},
created() { created() {
this.getList(); this.getList();
// getNodeList().then(r => { // getNodeList().then(r => {
......
...@@ -167,7 +167,10 @@ import {listServiceUser} from "@/api/system/user"; ...@@ -167,7 +167,10 @@ import {listServiceUser} from "@/api/system/user";
import {getCountryListAll} from "@/api/ecw/country"; import {getCountryListAll} from "@/api/ecw/country";
import {getCreditPage} from "@/api/customer/credit"; import {getCreditPage} from "@/api/customer/credit";
export default { export default {
name: "customerToBeAssigned", name: "EcwOceancustomerIndex",
activated() {
this.getList()
},
components: { components: {
upload upload
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment