|
|
@@ -31,12 +31,7 @@
|
|
|
@click="nextTab"
|
|
|
>下一步</el-button>-->
|
|
|
<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>
|
|
|
<el-step title="已审批"></el-step>
|
|
|
@@ -47,13 +42,8 @@
|
|
|
<el-button slot="reference" plain size="mini" style="margin-right: 5px">查看进度</el-button>
|
|
|
</el-popover>
|
|
|
<router-link :to="'/oilsupplier/annualaudit'">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- plain
|
|
|
- size="mini"
|
|
|
- style="margin-right:3px"
|
|
|
- :disabled="formDataCert.Status == 0"
|
|
|
- >年审申请</el-button>
|
|
|
+ <el-button type="primary" plain size="mini" style="margin-right:3px" :disabled="formDataCert.Status == 0">
|
|
|
+ 年审申请</el-button>
|
|
|
</router-link>
|
|
|
<router-link :to="'/oilsupplier/supplierappend/goodslist'">
|
|
|
<el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">增项申请</el-button>
|
|
|
@@ -83,15 +73,9 @@
|
|
|
</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <goods-info
|
|
|
- ref="GoodsInfo"
|
|
|
- :formData.sync="formData"
|
|
|
- :dictData.sync="dictData"
|
|
|
- :authUser="authUser"
|
|
|
- :canUpdateSupplier="canUpdateSupplier"
|
|
|
- @selectcompany="changeFormData"
|
|
|
- @inputcompany="inputCompany"
|
|
|
- ></goods-info>
|
|
|
+ <goods-info ref="GoodsInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
|
|
|
+ :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
|
|
|
+ </goods-info>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -111,34 +95,22 @@
|
|
|
|
|
|
<!--修改为必填-->
|
|
|
<el-form-item label="企业员工总数" prop="WorkerTotal">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.WorkerTotal"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="合同化用工数量">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.ContractNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="大学及以上学历人员数量">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.UniversityNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
@@ -146,78 +118,50 @@
|
|
|
|
|
|
<!--修改为必填-->
|
|
|
<el-form-item label="技术、管理人员数量" prop="TechnicalNum">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.TechnicalNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="高级及以上职称人员数量">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.AboveProfNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="中级职称人员数量">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.MiddleProfNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="具有国家注册执业资格人员数量">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.NationalRegNum"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="具有国家注册执业资格证书总数">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.NationalCertTotal"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="设计人员总数">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.DesignerTotal"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="技术工人总数" prop="SkillerTotal">
|
|
|
- <el-input-number
|
|
|
- v-model="formDataCert.SkillerTotal"
|
|
|
- controls-position="right"
|
|
|
- :min="0"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input-number>
|
|
|
+ <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -230,15 +174,8 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
|
|
|
v-if="formDataCert.Status <= 0">添加</el-button>
|
|
|
</div>
|
|
|
- <equipment-list
|
|
|
- ref="equipmentList"
|
|
|
- :data.sync="equipmentList"
|
|
|
- :SupplierCertId="certId+''"
|
|
|
- :SupplierTypeCode="classId"
|
|
|
- :canadd="add_flat"
|
|
|
- height="360px"
|
|
|
- style="margin-top: 20px"
|
|
|
- ></equipment-list>
|
|
|
+ <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId+''"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
@@ -247,14 +184,8 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
|
|
|
v-if="formDataCert.Status <= 0">添加</el-button>
|
|
|
</div>
|
|
|
- <performance-list
|
|
|
- ref="performanceList"
|
|
|
- :data.sync="performanceList"
|
|
|
- :SupplierCertId="certId+''"
|
|
|
- :SupplierTypeCode="classId"
|
|
|
- :canadd="add_flat"
|
|
|
- style="margin-top: 20px"
|
|
|
- ></performance-list>
|
|
|
+ <performance-list ref="performanceList" :data.sync="performanceList" :SupplierCertId="certId+''"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" style="margin-top: 20px"></performance-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
@@ -263,15 +194,8 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog"
|
|
|
v-if="formDataCert.Status <= 0">添加</el-button>
|
|
|
</div>
|
|
|
- <patent-list
|
|
|
- ref="patentList"
|
|
|
- :data.sync="patentList"
|
|
|
- :SupplierCertId="certId+''"
|
|
|
- :SupplierTypeCode="classId"
|
|
|
- :canadd="add_flat"
|
|
|
- height="360px"
|
|
|
- style="margin-top: 20px"
|
|
|
- ></patent-list>
|
|
|
+ <patent-list ref="patentList" :data.sync="patentList" :SupplierCertId="certId+''"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></patent-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
@@ -280,36 +204,18 @@
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
|
|
|
v-if="formDataCert.Status <= 0">添加</el-button>
|
|
|
</div>
|
|
|
- <winning-list
|
|
|
- ref="winningList"
|
|
|
- :data.sync="winningList"
|
|
|
- :SupplierCertId="certId+''"
|
|
|
- :SupplierTypeCode="classId"
|
|
|
- :canadd="add_flat"
|
|
|
- height="360px"
|
|
|
- style="margin-top: 20px"
|
|
|
- ></winning-list>
|
|
|
+ <winning-list ref="winningList" :data.sync="winningList" :SupplierCertId="certId+''"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></winning-list>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="准入范围" :disabled="!certId">
|
|
|
- <goods-list
|
|
|
- ref="goodsList"
|
|
|
- :data.sync="goodsList"
|
|
|
- @close="getbuslist"
|
|
|
- :canadd="add_flat"
|
|
|
- height="360px"
|
|
|
- style="margin-top: 20px"
|
|
|
- ></goods-list>
|
|
|
+ <goods-list ref="goodsList" :data.sync="goodsList" @close="getbuslist" :canadd="add_flat" height="360px"
|
|
|
+ style="margin-top: 20px"></goods-list>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
|
- <subfile-list
|
|
|
- ref="subfileList"
|
|
|
- :data.sync="subfileList"
|
|
|
- :canadd="add_flat"
|
|
|
- :flag="flag"
|
|
|
- @close="selectAuditOrg"
|
|
|
- ></subfile-list>
|
|
|
+ <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" :flag="flag"
|
|
|
+ @close="selectAuditOrg"></subfile-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="审批流程" v-if="formDataCert.Status > 0">
|
|
|
@@ -377,8 +283,8 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="分办人员">
|
|
|
- <el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择分办人">
|
|
|
- <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
+ <el-input ref="selectAuditerFen" readonly v-model="auditerName" placeholder="请选择分办人">
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShowFen"></el-button>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -396,12 +302,10 @@
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <choose-auditor
|
|
|
- ref="chooseAuditor"
|
|
|
- @close="setAuditer"
|
|
|
- @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
- :visible="chooseAuditorVisible"
|
|
|
- ></choose-auditor>
|
|
|
+ <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
+ :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
+ <choose-auditor-fen ref="chooseAuditorFen" @close="setAuditerFen" @hideChooseAuditer="chooseAuditorVisibleFen=false"
|
|
|
+ :visible="chooseAuditorVisibleFen"></choose-auditor-fen>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -423,7 +327,7 @@
|
|
|
import GoodsList from "@/components/oilsupplier/goodslist";
|
|
|
import SubfileList from "@/components/oilsupplier/subfilelist";
|
|
|
import GoodsInfo from "@/components/oilsupplier/goodsinfo";
|
|
|
-
|
|
|
+ import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
|
|
|
import ChooseAuditor from "@/components/oilsupplier/chooseauditor";
|
|
|
import FloatImgBtn from '@/components/floatButton/index'
|
|
|
|
|
|
@@ -434,6 +338,7 @@
|
|
|
WfMultiHistory,
|
|
|
WfBackHistory,
|
|
|
SupplierCertEdit,
|
|
|
+ ChooseAuditorFen,
|
|
|
|
|
|
EquipmentList, // 企业主要情况
|
|
|
PerformanceList, // 近三年主要业绩列表
|
|
|
@@ -476,6 +381,7 @@
|
|
|
};
|
|
|
return {
|
|
|
chooseAuditorVisible: false,
|
|
|
+ chooseAuditorVisibleFen: false,
|
|
|
createBtn: false,
|
|
|
activeName: "0",
|
|
|
fushenauditer: '', //复审人员
|
|
|
@@ -629,43 +535,37 @@
|
|
|
},
|
|
|
flag: "01",
|
|
|
rules: {
|
|
|
- WorkerTotal: [
|
|
|
- {
|
|
|
- validator: checkWorkerTotal,
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ],
|
|
|
- TechnicalNum: [
|
|
|
- {
|
|
|
- validator: checkTechnicalNum,
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ],
|
|
|
- SkillerTotal: [
|
|
|
- {
|
|
|
- validator: checkSkillerTotal,
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
+ WorkerTotal: [{
|
|
|
+ validator: checkWorkerTotal,
|
|
|
+ trigger: 'blur'
|
|
|
+ }],
|
|
|
+ TechnicalNum: [{
|
|
|
+ validator: checkTechnicalNum,
|
|
|
+ trigger: 'blur'
|
|
|
+ }],
|
|
|
+ SkillerTotal: [{
|
|
|
+ validator: checkSkillerTotal,
|
|
|
+ trigger: 'blur'
|
|
|
+ }]
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.serviceId = this.$route.params.opera + "";
|
|
|
- if (this.$route.query.rtn) {
|
|
|
- this.showReturn = 0;
|
|
|
- }
|
|
|
- if (this.$route.query.certid) {
|
|
|
- this.certId = this.$route.query.certid + "";
|
|
|
- }
|
|
|
- if (this.serviceId !== "add" && this.serviceId > 0) {
|
|
|
- this.formData.Id = this.serviceId;
|
|
|
- } else {
|
|
|
- this.formData.Id = 0;
|
|
|
- }
|
|
|
- this.getDictOptions();
|
|
|
- //this.getorgtreelist();
|
|
|
- this.IsCompanyUser = this.authUser.Profile.IsCompanyUser;
|
|
|
+ mounted() {
|
|
|
+ this.serviceId = this.$route.params.opera + "";
|
|
|
+ if (this.$route.query.rtn) {
|
|
|
+ this.showReturn = 0;
|
|
|
+ }
|
|
|
+ if (this.$route.query.certid) {
|
|
|
+ this.certId = this.$route.query.certid + "";
|
|
|
+ }
|
|
|
+ if (this.serviceId !== "add" && this.serviceId > 0) {
|
|
|
+ this.formData.Id = this.serviceId;
|
|
|
+ } else {
|
|
|
+ this.formData.Id = 0;
|
|
|
+ }
|
|
|
+ this.getDictOptions();
|
|
|
+ //this.getorgtreelist();
|
|
|
+ this.IsCompanyUser = this.authUser.Profile.IsCompanyUser;
|
|
|
|
|
|
if (this.IsCompanyUser && this.serviceId === "add") {
|
|
|
apiCert
|
|
|
@@ -1170,6 +1070,16 @@
|
|
|
this.chooseAuditorVisible = false;
|
|
|
this.auditOrgChang(this.auditer)
|
|
|
},
|
|
|
+ chooseAuditorShowFen() {
|
|
|
+ console.log("--this.formData.SupplierTypeCode----", this.formData.SupplierTypeCode)
|
|
|
+ this.$refs['chooseAuditorFen'].getorgtreelist(this.formData.SupplierTypeCode)
|
|
|
+ this.chooseAuditorVisibleFen = true
|
|
|
+ },
|
|
|
+ setAuditerFen(val, name) {
|
|
|
+ this.auditer = val
|
|
|
+ this.auditerName = name
|
|
|
+ this.chooseAuditorVisibleFen = false
|
|
|
+ },
|
|
|
AuditEntity(val) {
|
|
|
if (this.auditer === "") {
|
|
|
this.$message({
|