diff --git a/packageB/login2.vue b/packageB/login2.vue
new file mode 100644
index 0000000..2c8ece3
--- /dev/null
+++ b/packageB/login2.vue
@@ -0,0 +1,301 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packageB/priority/helpFilter.vue b/packageB/priority/helpFilter.vue
index 948a7d8..03fa8e6 100644
--- a/packageB/priority/helpFilter.vue
+++ b/packageB/priority/helpFilter.vue
@@ -226,12 +226,31 @@ const handleReset = () =>{
getDataList('refresh')
}
onMounted(async () => {
- await loadLevelData('201');
+ // await loadLevelData('201');
});
-onLoad(() => {
- getDictionary()
- // getDeptOptions()
- getDataList('refresh');
+onLoad(async () => {
+ let token=uni.getStorageSync('Padmin-Token')
+ console.log("token",token)
+ if(token){
+ await loadLevelData('201');
+ getDictionary()
+ getDataList('refresh');
+ }else{
+ navTo('/packageB/login2');
+ }
+ // if (resLogin.code=='200') {
+ // uni.setStorageSync('Padmin-Token', resLogin.data.access_token)
+ // return true;
+ // }else{
+ // uni.showToast({
+ // icon: 'none',
+ // title: '单点异常'
+ // })
+ // return false;
+ // }
+ // getDictionary()
+ // // getDeptOptions()
+ // getDataList('refresh');
});
function getDictionary(){
$api.myRequest('/system/public/dict/data/type/assist_task_type').then((resData) => {
diff --git a/pages.json b/pages.json
index e9d6d62..cfd1e79 100644
--- a/pages.json
+++ b/pages.json
@@ -322,6 +322,12 @@
"navigationBarTitleText": "登录"
}
},
+ {
+ "path": "login2",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ },
{
"path": "train/index",
"style": {
diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue
index f34e090..bc5c333 100644
--- a/pages/index/components/index-one.vue
+++ b/pages/index/components/index-one.vue
@@ -154,12 +154,18 @@
薪酬信息
-
+
招聘会
+
+
+
+
+ 帮扶
+
@@ -773,7 +779,10 @@ const handleH5SalaryClick = () => {
const salaryUrl = "https://www.mohrss.gov.cn/SYrlzyhshbzb/laodongguanxi_/fwyd/202506/t20250627_544623.html";
window.location.assign(salaryUrl);
};
-
+// 处理帮扶
+const helpClick = () => {
+ navTo('/packageB/priority/helpFilter');
+};
async function loadData() {
try {
if (isLoaded.value) return;