|
|
@@ -63,7 +63,7 @@
|
|
|
</el-pagination>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="增项" name="second">
|
|
|
- <el-table :data="entityList" id="rebateSetTable1" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
+ <el-table :data="entityList1" id="rebateSetTable1" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
<el-table-column align="center" label="公司名称" prop="SupplierName"></el-table-column>
|
|
|
<el-table-column align="center" label="类型" prop="SupplierTypeCode">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -86,7 +86,7 @@
|
|
|
</el-pagination>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="年审" name="third">
|
|
|
- <el-table :data="entityList" id="rebateSetTable2" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
+ <el-table :data="entityList2" id="rebateSetTable2" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
<el-table-column align="center" label="公司名称" prop="SupplierName"></el-table-column>
|
|
|
<el-table-column align="center" label="类型" prop="SupplierTypeName">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -116,8 +116,8 @@
|
|
|
:page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">
|
|
|
</el-pagination>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="信息变更" name="fourth">
|
|
|
- <el-table :data="entityList" id="rebateSetTable3" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
+ <el-tab-pane label="变更申请" name="fourth">
|
|
|
+ <el-table :data="entityList3" id="rebateSetTable3" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
<el-table-column align="center" label="公司名称" prop="SupplierName"></el-table-column>
|
|
|
<el-table-column align="center" label="当前状态" prop="Status">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -139,29 +139,29 @@
|
|
|
:page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">
|
|
|
</el-pagination>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="资质变更" name="fifth">
|
|
|
- <el-table :data="entityList" id="rebateSetTable4" size="mini" border style="width: 100%" @sort-change="orderby">
|
|
|
- <el-table-column align="center" label="公司名称" prop="SupplierName"></el-table-column>
|
|
|
- <el-table-column align="center" label="当前状态" prop="Status">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span v-if="scope.row.Status=='0'" style="color:#E6A23C">待提交</span>
|
|
|
- <span v-if="scope.row.Status=='1'" style="color:#E6A23C">已申请</span>
|
|
|
- <span v-if="scope.row.Status=='-2'" style="color:#F56C6C">初审未通过</span>
|
|
|
- <span v-if="scope.row.Status=='2'" style="color:#E6A23C">待法规处审核</span>
|
|
|
- <span v-if="scope.row.Status=='-3'" style="color:#F56C6C">审核未通过</span>
|
|
|
- <span v-if="scope.row.Status=='3'" style="color:#67C23A">审核通过</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center" label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" title="查看流程" icon="el-icon-edit" size="mini" @click="openwfhistory(scope.row)">查看流程</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
|
|
- :page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">
|
|
|
- </el-pagination>
|
|
|
- </el-tab-pane>
|
|
|
+ <!--<el-tab-pane label="资质变更" name="fifth">-->
|
|
|
+ <!--<el-table :data="entityList" id="rebateSetTable4" size="mini" border style="width: 100%" @sort-change="orderby">-->
|
|
|
+ <!--<el-table-column align="center" label="公司名称" prop="SupplierName"></el-table-column>-->
|
|
|
+ <!--<el-table-column align="center" label="当前状态" prop="Status">-->
|
|
|
+ <!--<template slot-scope="scope">-->
|
|
|
+ <!--<span v-if="scope.row.Status=='0'" style="color:#E6A23C">待提交</span>-->
|
|
|
+ <!--<span v-if="scope.row.Status=='1'" style="color:#E6A23C">已申请</span>-->
|
|
|
+ <!--<span v-if="scope.row.Status=='-2'" style="color:#F56C6C">初审未通过</span>-->
|
|
|
+ <!--<span v-if="scope.row.Status=='2'" style="color:#E6A23C">待法规处审核</span>-->
|
|
|
+ <!--<span v-if="scope.row.Status=='-3'" style="color:#F56C6C">审核未通过</span>-->
|
|
|
+ <!--<span v-if="scope.row.Status=='3'" style="color:#67C23A">审核通过</span>-->
|
|
|
+ <!--</template>-->
|
|
|
+ <!--</el-table-column>-->
|
|
|
+ <!--<el-table-column align="center" label="操作">-->
|
|
|
+ <!--<template slot-scope="scope">-->
|
|
|
+ <!--<el-button type="text" title="查看流程" icon="el-icon-edit" size="mini" @click="openwfhistory(scope.row)">查看流程</el-button>-->
|
|
|
+ <!--</template>-->
|
|
|
+ <!--</el-table-column>-->
|
|
|
+ <!--</el-table>-->
|
|
|
+ <!--<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"-->
|
|
|
+ <!--:page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">-->
|
|
|
+ <!--</el-pagination>-->
|
|
|
+ <!--</el-tab-pane>-->
|
|
|
</el-tabs>
|
|
|
</el-card>
|
|
|
<el-dialog title="审批流程" :visible.sync="dialogVisible" width="1024px">
|
|
|
@@ -172,14 +172,14 @@
|
|
|
<wf-multi-history :entryinfo="entrydetail"></wf-multi-history>
|
|
|
</el-card>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="审批流程" :visible.sync="dialogVisible1" width="1024px">
|
|
|
- <el-card class="box-card">
|
|
|
- <div slot="header" class="clearfix">
|
|
|
- <span>审批流程</span>
|
|
|
- </div>
|
|
|
- <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
|
- </el-card>
|
|
|
- </el-dialog>
|
|
|
+ <!--<el-dialog title="审批流程" :visible.sync="dialogVisible1" width="1024px">-->
|
|
|
+ <!--<el-card class="box-card">-->
|
|
|
+ <!--<div slot="header" class="clearfix">-->
|
|
|
+ <!--<span>审批流程</span>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>-->
|
|
|
+ <!--</el-card>-->
|
|
|
+ <!--</el-dialog>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -211,6 +211,9 @@
|
|
|
dialogVisible1: false,
|
|
|
// 列表数据
|
|
|
entityList: [],
|
|
|
+ entityList1: [],
|
|
|
+ entityList2: [],
|
|
|
+ entityList3: [],
|
|
|
entitySumList: [],
|
|
|
// 分页参数
|
|
|
size: 10,
|
|
|
@@ -260,28 +263,31 @@
|
|
|
this.initDatas(tab.index)
|
|
|
},
|
|
|
openwfhistory (val) {
|
|
|
- if (this.tabinx === '0') { // 准入
|
|
|
- this.entrydetail.business = val.BusinessKey
|
|
|
+ if (this.tabinx == '0') { // 准入
|
|
|
+ this.entrydetail.business = val.CertId
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
this.entrydetail.status = val.Status
|
|
|
this.entrydetail.process = val.ProcessKey
|
|
|
this.dialogVisible = true
|
|
|
- } else if (this.tabinx === '1') { // 增项
|
|
|
+ } else if (this.tabinx == '1') { // 增项
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
+ this.entrydetail.process = val.ProcessKey
|
|
|
this.dialogVisible = true
|
|
|
- } else if (this.tabinx === '2') { // 年审
|
|
|
+ } else if (this.tabinx == '2') { // 年审
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
- this.dialogVisible1 = true
|
|
|
- } else if (this.tabinx === '3') { // 信息变更
|
|
|
+ this.entrydetail.process = 'oil_audit_apply'
|
|
|
+ this.dialogVisible = true
|
|
|
+ } else if (this.tabinx == '3') { // 信息变更
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
- this.dialogVisible1 = true
|
|
|
- } else if (this.tabinx === '4') { // 资质变更
|
|
|
+ this.entrydetail.process = 'oil_info_change'
|
|
|
+ this.dialogVisible = true
|
|
|
+ } else if (this.tabinx == '4') { // 资质变更
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
- this.dialogVisible1 = true
|
|
|
+ this.dialogVisible = true
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -310,9 +316,16 @@
|
|
|
// 查询条件
|
|
|
Object.assign(params, this.searchForm)
|
|
|
// 访问接口
|
|
|
- console.log(params)
|
|
|
api.getProcessAuditList(myCreateOn.join(','), params, this.$axios).then(res => {
|
|
|
- this.entityList = res.data.items
|
|
|
+ if (val == '0') {
|
|
|
+ this.entityList = res.data.items
|
|
|
+ } else if (val == '1') {
|
|
|
+ this.entityList1 = res.data.items
|
|
|
+ } else if (val == '2') {
|
|
|
+ this.entityList2 = res.data.items
|
|
|
+ } else if (val == '3') {
|
|
|
+ this.entityList3 = res.data.items
|
|
|
+ }
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|