fix
This commit is contained in:
parent
f242d6f7c0
commit
e07f0c4d35
@ -154,7 +154,7 @@ const paintingDetail = async () => {
|
|||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
state.boxRelBucketStatus = res.data.boxRelBucketStatus;
|
state.boxRelBucketStatus = res.data.boxRelBucketStatus;
|
||||||
state.drawUid = res.data.drawUid;
|
state.drawUid = res.data.drawUid;
|
||||||
console.log("drawUid", state.drawUid);
|
console.log("drawUid", res.data);
|
||||||
if (res.data.pbStatus == 1) {
|
if (res.data.pbStatus == 1) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid ,
|
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid ,
|
||||||
|
@ -16,6 +16,7 @@ const state = reactive({
|
|||||||
id: "",
|
id: "",
|
||||||
pid: "",
|
pid: "",
|
||||||
code: "",
|
code: "",
|
||||||
|
drawUid:""
|
||||||
});
|
});
|
||||||
const { showMessage } = useToast();
|
const { showMessage } = useToast();
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
@ -53,7 +54,8 @@ const paintingDetail = async () => {
|
|||||||
});
|
});
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
state.boxRelBucketStatus = res.data.boxRelBucketStatus;
|
state.boxRelBucketStatus = res.data.boxRelBucketStatus;
|
||||||
console.log("boxRelBucketStatus", state.boxRelBucketStatus);
|
state.drawUid = res.data.drawUid;
|
||||||
|
console.log("drawUid", res.data);
|
||||||
if (res.data.pbStatus == 1) {
|
if (res.data.pbStatus == 1) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid,
|
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid,
|
||||||
@ -71,7 +73,7 @@ const paintingDetail = async () => {
|
|||||||
res.data.locateAddress == "公司内"
|
res.data.locateAddress == "公司内"
|
||||||
) {
|
) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/pages/painting/index?id=" + state.id + "&pid=" + state.pid,
|
url: "/pages/painting/index?id=" + state.id + "&pid=" + state.pid + "&drawUid=" + state.drawUid,
|
||||||
success: () => {
|
success: () => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user