Browse Source

feat(market): 更新线索添加和编辑页面

- 将距离输入框改为选择器
- 添加距离字典获取和展示
-优化导航栏文本颜色
master
liutong 10 months ago
parent
commit
be6a904904
  1. 2
      pages.json
  2. 29
      pages/market/clue/add_clues.vue
  3. 28
      pages/market/clue/edit_clues.vue

2
pages.json

@ -490,7 +490,7 @@
"navigationBarTitleText": "线索",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#292929",
"navigationBarTextStyle": "black"
"navigationBarTextStyle": "white"
}
},
{

29
pages/market/clue/add_clues.vue

@ -375,16 +375,14 @@
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.distance"
backgroundColor="#434544"
size="26"
color="#fff"
></fui-input>
<view
class="input-title"
style="margin-right:14rpx;"
@click="openCicker(`distance`)">
{{ (formData.distance) ? picker_config.distance.text : '点击选择' }}
</view>
</view>
</fui-form-item>
<!--沟通备注-->
<fui-form-item
@ -679,7 +677,12 @@ export default {
status:{
text:'',
options:[],
}
},
//
distance:{
text:'',
options:[],
},
},//
//
@ -729,6 +732,7 @@ export default {
await this.getDict('cognitive_idea')//-
await this.getDict('status')//-
await this.getDict('decision_maker')//-
await this.getDict('distance')//-
// this.getStaffList()//
// this.getAreaTree()//
},
@ -871,6 +875,11 @@ export default {
case 'status':
key = 'kh_status'
break;
//
case 'distance':
key = 'distance'
break;
}
if(!key){
return

28
pages/market/clue/edit_clues.vue

@ -375,15 +375,12 @@
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.distance"
backgroundColor="#434544"
size="26"
color="#fff"
></fui-input>
<view
class="input-title"
style="margin-right:14rpx;"
@click="openCicker(`distance`)">
{{ (formData.distance) ? picker_config.distance.text : '点击选择' }}
</view>
</view>
</fui-form-item>
<!--沟通备注-->
@ -721,7 +718,12 @@ export default {
decision_maker:{
text:'',
options:[],
}
},
//
distance:{
text:'',
options:[],
},
},//
//
@ -772,6 +774,7 @@ export default {
await this.getDict('cognitive_idea')//-
await this.getDict('status')//-
await this.getDict('decision_maker')//-
await this.getDict('distance')//-
// this.getStaffList()//
// this.getAreaTree()//
@ -841,6 +844,7 @@ export default {
//
this.picker_config.purchasing_power.text = sixSpeed.purchase_power_name || '点击选择'//
this.picker_config.cognitive_idea.text = sixSpeed.concept_awareness_name || '点击选择'//
this.picker_config.distance.text = sixSpeed.distance || '点击选择'//
},
@ -964,6 +968,10 @@ export default {
case 'status':
key = 'kh_status'
break;
//
case 'distance':
key = 'distance'
break;
}
if(!key){
return

Loading…
Cancel
Save