提交 5aedf407 编写于 作者: liangliang.yu's avatar liangliang.yu

feat: point data report

上级 d069d0ba
#!/bin/bash
hasGit=`which git` # 判断是否存在git
msg=${1:-'auto commit'} # 获取终端输入的第一个参数,若为空则为auto commit
originBranch='origin/develop'
originBranch='origin/release'
if [ ! $hasGit ];then
echo 'Please download git first!';
exit 1;
......
......@@ -265,6 +265,7 @@ export default {
verificationCode: '',
intervalId: null,
status: '',
allowChangeTimes: 0,
bindFlag:1, // 是否显示绑定条形码的按钮
};
},
......@@ -276,6 +277,11 @@ export default {
this.detailInfo.hospitalRemarks !== ''
);
},
canReappoint() {
return (
this.detailInfo.detectionKind == 1 && this.detailInfo.allowChangeTimes > 0
);
}
},
created() {
......@@ -338,6 +344,7 @@ export default {
sampleCode,
externalOrderNo,
projectEquityNo,
allowChangeTimes,
bindFlag,
} = res.data;
this.detailInfo = res.data;
......@@ -345,6 +352,7 @@ export default {
this.isUnderLine = res.data.detectionCategory == 2;
this.qrcodeUrl = qrCodeUrl;
this.verificationCode = verificationCode;
this.allowChangeTimes = allowChangeTimes;
this.bindFlag = bindFlag; // 是否展示绑定条形码功能
if (window._miniprogram) {
if (status != '0202') {
......@@ -412,11 +420,11 @@ export default {
component_tag: '7802855#0#0#重新预约',
web_data: { yunOrderNo: this.yunOrderNo },
});
const { detectionKind } = this.insuranceInfo;
console.log('detectionKind--', detectionKind);
if (window._miniprogram) {
const u = this.canReappoint ? '/pagesInsurance/sz-insurance/appoint' : '/pagesInsurance/sz-insurance/screeningAppoint';
this.clear();
this.$rocNative.WXInstance.miniProgram.navigateTo({
url: `/pagesInsurance/sz-insurance/screeningAppoint?yunOrderNo=${that.yunOrderNo}&projectEquityNo=${this.projectEquityNo}`,
url: `${u}?allowChangeFlagType=offline&yunOrderNo=${that.yunOrderNo}&projectEquityNo=${this.projectEquityNo}`,
});
} else {
this.$router.push({
......@@ -534,6 +542,7 @@ export default {
});
if (window._miniprogram) {
const { detectionKind } = this.insuranceInfo;
this.clear();
this.$rocNative.WXInstance.miniProgram.navigateTo({
url: `/pages/health/binding-code/index?yunOrderNo=${this.yunOrderNo}&projectEquityNo=${this.projectEquityNo}&detectionRecordId=${detectionServiceRecordId}&pprotocolType=${pprotocolType}&channelSource=insurance_channel&detectionKind=${detectionKind}`,
});
......@@ -916,7 +925,6 @@ export default {
left: 16px;
right: 16px;
}
}
.insurance-detection {
background: #ffffff;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册