|
@@ -21,6 +21,10 @@
|
|
|
}}</text>
|
|
}}</text>
|
|
|
<text class="field-value">{{ item.deptName || "--" }}</text>
|
|
<text class="field-value">{{ item.deptName || "--" }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="field-row">
|
|
|
|
|
+ <text class="field-label">{{ $t("ruiDu.project") }}</text>
|
|
|
|
|
+ <text class="field-value">{{ item.contractName || "--" }}</text>
|
|
|
|
|
+ </view>
|
|
|
<view class="field-row">
|
|
<view class="field-row">
|
|
|
<text class="field-label">{{ $t("ruiDu.task") }}</text>
|
|
<text class="field-label">{{ $t("ruiDu.task") }}</text>
|
|
|
<text class="field-value">{{ item.taskName || "--" }}</text>
|
|
<text class="field-value">{{ item.taskName || "--" }}</text>
|
|
@@ -77,12 +81,21 @@
|
|
|
|
|
|
|
|
<view class="filter-body">
|
|
<view class="filter-body">
|
|
|
<view class="filter-item">
|
|
<view class="filter-item">
|
|
|
- <view class="filter-label">{{ $t("ruiDuReport.searchKey") }}</view>
|
|
|
|
|
|
|
+ <view class="filter-label">{{ $t("ruiDuReport.project") }}</view>
|
|
|
|
|
+ <uni-easyinput
|
|
|
|
|
+ v-model="filterForm.contractName"
|
|
|
|
|
+ :inputBorder="false"
|
|
|
|
|
+ :styles="inputStyles"
|
|
|
|
|
+ :placeholder="$t('ruiDuReport.projectPlaceholder')" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="filter-item">
|
|
|
|
|
+ <view class="filter-label">{{ $t("ruiDuReport.task") }}</view>
|
|
|
<uni-easyinput
|
|
<uni-easyinput
|
|
|
- v-model="filterForm.searchKey"
|
|
|
|
|
|
|
+ v-model="filterForm.taskName"
|
|
|
:inputBorder="false"
|
|
:inputBorder="false"
|
|
|
:styles="inputStyles"
|
|
:styles="inputStyles"
|
|
|
- :placeholder="$t('ruiDuReport.searchKeyPlaceholder')" />
|
|
|
|
|
|
|
+ :placeholder="$t('ruiDuReport.taskPlaceholder')" />
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="filter-item">
|
|
<view class="filter-item">
|
|
@@ -161,7 +174,8 @@ const fabPattern = reactive({
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
const filterForm = reactive({
|
|
const filterForm = reactive({
|
|
|
- searchKey: "",
|
|
|
|
|
|
|
+ contractName: "",
|
|
|
|
|
+ taskName: "",
|
|
|
deptId: "",
|
|
deptId: "",
|
|
|
createTime: [],
|
|
createTime: [],
|
|
|
});
|
|
});
|
|
@@ -243,7 +257,8 @@ const queryList = (pageNo, pageSize) => {
|
|
|
getRuiduReportPage({
|
|
getRuiduReportPage({
|
|
|
pageNo,
|
|
pageNo,
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
- searchKey: filterForm.searchKey,
|
|
|
|
|
|
|
+ contractName: filterForm.contractName,
|
|
|
|
|
+ taskName: filterForm.taskName,
|
|
|
deptId: filterForm.deptId,
|
|
deptId: filterForm.deptId,
|
|
|
createTime: filterForm.createTime,
|
|
createTime: filterForm.createTime,
|
|
|
})
|
|
})
|
|
@@ -298,7 +313,8 @@ const viewDetail = (item) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const resetFilter = () => {
|
|
const resetFilter = () => {
|
|
|
- filterForm.searchKey = "";
|
|
|
|
|
|
|
+ filterForm.contractName = "";
|
|
|
|
|
+ filterForm.taskName = "";
|
|
|
filterForm.deptId = "";
|
|
filterForm.deptId = "";
|
|
|
filterForm.createTime = [];
|
|
filterForm.createTime = [];
|
|
|
};
|
|
};
|