改参数给后端
This commit is contained in:
parent
5d56caaaae
commit
233d6b4610
|
|
@ -107,6 +107,9 @@
|
||||||
import {
|
import {
|
||||||
changemessage
|
changemessage
|
||||||
} from './api/addjigou.js'
|
} from './api/addjigou.js'
|
||||||
|
import {
|
||||||
|
swapLongTerm
|
||||||
|
} from '@/compontent/public/long.js'
|
||||||
import model from "@/compontent/public/model.vue"
|
import model from "@/compontent/public/model.vue"
|
||||||
|
|
||||||
const show = ref(false);
|
const show = ref(false);
|
||||||
|
|
@ -423,7 +426,7 @@
|
||||||
textArray[4] = data.birthDate;
|
textArray[4] = data.birthDate;
|
||||||
textArray[5] = data.idCardAddress;
|
textArray[5] = data.idCardAddress;
|
||||||
textArray[6] = data.issuingAuthority;
|
textArray[6] = data.issuingAuthority;
|
||||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
|
||||||
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
|
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
|
||||||
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
|
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
|
||||||
fontphoto.value = data.cardZmPath
|
fontphoto.value = data.cardZmPath
|
||||||
|
|
@ -437,7 +440,7 @@
|
||||||
textArray[4] = data.birthDate;
|
textArray[4] = data.birthDate;
|
||||||
textArray[5] = data.idCardAddress;
|
textArray[5] = data.idCardAddress;
|
||||||
textArray[6] = data.issuingAuthority;
|
textArray[6] = data.issuingAuthority;
|
||||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
|
||||||
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
|
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
|
||||||
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
|
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
|
||||||
fontphoto.value = data.cardZmPath
|
fontphoto.value = data.cardZmPath
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
const common_vendor = require("../../common/vendor.js");
|
const common_vendor = require("../../common/vendor.js");
|
||||||
const request_index = require("../../request/index.js");
|
const request_index = require("../../request/index.js");
|
||||||
|
const compontent_public_long = require("../../compontent/public/long.js");
|
||||||
if (!Array) {
|
if (!Array) {
|
||||||
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
|
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
|
||||||
_easycom_u_action_sheet2();
|
_easycom_u_action_sheet2();
|
||||||
|
|
@ -70,7 +71,7 @@ const _sfc_main = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
common_vendor.index.__f__("error", "at pages/addstaff/IDcard.vue:183", "拍照失败:", err);
|
common_vendor.index.__f__("error", "at pages/addstaff/IDcard.vue:186", "拍照失败:", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -277,7 +278,7 @@ const _sfc_main = {
|
||||||
common_vendor.index.navigateBack();
|
common_vendor.index.navigateBack();
|
||||||
};
|
};
|
||||||
common_vendor.onLoad(() => {
|
common_vendor.onLoad(() => {
|
||||||
common_vendor.index.__f__("log", "at pages/addstaff/IDcard.vue:414", "11", common_vendor.index.getStorageSync("backhuancun"));
|
common_vendor.index.__f__("log", "at pages/addstaff/IDcard.vue:417", "11", common_vendor.index.getStorageSync("backhuancun"));
|
||||||
if (common_vendor.index.getStorageSync("backhuancun").name) {
|
if (common_vendor.index.getStorageSync("backhuancun").name) {
|
||||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||||
textArray[0] = data.name;
|
textArray[0] = data.name;
|
||||||
|
|
@ -287,7 +288,7 @@ const _sfc_main = {
|
||||||
textArray[4] = data.birthDate;
|
textArray[4] = data.birthDate;
|
||||||
textArray[5] = data.idCardAddress;
|
textArray[5] = data.idCardAddress;
|
||||||
textArray[6] = data.issuingAuthority;
|
textArray[6] = data.issuingAuthority;
|
||||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
textArray[7] = `${data.startTime}-${compontent_public_long.swapLongTerm(data.endTime)}`;
|
||||||
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
|
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
|
||||||
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
|
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
|
||||||
fontphoto.value = data.cardZmPath;
|
fontphoto.value = data.cardZmPath;
|
||||||
|
|
@ -301,7 +302,7 @@ const _sfc_main = {
|
||||||
textArray[4] = data.birthDate;
|
textArray[4] = data.birthDate;
|
||||||
textArray[5] = data.idCardAddress;
|
textArray[5] = data.idCardAddress;
|
||||||
textArray[6] = data.issuingAuthority;
|
textArray[6] = data.issuingAuthority;
|
||||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
textArray[7] = `${data.startTime}-${compontent_public_long.swapLongTerm(data.endTime)}`;
|
||||||
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
|
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
|
||||||
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
|
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
|
||||||
fontphoto.value = data.cardZmPath;
|
fontphoto.value = data.cardZmPath;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue