Ver código fonte

年审页面修改

huahaiyan 6 anos atrás
pai
commit
3f2110e19c

+ 17 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/auditoperation.vue

@@ -153,11 +153,18 @@
           </el-card>
         </el-tab-pane>
 
+       
+        <el-tab-pane label="准入范围" :disabled="!certId">
+          <business-list ref="businessList" :data.sync="businessList" :canadd="add_flat" height="360px"
+            style="margin-top: 20px"></business-list>
+        </el-tab-pane>
+
         <el-tab-pane label="企业资质">
-          <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-            :SupplierTypeCode="classId" height="360px" style="margin-top: 10px"></business-list>
+          <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId+''"
+                         :SupplierTypeCode="classId" :Visiblebtn="this.formData.Status" height="360px" style="margin-top: 20px"></auditbus-list>
         </el-tab-pane>
 
+
         <el-tab-pane label="提交审批">
           <el-card class="box-card" style="height: 800px">
             <div slot="header" class="clearfix">
@@ -236,6 +243,7 @@
   import WinningList from '@/components/oilsupplier/winninglist'
   import BusinessList from '@/components/oilsupplier/businesslist'
   import TechInfo from '@/components/oilsupplier/techinfo'
+  import AuditbusList from '@/components/oilsupplier/auditbuslist'
 
 
   export default {
@@ -254,6 +262,7 @@
       PatentList, //拥有专利、专有技术及工法列表
       WinningList, //近三年获得省部级及以上主要技术、管理成果、获奖项目列表
       BusinessList, //选择准入范围
+      AuditbusList, // 待审核业务
       TechInfo,
     },
     name: 'oiltechnologyserviceEdit',
@@ -538,7 +547,12 @@
             if (this.formData.SpecTypeCode.length > 0) {
               this.$refs["TechInfo"].UnitRelationAry = this.formData.SpecTypeCode.split(',')
             }
-            //this.$refs["businessList"].getvalue(this.formData.Id,this.formData.SupplierTypeCode,this.certId)
+            this.$refs['equipmentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['performanceList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['patentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['winningList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['businessList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            
             this.entrydetail.business = this.certId
             this.entrydetail.instance = this.WorkflowId
             if (this.certId && this.WorkflowId) {

+ 16 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -16,6 +16,7 @@
       <el-steps :active="Step" simple align-center finish-status="success">
         <el-step title="填写信息"></el-step>
         <el-step title="提交审批"></el-step>
+        <el-step title="审批完成"></el-step>
         <el-step title="供方交费"></el-step>
         <el-step title="完成"></el-step>
       </el-steps>
@@ -158,9 +159,14 @@
           </el-card>
         </el-tab-pane>
 
+        <el-tab-pane label="准入范围" :disabled="!certId">
+          <business-list ref="businessList" :data.sync="businessList" :canadd="add_flat" height="360px"
+            style="margin-top: 20px"></business-list>
+        </el-tab-pane>
+
         <el-tab-pane label="企业资质">
-          <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-            :SupplierTypeCode="classId" @close="nexStepCB" height="360px" style="margin-top: 20px"></business-list>
+          <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId+''"
+                         :SupplierTypeCode="classId" :Visiblebtn="this.formData.Status" height="360px" style="margin-top: 20px"></auditbus-list>
         </el-tab-pane>
 
         <el-tab-pane label="提交审批">
@@ -232,6 +238,7 @@
   import WinningList from '@/components/oilsupplier/winninglist'
   import BusinessList from '@/components/oilsupplier/businesslist'
   import TechInfo from '@/components/oilsupplier/techinfo'
+  import AuditbusList from '@/components/oilsupplier/auditbuslist'
 
    
   export default {
@@ -250,6 +257,7 @@
       PatentList, //拥有专利、专有技术及工法列表
       WinningList, //近三年获得省部级及以上主要技术、管理成果、获奖项目列表
       BusinessList, //选择准入范围
+      AuditbusList, // 待审核业务
       TechInfo,
     },
     name: 'oiltechnologyserviceEdit',
@@ -268,6 +276,7 @@
         addshow: false,
         canUpdateSupplier: true,
         dictData: null,
+        add_flat:false,
         applyLoading: false,
         equipmentList: [], //企业主要装备情况
         performanceList: [], //近三年主要工程业绩
@@ -551,7 +560,11 @@
             if (this.formData.SpecTypeCode.length > 0) {
               this.$refs["TechInfo"].UnitRelationAry = this.formData.SpecTypeCode.split(',')
             }
-            //this.$refs["businessList"].getvalue(this.formData.Id,this.formData.SupplierTypeCode,this.certId)
+            this.$refs['equipmentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['performanceList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['patentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['winningList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+            this.$refs['businessList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
             this.entrydetail.business = this.certId
             this.entrydetail.instance = this.WorkflowId
             if (this.certId && this.WorkflowId) {