帮扶
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user