提交 e9c0d54f authored 作者: 刘旭's avatar 刘旭

修改bug

上级 02d67aa2
......@@ -22,7 +22,7 @@ export const depositReservation = (data: any, isReject: boolean = false) => {
*/
export const verification = (Phone: any) =>
request(
"/LQKJ.K3.PeiXunSystem.WebApi.WebApiEditService.Verification,LQKJ.K3.PeiXunSystem.WebApi.common.kdsvc",
"/LQKJ.K3.FileSystem.WebApi.WebApiService.Verification,LQKJ.K3.FileSystem.WebApi.common.kdsvc",
"POST",
{ Phone }
);
......@@ -20,7 +20,7 @@ export const transferReservation = (data: any) => {
*/
export const verification = (Phone: any) =>
request(
"/LQKJ.K3.PeiXunSystem.WebApi.WebApiEditService.Verification,LQKJ.K3.PeiXunSystem.WebApi.common.kdsvc",
"/LQKJ.K3.FileSystem.WebApi.WebApiService.Verification,LQKJ.K3.FileSystem.WebApi.common.kdsvc",
"POST",
{ Phone }
);
......
<template>
<workGuide :data="paramsData" title="档案查预约">
<workGuide :data="paramsData" title="档案查预约">
<template #default>
<referForm ref="referFormRef" :wxts="paramsData?.WXTS?.FCONTENT" />
</template>
......@@ -22,7 +22,7 @@ const init = async () => {
data: { code, data: items },
} = await appointmentConfig("E");
if (code === 200) {
const properties = ["WXTS", "CLQD", "SYTP", "DZMC"];
const properties = ["WXTS", "BSZN", "SYTP", "DZMC"];
items.forEach((item: any) => {
properties.forEach((property) => {
if (item.hasOwnProperty(property)) {
......
......@@ -81,6 +81,7 @@
<template #right>
<u-verification-code
seconds="60"
@end="end"
@start="start"
ref="uCode"
@change="codeChange"
......@@ -360,7 +361,7 @@ const getCode = async () => {
state.parmeters.Model.FPhoneNumber
);
if (res.code === 200) {
if (res.code == 200) {
state.codeValue = decrypt(res.data);
uni.showLoading({
title: "正在获取验证码",
......@@ -391,6 +392,10 @@ const start = () => {
console.log("开始计时");
};
const end = () => {
state.codeValue = "";
};
const initRules = () => {
form.value.setRules(state.rules);
};
......
......@@ -238,8 +238,8 @@ onReady(async () => {
if (item.hasOwnProperty("MB")) {
data.paramsData.MB = item.MB;
}
if (item.hasOwnProperty("CLQD")) {
data.paramsData.CLQD = item.CLQD[0];
if (item.hasOwnProperty("BSZN")) {
data.paramsData.BSZN = item.BSZN[0];
}
if (item.hasOwnProperty("DZMC")) {
data.paramsData.DZMC = item.DZMC[0];
......
......@@ -2,9 +2,9 @@
<view class="guide-container">
<view class="guide-header">
<view class="guide-title">{{
appointmentConfigType(data?.CLQD?.FRONTENDFIELDS)
appointmentConfigType(data?.BSZN?.FRONTENDFIELDS)
}}</view>
<view class="guide-detail">{{ data?.CLQD?.FCONTENT }}</view>
<view class="guide-detail">{{ data?.BSZN?.FCONTENT }}</view>
<view class="guide-button">
<u-button
class="custom-style"
......
......@@ -115,8 +115,8 @@ export const jsonp = function (url: any, data: any) {
export const appointmentConfigType = (type: string) => {
let str = "";
switch (type) {
case "CLQD":
str = "材料清单";
case "BSZN":
str = "办事指南";
break;
default:
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论