bug修复

This commit is contained in:
hongchao 2025-02-13 12:36:48 +08:00
parent 2ec0625da2
commit 17c9fe9185
5 changed files with 28 additions and 24 deletions

View File

@ -124,7 +124,6 @@
<el-table
v-loading="loading"
:data="leaseAuditList"
@selection-change="handleSelectionChange"
border
>
<!-- <el-table-column type="selection" width="55" align="center" /> -->
@ -163,6 +162,7 @@
<template slot-scope="scope">
<span v-if="scope.row.leaseType == 0">工程租赁</span>
<span v-if="scope.row.leaseType == 1">长期领用</span>
</template>
</el-table-column>
@ -230,8 +230,8 @@
<span v-if="scope.row.taskStatus < 31"></span>
<span
v-if="
scope.row.taskStatus == 31 ||
scope.row.taskStatus == 98
(scope.row.taskStatus == 31 ||
scope.row.taskStatus == 98) && scope.row.leaseApplyInfoList
"
>{{
scope.row.leaseApplyInfoList[0].companyAuditRemark
@ -239,28 +239,28 @@
</span>
<span
v-if="
scope.row.taskStatus == 32 ||
scope.row.taskStatus == 99
(scope.row.taskStatus == 32 ||
scope.row.taskStatus == 99) && scope.row.leaseApplyInfoList
"
>{{ scope.row.leaseApplyInfoList[0].deptAuditRemark }}
</span>
<span
v-if="
scope.row.taskStatus == 33 ||
scope.row.taskStatus == 100
(scope.row.taskStatus == 33 ||
scope.row.taskStatus == 100) && scope.row.leaseApplyInfoList
"
>{{ scope.row.leaseApplyInfoList[0].directAuditRemark }}
</span>
<span
v-if="
scope.row.taskStatus > 33 &&
scope.row.taskStatus < 98
(scope.row.taskStatus > 33 &&
scope.row.taskStatus < 98) && scope.row.leaseApplyInfoList
"
>{{
scope.row.leaseApplyInfoList[0].directAuditRemark
}}</span
>
<span v-if="scope.row.taskStatus > 100">{{
<span v-if="scope.row.taskStatus > 100 && scope.row.leaseApplyInfoList">{{
scope.row.leaseApplyInfoList[0].directAuditRemark
}}</span>
<!-- <span v-else>{{ scope.row.leaseApplyInfoList[0].directAuditRemark }}</span> -->
@ -272,7 +272,7 @@
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
<span v-if="scope.row.leaseApplyInfoList && scope.row.leaseApplyInfoList.length > 0 && scope.row.leaseApplyInfoList[0].remark">{{ scope.row.leaseApplyInfoList[0].remark }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="160">
@ -370,7 +370,7 @@ export default {
dictName: undefined,
dictType: undefined,
status: undefined,
keyWord: '',
time: null, //
unitId: null, //id
proId: null, //id
@ -406,6 +406,7 @@ export default {
const res = await getLeaseAuditListAll(params)
this.loading = false
this.leaseAuditList = res.data.rows
console.log('333333333333333',this.leaseAuditList)
this.total = res.data.total
},
@ -467,11 +468,11 @@ export default {
this.$emit('addPicking')
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.dictId)
this.single = selection.length != 1
this.multiple = !selection.length
},
// handleSelectionChange(selection) {
// this.ids = selection.map((item) => item.dictId)
// this.single = selection.length != 1
// this.multiple = !selection.length
// },
handleView(row) {
// this.$tab.closeOpenPage({
// path: '/claimAndRefund/receiveByCq/receiveApplyAdd',

View File

@ -222,7 +222,7 @@
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
<span v-if="scope.row.leaseApplyInfoList && scope.row.leaseApplyInfoList.length > 0 && scope.row.leaseApplyInfoList[0].remark">{{ scope.row.leaseApplyInfoList[0].remark }}</span>
</template>
</el-table-column>
<el-table-column label="操作" width="160" align="center">
@ -594,7 +594,7 @@ export default {
status: '0',
remark: undefined,
}
this.resetForm('form')
this.resetForm('queryForm')
},
/** 搜索按钮操作 */
handleQuery() {

View File

@ -209,7 +209,7 @@ export default {
dictName: undefined,
dictType: undefined,
status: undefined,
keyWord: '',
time: null, //
unitId: null, //id
proId: null, //id
@ -276,8 +276,9 @@ export default {
dictType: undefined,
status: '0',
remark: undefined,
keyWord: undefined,
}
this.resetForm('form')
this.resetForm('queryForm')
},
/** 搜索按钮操作 */
handleQuery() {

View File

@ -263,7 +263,8 @@ export default {
dictName: undefined,
dictType: undefined,
status: undefined,
typeName: undefined,
typeModelName: undefined,
time: null, //
unitId: null, //id
proId: null, //id
@ -332,7 +333,7 @@ export default {
status: '0',
remark: undefined,
}
this.resetForm('form')
this.resetForm('queryForm')
},
/** 搜索按钮操作 */
handleQuery() {

View File

@ -329,6 +329,7 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
typeName: undefined,
userName: undefined,
status: undefined,
deptId: undefined,
@ -468,7 +469,7 @@ export default {
postIds: [],
roleIds: [],
}
this.resetForm('form')
this.resetForm('queryForm')
},
/** 搜索按钮操作 */
handleQuery() {