liujq 2 年之前
父节点
当前提交
7e55f1e253
共有 100 个文件被更改,包括 1125 次插入24 次删除
  1. 13 1
      api/cust.js
  2. 14 0
      pages.json
  3. 1 1
      pages/agent/recommend/detail2.vue
  4. 4 4
      pages/cust/list.vue
  5. 20 16
      pages/cust/my.vue
  6. 97 0
      pages/cust/myrecord.vue
  7. 153 0
      pages/cust/myrecordedit.vue
  8. 2 0
      unpackage/dist/build/mp-weixin/app.json
  9. 0 0
      unpackage/dist/build/mp-weixin/common/vendor.js
  10. 0 0
      unpackage/dist/build/mp-weixin/pages/agent/recommend/detail2.js
  11. 0 0
      unpackage/dist/build/mp-weixin/pages/agent/recommend/detail2.wxml
  12. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/list.js
  13. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/list.wxml
  14. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/my.js
  15. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/my.wxml
  16. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecord.js
  17. 11 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecord.json
  18. 1 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecord.wxml
  19. 1 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecord.wxss
  20. 0 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.js
  21. 13 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.json
  22. 1 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.wxml
  23. 1 0
      unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.wxss
  24. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  25. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  26. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/back-top/back-top.js.map
  27. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/wm-watermark/wm-watermark.js.map
  28. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/check.js.map
  29. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/create.js.map
  30. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detail.js.map
  31. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detail2.js.map
  32. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detailGovern.js.map
  33. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/estate.js.map
  34. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/list.js.map
  35. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/visitimg.js.map
  36. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/report/buycheck.js.map
  37. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/report/deal.js.map
  38. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/create.js.map
  39. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/list.js.map
  40. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/my.js.map
  41. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/mycreate.js.map
  42. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/myrecord.js.map
  43. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/myrecordedit.js.map
  44. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/estate/dtl.js.map
  45. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  46. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/web.js.map
  47. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/check.js.map
  48. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/deal.js.map
  49. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/list.js.map
  50. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/login/login.js.map
  51. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/login/register.js.map
  52. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/bank.js.map
  53. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/profile.js.map
  54. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/setting.js.map
  55. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/HM-filterDropdown/components/HM-filterDropdown/HM-filterDropdown.js.map
  56. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/okingtz-cropper/components/okingtz-cropper/okingtz-cropper.js.map
  57. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-alert-tips/u-alert-tips.js.map
  58. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js.map
  59. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-button/u-button.js.map
  60. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-divider/u-divider.js.map
  61. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-empty/u-empty.js.map
  62. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js.map
  63. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-form/u-form.js.map
  64. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-gap/u-gap.js.map
  65. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-icon/u-icon.js.map
  66. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-image/u-image.js.map
  67. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-input/u-input.js.map
  68. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-line/u-line.js.map
  69. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-loading/u-loading.js.map
  70. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-loadmore/u-loadmore.js.map
  71. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-mask/u-mask.js.map
  72. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-modal/u-modal.js.map
  73. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-navbar/u-navbar.js.map
  74. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-parse/libs/trees.js.map
  75. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-parse/u-parse.js.map
  76. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-popup/u-popup.js.map
  77. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js.map
  78. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-radio/u-radio.js.map
  79. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-select/u-select.js.map
  80. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.js.map
  81. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-steps/u-steps.js.map
  82. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-tag/u-tag.js.map
  83. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item.js.map
  84. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-time-line/u-time-line.js.map
  85. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-toast/u-toast.js.map
  86. 2 0
      unpackage/dist/dev/mp-weixin/app.json
  87. 12 0
      unpackage/dist/dev/mp-weixin/common/vendor.js
  88. 0 0
      unpackage/dist/dev/mp-weixin/pages/agent/recommend/detail2.wxml
  89. 1 1
      unpackage/dist/dev/mp-weixin/pages/cust/list.js
  90. 0 0
      unpackage/dist/dev/mp-weixin/pages/cust/list.wxml
  91. 5 1
      unpackage/dist/dev/mp-weixin/pages/cust/my.js
  92. 0 0
      unpackage/dist/dev/mp-weixin/pages/cust/my.wxml
  93. 236 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecord.js
  94. 11 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecord.json
  95. 1 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecord.wxml
  96. 108 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecord.wxss
  97. 286 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.js
  98. 13 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.json
  99. 1 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.wxml
  100. 117 0
      unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.wxss

+ 13 - 1
api/cust.js

@@ -45,4 +45,16 @@ export default {
 	apiprivatecustomerdetail: (params) => { // 内部客户  详情
 	  return request('api/private/customer/detail', params, 'loading')
 	},
-}
+	apiprivaterecordlist: (params) => { // 内部客户 - 跟进记录 -   列表
+	  return request('api/private/record/list', params)
+	},
+	apiprivaterecordadd: (params) => { // 内部客户 - 跟进记录 -  添加
+	  return request('api/private/record/add', params, 'loading')
+	},
+	apiprivaterecordedit: (params) => { // 内部客户 - 跟进记录 -  编辑
+	  return request('api/private/record/edit', params, 'loading')
+	},
+	apiprivaterecorddel: (params) => { // 内部客户 - 跟进记录 -  删除
+	  return request('api/private/record/del', params, 'loading')
+	},
+}

+ 14 - 0
pages.json

@@ -105,6 +105,20 @@
 				"enablePullDownRefresh": false
 			}
 		},
+		{
+			"path": "pages/cust/myrecord",
+			"style": {
+				"navigationBarTitleText": "客户跟进记录",
+				"enablePullDownRefresh": false
+			}
+		},
+		{
+			"path": "pages/cust/myrecordedit",
+			"style": {
+				"navigationBarTitleText": "客户跟进记录添加",
+				"enablePullDownRefresh": false
+			}
+		},
 		{
 			"path": "pages/cust/my",
 			"style": {

+ 1 - 1
pages/agent/recommend/detail2.vue

@@ -80,7 +80,7 @@
 			</view>
 		</u-popup>
 		
-		<u-button class="bwin-btn-100 u-m-b-10" type="primary" @click="confirmHandle">确认到访</u-button>
+		<u-button v-if="detail.report_step == 1 && detail.report_state == 1" class="bwin-btn-100 u-m-b-10" type="primary" @click="confirmHandle">确认到访</u-button>
 		
 		
 	</view>

+ 4 - 4
pages/cust/list.vue

@@ -30,7 +30,7 @@
 								name="attach"
 								size="32"
 								label="快速报备"
-								label-size="24"
+								label-size="28"
 								class="u-m-l-20"
 								color="#f00"
 								label-color="#f00"
@@ -56,7 +56,7 @@
 							@click="pageTo('/pages/cust/create', { info: item })"
 						>
 						</u-tag>
-						<view class="u-m-t-20">							
+						<!-- <view class="u-m-t-20">							
 							<u-tag
 								@click="delHandle(item)"
 								plain 
@@ -65,7 +65,7 @@
 								class="u-m-r-10"
 							>
 							</u-tag>
-						</view>
+						</view> -->
 					</view>
 					
 				</view>
@@ -169,7 +169,7 @@ export default {
 				if (list.length < 10) {
 					that.loadmore.status = 'nomore';
 				}
-				if (res.page = 1) {
+				if (res.current_page === 1) {
 					if (list.length == 0) {
 						uni.$msg('无搜索结果', 'none');
 					}

+ 20 - 16
pages/cust/my.vue

@@ -1,17 +1,5 @@
 <template>
 	<view>
-		<!-- <u-navbar
-			:customBack="customBack"
-			back-icon-color="#fff"
-			title="客户列表"
-			:background="{ backgroundColor: '#2080f0' }"
-			title-color="#fff"
-			:border-bottom="false"
-		></u-navbar> -->
-
-		<!-- 顶部筛选栏 -->
-<!-- 		<HM-filterDropdown :menuTop="menuTop" :filterData="filterData" :defaultSelected="filterDropdownValue" @confirm="confirmFilter"></HM-filterDropdown> -->
-
 		<view class="customer-list-wrap">
 			<view v-if="customerList.length == 0" class="empty-wrap"><u-empty mode="list" text="暂无相关客户"></u-empty></view>
 			<view v-for="(item, index) in customerList" class="customer-item" :key="index">
@@ -30,12 +18,22 @@
 								name="attach"
 								size="32"
 								label="快速报备"
-								label-size="24"
+								label-size="28"
 								class="u-m-l-20"
 								color="#f00"
 								label-color="#f00"
 								@click="pageTo('/pages/agent/recommend/create', { info: item })"
 							></u-icon>
+							<u-icon
+								name="list-dot"
+								size="32"
+								label="跟进记录"
+								label-size="28"
+								class="u-m-l-30"
+								color="#2d8cf0"
+								label-color="#2d8cf0"
+								@click="pageTo(`/pages/cust/myrecord?id=${item.id}&str=${item.name}(${item.sex === 'male' ? '男' : '女'})-${item.phone}`)"
+							></u-icon>
 						</view>
 
 						<view class="item">
@@ -45,6 +43,9 @@
 						<view class="item" v-if="item.remark">
 							{{ item.remark }}
 						</view>
+						<view class="item" v-if="item.record_remark">
+							最新跟进:{{ item.record_remark }}
+						</view>
 					</view>
 					
 					<view class="data-wrap">
@@ -56,7 +57,7 @@
 							@click="pageTo('/pages/cust/mycreate', { info: item })"
 						>
 						</u-tag>
-						<view class="u-m-t-20">							
+						<!-- <view class="u-m-t-20">							
 							<u-tag
 								@click="delHandle(item)"
 								plain 
@@ -65,7 +66,7 @@
 								class="u-m-r-10"
 							>
 							</u-tag>
-						</view>
+						</view> -->
 					</view>
 					
 				</view>
@@ -134,6 +135,9 @@ export default {
 			this.filterDropdownValue = [[],[],[],[that.filterStepStatus],[]]
 		}
 
+		// this.getDataList()
+	},
+	onShow () {
 		this.getDataList()
 	},
 	onReachBottom() {
@@ -169,7 +173,7 @@ export default {
 				if (list.length < 10) {
 					that.loadmore.status = 'nomore';
 				}
-				if (res.page = 1) {
+				if (res.current_page === 1) {
 					if (list.length == 0) {
 						uni.$msg('无搜索结果', 'none');
 					}

+ 97 - 0
pages/cust/myrecord.vue

@@ -0,0 +1,97 @@
+<template>
+	<view class="page scoped-box">
+		<view class="buystep-info u-p-32 box-shadow u-skeleton-fillet">
+			<view class="name">跟进记录:{{custTips || ''}}</view>
+			<u-empty v-if="stepsLogList.length == 0" mode="list" text="暂无流水记录"></u-empty>
+			<u-time-line>
+				<u-time-line-item v-for="(item, index) in stepsLogList" :key="index">
+					<template v-slot:node>
+						<view class="u-node"><u-icon name="checkmark-circle" size="28" color="#2080f0"></u-icon></view>
+					</template>
+					<template v-slot:content>
+						<view>
+							<view class="u-order-title">日常维护:</view>
+							<view class="u-order-desc">{{item.record_remark}}</view>
+							<view class="u-order-time">{{ item.create_at}}</view>
+						</view>
+					</template>
+				</u-time-line-item>
+			</u-time-line>
+		</view>
+		
+		<u-button class="f-btn bwin-btn-80 u-m-b-10" type="primary" @click="addHandle">添加跟进记录</u-button>
+	</view>
+</template>
+<script>
+export default {
+	data() {
+		return {
+			curId: '',
+			custTips: '',
+			detail: {
+			}, // 客户详情
+			stepsLogList: [] // 进展
+		};
+	},
+	onLoad(params) {
+		this.curId = params.id
+		this.custTips = params.str
+	},
+	onShow() {
+		this.getData()
+	},
+	methods: {
+		getData () {
+			uni.api.cust.apiprivaterecordlist({customer_id:this.curId, page_size: 100}).then(res =>{
+				this.stepsLogList = res.list || []
+			})
+		},
+		addHandle () {
+			uni.navigateTo({
+				url: `/pages/cust/myrecordedit?id=${this.curId}`
+			})
+		},
+	}
+};
+</script>
+<style lang="scss">
+
+.buystep-info {
+	width: 100%;
+	padding: 32rpx 0rpx;
+	background-color: #fff;
+	margin-bottom: 20rpx;
+	border-radius: 10rpx;
+	.name {
+		font-weight: bold;
+		margin-bottom: 20rpx;
+	}
+	.u-order-title {
+		color: $u-main-color;
+		font-size: $u-p2;
+	}
+	.u-order-desc {
+		// color: $u-content-color;
+		color: #777;
+		font-size: $u-p2;
+		margin-bottom: 6rpx;
+	}
+	.u-order-time {
+		color: rgb(200, 200, 200);
+		font-size: $u-p2;
+	}
+}
+
+.scoped-box {
+	padding-bottom: 100rpx;
+	.f-btn {
+		position: fixed;
+		bottom: 0;
+		left: 20rpx;
+		right: 20rpx;
+	}
+}
+
+
+
+</style>

+ 153 - 0
pages/cust/myrecordedit.vue

@@ -0,0 +1,153 @@
+<template>
+	<view class="page">
+		<view class="form">
+			<u-form :model="form" ref="uForm">
+				<u-form-item label-width="150" label="备注信息" prop="record_remark" required label-position="top">
+					<u-input :placeholder="remarkTips" v-model="form.record_remark" type="textarea"></u-input>
+				</u-form-item>
+			</u-form>
+			<u-gap height="60"></u-gap>
+			<u-button type="primary" @click="submitHandle">提交</u-button>
+		</view>
+		<!-- 列表选择 -->
+		<u-select mode="single-column" :list="propertySelectList" v-model="propertySelectShow"
+			@confirm="propertySelectConfirm"></u-select>
+		<!-- modal -->
+		<!-- utoast -->
+		<u-toast ref="uToast" />
+	</view>
+</template>
+<script>
+	export default {
+		data() {
+			return {
+				form: {
+					record_remark: null,
+				},
+				customer_id: null,
+				rules: {
+					record_remark: [{
+						required: true,
+						message: '备注不能为空',
+						trigger: ['change']
+					}, ]
+				},
+				remarkTips: '请输入:购房预算(总价/均价/面积段)~现居住区域~现居住产品/面积段~工作类型~购房需求/关注点~已经看过的房源情况',
+				
+
+				propertySelectShow: false,
+				propertySelectList: [],
+			};
+		},
+		onLoad(data) {
+			this.customer_id = data.id
+		},
+		created() {},
+		// 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕
+		onReady() {
+			this.$refs.uForm.setRules(this.rules);
+		},
+		methods: {
+			// // 选择所属项目回调
+			// propertySelectConfirm(e) {
+			// 	e.map((val, index) => {
+			// 		this.form.estate_id = val.value;
+			// 		this.form.estate_name = val.label;
+			// 	});
+			// },
+			submitHandle() {
+				const that = this
+				this.$refs.uForm.validate(valid => {
+					if (valid) {
+						// 验证成功
+						let apiStr = 'apiprivaterecordadd'
+						let params = {
+							record_remark: that.form.record_remark,
+							customer_id: this.customer_id
+						}
+						if (that.isEdit) {
+							apiStr = 'apiprivaterecordedit'
+							params.id = that.form.id
+						}
+						uni.api.cust[apiStr](params).then(res => {
+							if (that.isEdit) {
+								uni.$msgConfirm('编辑成功', () => {
+									uni.reLaunch({
+										url: '/pages/cust/my'
+									})
+								}, () => {
+									uni.reLaunch({
+										url: '/pages/cust/my'
+									})
+								})
+							} else {
+								uni.$msgConfirm('添加跟进记录成功,是否前往列表?', () => {
+									uni.navigateBack()
+								}, () => {
+									this.form = {
+										record_remark: null,
+									}
+								})
+							}
+						})
+					} else {
+						console.log('验证失败');
+					}
+				});
+			},
+		}
+	};
+</script>
+<style lang="scss">
+	.page {
+		padding: 20rpx;
+		background-color: #ffffff;
+	}
+
+	.form {
+		border-radius: 10rpx;
+		padding: 0 40rpx;
+	}
+
+	.popup-body {
+		.tips-title {
+			font-size: $u-p;
+			margin-bottom: 20rpx;
+		}
+
+		.tips-content {
+			font-size: $u-p2;
+			color: $u-tips-color;
+			margin-bottom: 60rpx;
+		}
+	}
+
+	.id_card {
+		color: #606266;
+		width: 100%;
+		height: 350rpx;
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		background-color: #f4f5f6;
+		font-size: $u-p2;
+	}
+
+	.footer {
+		position: absolute;
+		text-align: center;
+		bottom: 40rpx;
+		font-size: $u-p2;
+
+		.agreement {
+			color: $u-type-error;
+		}
+	}
+
+	.slot-content {
+		font-size: 28rpx;
+		color: $u-content-color;
+		padding: 20rpx;
+	}
+</style>

+ 2 - 0
unpackage/dist/build/mp-weixin/app.json

@@ -15,6 +15,8 @@
     "pages/cust/create",
     "pages/cust/list",
     "pages/cust/mycreate",
+    "pages/cust/myrecord",
+    "pages/cust/myrecordedit",
     "pages/cust/my",
     "pages/user/setting/setting",
     "pages/user/setting/profile",

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/common/vendor.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/agent/recommend/detail2.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/agent/recommend/detail2.wxml


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/list.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/list.wxml


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/my.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/my.wxml


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecord.js


+ 11 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecord.json

@@ -0,0 +1,11 @@
+{
+  "navigationBarTitleText": "客户跟进记录",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-empty": "/uni_modules/vk-uview-ui/components/u-empty/u-empty",
+    "u-time-line": "/uni_modules/vk-uview-ui/components/u-time-line/u-time-line",
+    "u-time-line-item": "/uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item",
+    "u-icon": "/uni_modules/vk-uview-ui/components/u-icon/u-icon",
+    "u-button": "/uni_modules/vk-uview-ui/components/u-button/u-button"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecord.wxml

@@ -0,0 +1 @@
+<view class="page scoped-box"><view class="buystep-info u-p-32 box-shadow u-skeleton-fillet"><view class="name">{{"跟进记录:"+(custTips||'')}}</view><block wx:if="{{stepsLogList.length==0}}"><u-empty vue-id="11c9b9f6-1" mode="list" text="暂无流水记录" bind:__l="__l"></u-empty></block><u-time-line vue-id="11c9b9f6-2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{stepsLogList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-time-line-item vue-id="{{('11c9b9f6-3-'+index)+','+('11c9b9f6-2')}}" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-node" slot="node"><u-icon vue-id="{{('11c9b9f6-4-'+index)+','+('11c9b9f6-3-'+index)}}" name="checkmark-circle" size="28" color="#2080f0" bind:__l="__l"></u-icon></view><view slot="content"><view class="u-order-title">日常维护:</view><view class="u-order-desc">{{item.record_remark}}</view><view class="u-order-time">{{item.create_at}}</view></view></u-time-line-item></block></u-time-line></view><u-button class="f-btn bwin-btn-80 u-m-b-10" vue-id="11c9b9f6-5" type="primary" data-event-opts="{{[['^click',[['addHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">添加跟进记录</u-button></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecord.wxss

@@ -0,0 +1 @@
+.page{background-color:#f3f4f6;padding:20rpx}.empty-wrap{margin-top:200rpx;width:100%;display:flex;justify-content:center;align-items:center}.content-page{min-height:100vh;background-color:#fff}.footer{display:flex;align-items:center;color:#909399;width:100%;padding:20rpx 0;justify-content:center}.box-shadow{box-shadow:0rpx 2rpx 4rpx 0 rgba(0,0,0,.2)}.flex-empty{visibility:hidden;width:120rpx;height:0rpx}.bwin-btn-100{width:100%}.bwin-popup{display:flex;flex-direction:column;width:100%;position:relative;min-height:100%;overflow:hidden}.bwin-popup .popup-header{z-index:2;width:80%;position:fixed;padding:20rpx 0;text-align:center;font-size:32rpx;color:#fff;font-weight:700;background-color:#2080f0;border-top-left-radius:20rpx;border-top-right-radius:20rpx}.bwin-popup .popup-body{z-index:1;position:relative;top:90rpx;margin-bottom:90rpx;padding:20rpx;font-size:32rpx;overflow-y:scroll}.bwin-popup .popup-footer{position:relative;left:0;bottom:20rpx;width:100%;display:flex;justify-content:space-around}.buystep-info{width:100%;padding:32rpx 0rpx;background-color:#fff;margin-bottom:20rpx;border-radius:10rpx}.buystep-info .name{font-weight:700;margin-bottom:20rpx}.buystep-info .u-order-title{color:#303133;font-size:24rpx}.buystep-info .u-order-desc{color:#777;font-size:24rpx;margin-bottom:6rpx}.buystep-info .u-order-time{color:#c8c8c8;font-size:24rpx}.scoped-box{padding-bottom:100rpx}.scoped-box .f-btn{position:fixed;bottom:0;left:20rpx;right:20rpx}

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.js


+ 13 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.json

@@ -0,0 +1,13 @@
+{
+  "navigationBarTitleText": "客户跟进记录添加",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-form": "/uni_modules/vk-uview-ui/components/u-form/u-form",
+    "u-form-item": "/uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
+    "u-input": "/uni_modules/vk-uview-ui/components/u-input/u-input",
+    "u-gap": "/uni_modules/vk-uview-ui/components/u-gap/u-gap",
+    "u-button": "/uni_modules/vk-uview-ui/components/u-button/u-button",
+    "u-select": "/uni_modules/vk-uview-ui/components/u-select/u-select",
+    "u-toast": "/uni_modules/vk-uview-ui/components/u-toast/u-toast"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.wxml

@@ -0,0 +1 @@
+<view class="page"><view class="form"><u-form class="vue-ref" vue-id="560ffe2c-1" model="{{form}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('560ffe2c-2')+','+('560ffe2c-1')}}" label-width="150" label="备注信息" prop="record_remark" required="{{true}}" label-position="top" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('560ffe2c-3')+','+('560ffe2c-2')}}" placeholder="{{remarkTips}}" type="textarea" value="{{form.record_remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','record_remark','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item></u-form><u-gap vue-id="560ffe2c-4" height="60" bind:__l="__l"></u-gap><u-button vue-id="560ffe2c-5" type="primary" data-event-opts="{{[['^click',[['submitHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view><u-select vue-id="560ffe2c-6" mode="single-column" list="{{propertySelectList}}" value="{{propertySelectShow}}" data-event-opts="{{[['^confirm',[['propertySelectConfirm']]],['^input',[['__set_model',['','propertySelectShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-toast class="vue-ref" vue-id="560ffe2c-7" data-ref="uToast" bind:__l="__l"></u-toast></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/cust/myrecordedit.wxss

@@ -0,0 +1 @@
+.page{background-color:#f3f4f6;padding:20rpx}.empty-wrap{margin-top:200rpx;width:100%;display:flex;justify-content:center;align-items:center}.content-page{min-height:100vh;background-color:#fff}.footer{display:flex;align-items:center;color:#909399;width:100%;padding:20rpx 0;justify-content:center}.box-shadow{box-shadow:0rpx 2rpx 4rpx 0 rgba(0,0,0,.2)}.flex-empty{visibility:hidden;width:120rpx;height:0rpx}.bwin-btn-100{width:100%}.bwin-popup{display:flex;flex-direction:column;width:100%;position:relative;min-height:100%;overflow:hidden}.bwin-popup .popup-header{z-index:2;width:80%;position:fixed;padding:20rpx 0;text-align:center;font-size:32rpx;color:#fff;font-weight:700;background-color:#2080f0;border-top-left-radius:20rpx;border-top-right-radius:20rpx}.bwin-popup .popup-body{z-index:1;position:relative;top:90rpx;margin-bottom:90rpx;padding:20rpx;font-size:32rpx;overflow-y:scroll}.bwin-popup .popup-footer{position:relative;left:0;bottom:20rpx;width:100%;display:flex;justify-content:space-around}.page{padding:20rpx;background-color:#fff}.form{border-radius:10rpx;padding:0 40rpx}.popup-body .tips-title{font-size:32rpx;margin-bottom:20rpx}.popup-body .tips-content{font-size:24rpx;color:#909399;margin-bottom:60rpx}.id_card{color:#606266;width:100%;height:350rpx;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f4f5f6;font-size:24rpx}.footer{position:absolute;text-align:center;bottom:40rpx;font-size:24rpx}.footer .agreement{color:#fa3534}.slot-content{font-size:28rpx;color:#606266;padding:20rpx}

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/back-top/back-top.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/wm-watermark/wm-watermark.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/check.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/create.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detail.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detail2.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/detailGovern.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/estate.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/list.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/recommend/visitimg.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/report/buycheck.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/agent/report/deal.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/create.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/list.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/my.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/mycreate.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/myrecord.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cust/myrecordedit.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/estate/dtl.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/web.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/check.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/deal.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/saler/list.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/login/login.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/login/register.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/bank.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/profile.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/setting/setting.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/HM-filterDropdown/components/HM-filterDropdown/HM-filterDropdown.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/okingtz-cropper/components/okingtz-cropper/okingtz-cropper.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-alert-tips/u-alert-tips.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-button/u-button.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-divider/u-divider.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-empty/u-empty.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-form/u-form.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-gap/u-gap.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-icon/u-icon.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-image/u-image.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-input/u-input.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-line/u-line.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-loading/u-loading.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-loadmore/u-loadmore.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-mask/u-mask.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-modal/u-modal.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-navbar/u-navbar.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-parse/libs/trees.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-parse/u-parse.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-popup/u-popup.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-radio/u-radio.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-select/u-select.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-steps/u-steps.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-tag/u-tag.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-time-line/u-time-line.js.map


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-toast/u-toast.js.map


+ 2 - 0
unpackage/dist/dev/mp-weixin/app.json

@@ -15,6 +15,8 @@
     "pages/cust/create",
     "pages/cust/list",
     "pages/cust/mycreate",
+    "pages/cust/myrecord",
+    "pages/cust/myrecordedit",
     "pages/cust/my",
     "pages/user/setting/setting",
     "pages/user/setting/profile",

+ 12 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -15916,6 +15916,18 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
   },
   apiprivatecustomerdetail: function apiprivatecustomerdetail(params) {// 内部客户  详情
     return (0, _http.request)('api/private/customer/detail', params, 'loading');
+  },
+  apiprivaterecordlist: function apiprivaterecordlist(params) {// 内部客户 - 跟进记录 -   列表
+    return (0, _http.request)('api/private/record/list', params);
+  },
+  apiprivaterecordadd: function apiprivaterecordadd(params) {// 内部客户 - 跟进记录 -  添加
+    return (0, _http.request)('api/private/record/add', params, 'loading');
+  },
+  apiprivaterecordedit: function apiprivaterecordedit(params) {// 内部客户 - 跟进记录 -  编辑
+    return (0, _http.request)('api/private/record/edit', params, 'loading');
+  },
+  apiprivaterecorddel: function apiprivaterecorddel(params) {// 内部客户 - 跟进记录 -  删除
+    return (0, _http.request)('api/private/record/del', params, 'loading');
   } };exports.default = _default;
 
 /***/ }),

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/agent/recommend/detail2.wxml


+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/cust/list.js

@@ -356,7 +356,7 @@ var that;var _default =
         if (list.length < 10) {
           that.loadmore.status = 'nomore';
         }
-        if (res.page = 1) {
+        if (res.current_page === 1) {
           if (list.length == 0) {
             uni.$msg('无搜索结果', 'none');
           }

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/cust/list.wxml


+ 5 - 1
unpackage/dist/dev/mp-weixin/pages/cust/my.js

@@ -291,6 +291,7 @@ __webpack_require__.r(__webpack_exports__);
 //
 //
 //
+//
 
 var that;var _default =
 {
@@ -321,6 +322,9 @@ var that;var _default =
       this.filterDropdownValue = [[], [], [], [that.filterStepStatus], []];
     }
 
+    // this.getDataList()
+  },
+  onShow: function onShow() {
     this.getDataList();
   },
   onReachBottom: function onReachBottom() {
@@ -356,7 +360,7 @@ var that;var _default =
         if (list.length < 10) {
           that.loadmore.status = 'nomore';
         }
-        if (res.page = 1) {
+        if (res.current_page === 1) {
           if (list.length == 0) {
             uni.$msg('无搜索结果', 'none');
           }

文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/cust/my.wxml


文件差异内容过多而无法显示
+ 236 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecord.js


+ 11 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecord.json

@@ -0,0 +1,11 @@
+{
+  "navigationBarTitleText": "客户跟进记录",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-empty": "/uni_modules/vk-uview-ui/components/u-empty/u-empty",
+    "u-time-line": "/uni_modules/vk-uview-ui/components/u-time-line/u-time-line",
+    "u-time-line-item": "/uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item",
+    "u-icon": "/uni_modules/vk-uview-ui/components/u-icon/u-icon",
+    "u-button": "/uni_modules/vk-uview-ui/components/u-button/u-button"
+  }
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecord.wxml

@@ -0,0 +1 @@
+<view class="page scoped-box"><view class="buystep-info u-p-32 box-shadow u-skeleton-fillet"><view class="name">{{"跟进记录:"+(custTips||'')}}</view><block wx:if="{{stepsLogList.length==0}}"><u-empty vue-id="11c9b9f6-1" mode="list" text="暂无流水记录" bind:__l="__l"></u-empty></block><u-time-line vue-id="11c9b9f6-2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{stepsLogList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-time-line-item vue-id="{{('11c9b9f6-3-'+index)+','+('11c9b9f6-2')}}" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-node" slot="node"><u-icon vue-id="{{('11c9b9f6-4-'+index)+','+('11c9b9f6-3-'+index)}}" name="checkmark-circle" size="28" color="#2080f0" bind:__l="__l"></u-icon></view><view slot="content"><view class="u-order-title">日常维护:</view><view class="u-order-desc">{{item.record_remark}}</view><view class="u-order-time">{{item.create_at}}</view></view></u-time-line-item></block></u-time-line></view><u-button class="f-btn bwin-btn-80 u-m-b-10" vue-id="11c9b9f6-5" type="primary" data-event-opts="{{[['^click',[['addHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">添加跟进记录</u-button></view>

+ 108 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecord.wxss

@@ -0,0 +1,108 @@
+@charset "UTF-8";
+/* 这里是你自己写的全局css样式 */
+.page {
+  background-color: #f3f4f6;
+  padding: 20rpx;
+}
+.empty-wrap {
+  margin-top: 200rpx;
+  width: 100%;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.content-page {
+  min-height: 100vh;
+  background-color: #fff;
+}
+.footer {
+  display: flex;
+  align-items: center;
+  color: #909399;
+  width: 100%;
+  padding: 20rpx 0;
+  justify-content: center;
+}
+.box-shadow {
+  box-shadow: 0rpx 2rpx 4rpx 0 rgba(0, 0, 0, 0.2);
+}
+.flex-empty {
+  visibility: hidden;
+  width: 120rpx;
+  height: 0rpx;
+}
+.bwin-btn-100 {
+  width: 100%;
+}
+.bwin-popup {
+  display: flex;
+  flex-direction: column;
+  width: 100%;
+  position: relative;
+  min-height: 100%;
+  overflow: hidden;
+}
+.bwin-popup .popup-header {
+  z-index: 2;
+  width: 80%;
+  position: fixed;
+  padding: 20rpx 0;
+  text-align: center;
+  font-size: 32rpx;
+  color: #fff;
+  font-weight: bold;
+  background-color: #2080f0;
+  border-top-left-radius: 20rpx;
+  border-top-right-radius: 20rpx;
+}
+.bwin-popup .popup-body {
+  z-index: 1;
+  position: relative;
+  top: 90rpx;
+  margin-bottom: 90rpx;
+  padding: 20rpx;
+  font-size: 32rpx;
+  overflow-y: scroll;
+}
+.bwin-popup .popup-footer {
+  position: relative;
+  left: 0;
+  bottom: 20rpx;
+  width: 100%;
+  display: flex;
+  justify-content: space-around;
+}
+.buystep-info {
+  width: 100%;
+  padding: 32rpx 0rpx;
+  background-color: #fff;
+  margin-bottom: 20rpx;
+  border-radius: 10rpx;
+}
+.buystep-info .name {
+  font-weight: bold;
+  margin-bottom: 20rpx;
+}
+.buystep-info .u-order-title {
+  color: #303133;
+  font-size: 24rpx;
+}
+.buystep-info .u-order-desc {
+  color: #777;
+  font-size: 24rpx;
+  margin-bottom: 6rpx;
+}
+.buystep-info .u-order-time {
+  color: #c8c8c8;
+  font-size: 24rpx;
+}
+.scoped-box {
+  padding-bottom: 100rpx;
+}
+.scoped-box .f-btn {
+  position: fixed;
+  bottom: 0;
+  left: 20rpx;
+  right: 20rpx;
+}
+

文件差异内容过多而无法显示
+ 286 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.js


+ 13 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.json

@@ -0,0 +1,13 @@
+{
+  "navigationBarTitleText": "客户跟进记录添加",
+  "enablePullDownRefresh": false,
+  "usingComponents": {
+    "u-form": "/uni_modules/vk-uview-ui/components/u-form/u-form",
+    "u-form-item": "/uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
+    "u-input": "/uni_modules/vk-uview-ui/components/u-input/u-input",
+    "u-gap": "/uni_modules/vk-uview-ui/components/u-gap/u-gap",
+    "u-button": "/uni_modules/vk-uview-ui/components/u-button/u-button",
+    "u-select": "/uni_modules/vk-uview-ui/components/u-select/u-select",
+    "u-toast": "/uni_modules/vk-uview-ui/components/u-toast/u-toast"
+  }
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.wxml

@@ -0,0 +1 @@
+<view class="page"><view class="form"><u-form class="vue-ref" vue-id="560ffe2c-1" model="{{form}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('560ffe2c-2')+','+('560ffe2c-1')}}" label-width="150" label="备注信息" prop="record_remark" required="{{true}}" label-position="top" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('560ffe2c-3')+','+('560ffe2c-2')}}" placeholder="{{remarkTips}}" type="textarea" value="{{form.record_remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','record_remark','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item></u-form><u-gap vue-id="560ffe2c-4" height="60" bind:__l="__l"></u-gap><u-button vue-id="560ffe2c-5" type="primary" data-event-opts="{{[['^click',[['submitHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view><u-select vue-id="560ffe2c-6" mode="single-column" list="{{propertySelectList}}" value="{{propertySelectShow}}" data-event-opts="{{[['^confirm',[['propertySelectConfirm']]],['^input',[['__set_model',['','propertySelectShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-toast class="vue-ref" vue-id="560ffe2c-7" data-ref="uToast" bind:__l="__l"></u-toast></view>

+ 117 - 0
unpackage/dist/dev/mp-weixin/pages/cust/myrecordedit.wxss

@@ -0,0 +1,117 @@
+@charset "UTF-8";
+/* 这里是你自己写的全局css样式 */
+.page {
+  background-color: #f3f4f6;
+  padding: 20rpx;
+}
+.empty-wrap {
+  margin-top: 200rpx;
+  width: 100%;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.content-page {
+  min-height: 100vh;
+  background-color: #fff;
+}
+.footer {
+  display: flex;
+  align-items: center;
+  color: #909399;
+  width: 100%;
+  padding: 20rpx 0;
+  justify-content: center;
+}
+.box-shadow {
+  box-shadow: 0rpx 2rpx 4rpx 0 rgba(0, 0, 0, 0.2);
+}
+.flex-empty {
+  visibility: hidden;
+  width: 120rpx;
+  height: 0rpx;
+}
+.bwin-btn-100 {
+  width: 100%;
+}
+.bwin-popup {
+  display: flex;
+  flex-direction: column;
+  width: 100%;
+  position: relative;
+  min-height: 100%;
+  overflow: hidden;
+}
+.bwin-popup .popup-header {
+  z-index: 2;
+  width: 80%;
+  position: fixed;
+  padding: 20rpx 0;
+  text-align: center;
+  font-size: 32rpx;
+  color: #fff;
+  font-weight: bold;
+  background-color: #2080f0;
+  border-top-left-radius: 20rpx;
+  border-top-right-radius: 20rpx;
+}
+.bwin-popup .popup-body {
+  z-index: 1;
+  position: relative;
+  top: 90rpx;
+  margin-bottom: 90rpx;
+  padding: 20rpx;
+  font-size: 32rpx;
+  overflow-y: scroll;
+}
+.bwin-popup .popup-footer {
+  position: relative;
+  left: 0;
+  bottom: 20rpx;
+  width: 100%;
+  display: flex;
+  justify-content: space-around;
+}
+.page {
+  padding: 20rpx;
+  background-color: #ffffff;
+}
+.form {
+  border-radius: 10rpx;
+  padding: 0 40rpx;
+}
+.popup-body .tips-title {
+  font-size: 32rpx;
+  margin-bottom: 20rpx;
+}
+.popup-body .tips-content {
+  font-size: 24rpx;
+  color: #909399;
+  margin-bottom: 60rpx;
+}
+.id_card {
+  color: #606266;
+  width: 100%;
+  height: 350rpx;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  background-color: #f4f5f6;
+  font-size: 24rpx;
+}
+.footer {
+  position: absolute;
+  text-align: center;
+  bottom: 40rpx;
+  font-size: 24rpx;
+}
+.footer .agreement {
+  color: #fa3534;
+}
+.slot-content {
+  font-size: 28rpx;
+  color: #606266;
+  padding: 20rpx;
+}
+

部分文件因为文件数量过多而无法显示