CRM-走访审核,注释getUserInfo方法
This commit is contained in:
@@ -65,7 +65,7 @@ import { ref, reactive, onMounted } from 'vue'
|
||||
import MescrollUni from 'mescroll-uni/mescroll-uni.vue';
|
||||
import { getNavBarPaddingTop } from '@/utils/system.js'
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
import { getApprovalList, getUserInfo } from '../../../../api/crm/activity/activity';
|
||||
import { getApprovalList } from '../../../../api/crm/activity/activity';
|
||||
|
||||
|
||||
let list = ref([])
|
||||
@@ -110,24 +110,24 @@ function upCallback(page) {
|
||||
getVisistList(page);
|
||||
}
|
||||
|
||||
onShow(() => {
|
||||
getUserInfoMethod();
|
||||
})
|
||||
// onShow(() => {
|
||||
// getUserInfoMethod();
|
||||
// })
|
||||
|
||||
let nickName = ref();
|
||||
let deptName = ref();
|
||||
let userId = ref();
|
||||
let posts = ref();
|
||||
|
||||
//获取用户信息
|
||||
function getUserInfoMethod() {
|
||||
getUserInfo().then(res => {
|
||||
nickName.value = res.user.nickName;
|
||||
deptName.value = res.user.dept.deptName;
|
||||
userId.value = res.user.userId;
|
||||
posts.value = res.post;
|
||||
})
|
||||
}
|
||||
// //获取用户信息
|
||||
// function getUserInfoMethod() {
|
||||
// getUserInfo().then(res => {
|
||||
// nickName.value = res.user.nickName;
|
||||
// deptName.value = res.user.dept.deptName;
|
||||
// userId.value = res.user.userId;
|
||||
// posts.value = res.post;
|
||||
// })
|
||||
// }
|
||||
|
||||
//查询待审批的列表信息
|
||||
let dataList = ref([])
|
||||
|
||||
Reference in New Issue
Block a user