|
|
@@ -24,7 +24,7 @@
|
|
|
color: '#797979',
|
|
|
});
|
|
|
|
|
|
- const orderName = ref('');
|
|
|
+ const searchKey = ref('');
|
|
|
|
|
|
const paging = ref(null);
|
|
|
const dataList = ref([]);
|
|
|
@@ -34,8 +34,7 @@
|
|
|
pageNo,
|
|
|
pageSize,
|
|
|
projectClassification: '1',
|
|
|
- ...(orderName.value ? { taskName: orderName.value } : {}),
|
|
|
- ...(orderName.value ? { contractName: orderName.value } : {}),
|
|
|
+ ...(searchKey.value ? { searchKey: searchKey.value } : {}),
|
|
|
deptId: getDeptId(),
|
|
|
})
|
|
|
.then(res => {
|
|
|
@@ -108,7 +107,7 @@
|
|
|
<template #top>
|
|
|
<view class="top">
|
|
|
<uni-easyinput
|
|
|
- v-model="orderName"
|
|
|
+ v-model="searchKey"
|
|
|
:styles="inputStyles"
|
|
|
:placeholderStyle="placeholderStyle"
|
|
|
:placeholder="$t('operation.searchText')">
|
|
|
@@ -234,19 +233,24 @@
|
|
|
gap: 6px;
|
|
|
|
|
|
.content-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
font-size: 14px;
|
|
|
font-weight: 400;
|
|
|
+ line-height: 24px;
|
|
|
|
|
|
.label {
|
|
|
- display: inline-block;
|
|
|
+ flex: 0 0 72px;
|
|
|
font-weight: 500;
|
|
|
- width: 70px;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
.constructionStatus {
|
|
|
+ flex: 0 0 auto;
|
|
|
font-size: 14px;
|
|
|
font-weight: 500;
|
|
|
display: inline-flex;
|
|
|
+ line-height: 20px;
|
|
|
padding: 5px;
|
|
|
border-radius: 4px;
|
|
|
color: #4096ff;
|
|
|
@@ -254,9 +258,11 @@
|
|
|
}
|
|
|
|
|
|
.auditStatus {
|
|
|
+ flex: 0 0 auto;
|
|
|
font-size: 14px;
|
|
|
font-weight: 500;
|
|
|
display: inline-flex;
|
|
|
+ line-height: 20px;
|
|
|
padding: 5px;
|
|
|
border-radius: 4px;
|
|
|
|