2
3
shihang преди 6 години
родител
ревизия
3cfa5f738d

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -463,7 +463,7 @@
 
         <el-tab-pane label="选择准入范围" :disabled="formData.Step < 2">
           <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-            :SubClassId="classId" height="360px" style="margin-top: 20px"></business-list>
+            :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></business-list>
         </el-tab-pane>
 
         <el-tab-pane label="审批流程">
@@ -513,7 +513,7 @@
 
         serviceId: '',
         certId: '',
-        classId: '3',
+        classId: '02',
         stepActive: 0,
 
         formData: {

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -440,7 +440,7 @@
 
         <el-tab-pane label="准入范围及资质" :disabled="formData.Step < 2">
           <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
-            :SubClassId="classId" height="360px" style="margin-top: 20px"></business-list>
+            :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></business-list>
         </el-tab-pane>
 
         <el-tab-pane label="审批流程">
@@ -490,7 +490,7 @@
 
         serviceId: '',
         certId: '',
-        classId: '1',
+        classId: '01',
         stepActive: 0,
 
         formData: {

+ 7 - 6
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -482,7 +482,8 @@
             <div slot="header" class="clearfix">
               <span>审批流程</span>
               <span style="float: right;">
-                <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" @click="AuditEntity">提交审批</el-button>
+                <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" @click="AuditEntity">提交审批
+                </el-button>
               </span>
             </div>
             <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
@@ -528,7 +529,7 @@
     },
     name: 'oilsupplierEdit',
 
-    data () {
+    data() {
       return {
         equipmentList: [], //企业主要装备情况
         performanceList: [], //近三年主要工程业绩
@@ -635,7 +636,7 @@
         }
       }
     },
-    created () {
+    created() {
       this.serviceId = this.$route.params.opera
       this.certId = this.$route.query.certid
       this.getDictOptions()
@@ -660,7 +661,7 @@
         this.$refs["winningList"].showDialog()
       },
 
-      initDatas () {
+      initDatas() {
         if (this.formData.Id) {
           api.getEntityAndCert(this.certId, this.$axios).then(res => {
             this.formData = res.data
@@ -689,7 +690,7 @@
         }
       },
 
-      getDictOptions () {
+      getDictOptions() {
         /*api.getDictList(this.$axios).then(res => {}).catch(err => {
           console.error(err)
         })*/
@@ -804,7 +805,7 @@
         });
       },
 
-      AuditEntity () {
+      AuditEntity() {
         apiCert.auditEntity(this.certId, this.$axios).then(res => {
           if (res.data.code === 0) {
             //保存成功后,初始化数据,变成修改