|
@@ -7,11 +7,14 @@
|
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
|
<el-card class="box-card">
|
|
<el-card class="box-card">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
- <span>年审基本信息表</span>
|
|
|
|
|
- <span style="float: right;">
|
|
|
|
|
- <el-button type="primary" size="mini" @click="addshow =true" v-if="Status == '2'">提交审核</el-button>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <span>年审基本信息表</span>
|
|
|
|
|
+ <span style="float: right;">
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="addshow =true" v-if="Status == '2'">提交审核</el-button>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <router-link :to="'/oilsupplier/annualaudit'">
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px;float: right;">返回</el-button>
|
|
|
|
|
+ </router-link>
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
<el-steps :active="Step" simple align-center finish-status="success">
|
|
<el-steps :active="Step" simple align-center finish-status="success">
|
|
|
<el-step title="填写信息"></el-step>
|
|
<el-step title="填写信息"></el-step>
|
|
@@ -30,13 +33,14 @@
|
|
|
<el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
|
|
<el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
|
|
|
</span> -->
|
|
</span> -->
|
|
|
</div>
|
|
</div>
|
|
|
- <tech-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser" :disabled ="true"
|
|
|
|
|
- :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
|
|
|
|
|
|
|
+ <tech-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
|
|
|
|
|
+ :disabled="true" :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData"
|
|
|
|
|
+ @inputcompany="inputCompany">
|
|
|
</tech-info>
|
|
</tech-info>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="企业情况" >
|
|
|
|
|
|
|
+ <el-tab-pane label="企业情况">
|
|
|
<el-card class="box-card">
|
|
<el-card class="box-card">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>企业人员结构情况</span>
|
|
<span>企业人员结构情况</span>
|
|
@@ -45,7 +49,7 @@
|
|
|
</span> -->
|
|
</span> -->
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <el-form label-width="220px" ref="EntityFormNumber" :model="formDataCert" :disabled ="true" >
|
|
|
|
|
|
|
+ <el-form label-width="220px" ref="EntityFormNumber" :model="formDataCert" :disabled="true">
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="企业员工总数">
|
|
<el-form-item label="企业员工总数">
|
|
@@ -134,7 +138,7 @@
|
|
|
<span>近三年主要工程业绩</span>
|
|
<span>近三年主要工程业绩</span>
|
|
|
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button> -->
|
|
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button> -->
|
|
|
</div>
|
|
</div>
|
|
|
- <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" :disabled ="true"
|
|
|
|
|
|
|
+ <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" :disabled="true"
|
|
|
:SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></performance-list>
|
|
:SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></performance-list>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
@@ -166,7 +170,8 @@
|
|
|
|
|
|
|
|
<el-tab-pane label="企业资质">
|
|
<el-tab-pane label="企业资质">
|
|
|
<auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId+''"
|
|
<auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId+''"
|
|
|
- :SupplierTypeCode="classId" :Visiblebtn="this.formData.Status" height="360px" style="margin-top: 20px"></auditbus-list>
|
|
|
|
|
|
|
+ :SupplierTypeCode="classId" :Visiblebtn="this.formData.Status" height="360px" style="margin-top: 20px">
|
|
|
|
|
+ </auditbus-list>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
<el-tab-pane label="提交审批">
|
|
<el-tab-pane label="提交审批">
|
|
@@ -184,7 +189,7 @@
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
- <el-dialog title="提交申请" :visible.sync="addshow" width="360px">
|
|
|
|
|
|
|
+ <el-dialog title="提交申请" :visible.sync="addshow" width="360px">
|
|
|
<el-form label-width="90px" :model="entityForm" :rules="rules" ref="EntityFormref">
|
|
<el-form label-width="90px" :model="entityForm" :rules="rules" ref="EntityFormref">
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
@@ -240,7 +245,7 @@
|
|
|
import TechInfo from '@/components/oilsupplier/techinfo'
|
|
import TechInfo from '@/components/oilsupplier/techinfo'
|
|
|
import AuditbusList from '@/components/oilsupplier/auditbuslist'
|
|
import AuditbusList from '@/components/oilsupplier/auditbuslist'
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters({
|
|
...mapGetters({
|
|
@@ -270,13 +275,13 @@
|
|
|
label: 'Fullname',
|
|
label: 'Fullname',
|
|
|
children: 'children'
|
|
children: 'children'
|
|
|
},
|
|
},
|
|
|
- Step:'',
|
|
|
|
|
|
|
+ Step: '',
|
|
|
organizeOption: [], // 审批部门
|
|
organizeOption: [], // 审批部门
|
|
|
auditerOption: [],
|
|
auditerOption: [],
|
|
|
addshow: false,
|
|
addshow: false,
|
|
|
canUpdateSupplier: true,
|
|
canUpdateSupplier: true,
|
|
|
dictData: null,
|
|
dictData: null,
|
|
|
- add_flat:false,
|
|
|
|
|
|
|
+ add_flat: false,
|
|
|
applyLoading: false,
|
|
applyLoading: false,
|
|
|
equipmentList: [], //企业主要装备情况
|
|
equipmentList: [], //企业主要装备情况
|
|
|
performanceList: [], //近三年主要工程业绩
|
|
performanceList: [], //近三年主要工程业绩
|
|
@@ -393,9 +398,10 @@
|
|
|
entrydetail: {
|
|
entrydetail: {
|
|
|
process: 'oil_audit_apply',
|
|
process: 'oil_audit_apply',
|
|
|
business: '',
|
|
business: '',
|
|
|
- instance: ''
|
|
|
|
|
|
|
+ instance: '',
|
|
|
|
|
+ Status:''
|
|
|
},
|
|
},
|
|
|
- Status:'',
|
|
|
|
|
|
|
+ Status: '',
|
|
|
rules: {
|
|
rules: {
|
|
|
FirstAudit: [{
|
|
FirstAudit: [{
|
|
|
required: true,
|
|
required: true,
|
|
@@ -415,14 +421,14 @@
|
|
|
if (this.$route.query.certid) {
|
|
if (this.$route.query.certid) {
|
|
|
this.certId = this.$route.query.certid + ''
|
|
this.certId = this.$route.query.certid + ''
|
|
|
}
|
|
}
|
|
|
- this.Status = this.$route.query.Status +''
|
|
|
|
|
|
|
+ this.Status = this.$route.query.Status + ''
|
|
|
this.Step = this.$route.query.Step
|
|
this.Step = this.$route.query.Step
|
|
|
this.WorkflowId = this.$route.query.WorkflowId + ''
|
|
this.WorkflowId = this.$route.query.WorkflowId + ''
|
|
|
this.getDictOptions();
|
|
this.getDictOptions();
|
|
|
this.getorgtreelist()
|
|
this.getorgtreelist()
|
|
|
this.formData.Id = this.serviceId
|
|
this.formData.Id = this.serviceId
|
|
|
this.initDatas();
|
|
this.initDatas();
|
|
|
- console.log("---this.formData---",this.formData)
|
|
|
|
|
|
|
+ console.log("---this.formData---", this.formData)
|
|
|
// console.log(this.serviceId);
|
|
// console.log(this.serviceId);
|
|
|
// if(this.serviceId != 'add' && this.serviceId>0) {
|
|
// if(this.serviceId != 'add' && this.serviceId>0) {
|
|
|
// this.formData.Id = this.serviceId;
|
|
// this.formData.Id = this.serviceId;
|
|
@@ -529,13 +535,13 @@
|
|
|
winningdialog() {
|
|
winningdialog() {
|
|
|
this.$refs["winningList"].showDialog()
|
|
this.$refs["winningList"].showDialog()
|
|
|
},
|
|
},
|
|
|
- initDatas() {
|
|
|
|
|
|
|
+ initDatas() {
|
|
|
this.isCanUpdateSupplier(this.formData.Id)
|
|
this.isCanUpdateSupplier(this.formData.Id)
|
|
|
if (this.formData.Id) {
|
|
if (this.formData.Id) {
|
|
|
- console.log("---this.certId----",this.certId)
|
|
|
|
|
|
|
+ console.log("---this.certId----", this.certId)
|
|
|
api.getEntityAndCert(this.certId, this.$axios).then(res => {
|
|
api.getEntityAndCert(this.certId, this.$axios).then(res => {
|
|
|
this.formData = res.data
|
|
this.formData = res.data
|
|
|
- console.log("---res.data----",res.data)
|
|
|
|
|
|
|
+ console.log("---res.data----", res.data)
|
|
|
this.formDataCert.WorkerTotal = this.formData.WorkerTotal
|
|
this.formDataCert.WorkerTotal = this.formData.WorkerTotal
|
|
|
this.formDataCert.ContractNum = this.formData.ContractNum
|
|
this.formDataCert.ContractNum = this.formData.ContractNum
|
|
|
this.formDataCert.UniversityNum = this.formData.UniversityNum
|
|
this.formDataCert.UniversityNum = this.formData.UniversityNum
|
|
@@ -570,7 +576,7 @@
|
|
|
if (this.certId && this.WorkflowId) {
|
|
if (this.certId && this.WorkflowId) {
|
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
|
}
|
|
}
|
|
|
- console.log("---this.entrydetail----",this.entrydetail)
|
|
|
|
|
|
|
+ console.log("---this.entrydetail----", this.entrydetail)
|
|
|
|
|
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
@@ -586,20 +592,20 @@
|
|
|
let auditstepcode = 'FIRST_TRIAL'
|
|
let auditstepcode = 'FIRST_TRIAL'
|
|
|
api.getAuditerByDept(deptid, auditstepcode, this.$axios).then(res => {
|
|
api.getAuditerByDept(deptid, auditstepcode, this.$axios).then(res => {
|
|
|
this.auditerOption = res.data.item
|
|
this.auditerOption = res.data.item
|
|
|
- console.log("------this.auditerOption----",this.auditerOption)
|
|
|
|
|
|
|
+ console.log("------this.auditerOption----", this.auditerOption)
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- getorgtreelist () {
|
|
|
|
|
|
|
+ getorgtreelist() {
|
|
|
let _this = this
|
|
let _this = this
|
|
|
let params = {
|
|
let params = {
|
|
|
IsInnerOrganize: 1
|
|
IsInnerOrganize: 1
|
|
|
}
|
|
}
|
|
|
_this.$axios.get('organizes/orgalllist', {
|
|
_this.$axios.get('organizes/orgalllist', {
|
|
|
- params
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ params
|
|
|
|
|
+ })
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
_this.orgtreelist = window.toolfun_gettreejson(res.data.items, 'Id', 'Parentid', 'Id,Fullname')
|
|
_this.orgtreelist = window.toolfun_gettreejson(res.data.items, 'Id', 'Parentid', 'Id,Fullname')
|
|
|
})
|
|
})
|
|
@@ -607,7 +613,7 @@
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
getDictOptions() {
|
|
getDictOptions() {
|
|
|
api.getDictList(this.$axios).then(res => {
|
|
api.getDictList(this.$axios).then(res => {
|
|
|
this.dictData = res.data.items
|
|
this.dictData = res.data.items
|
|
@@ -700,5 +706,5 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-</script>
|
|
|
|
|
|
|
|
|
|
|
|
+</script>
|