bug 修复

This commit is contained in:
BianLzhaoMin 2025-09-06 15:58:08 +08:00
parent 271478037b
commit 488730772f
7 changed files with 35 additions and 13 deletions

View File

@ -453,14 +453,16 @@ export default {
subComId: '',
}
if (query.lightStatus == 3) {
this.$set(query, 'lightStatusSeven', 7)
}
this.filterQueryList.forEach((item) => {
query[item.queryKey] = item.value
})
console.log('query9966996---<insert>', query)
// if (query.lightStatus == 3) {
// this.$set(query, 'lightStatusSeven', 7)
// query.lightStatus = 1
// }
// console.log('query9966996---<insert>', query)
// 使
this.$emit('handelSettingQuery', query)

View File

@ -69,14 +69,14 @@ export const projectDialogConfig = {
// 分包班组弹框内列表所需要的字段
export const subTeamFormLabel = [
{
f_label: '姓名',
f_model: 'name',
f_label: '工程名称',
f_model: 'proName',
f_type: 'ipt',
isShow: false, // 是否展示label
},
{
f_label: '人员身份证',
f_model: 'idNumber',
f_label: '分包名称',
f_model: 'subName',
f_type: 'ipt',
isShow: false, // 是否展示label
},

View File

@ -46,7 +46,7 @@ export const formLabel = [
},
{
f_label: '状态',
f_model: 'einStatus',
f_model: 'isSign',
f_type: 'sel',
f_width: '180px',
isShow: false, // 是否展示label
@ -57,7 +57,7 @@ export const formLabel = [
},
{
label: '未签订',
value: '2',
value: '0',
},
], // 状态列表
},

View File

@ -288,9 +288,8 @@ export default {
this.queryParams.sex = sex
this.queryParams.isAtt = isAtt
this.queryParams.postId = postId
console.log('lightStatus9966996--+++', lightStatus)
if (lightStatus == 3) {
console.log('lightStatus9966996', lightStatus)
this.$set(this.queryParams, 'lightStatusSeven', 7)
this.queryParams.lightStatus = 1
}

View File

@ -476,6 +476,11 @@ export default {
handelSettingQuery(query) {
console.log('筛选条件', query)
this.queryParams = query
if (query.lightStatus == 3) {
this.$set(this.queryParams, 'lightStatusSeven', 7)
this.queryParams.lightStatus = 1
}
},
//

View File

@ -223,6 +223,11 @@ export default {
this.queryParams.sex = sex
this.queryParams.isAtt = isAtt
this.queryParams.postId = postId
if (query.lightStatus == 3) {
this.$set(this.queryParams, 'lightStatusSeven', 7)
this.queryParams.lightStatus = 1
}
},
},
@ -234,6 +239,17 @@ export default {
},
deep: true,
},
lightStatus: {
handler(newValue) {
if (newValue == 3) {
this.queryParams.lightStatus = 1
this.$set(this.queryParams, 'lightStatusSeven', 7)
}
},
deep: true,
immediate: true,
},
},
}
</script>

View File

@ -216,7 +216,7 @@ export default {
async getPersonPresence() {
const { data: res } = await getPersonPresenceAPI({
companyId: this.selectCompany,
subComId: this.selectCompany,
})
const { feMailNum, mailNum, postMsg, greenNum, yellowNum } = res