|
@@ -7,27 +7,13 @@
|
|
|
执行中</ws-button
|
|
|
>
|
|
|
<ws-button class="but" :type="status1==1?'primary':''" @click="changestatus(2)">已完成</ws-button>
|
|
|
- <ws-button class="but" :type="status2==1?'primary':''" @click="changestatus(1)">全部任务</ws-button>
|
|
|
+ <ws-button class="but" :type="status2==1?'primary':''" @click="changestatus()">全部任务</ws-button>
|
|
|
</template>
|
|
|
<!-- 接单开始 -->
|
|
|
<template slot="right">
|
|
|
<div>
|
|
|
<span style="display: inline-block; width: 300px;color: #8890B1;">接单日期</span>
|
|
|
</div>
|
|
|
-
|
|
|
- <!-- <ws-date-picker
|
|
|
- v-model="deptBudgetList.inOutDate"
|
|
|
- type="date"
|
|
|
- placeholder="请选择开始日期"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- />
|
|
|
- <span>至</span>
|
|
|
- <ws-date-picker
|
|
|
- v-model="deptBudgetList.inOutDate"
|
|
|
- type="date"
|
|
|
- placeholder="请选择结束日期"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- /> -->
|
|
|
<el-date-picker
|
|
|
v-model="deptBudgetList.inOutDate"
|
|
|
type="daterange"
|
|
@@ -87,7 +73,7 @@
|
|
|
{{ scope.row.deliveryDateStart }} ~ {{ scope.row.deliveryDateEnd }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="status" label="状态">
|
|
|
+ <el-table-column prop="processStatus" label="状态">
|
|
|
<template slot-scope="scope">
|
|
|
<el-popover
|
|
|
placement="left"
|
|
@@ -99,15 +85,15 @@
|
|
|
<template>
|
|
|
<span slot="reference">
|
|
|
<span
|
|
|
- v-if="scope.row.status == '待执行'"
|
|
|
+ v-if="scope.row.processStatus == '待执行'"
|
|
|
class="executory"
|
|
|
></span>
|
|
|
<span
|
|
|
- v-if="scope.row.status == '执行中'"
|
|
|
+ v-if="scope.row.processStatus == '执行中'"
|
|
|
class="inExecution"
|
|
|
></span>
|
|
|
- <span v-if="scope.row.status == '已完成'" class="done"></span
|
|
|
- >{{ scope.row.status }}
|
|
|
+ <span v-if="scope.row.processStatus == '已完成'" class="done"></span
|
|
|
+ >{{ scope.row.processStatus }}
|
|
|
</span>
|
|
|
</template>
|
|
|
<div>
|
|
@@ -419,29 +405,29 @@ export default {
|
|
|
this.currentPage = 1
|
|
|
this.getList()
|
|
|
},
|
|
|
- async exportlist() {
|
|
|
- const { data } = await export1(
|
|
|
- {
|
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
- contractType: this.contractType,
|
|
|
- currentPage: this.currentPage,
|
|
|
- pageSize: this.pageSize,
|
|
|
- searchType: this.searchType,
|
|
|
- searchKeyWord: this.searchKeyWord,
|
|
|
- startDate: this.startDate,
|
|
|
- endDate: this.endDate,
|
|
|
- },
|
|
|
- {},
|
|
|
- { responseType: 'blob' }
|
|
|
- ).toPromise()
|
|
|
- downloadFile({
|
|
|
- res: data,
|
|
|
- fileName: `${
|
|
|
- this.date.year + (this.date.month ? `-${this.date.month}` : '')
|
|
|
- }_采购合同`,
|
|
|
- type: 'xls',
|
|
|
- })
|
|
|
- },
|
|
|
+ // async exportlist() {
|
|
|
+ // const { data } = await export1(
|
|
|
+ // {
|
|
|
+ // compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
+ // contractType: this.contractType,
|
|
|
+ // currentPage: this.currentPage,
|
|
|
+ // pageSize: this.pageSize,
|
|
|
+ // searchType: this.searchType,
|
|
|
+ // searchKeyWord: this.searchKeyWord,
|
|
|
+ // startDate: this.startDate,
|
|
|
+ // endDate: this.endDate,
|
|
|
+ // },
|
|
|
+ // {},
|
|
|
+ // { responseType: 'blob' }
|
|
|
+ // ).toPromise()
|
|
|
+ // downloadFile({
|
|
|
+ // res: data,
|
|
|
+ // fileName: `${
|
|
|
+ // this.date.year + (this.date.month ? `-${this.date.month}` : '')
|
|
|
+ // }_采购合同`,
|
|
|
+ // type: 'xls',
|
|
|
+ // })
|
|
|
+ // },
|
|
|
},
|
|
|
}
|
|
|
</script>
|