task#11186,调度app数量样式优化

This commit is contained in:
2024-02-22 14:09:01 +08:00
parent 3d629e3c16
commit 15a22e2ca2
2 changed files with 37 additions and 13 deletions

View File

@ -82,14 +82,25 @@
:src="props.checked ? activeIcon : inactiveIcon"
>
</van-radio>
<van-radio :name="2" class="item">
{{detailInfo.secondAudit? '报销失败' : '不通过'}}
<img
slot="icon"
slot-scope="props"
:src="props.checked ? activeIcon : inactiveIcon"
>
</van-radio>
<template v-if="detailInfo.secondAudit">
<van-radio :name="3" style="margin-right: 26px" class="item">报销失败
<img
slot="icon"
slot-scope="props"
:src="props.checked ? activeIcon : inactiveIcon"
>
</van-radio>
</template>
<template v-else>
<van-radio :name="2" style="margin-right: 26px" class="item">
不通过
<img
slot="icon"
slot-scope="props"
:src="props.checked ? activeIcon : inactiveIcon"
>
</van-radio>
</template>
</van-radio-group>
</div>
</div>
@ -100,7 +111,8 @@
<span>不通过原因</span>
</div>
</div>
<select id="mySelect" class="mySelect" v-model="other" >
<select id="mySelect" class="mySelect" v-model="other" >
<option value="" disabled selected hidden>请选择</option>
<option value="缺失凭证照片">缺失凭证照片</option>
<option value="申请金额与凭证不一致">申请金额与凭证不一致</option>
<option value="非正常产生路桥费">非正常产生路桥费</option>
@ -148,6 +160,7 @@ export default {
},
created() {
this.id = this.$route.params.id;
// this.id=27
this.activeIndex=this.$route.params.index;
this.batchCode=this.$route.params.batchCode
console.log(" this.batchCode", this.batchCode,this.activeIndex)
@ -260,14 +273,19 @@ export default {
this.$toast('审核不通过原因是其他时审核原因必填')
return
}
await reimburseOrderAudit({
let res = await reimburseOrderAudit({
id:this.id,
state:this.state,
auditRemark:this.other=='其他' ? this.other+ '/' + this.otherReason : this.other,
})
// console.log("ressssss",res)
if(res.code == 200){
this.$toast("提交成功")
}else{
this.$toast(res.msg)
}
},
isUse(e){
console.log("eeee",e)
this.states=e
if(this.states == 1){
this.state=2

View File

@ -149,13 +149,19 @@ export default {
.alpha{
opacity: 0.5;
}
//为一个数时,宽为
.numTip{
display: inline-block;
@include wh(15px,15px);
min-width: 15px;
//height: 15px;
@include all-height(15px);
//box-sizing: border-box;
//padding: 0px 2px;
//@include wh(15px,15px);
@include bgcolorOpa(#F95B45,0.9);
border-radius: 4px;
text-align: center;
line-height: 15px;
//line-height: 15px;
margin-left: 5px;
opacity: 1; /* 保持透明度为1 */
}