|
|
|
|
@ -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) => {
|
|
|
|
|
|