Browse Source

refactor(market): 修改线索页面文字和功能

- 修改 AQTabber 组件中的按钮文本: - "写作跟进"改为"添加跟进记录"
  - "新建任务"改为"转交跟进任务"- 更新 clue_info 页面中的按钮功能,添加跳转到添加跟进记录和转交跟进任务页面
- 修改相关页面的导航栏标题:  - "写新跟进"改为"添加跟进"
  - "新建任务"改为"转交跟进任务"
master
liutong 12 months ago
parent
commit
02833681a4
  1. 8
      components/AQ/AQTabber.vue
  2. 4
      pages.json
  3. 17
      pages/market/clue/clue_info.vue

8
components/AQ/AQTabber.vue

@ -10,11 +10,11 @@
<view class="but-style-top"> <view class="but-style-top">
<view class="left" @click="writingFollowUp"> <view class="left" @click="writingFollowUp">
<image src="@/static/images/index/writing.png" class="drop-image-x"></image> <image src="@/static/images/index/writing.png" class="drop-image-x"></image>
<view class="title-x">写作跟进</view> <view class="title-x">添加跟进记录</view>
</view> </view>
<view class="right" @click="newTask"> <view class="right" @click="newTask">
<image src="@/static/images/index/task.png" class="drop-image-x"></image> <image src="@/static/images/index/task.png" class="drop-image-x"></image>
<view class="title-x">新建任务</view> <view class="title-x">转交跟进任务</view>
</view> </view>
</view> </view>
<view class="but-style-below" @click="addClues"> <view class="but-style-below" @click="addClues">
@ -164,13 +164,13 @@
closePopup(type) { closePopup(type) {
this.show = false this.show = false
}, },
// //
writingFollowUp(){ writingFollowUp(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/market/clue/writing_followUp' url: '/pages/market/clue/writing_followUp'
}) })
}, },
// //
newTask(){ newTask(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/market/clue/new_task' url: '/pages/market/clue/new_task'

4
pages.json

@ -376,7 +376,7 @@
{ {
"path": "pages/market/clue/writing_followUp", "path": "pages/market/clue/writing_followUp",
"style": { "style": {
"navigationBarTitleText": "写新跟进", "navigationBarTitleText": "添加跟进",
"navigationStyle": "default", "navigationStyle": "default",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
@ -385,7 +385,7 @@
{ {
"path": "pages/market/clue/new_task", "path": "pages/market/clue/new_task",
"style": { "style": {
"navigationBarTitleText": "新建任务", "navigationBarTitleText": "转交跟进任务",
"navigationStyle": "default", "navigationStyle": "default",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"

17
pages/market/clue/clue_info.vue

@ -255,9 +255,9 @@
<!-- 底部按钮组--> <!-- 底部按钮组-->
<view class="bottom-label"> <view class="bottom-label">
<view>添加跟进记录</view> <view @click="openViewWritingFollowUp()">添加跟进记录</view>
<view @click="$util.callTel(clientInfo.student_phone)">拨打电话</view> <view @click="$util.callTel(clientInfo.student_phone)">拨打电话</view>
<view>转接跟进任务</view> <view @click="openViewNewTask()">转交跟进任务</view>
</view> </view>
</view> </view>
</view> </view>
@ -348,6 +348,19 @@
this.listCallUp = res.data this.listCallUp = res.data
}, },
//-
openViewWritingFollowUp() {
uni.navigateTo({
url: `/pages/market/clue/writing_followUp`
})
},
//-
openViewNewTask() {
uni.navigateTo({
url: `/pages/market/clue/new_task`
})
},
// //

Loading…
Cancel
Save