测试bug修改2

This commit is contained in:
zzyuan 2024-12-02 12:10:24 +08:00
parent 8ba6fb2a13
commit 2c622722ac
5 changed files with 24 additions and 23 deletions

View File

@ -627,9 +627,8 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
time: null, // time: null, //
name: undefined,
typeId: "",
keyWord: "", keyWord: "",
taskStatus: null, //
}, },
form: { form: {
remark: "", remark: "",
@ -693,12 +692,12 @@ export default {
this.loading = true; this.loading = true;
const params = { const params = {
keyWord: this.queryParams.keyWord, keyWord: this.queryParams.keyWord,
taskStatus: this.queryParams.taskStatus,
startTime: this.queryParams.time && this.queryParams.time[0], startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1], endTime: this.queryParams.time && this.queryParams.time[1],
typeId: this.queryParams.typeId,
pageSize: this.queryParams.pageSize, pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum, pageNum: this.queryParams.pageNum,
statusList: [1, 2, 3, 4], statusList:[this.queryParams.taskStatus]
}; };
getListLeaseApply(this.addDateRange(params)).then((response) => { getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows; this.typeList = response.rows;

View File

@ -32,9 +32,9 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="typeId"> <el-form-item label="状态" prop="taskStatus">
<el-select <el-select
v-model="queryParams.typeId" v-model="queryParams.taskStatus"
placeholder="请选择状态" placeholder="请选择状态"
clearable clearable
filterable filterable
@ -413,8 +413,7 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
time: null, // time: null, //
name: undefined, taskStatus: "",
typeId: "",
keyWord: "", keyWord: "",
}, },
form: { form: {
@ -475,7 +474,8 @@ export default {
keyWord: this.queryParams.keyWord, keyWord: this.queryParams.keyWord,
startTime: this.queryParams.time && this.queryParams.time[0], startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1], endTime: this.queryParams.time && this.queryParams.time[1],
typeId: this.queryParams.typeId, taskStatus: this.queryParams.taskStatus,
// statusList:[this.queryParams.taskStatus],
pageSize: this.queryParams.pageSize, pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum, pageNum: this.queryParams.pageNum,
}; };

View File

@ -909,8 +909,7 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
time: null, // time: null, //
name: undefined, taskStatus: "",
typeId: "",
keyWord: "", keyWord: "",
}, },
// //
@ -979,11 +978,14 @@ export default {
keyWord: this.queryParams.keyWord, keyWord: this.queryParams.keyWord,
startTime: this.queryParams.time && this.queryParams.time[0], startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1], endTime: this.queryParams.time && this.queryParams.time[1],
typeId: this.queryParams.typeId,
pageSize: this.queryParams.pageSize, pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum, pageNum: this.queryParams.pageNum,
statusList: [3, 4, 5],
}; };
if(!this.queryParams.taskStatus){
params.statusList=[3, 4, 5]
}else{
params.statusList=[this.queryParams.taskStatus]
}
getListLeaseApply(this.addDateRange(params)).then((response) => { getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows; this.typeList = response.rows;
this.total = response.total; this.total = response.total;

View File

@ -111,10 +111,10 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="180" v-if="!isView"> <el-table-column label="操作" align="center" width="180" v-if="!isView">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="success" @click="pass(scope.row)" v-if="(scope.row.status!=19&&scope.row.manageType==1)||scope.row.manageType==0"> <el-button size="mini" type="success" @click="pass(scope.row)" v-if="scope.row.status!=14&&scope.row.status!=19">
入库 入库
</el-button> </el-button>
<el-button size="mini" type="danger" @click="reject(scope.row)" v-if="(scope.row.status!=19&&scope.row.manageType==1)||scope.row.manageType==0"> <el-button size="mini" type="danger" @click="reject(scope.row)" v-if="scope.row.status!=14&&scope.row.status!=19">
驳回 驳回
</el-button> </el-button>
</template> </template>

View File

@ -92,12 +92,12 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
border border
> >
<el-table-column <!-- <el-table-column
type="selection" type="selection"
width="55" width="55"
align="center" align="center"
:reserve-selection="true" :reserve-selection="true"
/> /> -->
<el-table-column <el-table-column
label="序号" label="序号"
align="center" align="center"