|
@@ -17,6 +17,42 @@ export const navToPage = (function () {
|
|
|
|
|
|
var userinfo = await getUserInfo()
|
|
|
|
|
|
+ if (url && userinfo.isGZSign && !['/pages/repairConfirmation'].find(item => !!~url.indexOf(item))) {
|
|
|
+ uni.showModal({
|
|
|
+ title: '温馨提示',
|
|
|
+ content: '广州未签支付确认书!',
|
|
|
+ cancelText: '取消',
|
|
|
+ confirmText: '去签署',
|
|
|
+ success: res => {
|
|
|
+ if (res.confirm) {
|
|
|
+ uni[goToType]({
|
|
|
+ url: webHref('/pages/repairConfirmation?type=gz'),
|
|
|
+ ...data
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ if (url && userinfo.isFsSign && !['/pages/repairConfirmation'].find(item => !!~url.indexOf(item))) {
|
|
|
+ uni.showModal({
|
|
|
+ title: '温馨提示',
|
|
|
+ content: '佛山未签支付确认书!',
|
|
|
+ cancelText: '取消',
|
|
|
+ confirmText: '去签署',
|
|
|
+ success: res => {
|
|
|
+ if (res.confirm) {
|
|
|
+ uni[goToType]({
|
|
|
+ url: webHref('/pages/repairConfirmation?type=fs'),
|
|
|
+ ...data
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
if (
|
|
|
url &&
|
|
|
![
|