diff --git a/pages/yuangongindex/index.vue b/pages/yuangongindex/index.vue index e105415..b4b4bfd 100644 --- a/pages/yuangongindex/index.vue +++ b/pages/yuangongindex/index.vue @@ -161,25 +161,24 @@ - + - 技能培训 + 员工信息 - + - 员工功能 + 信息变更 - + {{item0}} @@ -303,7 +302,7 @@ // uni.showLoading() } - const buttonArray = ref(["信息变更", "员工功能", "员工功能"]) + const buttonArray = ref(["技能培训", "员工功能", "员工功能"]) const statusarray = ["loading", "success", "fail"] const which = ref(0); @@ -527,16 +526,14 @@ } const clickButton = (item, index) => { - if (index === 0) { getMessageList(item.orgCode).then(res => { uni.setStorageSync("changeyuangongorgCode", item.orgCode) if (res.success) { uni.navigateTo({ - url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}` + url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&code=${index}` }); } }) - } } const jumptolist = (res) => { if (res) {