<view class="oderPage"> | <view class="oderPage"> | ||||
<view class="content"> | <view class="content"> | ||||
<image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image> | <image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image> | ||||
<view class="title"> | |||||
<view class="title" v-if="state.type=='2'"> | |||||
待审核 | 待审核 | ||||
</view> | </view> | ||||
<view class="title" v-else> | |||||
已完成 | |||||
</view> | |||||
<view class=""> | <view class=""> | ||||
请到【查询服务】的【业务审核查询】查看进度 | 请到【查询服务】的【业务审核查询】查看进度 | ||||
</view> | </view> | ||||
</template> | </template> | ||||
<script setup lang="ts"> | <script setup lang="ts"> | ||||
import { | |||||
onLoad | |||||
} from '@dcloudio/uni-app' | |||||
import { | |||||
reactive | |||||
} from "vue"; | |||||
const state = reactive({ | |||||
type: "1",//1已完成 有设备 2 待审核无设备 | |||||
}) | |||||
onLoad((option) => { | |||||
state.type = option.type | |||||
}) | |||||
const submit = () => { | const submit = () => { | ||||
let routes = getCurrentPages(); | let routes = getCurrentPages(); | ||||
uni.navigateBack({ | uni.navigateBack({ |
} else { | } else { | ||||
queryCardSignCancellation(2, 2, 0).then((item : any) => { | queryCardSignCancellation(2, 2, 0).then((item : any) => { | ||||
navTo("/subpackage/after-sale/ETC-log-off/log-off-result"); | |||||
navTo(`/subpackage/after-sale/ETC-log-off/log-off-result?type=2`); | |||||
}) | }) | ||||
} | } | ||||
}; | }; | ||||
if (data.orderStatus === 1) { | if (data.orderStatus === 1) { | ||||
instructAction(data) | instructAction(data) | ||||
} else { | } else { | ||||
navTo("/subpackage/after-sale/ETC-log-off/log-off-result"); | |||||
navTo(`/subpackage/after-sale/ETC-log-off/log-off-result?type=1`); | |||||
} | } | ||||
resolve(data); | resolve(data); | ||||
} else { | } else { |