Browse Source

必选楼盘

Baozhangchao 3 years ago
parent
commit
0355f0b3b1

+ 2
- 2
config/dev.js View File

7
     // HOST: '"https://www.newhousehold.cn"',
7
     // HOST: '"https://www.newhousehold.cn"',
8
     HOST: '"http://192.168.89.147:8081"',
8
     HOST: '"http://192.168.89.147:8081"',
9
 
9
 
10
-    WSS_HOST: '"wss://www.newhousehold.cn"',
11
-    // WSS_HOST: '"wss://xlk.njyz.tech"',
10
+    // WSS_HOST: '"wss://www.newhousehold.cn"',
11
+    WSS_HOST: '"wss://xlk.njyz.tech"',
12
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
12
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
13
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
13
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
14
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
14
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',

+ 1
- 1
src/pages/mine/addCustomer/components/BuildingPicker.jsx View File

7
 
7
 
8
 export default (props) => {
8
 export default (props) => {
9
 
9
 
10
-  const { type = '', change = () => {} } = props
10
+  const { type = '', change = () => { } } = props
11
   const city = useSelector(state => state.city)
11
   const city = useSelector(state => state.city)
12
   const [dicts, setDicts] = useState([])
12
   const [dicts, setDicts] = useState([])
13
 
13
 

+ 1
- 1
src/pages/mine/addCustomer/index.jsx View File

63
       Taro.showToast({ title: '请填写正确的客户电话', icon: 'none' })
63
       Taro.showToast({ title: '请填写正确的客户电话', icon: 'none' })
64
       return false
64
       return false
65
     }
65
     }
66
-    if (buildingId === null && personType !== ROLE_CODE.CUSTOMER) {
66
+    if (buildingId === null || personType !== ROLE_CODE.CUSTOMER) {
67
       Taro.showToast({ title: '请选择客户的意向楼盘', icon: 'none' })
67
       Taro.showToast({ title: '请选择客户的意向楼盘', icon: 'none' })
68
       return false
68
       return false
69
     }
69
     }