|
@@ -5,13 +5,19 @@
|
|
|
<el-breadcrumb-item :to="{ path: '/oilsupplier/supplier/basislist' }">基建类供方准入评审表</el-breadcrumb-item>
|
|
<el-breadcrumb-item :to="{ path: '/oilsupplier/supplier/basislist' }">基建类供方准入评审表</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>基建类供方准入评审表</el-breadcrumb-item>
|
|
<el-breadcrumb-item>基建类供方准入评审表</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
|
|
|
+
|
|
|
|
|
+ <float-img-btn ref="floatBtn" text="下一步" :itemWidth="58" :itemHeight="30" :coefficientHeight="0.8" @onFloatBtnClicked="nextTab">
|
|
|
|
|
+ </float-img-btn>
|
|
|
|
|
+ <float-img-btn ref="floatBtn" text="上一步" :itemWidth="58" :itemHeight="30" :coefficientHeight="0.85" @onFloatBtnClicked="backTab">
|
|
|
|
|
+ </float-img-btn>
|
|
|
|
|
+
|
|
|
<el-card class="box-card">
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
<div slot="header">
|
|
|
<span>
|
|
<span>
|
|
|
<i class="icon icon-table2"></i> 信息
|
|
<i class="icon icon-table2"></i> 信息
|
|
|
</span>
|
|
</span>
|
|
|
<span style="float: right;">
|
|
<span style="float: right;">
|
|
|
- <el-button plain icon="el-icon-right" size="mini" style="margin-right: 5px" @click="nextTab">下一步</el-button>
|
|
|
|
|
|
|
+ <!--<el-button plain icon="el-icon-right" size="mini" style="margin-right: 5px" @click="nextTab">下一步</el-button>-->
|
|
|
<el-popover>
|
|
<el-popover>
|
|
|
<el-steps :active="formData.Step" direction="vertical" align-center finish-status="success">
|
|
<el-steps :active="formData.Step" direction="vertical" align-center finish-status="success">
|
|
|
<el-step title="填信息"></el-step>
|
|
<el-step title="填信息"></el-step>
|
|
@@ -287,10 +293,12 @@
|
|
|
import BasisInfo from '@/components/oilsupplier/basisinfo'
|
|
import BasisInfo from '@/components/oilsupplier/basisinfo'
|
|
|
|
|
|
|
|
import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
|
|
+ import FloatImgBtn from '@/components/floatButton/index'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
|
|
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ FloatImgBtn,
|
|
|
SupplierFileTable,
|
|
SupplierFileTable,
|
|
|
WfHistory,
|
|
WfHistory,
|
|
|
WfBackHistory,
|
|
WfBackHistory,
|
|
@@ -648,14 +656,42 @@
|
|
|
this.$refs['subfileList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
this.$refs['subfileList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
},
|
|
},
|
|
|
nextTab () {
|
|
nextTab () {
|
|
|
|
|
+ let totalTab = 4
|
|
|
|
|
+ if (this.formDataCert.Status > 0) {
|
|
|
|
|
+ totalTab = 6
|
|
|
|
|
+ }
|
|
|
|
|
+ let valid = true
|
|
|
|
|
+ debugger
|
|
|
|
|
+ if (this.formDataCert.Status <= 0 && this.activeName === '0') {
|
|
|
|
|
+ valid = this.saveEntity()
|
|
|
|
|
+ } else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
|
|
|
|
|
+ this.updateNumberEntity()
|
|
|
|
|
+ }
|
|
|
|
|
+ if (!valid) {
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
let activeIdx = parseInt(this.activeName)
|
|
let activeIdx = parseInt(this.activeName)
|
|
|
- if (activeIdx < 4) {
|
|
|
|
|
|
|
+ if (activeIdx < totalTab) {
|
|
|
this.activeName = (activeIdx + 1) + ''
|
|
this.activeName = (activeIdx + 1) + ''
|
|
|
} else {
|
|
} else {
|
|
|
this.activeName = '1'
|
|
this.activeName = '1'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ backTab () {
|
|
|
|
|
+ let totalTab = 4
|
|
|
|
|
+ if (this.formDataCert.Status > 0) {
|
|
|
|
|
+ totalTab = 6
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ let activeIdx = parseInt(this.activeName)
|
|
|
|
|
+ if (activeIdx > 0) {
|
|
|
|
|
+ this.activeName = (activeIdx - 1) + ''
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.activeName = totalTab + ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
getDictOptions() {
|
|
getDictOptions() {
|
|
|
api.getDictList(this.$axios).then(res => {
|
|
api.getDictList(this.$axios).then(res => {
|
|
|
this.dictData = res.data.items
|
|
this.dictData = res.data.items
|