|
@@ -100,11 +100,11 @@
|
|
|
<div class="table">
|
|
|
<el-table
|
|
|
v-loading="listLoading"
|
|
|
- :data="dataList"
|
|
|
- element-loading-text="Loading"
|
|
|
- border
|
|
|
- fit
|
|
|
- highlight-current-row
|
|
|
+ :data="dataList"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
stripe
|
|
|
show-summary
|
|
|
:summary-method="$getSummaries">
|
|
@@ -142,48 +142,48 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作" width="180" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
- title="确定申请吗?"
|
|
|
- @onConfirm="handleSubmit(scope.row.enginInfoId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ title="确定申请吗?"
|
|
|
+ @onConfirm="handleSubmit(scope.row.enginInfoId)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'" >
|
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
|
</el-popconfirm>
|
|
|
- <el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
- title="确定撤回吗?"
|
|
|
- @onConfirm="handleWithdraw(scope.row.enginInfoId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ title="确定撤回吗?"
|
|
|
+ @onConfirm="handleWithdraw(scope.row.enginInfoId)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'" >
|
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
|
</el-popconfirm>
|
|
|
- <el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
- title="确定弃审吗?"
|
|
|
- @onConfirm="handleAbandon(scope.row.enginInfoId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ title="确定弃审吗?"
|
|
|
+ @onConfirm="handleAbandon(scope.row.enginInfoId)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'" >
|
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
|
</el-popconfirm>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="toForm(scope.row)"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="toForm(scope.row)"
|
|
|
v-if="$checkBtnRole('edit', $route.meta.roles) && scope.row.examineStatus === 'SAVE'">
|
|
|
编辑
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="toExamine(scope.row)"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="toExamine(scope.row)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'">
|
|
|
审批
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
@click="toDetail(scope.row)">
|
|
|
详情
|
|
|
</el-button>
|
|
|
- <el-popconfirm
|
|
|
- style="margin-left: 10px;"
|
|
|
- title="确定删除吗?"
|
|
|
- @onConfirm="handleDelete(scope.row.enginInfoId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-left: 10px;"
|
|
|
+ title="确定删除吗?"
|
|
|
+ @onConfirm="handleDelete(scope.row.enginInfoId)"
|
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus !== 'OK'">
|
|
|
<el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
|
</el-popconfirm>
|
|
@@ -206,7 +206,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<EditDateDialog :isShow.sync="isShowEditDateDialog" :dateForm.sync="dateForm" />
|
|
|
|
|
|
<EnginDetail :listItem="queryItem" v-if="isShowDetail" @backListFormDetail="backList" />
|
|
@@ -334,7 +334,7 @@ export default {
|
|
|
projectName: this.screenForm.enginName,
|
|
|
startContractExpireDate: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
|
endContractExpireDate: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
|
- customerKeyWord: this.screenForm.dealer,
|
|
|
+ customerKeyword: this.screenForm.dealer,
|
|
|
useUnit: this.screenForm.company,
|
|
|
createName: this.screenForm.createMan,
|
|
|
confirmName: this.screenForm.examineMan,
|