完善工单

cyl/master-im
jscyl13849007907 5 months ago
parent 65ac81cf93
commit 5989eca222

@ -69,71 +69,85 @@ export default {
tabTip: "", tabTip: "",
tabInfo: [ tabInfo: [
{ {
name: "我报的", name: "我报的",// 2025-06-23
childList: [ childList: [
{ {
name: "全部", name: "全部",
tip: "", tip: "",
sign:0
}, },
{ {
name: "审核中", name: "审核中",
tip: "10", tip: "10",
sign:1
}, },
{ {
name: "待接待", name: "待接待",
tip: "20", tip: "20",
sign:2
}, },
{ {
name: "待面试", name: "待面试",
tip: "25", tip: "25",
sign:3
}, },
{ {
name: "待入职", name: "待入职",
tip: "30", tip: "30",
sign:4
}, },
{ {
name: "在职中", name: "在职中",
tip: "40,48", tip: "40,48",
sign:5
}, },
{ {
name: "已完成", name: "已完成",
tip: "21,26,35,45,50", tip: "21,26,35,45,50",
sign:6
}, },
], ],
}, },
{ // {
name: "报给我的", // name: "",// 2025-06-23
childList: [ // childList: [
{ // {
name: "全部", // name: "",
tip: "", // tip: "",
}, // sign:0
{ // },
name: "待审核", // {
tip: "10", // name: "",
}, // tip: "10",
{ // sign:1
name: "待接待", // },
tip: "20", // {
}, // name: "",
{ // tip: "20",
name: "待面试", // sign:2
tip: "25", // },
}, // {
{ // name: "",
name: "待入职", // tip: "25",
tip: "30", // sign:3
}, // },
{ // {
name: "在职中", // name: "",
tip: "40,48", // tip: "30",
}, // sign:4
{ // },
name: "已完成", // {
tip: "21,26,35,45,50", // name: "",
}, // tip: "40,48",
], // sign:5
}, // },
// {
// name: "",
// tip: "21,26,35,45,50",
// sign:6
// },
// ],
// },
], ],
menuList: [], menuList: [],
menuActive: 0, menuActive: 0,
@ -144,51 +158,40 @@ export default {
}, },
onHide() { onHide() {
let that = this; let that = this;
if (uni.getStorageSync("apply-supplierAccount") == 1) { // if (uni.getStorageSync("apply-supplierAccount") == 1) {
// // //
that.tabActive = 1; // that.tabActive = 1;
} else { // } else {
// //
that.tabActive = 0; that.tabActive = 0;
} // }
uni.removeStorageSync("apply-tab-active"); uni.removeStorageSync("apply-tab-active");
}, },
onLoad(options) {
let that = this;
if (options.status) {
that.menuActive = Number(options.status);
// setTimeout(() => {
// that.menuActive = Number(options.status);
// }, 200);
}
},
created() {
let that = this;
console.log(12312312312);
},
onShow() { onShow() {
let that = this; let that = this;
// //
that.navInfo = that.G.getNavInfo(); that.navInfo = that.G.getNavInfo();
if (uni.getStorageSync("apply-supplierAccount") == 1) { // if (uni.getStorageSync("apply-supplierAccount") == 1) {
// // //
that.isHaveOrder = 1; // that.isHaveOrder = 1;
if (uni.getStorageSync("apply-tab-active") == 1) { // if (uni.getStorageSync("apply-tab-active") == 1) {
that.tabActive = 0; // that.tabActive = 0;
} else { // } else {
that.tabActive = 1; // that.tabActive = 1;
} // }
} else { // } else {
// // //
that.isHaveOrder = 0; // that.isHaveOrder = 0;
that.tabActive = 0; that.tabActive = 0;
} // }
that.isLogin = uni.getStorageSync("apply-token") ? true : false; that.isLogin = uni.getStorageSync("apply-token") ? true : false;
console.log("that.isLogin", that.isLogin); console.log("that.isLogin", that.isLogin);
that.loginInfo = uni.getStorageSync("apply-userinfo"); that.loginInfo = uni.getStorageSync("apply-userinfo");
if (uni.getStorageSync("applyType")) { if (uni.getStorageSync("applyType")) {
that.menuActive = uni.getStorageSync("applyType"); that.menuActive = uni.getStorageSync("applyType") ? Number(uni.getStorageSync("applyType")) : 0;
uni.removeStorageSync("applyType"); uni.removeStorageSync("applyType");
}else{
that.menuActive = 0;
} }
if (!that.isLogin) { if (!that.isLogin) {
@ -226,7 +229,6 @@ export default {
pageSize: that.query.size, pageSize: that.query.size,
keys: "", keys: "",
classify: 1, classify: 1,
// classify: that.tabActive + 1,
statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip, statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip,
}, },
(res) => { (res) => {

Loading…
Cancel
Save