|
@@ -150,6 +150,10 @@
|
|
let isFirstClickluru = ref('true')
|
|
let isFirstClickluru = ref('true')
|
|
let isFirstClickjuli = ref('true')
|
|
let isFirstClickjuli = ref('true')
|
|
let userIdList = ref(null)
|
|
let userIdList = ref(null)
|
|
|
|
+ let startDate = ref(null)
|
|
|
|
+ let endDate = ref(null)
|
|
|
|
+ let from = ref(null)
|
|
|
|
+ let zjId = ref(null)
|
|
|
|
|
|
function updateTimeClick() {
|
|
function updateTimeClick() {
|
|
data.sortType = 1
|
|
data.sortType = 1
|
|
@@ -276,7 +280,7 @@
|
|
id: data.id,
|
|
id: data.id,
|
|
userId: data.userId,
|
|
userId: data.userId,
|
|
isZijiazheng: isZijiazhengFlag.value,
|
|
isZijiazheng: isZijiazhengFlag.value,
|
|
- userIdList:userIdList.value?userIdList.value:"",
|
|
|
|
|
|
+ userIdList: userIdList.value ? userIdList.value : "",
|
|
}
|
|
}
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
url: `/pages/admin/Jiazheng/jiazhengUserInfo?pageInfo=` + JSON.stringify(pageInfo)
|
|
url: `/pages/admin/Jiazheng/jiazhengUserInfo?pageInfo=` + JSON.stringify(pageInfo)
|
|
@@ -284,9 +288,17 @@
|
|
}
|
|
}
|
|
|
|
|
|
function goUpPage() {
|
|
function goUpPage() {
|
|
- uni.redirectTo({
|
|
|
|
- url: `/pages/admin/ShouYe/shouye`
|
|
|
|
- })
|
|
|
|
|
|
+ if (from.value == 'zijiazhenggongsi') {
|
|
|
|
+ const originalParams =
|
|
|
|
+ `isZijiazheng=true&userIdList=${userIdList.value}&startDate=${startDate.value}&endDate=${endDate.value}&zjId=${zjId.value}&from=zijiazhenggongsi`
|
|
|
|
+ uni.redirectTo({
|
|
|
|
+ url: `/pages/admin/zijiazheng/index?${originalParams}`
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
|
|
+ uni.redirectTo({
|
|
|
|
+ url: `/pages/admin/ShouYe/shouye`
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
function onRefresh() {
|
|
function onRefresh() {
|
|
@@ -329,6 +341,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const convertToArray = (str) => str.split(',').map(item => item.trim());
|
|
const convertToArray = (str) => str.split(',').map(item => item.trim());
|
|
|
|
+
|
|
function refreshData() {
|
|
function refreshData() {
|
|
const opt = {
|
|
const opt = {
|
|
"zyId": data.zyId == '全部职业' ? '' : data.zyId,
|
|
"zyId": data.zyId == '全部职业' ? '' : data.zyId,
|
|
@@ -340,7 +353,7 @@
|
|
"userName": data.userName,
|
|
"userName": data.userName,
|
|
"jingdu": data.jingdu,
|
|
"jingdu": data.jingdu,
|
|
"weidu": data.weidu,
|
|
"weidu": data.weidu,
|
|
- "userIdList":userIdList.value? convertToArray(userIdList.value):[]
|
|
|
|
|
|
+ "userIdList": userIdList.value ? convertToArray(userIdList.value) : []
|
|
}
|
|
}
|
|
data.list = [];
|
|
data.list = [];
|
|
// 数学
|
|
// 数学
|
|
@@ -387,7 +400,7 @@
|
|
"userName": data.userName,
|
|
"userName": data.userName,
|
|
"jingdu": data.jingdu,
|
|
"jingdu": data.jingdu,
|
|
"weidu": data.weidu,
|
|
"weidu": data.weidu,
|
|
- "userIdList":userIdList.value? convertToArray(userIdList.value):[]
|
|
|
|
|
|
+ "userIdList": userIdList.value ? convertToArray(userIdList.value) : []
|
|
}
|
|
}
|
|
if (data.state == 'no-more') return;
|
|
if (data.state == 'no-more') return;
|
|
data.state = 'loading';
|
|
data.state = 'loading';
|
|
@@ -468,6 +481,10 @@
|
|
if (options && options.isZijiazheng == 'true') {
|
|
if (options && options.isZijiazheng == 'true') {
|
|
isZijiazhengFlag.value = 'true'
|
|
isZijiazhengFlag.value = 'true'
|
|
userIdList.value = options.userIdList
|
|
userIdList.value = options.userIdList
|
|
|
|
+ startDate.value = options.startDate
|
|
|
|
+ endDate.value = options.endDate
|
|
|
|
+ from.value = options.from
|
|
|
|
+ zjId.value = options.zjId
|
|
console.log('userIdList.value', userIdList.value);
|
|
console.log('userIdList.value', userIdList.value);
|
|
}
|
|
}
|
|
getMore()
|
|
getMore()
|