|
@@ -36,14 +36,11 @@
|
|
|
<el-button slot="reference" plain size="mini" style="margin-right: 5px">查看进度</el-button>
|
|
<el-button slot="reference" plain size="mini" style="margin-right: 5px">查看进度</el-button>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
|
|
|
|
|
- <router-link :to="'/oilsupplier/annualaudit'">
|
|
|
|
|
- <el-button type="primary" plain size="mini" style="margin-right:3px" :disabled="formDataCert.Status == 0">
|
|
|
|
|
- 年审申请</el-button>
|
|
|
|
|
- </router-link>
|
|
|
|
|
- <!--v-if="formData.Step>=5"-->
|
|
|
|
|
- <router-link :to="'/oilsupplier/supplierappend/techlist'">
|
|
|
|
|
- <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">增项申请</el-button>
|
|
|
|
|
- </router-link>
|
|
|
|
|
|
|
+ <el-button type="primary" plain size="mini" style="margin-right:3px" :disabled="formDataCert.Status == 0"
|
|
|
|
|
+ @click="annaudit">
|
|
|
|
|
+ 年审申请</el-button>
|
|
|
|
|
+ <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0" @click="qppend">增项申请
|
|
|
|
|
+ </el-button>
|
|
|
<router-link :to="'/oilsupplier/supplier/techlist'">
|
|
<router-link :to="'/oilsupplier/supplier/techlist'">
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" v-if="showReturn">返回
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" v-if="showReturn">返回
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -203,8 +200,8 @@
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="准入范围" :disabled="!certId">
|
|
<el-tab-pane label="准入范围" :disabled="!certId">
|
|
|
- <tech-list ref="techList" :data.sync="techList" @close="getbuslist" :canadd="add_flat" :candelete="delete_flat" height="360px"
|
|
|
|
|
- style="margin-top: 20px"></tech-list>
|
|
|
|
|
|
|
+ <tech-list ref="techList" :data.sync="techList" @close="getbuslist" :canadd="add_flat"
|
|
|
|
|
+ :candelete="delete_flat" height="360px" style="margin-top: 20px"></tech-list>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
|
<subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" :flag="flag"
|
|
<subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" :flag="flag"
|
|
@@ -225,20 +222,22 @@
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
<!--<el-tab-pane label="审批历史" v-if="this.formData.AuditIndex > 0 ">-->
|
|
<!--<el-tab-pane label="审批历史" v-if="this.formData.AuditIndex > 0 ">-->
|
|
|
- <!--<el-card class="box-card" style="margin-top: 20px">-->
|
|
|
|
|
- <!--<div slot="header" class="clearfix">-->
|
|
|
|
|
- <!--<span>审批历史</span>-->
|
|
|
|
|
- <!--</div>-->
|
|
|
|
|
- <!--<wf-back-history ref="WfBackHistory" :entryinfo="backhistroy"></wf-back-history>-->
|
|
|
|
|
- <!--</el-card>-->
|
|
|
|
|
|
|
+ <!--<el-card class="box-card" style="margin-top: 20px">-->
|
|
|
|
|
+ <!--<div slot="header" class="clearfix">-->
|
|
|
|
|
+ <!--<span>审批历史</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<wf-back-history ref="WfBackHistory" :entryinfo="backhistroy"></wf-back-history>-->
|
|
|
|
|
+ <!--</el-card>-->
|
|
|
<!--</el-tab-pane>-->
|
|
<!--</el-tab-pane>-->
|
|
|
<el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
|
|
<el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
|
|
|
|
|
<div style="float: right; margin: 20px;">
|
|
<div style="float: right; margin: 20px;">
|
|
|
- <el-button ref="floatNxtBtn" type="primary" plain size="mini" @click="backTab" v-if="parseInt(activeName) > 0">上一步</el-button>
|
|
|
|
|
- <el-button ref="floatBtn" type="primary" plain size="mini" @click="nextTab" v-if="parseInt(activeName) < totalTab">下一步</el-button>
|
|
|
|
|
|
|
+ <el-button ref="floatNxtBtn" type="primary" plain size="mini" @click="backTab" v-if="parseInt(activeName) > 0">
|
|
|
|
|
+ 上一步</el-button>
|
|
|
|
|
+ <el-button ref="floatBtn" type="primary" plain size="mini" @click="nextTab"
|
|
|
|
|
+ v-if="parseInt(activeName) < totalTab">下一步</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
@@ -315,6 +314,7 @@
|
|
|
} from 'vuex'
|
|
} from 'vuex'
|
|
|
import api from '@/api/oilsupplier/supplier'
|
|
import api from '@/api/oilsupplier/supplier'
|
|
|
import apiCert from '@/api/oilsupplier/suppliercert'
|
|
import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
|
|
+ import annapi from '@/api/oilsupplier/annualaudit'
|
|
|
import SupplierFileTable from '@/pages/oilsupplier/supplierfile/table.vue'
|
|
import SupplierFileTable from '@/pages/oilsupplier/supplierfile/table.vue'
|
|
|
import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
|
|
import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
|
|
|
import WfBackHistory from '@/components/workflow/wfbackhistory.vue'
|
|
import WfBackHistory from '@/components/workflow/wfbackhistory.vue'
|
|
@@ -523,7 +523,7 @@
|
|
|
WorkflowId: ''
|
|
WorkflowId: ''
|
|
|
},
|
|
},
|
|
|
add_flat: true,
|
|
add_flat: true,
|
|
|
- delete_flat:true,
|
|
|
|
|
|
|
+ delete_flat: true,
|
|
|
entrydetail: {
|
|
entrydetail: {
|
|
|
process: 'oil_supplier_apply_1',
|
|
process: 'oil_supplier_apply_1',
|
|
|
business: '',
|
|
business: '',
|
|
@@ -548,7 +548,29 @@
|
|
|
validator: checkSkillerTotal,
|
|
validator: checkSkillerTotal,
|
|
|
trigger: 'blur'
|
|
trigger: 'blur'
|
|
|
}]
|
|
}]
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ appendformData: {
|
|
|
|
|
+ Id: '',
|
|
|
|
|
+ Step: 1,
|
|
|
|
|
+ Status: '',
|
|
|
|
|
+ SupplierId: 0,
|
|
|
|
|
+ SupplierCertId: 0,
|
|
|
|
|
+ RecUnitFlag: '', //推荐单位的级联Id标记
|
|
|
|
|
+ RecUnitId: '', //推荐单位编码
|
|
|
|
|
+ RecUnitName: '', //推荐单位名称
|
|
|
|
|
+ AppendType: '', //增项类别(01 物资类,02 基建类,03 技术服务类)
|
|
|
|
|
+ Remark: '', //备注
|
|
|
|
|
+ },
|
|
|
|
|
+ annentityForm: {
|
|
|
|
|
+ Id: '',
|
|
|
|
|
+ SupplierName: '',
|
|
|
|
|
+ SupplierId: '',
|
|
|
|
|
+ SupplierTypeName: '03',
|
|
|
|
|
+ FirstAudit: '',
|
|
|
|
|
+ auditer: '',
|
|
|
|
|
+ Step: 0,
|
|
|
|
|
+ Remark: ''
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -582,6 +604,71 @@
|
|
|
this.orgtreeChange(this.majorDept)
|
|
this.orgtreeChange(this.majorDept)
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ annaudit() {
|
|
|
|
|
+ this.annentityForm.supplierId = parseInt(this.serviceId)
|
|
|
|
|
+ console.log("----this.ann",this.annentityForm)
|
|
|
|
|
+ annapi.addEntity(this.annentityForm, this.annentityForm.auditer, this.$axios).then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ //保存成功后,初始化数据,变成修改
|
|
|
|
|
+ let annId= res.data.item;
|
|
|
|
|
+ this.$router.push({
|
|
|
|
|
+ path: '/oilsupplier/annualaudit/' + this.serviceId + '/operation',
|
|
|
|
|
+ query: {
|
|
|
|
|
+ certid: this.certId,
|
|
|
|
|
+ //WorkflowId: ,
|
|
|
|
|
+ Status: 0,
|
|
|
|
|
+ Step: 1,
|
|
|
|
|
+ annualId: annId,
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ qppend() {
|
|
|
|
|
+ let _this = this
|
|
|
|
|
+ _this.appendformData.SupplierId = parseInt(this.serviceId)
|
|
|
|
|
+ _this.appendformData.SupplierCertId = parseInt(this.certId)
|
|
|
|
|
+ _this.appendformData.AppendType = '03'
|
|
|
|
|
+ _this.$axios.post('/suppliercertappend/addappend/', _this.appendformData)
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ //this.entityList = res.data.item
|
|
|
|
|
+ let AppendId = res.data.info
|
|
|
|
|
+ this.$router.push({
|
|
|
|
|
+ path: `/oilsupplier/supplierappend/3/techdataopera`,
|
|
|
|
|
+ query: {
|
|
|
|
|
+ Id: AppendId,
|
|
|
|
|
+ editFlag: 1 //编辑标记: 1 修改,0 不修改
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message,
|
|
|
|
|
+ })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
orgtreeChange(val) {
|
|
orgtreeChange(val) {
|
|
|
this.userOptions = []
|
|
this.userOptions = []
|
|
|
let deptid = val[val.length - 1]
|
|
let deptid = val[val.length - 1]
|
|
@@ -711,12 +798,12 @@
|
|
|
if (this.formData.Status > 0) {
|
|
if (this.formData.Status > 0) {
|
|
|
this.add_flat = false
|
|
this.add_flat = false
|
|
|
}
|
|
}
|
|
|
- if ((this.formData.Status > 0 ) && (this.formData.Status !=4)) {
|
|
|
|
|
|
|
+ if ((this.formData.Status > 0) && (this.formData.Status != 4)) {
|
|
|
this.delete_flat = false
|
|
this.delete_flat = false
|
|
|
}
|
|
}
|
|
|
- if(this.formData.CredentialFlag!=""){
|
|
|
|
|
- this.$refs["TechInfo"].showorhid(this.formData.CredentialFlag)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ if (this.formData.CredentialFlag != "") {
|
|
|
|
|
+ this.$refs["TechInfo"].showorhid(this.formData.CredentialFlag)
|
|
|
|
|
+ }
|
|
|
this.formDataCert.WorkflowId = this.formData.WorkflowId
|
|
this.formDataCert.WorkflowId = this.formData.WorkflowId
|
|
|
this.$refs["TechInfo"].CityAry = []
|
|
this.$refs["TechInfo"].CityAry = []
|
|
|
this.$refs["TechInfo"].CityAry.push(this.formData.Province)
|
|
this.$refs["TechInfo"].CityAry.push(this.formData.Province)
|
|
@@ -836,7 +923,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- backTab () {
|
|
|
|
|
|
|
+ backTab() {
|
|
|
if (this.formData.AuditIndex > 0) {
|
|
if (this.formData.AuditIndex > 0) {
|
|
|
this.totalTab = 4
|
|
this.totalTab = 4
|
|
|
}
|
|
}
|
|
@@ -968,21 +1055,21 @@
|
|
|
}
|
|
}
|
|
|
this.formDataCert.InStyle = this.formData.InStyle
|
|
this.formDataCert.InStyle = this.formData.InStyle
|
|
|
api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(
|
|
api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(
|
|
|
- res => {
|
|
|
|
|
- if (res.data.code === 0) {
|
|
|
|
|
- // 保存成功后,初始化数据,变成修改
|
|
|
|
|
- this.initDatas()
|
|
|
|
|
- this.$message({
|
|
|
|
|
- type: 'success',
|
|
|
|
|
- message: res.data.message
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$message({
|
|
|
|
|
- type: 'warning',
|
|
|
|
|
- message: res.data.message
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
|
|
+ res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ // 保存成功后,初始化数据,变成修改
|
|
|
|
|
+ this.initDatas()
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|