完善工单

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

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

Loading…
Cancel
Save