|
@@ -96,11 +96,11 @@
|
|
<div class="table">
|
|
<div class="table">
|
|
<el-table
|
|
<el-table
|
|
v-loading="listLoading"
|
|
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
|
|
stripe
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
show-summary
|
|
show-summary
|
|
@@ -166,60 +166,60 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="业务员" prop="serviceName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="业务员" prop="serviceName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="制表人" prop="createName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="制表人" prop="createBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="制表日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="制表日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="审核人" prop="confirmName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="审核人" prop="confirmBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核日期" prop="confirmTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核日期" prop="confirmTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="操作" width="220" fixed="right">
|
|
<el-table-column align="center" label="操作" width="220" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-popconfirm
|
|
|
|
- style="margin-right: 10px;"
|
|
|
|
- title="确定申请吗?"
|
|
|
|
- @onConfirm="handleSubmit(scope.row.parentId)"
|
|
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ style="margin-right: 10px;"
|
|
|
|
+ title="确定申请吗?"
|
|
|
|
+ @onConfirm="handleSubmit(scope.row.parentId)"
|
|
v-if="scope.row.examineStatus === 'SAVE'" >
|
|
v-if="scope.row.examineStatus === 'SAVE'" >
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-popconfirm
|
|
|
|
- style="margin-right: 10px;"
|
|
|
|
- title="确定撤回吗?"
|
|
|
|
- @onConfirm="handleWithdraw(scope.row.parentId)"
|
|
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ style="margin-right: 10px;"
|
|
|
|
+ title="确定撤回吗?"
|
|
|
|
+ @onConfirm="handleWithdraw(scope.row.parentId)"
|
|
v-if="scope.row.examineStatus === 'WAIT'" >
|
|
v-if="scope.row.examineStatus === 'WAIT'" >
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-popconfirm
|
|
|
|
- style="margin-right: 10px;"
|
|
|
|
- title="确定弃审吗?"
|
|
|
|
- @onConfirm="handleAbandon(scope.row.parentId)"
|
|
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ style="margin-right: 10px;"
|
|
|
|
+ title="确定弃审吗?"
|
|
|
|
+ @onConfirm="handleAbandon(scope.row.parentId)"
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'" >
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'" >
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
</el-popconfirm>
|
|
</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' || scope.row.examineStatus === 'FAIL')">
|
|
v-if="$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL')">
|
|
编辑
|
|
编辑
|
|
</el-button>
|
|
</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'">
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'">
|
|
审批
|
|
审批
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- @click="toReturn(scope.row)"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ @click="toReturn(scope.row)"
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus !== 'FAIL'">
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus !== 'FAIL'">
|
|
退订
|
|
退订
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
@click="toDetail(scope.row)">
|
|
@click="toDetail(scope.row)">
|
|
详情
|
|
详情
|
|
</el-button>
|
|
</el-button>
|
|
- <el-popconfirm
|
|
|
|
- style="margin-left: 10px;"
|
|
|
|
- title="确定删除吗?"
|
|
|
|
- @onConfirm="handleDelete(scope.row.parentId)"
|
|
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ style="margin-left: 10px;"
|
|
|
|
+ title="确定删除吗?"
|
|
|
|
+ @onConfirm="handleDelete(scope.row.parentId)"
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus !== 'OK'">
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus !== 'OK'">
|
|
<el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
<el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|