From 42d5299cfe3608d0574c7f2b12e63768cd606656 Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Thu, 07 Jan 2021 11:29:03 +0800
Subject: [PATCH] 跟进记录
---
hive-app/pages.json | 13 ++++++++++++-
hive-app/pages/workbench/index.vue | 2 +-
hive-app/pages/workbench/followRecords/index.vue | 19 +++++++++++--------
hive-app/pages/workbench/followRecords/addRecord.vue | 8 ++++++++
4 files changed, 32 insertions(+), 10 deletions(-)
diff --git a/hive-app/pages.json b/hive-app/pages.json
index 1af8d52..7231028 100644
--- a/hive-app/pages.json
+++ b/hive-app/pages.json
@@ -515,7 +515,7 @@
}
},
{
- "path": "pages/workbench/followRecords",
+ "path": "pages/workbench/followRecords/index",
"style": {
"navigationBarTitleText": "跟进记录",
"navigationBarBackgroundColor":"#FFFFFF",
@@ -641,6 +641,17 @@
"scrollIndicator": "none"
}
}
+ },
+ {
+ "path": "pages/workbench/followRecords/addRecord",
+ "style": {
+ "navigationBarTitleText": "添加跟进记录",
+ "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTextStyle":"black",
+ "app-plus":{
+ "scrollIndicator": "none"
+ }
+ }
}
],
"globalStyle": {
diff --git a/hive-app/pages/workbench/followRecords/addRecord.vue b/hive-app/pages/workbench/followRecords/addRecord.vue
new file mode 100644
index 0000000..48d48ea
--- /dev/null
+++ b/hive-app/pages/workbench/followRecords/addRecord.vue
@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>
diff --git a/hive-app/pages/workbench/followRecords.vue b/hive-app/pages/workbench/followRecords/index.vue
similarity index 87%
rename from hive-app/pages/workbench/followRecords.vue
rename to hive-app/pages/workbench/followRecords/index.vue
index 0b55d92..298fed6 100644
--- a/hive-app/pages/workbench/followRecords.vue
+++ b/hive-app/pages/workbench/followRecords/index.vue
@@ -38,8 +38,8 @@
<text>客户</text>
</view>
<view class="img-box">
- <image class="header-img mr-20" src="../../static/images/default-avatar.png"></image>
- <navigator url="../member/selectCustomer" hover-class="none">
+ <image class="header-img mr-20" src="../../../static/images/default-avatar.png"></image>
+ <navigator url="../../member/selectCustomer" hover-class="none">
<text class="iconfont iconjia gray-outline-btn-circle ml-5"></text>
</navigator>
</view>
@@ -49,8 +49,8 @@
<text>员工</text>
</view>
<view class="img-box">
- <image class="header-img mr-20" src="../../static/images/default-avatar.png"></image>
- <navigator url="../manager/selectEmployee" hover-class="none">
+ <image class="header-img mr-20" src="../../../static/images/default-avatar.png"></image>
+ <navigator url="../../manager/selectEmployee" hover-class="none">
<text class="iconfont iconjia gray-outline-btn-circle ml-5"></text>
</navigator>
</view>
@@ -62,7 +62,7 @@
</view>
<view v-else class="content-row font-14" v-for="item in 2">
<view class="flex align-center">
- <image class="header-img" src="../../static/images/default-avatar.png"></image>
+ <image class="header-img" src="../../../static/images/default-avatar.png"></image>
<view class="flex flex-v ml-10">
<text>杨明</text>
<text>2020-12 12:34</text>
@@ -105,7 +105,7 @@
<script>
import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue";
- import DateTimePicker from '../../components/bory-dateTimePicker/bory-dateTimePicker.vue'
+ import DateTimePicker from '../../../components/bory-dateTimePicker/bory-dateTimePicker.vue'
export default {
components: {
HTabs,
@@ -128,8 +128,8 @@
}
],
imgList:[
- {'imgurl':'../../static/images/banner.jpg'},
- {'imgurl':'../../static/images/product.jpg'}
+ {'imgurl':'../../../static/images/banner.jpg'},
+ {'imgurl':'../../../static/images/product.jpg'}
],
isShow:false,
messageShow:false,
@@ -147,6 +147,9 @@
},
onNavigationBarButtonTap(e){
if(e.index==0){
+ uni.navigateTo({
+ url:"./addRecord"
+ })
}
if(e.width && e.index==1){
this.isShow=!this.isShow
diff --git a/hive-app/pages/workbench/index.vue b/hive-app/pages/workbench/index.vue
index 0a5256f..32a8980 100644
--- a/hive-app/pages/workbench/index.vue
+++ b/hive-app/pages/workbench/index.vue
@@ -120,7 +120,7 @@
</navigator>
</view>
<view class="list-item">
- <navigator url="./followRecords" hover-class="none">
+ <navigator url="./followRecords/index" hover-class="none">
<image class="icon" src="../../static/images/commission2.png"></image>
<text>跟进记录</text>
</navigator>
--
Gitblit v1.9.1