|
@@ -13,7 +13,7 @@
|
|
|
</div>
|
|
|
<div class="w-32 ml-3">
|
|
|
<el-select
|
|
|
- v-model="searchForm.currentContractId" block clearable placeholder="合同段" size="large"
|
|
|
+ v-model="searchForm.contractIdValue" block clearable placeholder="合同段" size="large"
|
|
|
@change="ContractIdChange"
|
|
|
>
|
|
|
<el-option v-for="item in contractList" :label="item.contractName" :value="item.id" />
|
|
@@ -158,7 +158,7 @@ nextTick(() => {
|
|
|
|
|
|
//获取相关数据
|
|
|
const setQueryData = () => {
|
|
|
- searchForm.value.currentContractId = contractId.value
|
|
|
+ searchForm.value.contractIdValue = contractId.value
|
|
|
queryTaskType()
|
|
|
queryTaskStatus()
|
|
|
searchClick()
|
|
@@ -202,11 +202,11 @@ const ContractIdChange = () => {
|
|
|
//获取上报批次
|
|
|
const reportBatch = ref([])
|
|
|
const queryBatchList = async () => {
|
|
|
- const { contractId } = searchForm.value
|
|
|
- if (contractId) {
|
|
|
+ const { contractIdValue } = searchForm.value
|
|
|
+ if (contractIdValue) {
|
|
|
const { error, code, data } = await tasksApi.queryBatchList({
|
|
|
projectId: projectId.value,
|
|
|
- contractId: contractId || '',
|
|
|
+ contractId: contractIdValue || '',
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
|
reportBatch.value = getArrValue(data)
|
|
@@ -294,7 +294,7 @@ const queryPage = async () => {
|
|
|
...searchForm.value,
|
|
|
|
|
|
projectIdValue: projectId.value,
|
|
|
- contractIdValue:contractId.value,
|
|
|
+ currentContractId:contractId.value,
|
|
|
|
|
|
})
|
|
|
//处理数据
|