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

+ 6 - 0
api/estate.js

@@ -60,4 +60,10 @@ export default {
 	apiestatelibdetail: (params) => { // 内部 各楼盘各平台佣金汇集 详情
 	  return request('api/estate/lib/detail', params, 'loading')
 	},
+	apideptstorelist: (params) => { // 渠道门店所有列表
+	  return request('api/dept/store/list', params, 'loading')
+	},
+	apideptstorecount: (params) => { // 渠道门店 品牌统计
+		return request('api/dept/store/count', params, 'loading')
+	  },
 }

+ 7 - 0
pages.json

@@ -272,6 +272,13 @@
 				"navigationBarTitleText": "成交单详情编辑",
 				"enablePullDownRefresh": false
 			}
+		},
+		{
+			"path": "pages/shop/map",
+			"style": {
+				"navigationBarTitleText": "门店地图",
+				"enablePullDownRefresh": false
+			}
 		}
   ],
 	"globalStyle": {

+ 47 - 43
pages/agent/recommend/check.vue

@@ -117,55 +117,59 @@ export default {
 			})
 		},
 		submitHandle() {
+			const that = this
+			uni.api.estate.apiestatedetail({
+				id: that.eId
+			}).then(function (dtl) {
+				let remark = that.form.remark || ''
+				if (remark === '其他原因') {
+					remark = that.otherRemark
+				}
+				if (that.form.report_state == 1) {
+					if (dtl.is_only == 2) {
+						if (!that.form.report_code) {
+							uni.$msg('非独家项目,请上传报备二维码~')
+							return
+						}	
+					}
+				} else {
+					if (!remark) {
+						uni.$msg('报备无效请备注原因')
+						return
+					}
+				}
+				that.$refs.uForm.validate(valid => {
+					if (valid) {
+						let params = {
+							...that.form,
+							id: that.curId,
+							report_at: that.getTime(),
+							remark,
+						}
+						// if (cPhone) params.phone = cPhone
+						uni.api.cust.apireportverify(params).then(res => {
+							uni.$msgConfirm('编辑成功', () => {
+								uni.reLaunch({
+									url: '/pages/agent/recommend/list'
+								})
+							}, () => {
+								uni.reLaunch({
+									url: '/pages/agent/recommend/list'
+								})
+							})
+						})
+					}
+				});
+			})
 			// let cPhone = ''
-			// if (this.oldPhone.indexOf('****') > -1) {
-			// 	if (this.b4 && this.b4.length === 4) {
-			// 		cPhone = this.oldPhone.replace('****', this.b4)
+			// if (that.oldPhone.indexOf('****') > -1) {
+			// 	if (that.b4 && that.b4.length === 4) {
+			// 		cPhone = that.oldPhone.replace('****', that.b4)
 			// 	} else {
 			// 		uni.$msg('请输入前三后四的中间四位')
 			// 		return
 			// 	}
 			// }
-			let remark = this.form.remark || ''
-			if (remark === '其他原因') {
-				remark = this.otherRemark
-			}
-			if (this.form.report_state == 1) {
-				if (this.eId != 2) {
-					if (!this.form.report_code) {
-						uni.$msg('非江投项目,请上传报备二维码~')
-						return
-					}
-				}
-			} else {
-				if (!remark) {
-					uni.$msg('报备无效请备注原因')
-					return
-				}
-			}
-			const that = this
-			this.$refs.uForm.validate(valid => {
-				if (valid) {
-					let params = {
-						...that.form,
-						id: that.curId,
-						report_at: that.getTime(),
-						remark,
-					}
-					// if (cPhone) params.phone = cPhone
-					uni.api.cust.apireportverify(params).then(res => {
-						uni.$msgConfirm('编辑成功', () => {
-							uni.reLaunch({
-								url: '/pages/agent/recommend/list'
-							})
-						}, () => {
-							uni.reLaunch({
-								url: '/pages/agent/recommend/list'
-							})
-						})
-					})
-				}
-			});
 		},
 
 

+ 1 - 2
pages/estate/lib.vue

@@ -98,7 +98,6 @@ export default {
 	},
 	onLoad(params) {
 		if (params.v) this.curAreaType = params.v
-		
 		this.userInfo2 = uni.getStorageSync('MD_userInfo2')
 		this.curRoles = uni.getStorageSync('MD_userInfo2') ? uni.getStorageSync('MD_userInfo2').roles : ''
 		this.getDataList()
@@ -150,7 +149,7 @@ export default {
 		},
 		
 		getDataList (bc) {
-			if (this.userInfo2.roles == 1 || this.userInfo2.roles == 5 || this.userInfo2.roles == 7) {
+			if (this.userInfo2.roles == 1 || this.userInfo2.roles == 5 || this.userInfo2.roles == 7 || this.userInfo2.roles == 10 || this.userInfo2.roles == 11) {
 				const that = this
 				let params = {
 					page_size: 30,

+ 177 - 0
pages/shop/map.vue

@@ -0,0 +1,177 @@
+<template>
+	<view class="scoped-box">
+		<view class="scoped-select">
+			<view :class="curStoreBrand === item.val ? 'ss-op cur' : 'ss-op'" v-for="(item, index) in sbArr" @click="brandHandle(item)" :key="index">{{ item.key }}</view>
+		</view>
+		<map
+			class="sb-map"
+			longitude="115.822386"
+			latitude="28.624076"
+			scale="12"
+			:markers="dataList"
+			@callouttap="callouttapHandle"
+		></map>
+		<view class="scoped-bottom" v-if="curObj.manager_phone">
+			<view class="p1">门店:{{ curObj.store_name }}[{{curObj.clerk_num}}]</view>
+			<view class="p1">店长:{{ curObj.store_manager }}{{ curObj.manager_phone }}[{{curObj.signing == 1 ? '已签约' : '未签约'}}]
+				<view class="m" @click="callHandle">[打电话]</view>
+			</view>
+			<view class="p1">地址:{{ curObj.address }}</view>
+		</view>
+	</view>
+</template>
+<script>
+export default {
+	data() {
+		return {
+			dataList: [],
+			sbArr: [],
+			curStoreBrand: '',
+			storeBrandObj: {},
+			curObj: {},
+			oldList: [],
+		};
+	},
+	onLoad(params) {
+		const dictObj = uni.getStorageSync('MD_dict')
+		let sbArr = dictObj.store_brand || []
+		let storeBrandObj = {}
+		let nArr = []
+		uni.api.estate.apideptstorecount().then(res => {
+			const brandCount = res.brand_count || []
+			brandCount.forEach(bc => {
+			sbArr.forEach(item => {
+				if (bc.store_brand === item.val) {
+				nArr.push({
+					total: bc.total,
+					val: bc.store_brand,
+					key: `${bc.store_brand}(${bc.total})`,
+				})
+				storeBrandObj[item.val] = item.option1 || '#673ab7'
+				}
+			})
+			})
+			nArr.sort( (a, b)=> {
+				return b.total - a.total
+			})
+			this.sbArr = [{key: '全部', val: ''},...nArr]
+			this.storeBrandObj = {...storeBrandObj}
+		})
+
+
+		this.getData()
+	},
+	onReachBottom() {},
+	onPullDownRefresh() {
+		// 防止频繁刷新
+	},
+	methods: {
+		callHandle () {			
+			uni.makePhoneCall({
+				phoneNumber: this.curObj.manager_phone
+			})
+		},
+		callouttapHandle (e) {
+			const detail = e.detail
+			const index = detail.markerId - 10000
+			this.curObj = this.oldList[index]
+		},
+		getData () {
+			uni.api.estate.apideptstorelist({
+				store_brand: this.curStoreBrand
+			}).then(res => {
+			let dataList = []
+			const arr = res || []
+			this.oldList = [...arr]
+			dataList = arr.map((item, index) => {
+				return {
+					id: index + 10000,
+					latitude: item.latitude,
+					longitude: item.longitude,
+					iconPath: 'https://icon.honglouplus.com/icon_1px.png',
+					width: 0,
+					height: 0,
+					zIndex: 99,
+					callout: {
+						content: `${item.signing == 1 ? 'Y' : 'N'}${item.store_name}[${item.clerk_num}]`,
+						color: '#fff',
+						bgColor: this.storeBrandObj[item.store_brand],
+						display: 'ALWAYS',
+						padding: '6px 10px',
+						textAlign: 'center',
+						borderRadius: '10',
+					}
+				}
+			})
+			this.dataList = [...dataList]
+		})
+		},
+		brandHandle (item) {
+			this.curStoreBrand = item.val
+			this.getData()
+		},
+		linkList (v) {
+			uni.navigateTo({
+				url: `/pages/estate/lib?v=${v}`
+			})
+		}
+	}
+};
+</script>
+<style lang="scss">
+.scoped-box {
+  height: calc(100vh);
+  position: relative;
+  .sb-map {
+	position: absolute;
+	z-index: 9;
+	left: 0;
+	top: 0;
+	height: 100%;
+	width: 100%;
+  }
+  .scoped-bottom {
+	position: fixed;
+	background: #fff;
+	z-index: 10;
+	left: 0;
+	bottom: 0;
+	height: 150rpx;
+	width: 100%;
+	padding: 20rpx;
+	.p1 {
+		color: #666;
+		font-size: 26rpx;
+		.m {
+			display: inline-block;
+			color: #2d8cf0;
+			font-weight: bold;
+		}
+	}
+  }
+}
+
+.scoped-select {
+  position: relative;
+  z-index: 10;
+  padding-top: 20rpx;
+  padding-left: 20rpx;
+  background: #fff;
+  .ss-op {
+    color: #666;
+    background: #e1e1e1;
+    border-radius: 10rpx;
+    padding: 3rpx 10rpx;
+    margin-right: 20rpx;
+    margin-bottom: 20rpx;
+    display: inline-block;
+    cursor: pointer;
+    user-select: none;
+    &.cur {
+      color: #fff;
+      background: #2d8cf0;
+    }
+  }
+}
+
+</style>

+ 12 - 5
pages/trade/list.vue

@@ -4,7 +4,9 @@
 		<view class="scoped-list">
 			<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="sl-item" :key="index">
-				<view :class="'sli-top t' + item.deal_type">{{ item.deal_item }}[{{ thtObj[item.house_type] }}] {{ item.house_no }} 
+				<view v-if="item.trade_state == 2" :class="'sli-top t4'">[{{tradeStateObj[item.trade_state]}}][{{ thtObj[item.house_type] }}] {{ item.deal_item }}{{ item.house_no }}
+				</view>
+				<view v-else :class="'sli-top t' + item.deal_type">[{{tradeStateObj[item.trade_state]}}][{{ thtObj[item.house_type] }}] {{ item.deal_item }}{{ item.house_no }} 
 					<view v-if="item.create_by === userInfo2.id" class="r2" @click="pageTo('/pages/trade/create', { info: item })">编辑</view>
 					<view class="r" @click="copyTextHandle(item)">喜报</view>
 				</view>
@@ -67,16 +69,18 @@ export default {
 		wmWatermark
 	},
 	data() {
+		const userInfo2 = uni.getStorageSync('MD_userInfo2')
 		return {
-			userInfo2: {},
+			userInfo2,
 			thtObj: {},
 			tdtObj: {},
 			checkStateObj: {},
+			tradeStateObj: {},
 			searchKeyword: null,
 			searchPopupShow: false,
 			searchFormData: {
 				deal_item: '',
-				deal_clerk: '',
+				deal_clerk: userInfo2.roles == 7 ? userInfo2.nickname : '',
 				customer_name: '',
 				customer_phone: ''
 			}, // 搜索栏数据
@@ -103,6 +107,7 @@ export default {
 		this.thtObj = arrToObj(dictObj.trade_house_type)
 		this.tdtObj = arrToObj(dictObj.trade_deal_type)
 		this.checkStateObj = arrToObj(dictObj.check_state)
+		this.tradeStateObj = arrToObj(dictObj.trade_state)
 
 
 		
@@ -110,7 +115,6 @@ export default {
 		this.getDataList()
 	},
 	created () {
-		this.userInfo2 = uni.getStorageSync('MD_userInfo2')
 	},
 	onReachBottom() {
 		if (that.loadmore.status == 'nomore') return;
@@ -146,7 +150,7 @@ export default {
 				uniCopy({
 					content: `【洪楼News】${item.deal_at}喜报
 恭喜${item.deal_clerk}小伙伴今日成交${this.thtObj[item.house_type]}第1套
-本月(${res.month}月)喜报总计:${res.month_total}套,个人总计:${res.user_total}套
+本月(${res.month}月)喜报总计:${res.month_total}套,本月个人总计:${res.user_total}套
 (1)客户姓名: ${item.customer_name}
 (2)报备电话:${item.customer_phone}
 (3)报备渠道:${item.report_dept}(${this.tdtObj[item.deal_type]})
@@ -258,6 +262,9 @@ export default {
 			&.t3 {
 				background: #795548;
 			}
+			&.t4 {
+				background: #ccc;
+			}
 			.r {
 				position: absolute;
 				top: 0;

+ 11 - 1
pages/user/setting/setting.vue

@@ -61,7 +61,7 @@
 			</view>
 			<!-- #endif -->
 			
-			<view v-if="userInfo2.roles == 1 || userInfo2.roles == 5 || userInfo2.roles == 7" class="menu-item" @click="pageTo('/pages/estate/libPre')">
+			<view v-if="userInfo2.roles == 1 || userInfo2.roles == 5 || userInfo2.roles == 7 || userInfo2.roles == 10 || userInfo2.roles == 11" class="menu-item" @click="pageTo('/pages/estate/libPre')">
 				<view class="menu-title-wrap">
 					<view class="title">
 						<u-icon class="u-m-r-10" name="/static/icon/notebook.png" size="36"></u-icon>
@@ -71,6 +71,16 @@
 				<u-icon name="arrow-right" size="24" labelPos="left"></u-icon>
 			</view>
 			
+			<view v-if="userInfo2.roles == 1 || userInfo2.roles == 5 || userInfo2.roles == 7 || userInfo2.roles == 10 || userInfo2.roles == 11" class="menu-item" @click="pageTo('/pages/shop/map')">
+				<view class="menu-title-wrap">
+					<view class="title">
+						<u-icon class="u-m-r-10" name="/static/icon/notebook.png" size="36"></u-icon>
+						门店渠道地图
+					</view>
+				</view>
+				<u-icon name="arrow-right" size="24" labelPos="left"></u-icon>
+			</view>
+			
 		</view>
 		<view class="menu-list-wrap box-shadow">
 			<view class="menu-item" @click="pageTo('/pages/index/web?url=https://h5.fangpiaovip.com')">

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

@@ -38,7 +38,8 @@
     "pages/trade/create",
     "pages/trade/record",
     "pages/trade/check",
-    "pages/trade/recordedit"
+    "pages/trade/recordedit",
+    "pages/shop/map"
   ],
   "subPackages": [],
   "window": {

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


+ 2 - 2
unpackage/dist/build/mp-weixin/components/back-top/back-top.json

@@ -1,4 +1,4 @@
 {
-  "usingComponents": {},
-  "component": true
+  "component": true,
+  "usingComponents": {}
 }

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


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


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


+ 5 - 0
unpackage/dist/build/mp-weixin/pages/shop/map.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "门店地图",
+  "enablePullDownRefresh": false,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/shop/map.wxml

@@ -0,0 +1 @@
+<view class="scoped-box"><view class="scoped-select"><block wx:for="{{sbArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['brandHandle',['$0'],[[['sbArr','',index]]]]]]]}}" class="{{[curStoreBrand===item.val?'ss-op cur':'ss-op']}}" bindtap="__e">{{item.key}}</view></block></view><map class="sb-map" longitude="115.822386" latitude="28.624076" scale="12" markers="{{dataList}}" data-event-opts="{{[['callouttap',[['callouttapHandle',['$event']]]]]}}" bindcallouttap="__e"></map><block wx:if="{{curObj.manager_phone}}"><view class="scoped-bottom"><view class="p1">{{"门店:"+curObj.store_name+"["+curObj.clerk_num+"]"}}</view><view class="p1">{{"店长:"+curObj.store_manager+curObj.manager_phone+"["+(curObj.signing==1?'已签约':'未签约')+']'}}<view data-event-opts="{{[['tap',[['callHandle',['$event']]]]]}}" class="m" bindtap="__e">[打电话]</view></view><view class="p1">{{"地址:"+curObj.address}}</view></view></block></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/shop/map.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}.scoped-box{height:calc(100vh);position:relative}.scoped-box .sb-map{position:absolute;z-index:9;left:0;top:0;height:100%;width:100%}.scoped-box .scoped-bottom{position:fixed;background:#fff;z-index:10;left:0;bottom:0;height:150rpx;width:100%;padding:20rpx}.scoped-box .scoped-bottom .p1{color:#666;font-size:26rpx}.scoped-box .scoped-bottom .p1 .m{display:inline-block;color:#2d8cf0;font-weight:700}.scoped-select{position:relative;z-index:10;padding-top:20rpx;padding-left:20rpx;background:#fff}.scoped-select .ss-op{color:#666;background:#e1e1e1;border-radius:10rpx;padding:3rpx 10rpx;margin-right:20rpx;margin-bottom:20rpx;display:inline-block;cursor:pointer;-webkit-user-select:none;user-select:none}.scoped-select .ss-op.cur{color:#fff;background:#2d8cf0}

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


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


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


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


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


文件差异内容过多而无法显示
+ 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/createin.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/estate/lib.js.map


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


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/estate/list.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/shop/map.js.map


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


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


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


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


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/trade/recordedit.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-calendar/u-calendar.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 - 1
unpackage/dist/dev/mp-weixin/app.json

@@ -38,7 +38,8 @@
     "pages/trade/create",
     "pages/trade/record",
     "pages/trade/check",
-    "pages/trade/recordedit"
+    "pages/trade/recordedit",
+    "pages/shop/map"
   ],
   "subPackages": [],
   "window": {

+ 195 - 187
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -2741,7 +2741,7 @@ function initData(vueOptions, context) {
     try {
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
     } catch (e) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
       }
     }
@@ -9761,7 +9761,7 @@ function type(obj) {
 
 function flushCallbacks$1(vm) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
-        if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+        if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -9782,14 +9782,14 @@ function nextTick$1(vm, cb) {
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //2.nextTick 之前存在 render watcher
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:nextVueTick');
         }
         return nextTick(cb, vm)
     }else{
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance$1 = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
                 ']:nextMPTick');
@@ -9885,7 +9885,7 @@ var patch = function(oldVnode, vnode) {
     });
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     if (Object.keys(diffData).length) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
           ']差量更新',
           JSON.stringify(diffData));
@@ -12062,7 +12062,7 @@ exports.default = _default;
 
 /***/ }),
 
-/***/ 441:
+/***/ 449:
 /*!*************************************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
   \*************************************************************************************/
@@ -12077,8 +12077,8 @@ Object.defineProperty(exports, "__esModule", {
   value: true
 });
 exports.default = void 0;
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
-var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 443));
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
+var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 451));
 /**
  * html 解析器
  * @tutorial https://github.com/jin-yufeng/Parser
@@ -12652,7 +12652,72 @@ exports.default = _default;
 
 /***/ }),
 
-/***/ 442:
+/***/ 45:
+/*!***********************************************************************!*\
+  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFrom.js ***!
+  \***********************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 44));
+/**
+ * 时间戳转为多久之前
+ * @param String timestamp 时间戳
+ * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
+ * 如果为布尔值false,无论什么时间,都返回多久以前的格式
+ */
+function timeFrom() {
+  var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+  var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
+  // 如果为null,则格式化当前时间
+  if (!dateTime) dateTime = Number(new Date());
+  // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
+  if (dateTime.toString().length == 10) dateTime *= 1000;
+  var timestamp = +new Date(Number(dateTime));
+  var timer = (Number(new Date()) - timestamp) / 1000;
+  // 如果小于5分钟,则返回"刚刚",其他以此类推
+  var tips = '';
+  switch (true) {
+    case timer < 300:
+      tips = '刚刚';
+      break;
+    case timer >= 300 && timer < 3600:
+      tips = parseInt(timer / 60) + '分钟前';
+      break;
+    case timer >= 3600 && timer < 86400:
+      tips = parseInt(timer / 3600) + '小时前';
+      break;
+    case timer >= 86400 && timer < 2592000:
+      tips = parseInt(timer / 86400) + '天前';
+      break;
+    default:
+      // 如果format为false,则无论什么时间戳,都显示xx之前
+      if (format === false) {
+        if (timer >= 2592000 && timer < 365 * 86400) {
+          tips = parseInt(timer / (86400 * 30)) + '个月前';
+        } else {
+          tips = parseInt(timer / (86400 * 365)) + '年前';
+        }
+      } else {
+        tips = (0, _timeFormat.default)(timestamp, format);
+      }
+  }
+  return tips;
+}
+var _default = timeFrom;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 450:
 /*!*******************************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/config.js ***!
   \*******************************************************************************/
@@ -12742,7 +12807,7 @@ exports.default = _default;
 
 /***/ }),
 
-/***/ 443:
+/***/ 451:
 /*!***********************************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/CssHandler.js ***!
   \***********************************************************************************/
@@ -12757,7 +12822,7 @@ Object.defineProperty(exports, "__esModule", {
   value: true
 });
 exports.default = void 0;
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
 var isLetter = function isLetter(c) {
   return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
 };
@@ -12857,71 +12922,6 @@ parser.prototype.Content = function () {
 
 /***/ }),
 
-/***/ 45:
-/*!***********************************************************************!*\
-  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFrom.js ***!
-  \***********************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 44));
-/**
- * 时间戳转为多久之前
- * @param String timestamp 时间戳
- * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
- * 如果为布尔值false,无论什么时间,都返回多久以前的格式
- */
-function timeFrom() {
-  var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
-  // 如果为null,则格式化当前时间
-  if (!dateTime) dateTime = Number(new Date());
-  // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
-  if (dateTime.toString().length == 10) dateTime *= 1000;
-  var timestamp = +new Date(Number(dateTime));
-  var timer = (Number(new Date()) - timestamp) / 1000;
-  // 如果小于5分钟,则返回"刚刚",其他以此类推
-  var tips = '';
-  switch (true) {
-    case timer < 300:
-      tips = '刚刚';
-      break;
-    case timer >= 300 && timer < 3600:
-      tips = parseInt(timer / 60) + '分钟前';
-      break;
-    case timer >= 3600 && timer < 86400:
-      tips = parseInt(timer / 3600) + '小时前';
-      break;
-    case timer >= 86400 && timer < 2592000:
-      tips = parseInt(timer / 86400) + '天前';
-      break;
-    default:
-      // 如果format为false,则无论什么时间戳,都显示xx之前
-      if (format === false) {
-        if (timer >= 2592000 && timer < 365 * 86400) {
-          tips = parseInt(timer / (86400 * 30)) + '个月前';
-        } else {
-          tips = parseInt(timer / (86400 * 365)) + '年前';
-        }
-      } else {
-        tips = (0, _timeFormat.default)(timestamp, format);
-      }
-  }
-  return tips;
-}
-var _default = timeFrom;
-exports.default = _default;
-
-/***/ }),
-
 /***/ 46:
 /*!****************************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/colorGradient.js ***!
@@ -13137,7 +13137,56 @@ exports.default = _default;
 
 /***/ }),
 
-/***/ 479:
+/***/ 48:
+/*!********************************************************************!*\
+  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
+  \********************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
+// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
+var color = {
+  primary: "#2979ff",
+  primaryDark: "#2b85e4",
+  primaryDisabled: "#a0cfff",
+  primaryLight: "#ecf5ff",
+  bgColor: "#f3f4f6",
+  info: "#909399",
+  infoDark: "#82848a",
+  infoDisabled: "#c8c9cc",
+  infoLight: "#f4f4f5",
+  warning: "#ff9900",
+  warningDark: "#f29100",
+  warningDisabled: "#fcbd71",
+  warningLight: "#fdf6ec",
+  error: "#fa3534",
+  errorDark: "#dd6161",
+  errorDisabled: "#fab6b6",
+  errorLight: "#fef0f0",
+  success: "#19be6b",
+  successDark: "#18b566",
+  successDisabled: "#71d5a1",
+  successLight: "#dbf1e1",
+  mainColor: "#303133",
+  contentColor: "#606266",
+  tipsColor: "#909399",
+  lightColor: "#c0c4cc",
+  borderColor: "#e4e7ed"
+};
+var _default = color;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 487:
 /*!******************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/emitter.js ***!
   \******************************************************************/
@@ -13208,56 +13257,7 @@ exports.default = _default;
 
 /***/ }),
 
-/***/ 48:
-/*!********************************************************************!*\
-  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
-  \********************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
-// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
-var color = {
-  primary: "#2979ff",
-  primaryDark: "#2b85e4",
-  primaryDisabled: "#a0cfff",
-  primaryLight: "#ecf5ff",
-  bgColor: "#f3f4f6",
-  info: "#909399",
-  infoDark: "#82848a",
-  infoDisabled: "#c8c9cc",
-  infoLight: "#f4f4f5",
-  warning: "#ff9900",
-  warningDark: "#f29100",
-  warningDisabled: "#fcbd71",
-  warningLight: "#fdf6ec",
-  error: "#fa3534",
-  errorDark: "#dd6161",
-  errorDisabled: "#fab6b6",
-  errorLight: "#fef0f0",
-  success: "#19be6b",
-  successDark: "#18b566",
-  successDisabled: "#71d5a1",
-  successLight: "#dbf1e1",
-  mainColor: "#303133",
-  contentColor: "#606266",
-  tipsColor: "#909399",
-  lightColor: "#c0c4cc",
-  borderColor: "#e4e7ed"
-};
-var _default = color;
-exports.default = _default;
-
-/***/ }),
-
-/***/ 480:
+/***/ 488:
 /*!**************************************************************************!*\
   !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/async-validator.js ***!
   \**************************************************************************/
@@ -13292,7 +13292,7 @@ function _extends() {
 var formatRegExp = /%[sdj%]/g;
 var warning = function warning() {}; // don't print warning message when in production env or node runtime
 
-if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
+if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
   warning = function warning(type, errors) {
     if (typeof console !== 'undefined' && console.warn) {
       if (errors.every(function (e) {
@@ -14435,11 +14435,11 @@ Schema.warning = warning;
 Schema.messages = messages;
 var _default = Schema;
 exports.default = _default;
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 481)))
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 489)))
 
 /***/ }),
 
-/***/ 481:
+/***/ 489:
 /*!********************************************************!*\
   !*** ./node_modules/node-libs-browser/mock/process.js ***!
   \********************************************************/
@@ -14470,7 +14470,7 @@ exports.binding = function (name) {
     var path;
     exports.cwd = function () { return cwd };
     exports.chdir = function (dir) {
-        if (!path) path = __webpack_require__(/*! path */ 482);
+        if (!path) path = __webpack_require__(/*! path */ 490);
         cwd = path.resolve(dir, cwd);
     };
 })();
@@ -14484,7 +14484,61 @@ exports.features = {};
 
 /***/ }),
 
-/***/ 482:
+/***/ 49:
+/*!************************************************************************!*\
+  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/type2icon.js ***!
+  \************************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+/**
+ * 根据主题type值,获取对应的图标
+ * @param String type 主题名称,primary|info|error|warning|success
+ * @param String fill 是否使用fill填充实体的图标  
+ */
+function type2icon() {
+  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
+  var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
+  // 如果非预置值,默认为success
+  if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
+  var iconName = '';
+  // 目前(2019-12-12),info和primary使用同一个图标
+  switch (type) {
+    case 'primary':
+      iconName = 'info-circle';
+      break;
+    case 'info':
+      iconName = 'info-circle';
+      break;
+    case 'error':
+      iconName = 'close-circle';
+      break;
+    case 'warning':
+      iconName = 'error-circle';
+      break;
+    case 'success':
+      iconName = 'checkmark-circle';
+      break;
+    default:
+      iconName = 'checkmark-circle';
+  }
+  // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
+  if (fill) iconName += '-fill';
+  return iconName;
+}
+var _default = type2icon;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 490:
 /*!***********************************************!*\
   !*** ./node_modules/path-browserify/index.js ***!
   \***********************************************/
@@ -14794,61 +14848,7 @@ var substr = 'ab'.substr(-1) === 'b'
     }
 ;
 
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 481)))
-
-/***/ }),
-
-/***/ 49:
-/*!************************************************************************!*\
-  !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/type2icon.js ***!
-  \************************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-/**
- * 根据主题type值,获取对应的图标
- * @param String type 主题名称,primary|info|error|warning|success
- * @param String fill 是否使用fill填充实体的图标  
- */
-function type2icon() {
-  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
-  var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-  // 如果非预置值,默认为success
-  if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
-  var iconName = '';
-  // 目前(2019-12-12),info和primary使用同一个图标
-  switch (type) {
-    case 'primary':
-      iconName = 'info-circle';
-      break;
-    case 'info':
-      iconName = 'info-circle';
-      break;
-    case 'error':
-      iconName = 'close-circle';
-      break;
-    case 'warning':
-      iconName = 'error-circle';
-      break;
-    case 'success':
-      iconName = 'checkmark-circle';
-      break;
-    default:
-      iconName = 'checkmark-circle';
-  }
-  // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
-  if (fill) iconName += '-fill';
-  return iconName;
-}
-var _default = type2icon;
-exports.default = _default;
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 489)))
 
 /***/ }),
 
@@ -15877,6 +15877,14 @@ var _default = {
   apiestatelibdetail: function apiestatelibdetail(params) {
     // 内部 各楼盘各平台佣金汇集 详情
     return (0, _http.request)('api/estate/lib/detail', params, 'loading');
+  },
+  apideptstorelist: function apideptstorelist(params) {
+    // 渠道门店所有列表
+    return (0, _http.request)('api/dept/store/list', params, 'loading');
+  },
+  apideptstorecount: function apideptstorecount(params) {
+    // 渠道门店 品牌统计
+    return (0, _http.request)('api/dept/store/count', params, 'loading');
   }
 };
 exports.default = _default;

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


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


+ 54 - 50
unpackage/dist/dev/mp-weixin/pages/agent/recommend/check.js

@@ -101,28 +101,28 @@ var components
 try {
   components = {
     uForm: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-form/u-form */ "uni_modules/vk-uview-ui/components/u-form/u-form").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form/u-form.vue */ 467))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-form/u-form */ "uni_modules/vk-uview-ui/components/u-form/u-form").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form/u-form.vue */ 475))
     },
     uFormItem: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.vue */ 474))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.vue */ 482))
     },
     uInput: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-input/u-input.vue */ 485))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-input/u-input.vue */ 493))
     },
     uRadioGroup: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.vue */ 506))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.vue */ 514))
     },
     uRadio: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-radio/u-radio */ "uni_modules/vk-uview-ui/components/u-radio/u-radio").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio/u-radio.vue */ 513))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-radio/u-radio */ "uni_modules/vk-uview-ui/components/u-radio/u-radio").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio/u-radio.vue */ 521))
     },
     uIcon: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-icon/u-icon */ "uni_modules/vk-uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue */ 401))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-icon/u-icon */ "uni_modules/vk-uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue */ 409))
     },
     uGap: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-gap/u-gap */ "uni_modules/vk-uview-ui/components/u-gap/u-gap").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-gap/u-gap.vue */ 492))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-gap/u-gap */ "uni_modules/vk-uview-ui/components/u-gap/u-gap").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-gap/u-gap.vue */ 500))
     },
     uButton: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-button/u-button */ "uni_modules/vk-uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-button/u-button.vue */ 394))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-button/u-button */ "uni_modules/vk-uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-button/u-button.vue */ 402))
     },
   }
 } catch (e) {
@@ -309,54 +309,58 @@ var _default = {
       });
     },
     submitHandle: function submitHandle() {
-      // let cPhone = ''
-      // if (this.oldPhone.indexOf('****') > -1) {
-      // 	if (this.b4 && this.b4.length === 4) {
-      // 		cPhone = this.oldPhone.replace('****', this.b4)
-      // 	} else {
-      // 		uni.$msg('请输入前三后四的中间四位')
-      // 		return
-      // 	}
-      // }
-      var remark = this.form.remark || '';
-      if (remark === '其他原因') {
-        remark = this.otherRemark;
-      }
-      if (this.form.report_state == 1) {
-        if (this.eId != 2) {
-          if (!this.form.report_code) {
-            uni.$msg('非江投项目,请上传报备二维码~');
+      var that = this;
+      uni.api.estate.apiestatedetail({
+        id: that.eId
+      }).then(function (dtl) {
+        var remark = that.form.remark || '';
+        if (remark === '其他原因') {
+          remark = that.otherRemark;
+        }
+        if (that.form.report_state == 1) {
+          if (dtl.is_only == 2) {
+            if (!that.form.report_code) {
+              uni.$msg('非独家项目,请上传报备二维码~');
+              return;
+            }
+          }
+        } else {
+          if (!remark) {
+            uni.$msg('报备无效请备注原因');
             return;
           }
         }
-      } else {
-        if (!remark) {
-          uni.$msg('报备无效请备注原因');
-          return;
-        }
-      }
-      var that = this;
-      this.$refs.uForm.validate(function (valid) {
-        if (valid) {
-          var params = _objectSpread(_objectSpread({}, that.form), {}, {
-            id: that.curId,
-            report_at: that.getTime(),
-            remark: remark
-          });
-          // if (cPhone) params.phone = cPhone
-          uni.api.cust.apireportverify(params).then(function (res) {
-            uni.$msgConfirm('编辑成功', function () {
-              uni.reLaunch({
-                url: '/pages/agent/recommend/list'
-              });
-            }, function () {
-              uni.reLaunch({
-                url: '/pages/agent/recommend/list'
+        that.$refs.uForm.validate(function (valid) {
+          if (valid) {
+            var params = _objectSpread(_objectSpread({}, that.form), {}, {
+              id: that.curId,
+              report_at: that.getTime(),
+              remark: remark
+            });
+            // if (cPhone) params.phone = cPhone
+            uni.api.cust.apireportverify(params).then(function (res) {
+              uni.$msgConfirm('编辑成功', function () {
+                uni.reLaunch({
+                  url: '/pages/agent/recommend/list'
+                });
+              }, function () {
+                uni.reLaunch({
+                  url: '/pages/agent/recommend/list'
+                });
               });
             });
-          });
-        }
+          }
+        });
       });
+      // let cPhone = ''
+      // if (that.oldPhone.indexOf('****') > -1) {
+      // 	if (that.b4 && that.b4.length === 4) {
+      // 		cPhone = that.oldPhone.replace('****', that.b4)
+      // 	} else {
+      // 		uni.$msg('请输入前三后四的中间四位')
+      // 		return
+      // 	}
+      // }
     },
     // 以下是工具函数
     // 格式化日期的月份或天数的显示(小于10,在前面增加0)

+ 12 - 12
unpackage/dist/dev/mp-weixin/pages/agent/recommend/create.js

@@ -101,40 +101,40 @@ var components
 try {
   components = {
     uForm: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-form/u-form */ "uni_modules/vk-uview-ui/components/u-form/u-form").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form/u-form.vue */ 467))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-form/u-form */ "uni_modules/vk-uview-ui/components/u-form/u-form").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form/u-form.vue */ 475))
     },
     uFormItem: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.vue */ 474))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-form-item/u-form-item.vue */ 482))
     },
     uInput: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-input/u-input.vue */ 485))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-input/u-input.vue */ 493))
     },
     uRadioGroup: function () {
-      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.vue */ 506))
+      return Promise.all(/*! import() | uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.vue */ 514))
     },
     uRadio: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-radio/u-radio */ "uni_modules/vk-uview-ui/components/u-radio/u-radio").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio/u-radio.vue */ 513))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-radio/u-radio */ "uni_modules/vk-uview-ui/components/u-radio/u-radio").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-radio/u-radio.vue */ 521))
     },
     uGap: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-gap/u-gap */ "uni_modules/vk-uview-ui/components/u-gap/u-gap").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-gap/u-gap.vue */ 492))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-gap/u-gap */ "uni_modules/vk-uview-ui/components/u-gap/u-gap").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-gap/u-gap.vue */ 500))
     },
     uButton: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-button/u-button */ "uni_modules/vk-uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-button/u-button.vue */ 394))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-button/u-button */ "uni_modules/vk-uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-button/u-button.vue */ 402))
     },
     uSelect: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-select/u-select */ "uni_modules/vk-uview-ui/components/u-select/u-select").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-select/u-select.vue */ 520))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-select/u-select */ "uni_modules/vk-uview-ui/components/u-select/u-select").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-select/u-select.vue */ 528))
     },
     uModal: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-modal/u-modal */ "uni_modules/vk-uview-ui/components/u-modal/u-modal").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-modal/u-modal.vue */ 499))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-modal/u-modal */ "uni_modules/vk-uview-ui/components/u-modal/u-modal").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-modal/u-modal.vue */ 507))
     },
     uToast: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-toast/u-toast */ "uni_modules/vk-uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-toast/u-toast.vue */ 527))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-toast/u-toast */ "uni_modules/vk-uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-toast/u-toast.vue */ 535))
     },
     uPopup: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-popup/u-popup */ "uni_modules/vk-uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-popup/u-popup.vue */ 429))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-popup/u-popup */ "uni_modules/vk-uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-popup/u-popup.vue */ 437))
     },
     uTag: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-tag/u-tag */ "uni_modules/vk-uview-ui/components/u-tag/u-tag").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-tag/u-tag.vue */ 534))
+      return __webpack_require__.e(/*! import() | uni_modules/vk-uview-ui/components/u-tag/u-tag */ "uni_modules/vk-uview-ui/components/u-tag/u-tag").then(__webpack_require__.bind(null, /*! @/uni_modules/vk-uview-ui/components/u-tag/u-tag.vue */ 542))
     },
   }
 } catch (e) {

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