修改我已知晓的顺序
This commit is contained in:
parent
7231bd1d01
commit
744ac0cc11
@ -626,9 +626,7 @@
|
|||||||
// 页面A设置参数
|
// 页面A设置参数
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
app.globalData.applyInfo = applyInfo
|
app.globalData.applyInfo = applyInfo
|
||||||
uni.navigateTo({
|
this.readShow=true
|
||||||
url: `/pages/sign/sign?isSelfStudy=${this.isSelfStudy}`
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
if (this.applyType === 2) {
|
if (this.applyType === 2) {
|
||||||
if (!this.stampUrl) return uni.showToast({
|
if (!this.stampUrl) return uni.showToast({
|
||||||
@ -659,6 +657,11 @@
|
|||||||
},
|
},
|
||||||
async postApply(){
|
async postApply(){
|
||||||
this.readShow=false
|
this.readShow=false
|
||||||
|
if(this.applyType===1){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/sign/sign?isSelfStudy=${this.isSelfStudy}`
|
||||||
|
})
|
||||||
|
}else{
|
||||||
// 这里可以添加实际的API调用
|
// 这里可以添加实际的API调用
|
||||||
const res = await post('/api/v1/app_auth/metting-room/order/register', this.applyInfo)
|
const res = await post('/api/v1/app_auth/metting-room/order/register', this.applyInfo)
|
||||||
if (!res || !res.success) {
|
if (!res || !res.success) {
|
||||||
@ -676,6 +679,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -31,17 +31,17 @@
|
|||||||
<!-- <button @click="saveCanvasAsImg" class="saveBtn">保存</button> -->
|
<!-- <button @click="saveCanvasAsImg" class="saveBtn">保存</button> -->
|
||||||
<!-- <button @click="previewCanvasImg" class="previewBtn">预览</button> -->
|
<!-- <button @click="previewCanvasImg" class="previewBtn">预览</button> -->
|
||||||
<button @click="undo" class="undoBtn">撤销</button>
|
<button @click="undo" class="undoBtn">撤销</button>
|
||||||
<button @click="readShow=true" class="subBtn">完成</button>
|
<button class="subBtn" @click="postApply">完成</button>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<pickerColor :isShow="showPickerColor" :bottom="0" @callback='getPickerColor' />
|
<pickerColor :isShow="showPickerColor" :bottom="0" @callback='getPickerColor' />
|
||||||
<u-popup :show="readShow" mode="bottom" :round="10">
|
<!-- <u-popup :show="readShow" mode="bottom" :round="10">
|
||||||
<instructionVue @change='readChange' />
|
<instructionVue @change='readChange' />
|
||||||
<u-button type="primary" text="我已知晓" :disabled="hasReaded" @click="postApply"></u-button>
|
<u-button type="primary" text="我已知晓" :disabled="hasReaded" @click="postApply"></u-button>
|
||||||
</u-popup>
|
</u-popup> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user