意向改变高意向
This commit is contained in:
parent
e4944e7502
commit
ced716d079
|
|
@ -230,7 +230,7 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 客户状态(组件使用的是 value)
|
// 客户状态(组件使用的是 value)
|
||||||
const defaultStatusLabel = '意向';
|
const defaultStatusLabel = '高意向';
|
||||||
if (!formData.value.customerStatus) {
|
if (!formData.value.customerStatus) {
|
||||||
const status = customerStatusOptions.value.find(opt => opt.label === defaultStatusLabel);
|
const status = customerStatusOptions.value.find(opt => opt.label === defaultStatusLabel);
|
||||||
if (status) {
|
if (status) {
|
||||||
|
|
|
||||||
|
|
@ -441,10 +441,10 @@ onShow(() => {
|
||||||
.summary-row {
|
.summary-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.summary-item {
|
.summary-item {
|
||||||
|
|
|
||||||
|
|
@ -335,7 +335,7 @@ const loadDictData = async () => {
|
||||||
statusOptions.value = statusRes|| [];
|
statusOptions.value = statusRes|| [];
|
||||||
// 默认客户状态:意向(按 dictLabel 匹配,写入 dictValue)
|
// 默认客户状态:意向(按 dictLabel 匹配,写入 dictValue)
|
||||||
if (!formData.value.customerStatus) {
|
if (!formData.value.customerStatus) {
|
||||||
const statusDefault = statusOptions.value.find(item => item.dictLabel === '意向');
|
const statusDefault = statusOptions.value.find(item => item.dictLabel === '高意向');
|
||||||
if (statusDefault) {
|
if (statusDefault) {
|
||||||
formData.value.customerStatus = statusDefault.dictValue;
|
formData.value.customerStatus = statusDefault.dictValue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ export const Request = () => {
|
||||||
uni.$uv.http.setConfig((config) => {
|
uni.$uv.http.setConfig((config) => {
|
||||||
/* config 为默认全局配置*/
|
/* config 为默认全局配置*/
|
||||||
config.baseURL = 'http://192.168.1.5:4001'; /* 根域名 */
|
config.baseURL = 'http://192.168.1.5:4001'; /* 根域名 */
|
||||||
// config.baseURL = 'https://pm.ccttiot.com/prod-api'; /* 根域名 */
|
config.baseURL = 'https://pm.ccttiot.com/prod-api'; /* 根域名 */
|
||||||
return config
|
return config
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user