Commit 5e8bf88e by cen

Merge branch 'SAAS+V5.0.0-1014' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.0.0-1014

2 parents 662f9b53 ede96c73
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
<div class="button-module flex"> <div class="button-module flex">
<view class="common-btn" @click.stop="handleClick('details')">详情</view> <view class="common-btn" @click.stop="handleClick('details')">详情</view>
<view v-if="!subStatus && status != 100" class="common-btn ml-24" @click.stop="handleClick('edit')">编辑</view> <view v-if="!subStatus && status != 100" class="common-btn ml-24" @click.stop="handleClick('edit')">编辑</view>
<view v-if="status == 20 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('requote')">重新报价</view> <view v-if="status == 20 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('requote','app_evaluate_requote')">重新报价</view>
<view v-if="status == 20 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('sign')">客户签约</view> <view v-if="status == 20 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('sign','app_evaluate_sign')">客户签约</view>
<view v-if="status == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click.stop="handleClick('signing')">签约中</view> <view v-if="status == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click.stop="handleClick('signing')">签约中</view>
<view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('cancelSign')">取消签约</view> <view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('cancelSign','app_evaluate_cancel_sign')">取消签约</view>
<view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payDeposit')">支付定金</view> <view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payDeposit','app_evaluate_pay_deposit')">支付定金</view>
<view v-if="status == 30 && !subStatus && paymentType == 2" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull')">支付全款</view> <view v-if="status == 30 && !subStatus && paymentType == 2" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull','app_evaluate_pay_full')">支付全款</view>
<view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click.stop="handleClick('paying')">支付中</view> <view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click.stop="handleClick('paying')">支付中</view>
<view v-if="status == 40 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull')">支付尾款</view> <view v-if="status == 40 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull','app_evaluate_pay_final')">支付尾款</view>
<view v-if="status == 50 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('confirmDelivery')">确认交车</view> <view v-if="status == 50 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('confirmDelivery','app_evaluate_confirm_delivery')">确认交车</view>
<view v-if="status == '-1'" class="common-btn blue-btn ml-24" @click.stop="handleClick('reSubmit')">重新提交</view> <view v-if="status == '-1'" class="common-btn blue-btn ml-24" @click.stop="handleClick('reSubmit','app_evaluate_re_submit')">重新提交</view>
</div> </div>
</template> </template>
...@@ -38,10 +38,13 @@ export default { ...@@ -38,10 +38,13 @@ export default {
} }
}, },
methods: { methods: {
handleClick(buttonType) { handleClick(buttonType ,eventCode) {
this.$emit('button-click', { this.$emit('button-click', {
type: buttonType type: buttonType
}) })
if(eventCode) uni.$track.add({
eventCode
}) //点击埋点
} }
} }
} }
......
...@@ -374,10 +374,10 @@ export default { ...@@ -374,10 +374,10 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
color: #999999; color: #999999;
font-size: 24rpx; font-size: toRpx(24);
.icon { .icon {
width: 344rpx; width: toRpx(344);
height: 236rpx; height: toRpx(236);
} }
} }
.box { .box {
...@@ -418,11 +418,14 @@ export default { ...@@ -418,11 +418,14 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
justify-content: flex-end; justify-content: flex-end;
font-size: toRpx(28);
.unit { .unit {
margin-left: 16rpx;
margin-left: toRpx(16);
} }
.input, .input,
.picker { .picker {
font-size: toRpx(28);
width: 100%; width: 100%;
height: 100%; height: 100%;
text-align: right; text-align: right;
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<NoticePopup <NoticePopup
ref="notice" ref="notice"
title="重要提示" title="重要提示"
text="当前页面暂未保存,是否确认退出" text="内容尚未提交,是否退出编辑?"
type="warning" type="warning"
></NoticePopup> ></NoticePopup>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!