Browse Source

refactor(market): 修改资源分配相关文案并更新 API 地址

- 将"区域公海"相关文案统一修改为"资源分配"
- 更新 API 地址和图片域名
- 删除旧的 API 地址和图片域名
master
liutong 11 months ago
parent
commit
8cddba83d2
  1. 18
      pages/market/clue/index.vue

18
pages/market/clue/index.vue

@ -71,7 +71,7 @@
</view> </view>
</scroll-view> </scroll-view>
<!--区域公海--> <!--资源分配-->
<scroll-view <scroll-view
v-if="segmented_type == 2" v-if="segmented_type == 2"
scroll-y="true" scroll-y="true"
@ -155,7 +155,7 @@ export default {
limit:10,// limit:10,//
total:10,// total:10,//
type: '0',//0=,1=,2=7,3=30 type: '0',//0=,1=,2=7,3=30
is_gh: '2',//1=,2= is_gh: '2',//1=,2=
}, },
countArr:{ countArr:{
@ -176,11 +176,11 @@ export default {
}, },
// { // {
// id: 2, // id: 2,
// name: '' // name: ''
// } // }
], ],
select_type: 1,//|1,2,3,4 select_type: 1,//|1,2,3,4
segmented_type: 1,//1=,2= segmented_type: 1,//1=,2=
userInfo:{},// userInfo:{},//
@ -216,7 +216,7 @@ export default {
this.userInfo = res.data this.userInfo = res.data
//,"" //,""
if(this.userInfo.role_key_arr.includes('manager')){ if(this.userInfo.role_key_arr.includes('manager')){
this.values = [ this.values = [
{ {
@ -225,7 +225,7 @@ export default {
}, },
{ {
id: 2, id: 2,
name: '区域公海' name: '资源分配'
} }
] ]
}else{ }else{
@ -314,7 +314,7 @@ export default {
if(this.segmented_type == 1){ if(this.segmented_type == 1){
this.filteredData.is_gh = '2'//2= this.filteredData.is_gh = '2'//2=
}else{ }else{
this.filteredData.is_gh = '1'//1= this.filteredData.is_gh = '1'//1=
} }
switch (type) { switch (type) {
@ -340,14 +340,14 @@ export default {
//tag //tag
async segmented(index) { async segmented(index) {
this.select_type = 1 this.select_type = 1
this.segmented_type = index.id//1=,2= this.segmented_type = index.id//1=,2=
// //
await this.resetFilteredData() await this.resetFilteredData()
if(this.segmented_type == 1){ if(this.segmented_type == 1){
this.filteredData.is_gh = '2'//2= this.filteredData.is_gh = '2'//2=
}else{ }else{
this.filteredData.is_gh = '1'//1= this.filteredData.is_gh = '1'//1=
} }

Loading…
Cancel
Save