Przeglądaj źródła

车牌颜色获取

yxb
DESKTOP-2IO5MST\huting 2 lat temu
rodzic
commit
199b511a98

+ 2
- 3
subpackage/applyCard/components/layout-numberplate-color.vue Wyświetl plik

@@ -48,9 +48,8 @@
{src:'bg-black',checkSrc:'icon-select-black',id:2,color:'#ffffff',title:'黑色'},
{src:'bg-white',checkSrc:'icon-select-white',id:3,color:'#000000',title:'白色'},
{src:'bg-white_blue',checkSrc:'icon-select-blue',id:6,color:'#000000',title:'蓝白渐变'},
{src:'bg-green',checkSrc:'icon-select-green',id:11,color:'rgb(0,255,0)',title:'绿色'},
{src:'bg-white_white',checkSrc:'icon-select-white',id:12,color:'rgb(255,0,0)',title:'红色'},
{src:'bg-green',checkSrc:'icon-select-green',id:11,color:'#ffffff',title:'绿色'},
{src:'bg-green',checkSrc:'icon-select-green',id:12,color:'#ffffff',title:'红色'},
]
})

+ 16
- 0
subpackage/applyCard/opening-account-people.vue Wyświetl plik

@@ -245,6 +245,7 @@
fileUpload,
register,
envs,
getUserMsg
} from "@/utils/network/api.js";

import {
@@ -470,6 +471,7 @@
state.isSign=option.isSign;
//state.fromOrder = option.fromOrder //是否来自订单-修改资料
getGlobalParam(); //全局配置数据
queryUserMsg(); //通过opneId查询用户信息
});
//监听页面滚动
@@ -594,6 +596,20 @@
}
}
// 通过opneId查询用户信息
const queryUserMsg=()=>{
const options = {
type: 2,
data: {
"openId":getItem('openId')
},
method: "POST",
showLoading: true,
};
request(getUserMsg, options).then((res) => {
console.log("通过opneId查询用户信息",stringToJson(res.bizContent))
})
}
</script>

<style lang="scss" scoped>

+ 1
- 0
subpackage/invoice/moreHighMsg/moreHighMsg.vue Wyświetl plik

@@ -79,6 +79,7 @@
.content{
background-color: #eef7f7;
overflow: hidden;
min-height: 100vh;
}
.item{
width: 95%;

+ 27
- 4
subpackage/orders/order-evaluate-product.vue Wyświetl plik

@@ -23,7 +23,12 @@
<form-image @backImg="backImgInterest($event)" @removeImg="removeImgInterest" :isUrl="false" style="width: 100%;" :retract="-15"></form-image>
</view>
</view>

<view class="uni-list" style='font-size:32rpx'>
<view class="uni-list-cell uni-list-cell-pd">
<view class="uni-list-cell-db">是否匿名</view>
<switch checked style="transform:scale(0.7)" @change="switchChange"/>
</view>
</view>
<view class="btn">
<submit-button @submit="publish" title="发布"></submit-button>
</view>
@@ -68,6 +73,7 @@
tagAllList:[],
orderId:"",
haveInterestsProduct:false, //是否有权益产品
isAnonymity:1, //是否匿名
})

/* 确认选择tag */
@@ -133,7 +139,8 @@
"score":state.product.score,
"pictureUrl":state.product.imageList.join(";"),
"message":'',
"suggestion":state.product.content
"suggestion":state.product.content,
"isAnonymity":state.isAnonymity
},
method: 'POST',
showLoading: true,
@@ -177,7 +184,8 @@
"score":state.interest.score,
"pictureUrl":state.interest.imageList.join(";"),
"message":'',
"suggestion":state.interest.content
"suggestion":state.interest.content,
"isAnonymity":state.isAnonymity
},
method: 'POST',
showLoading: true,
@@ -224,7 +232,15 @@
state.orderInfo = stringToJson(res.bizContent);
})
}
// 是否匿名
const switchChange=(e)=>{
console.log('switch1 发生 change 事件,携带值为', e.detail.value);
if(e.detail.value){
state.isAnonymity=1
}else{
state.isAnonymity=0
}
}
onLoad((option) => {
getOrderDetails(option.id);
state.orderId=option.orderId
@@ -356,4 +372,11 @@
.btn {
margin: 60rpx 40rpx 0rpx;
}
.uni-list-cell{
display: flex;
margin: 10rpx auto;
width: 90%;
justify-content: space-between;
align-items: center;
}
</style>

+ 12
- 4
subpackage/orders/order-evaluate-salesman.vue Wyświetl plik

@@ -53,7 +53,7 @@
</textarea>
</view>
</view>
<view class="uni-list">
<view class="uni-list" style='font-size:32rpx'>
<view class="uni-list-cell uni-list-cell-pd">
<view class="uni-list-cell-db">是否匿名</view>
<switch checked style="transform:scale(0.7)" @change="switchChange"/>
@@ -107,6 +107,7 @@
tagAllList:[],
orderId:'', //订单ID
id:'',
isAnonymity:1, //是否匿名 默认匿名
})
/* 确认选择tag 满意度 */
const confirmSelectTag1 = (selectTag) => {
@@ -168,7 +169,8 @@
"serviceType":"service",
"score":state.handle.score,
"message":tagListArr.toString(),
"suggestion":state.handle.content
"suggestion":state.handle.content,
"isAnonymity":state.isAnonymity
},
method: 'POST',
showLoading: true,
@@ -210,7 +212,8 @@
"serviceType":"staff",
"score":state.user.score,
"message":tagListArr.toString(),
"suggestion":state.user.content
"suggestion":state.user.content,
"isAnonymity":state.isAnonymity
},
method: 'POST',
showLoading: true,
@@ -273,7 +276,12 @@
}
// 是否匿名
const switchChange=(e)=>{
console.log('switch1 发生 change 事件,携带值为', e.detail.value)
console.log('switch1 发生 change 事件,携带值为', e.detail.value);
if(e.detail.value){
state.isAnonymity=1
}else{
state.isAnonymity=0
}
}
onLoad((option) => {
console.log("option",option)

+ 1
- 0
utils/network/api.js Wyświetl plik

@@ -206,3 +206,4 @@ export const satisfactionEvaluation="746b5e0375b8474eb3e133b8c79586d8" //满意
export const judageSalesman="35744a8e282a42ddbc63814303e9e441" //判断是否有业务员
export const judageQuanProduct="fe71273c1a394eaa999825afe7daa59b" //判断是否有权益产品
export const getGlobalParam="d0579171c82443cb9b243c113309119a" //全局配置
export const getUserMsg="c4a499a2a63042b9a2d4e88fc77d3fc0" //通过opneId查询用户信息

Ładowanie…
Anuluj
Zapisz