瀏覽代碼

年审保存信息修改

huahaiyan 6 年之前
父節點
當前提交
9f34824d3d

+ 11 - 9
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/bassicoperation.vue

@@ -396,19 +396,21 @@
           NationalCertTotal: 0,
           DesignerTotal: 0,
           SkillerTotal: 0,
-          Remark: '',
-          IsDelete: '',
-          CreateOn: '',
-          CreateUserId: '',
-          CreateBy: '',
-          ModifiedOn: '',
-          ModifiedUserId: '',
-          ModifiedBy: '',
+          // Remark: '',
+          // IsDelete: '',
+          // CreateOn: '',
+          // CreateUserId: '',
+          // CreateBy: '',
+          // ModifiedOn: '',
+          // ModifiedUserId: '',
+          // ModifiedBy: '',
           CertId: 0,
           SupplierTypeCode: '',
           SupplierTypeName: '',
           Step: 0,
-          HseTraining: 0,
+          HseTraining: '0',
+          AuditIndex: 0,
+          PACNumber: ""
         },
 
         formDataCert: {

+ 11 - 9
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -413,19 +413,21 @@
           NationalCertTotal: 0,
           DesignerTotal: 0,
           SkillerTotal: 0,
-          Remark: '',
-          IsDelete: '',
-          CreateOn: '',
-          CreateUserId: '',
-          CreateBy: '',
-          ModifiedOn: '',
-          ModifiedUserId: '',
-          ModifiedBy: '',
+          // Remark: '',
+          // IsDelete: '',
+          // CreateOn: '',
+          // CreateUserId: '',
+          // CreateBy: '',
+          // ModifiedOn: '',
+          // ModifiedUserId: '',
+          // ModifiedBy: '',
           CertId: 0,
           SupplierTypeCode: '',
           SupplierTypeName: '',
           Step: 0,
-          HseTraining: 0,
+          HseTraining: '0',
+          AuditIndex: 0,
+          PACNumber: ""
         },
 
         formDataCert: {

+ 28 - 19
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -21,7 +21,8 @@
             </el-steps>
             <el-button slot="reference" plain size="mini" style="margin-left: 8px">查看进度</el-button>
           </el-popover>
-          <el-button type="primary" style="margin-left: 8px;" size="mini" @click="addshow =true" v-if="Status == '2'">提交审核</el-button>
+          <el-button type="primary" style="margin-left: 8px;" size="mini" @click="addshow =true" v-if="Status == '2'">
+            提交审核</el-button>
           <router-link :to="'/oilsupplier/annualaudit'">
             <el-button type="primary" size="mini" style="margin-left: 8px;">返回</el-button>
           </router-link>
@@ -59,7 +60,7 @@
             <div slot="header" class="clearfix">
               <span>企业人员结构情况</span>
               <span style="float: right;">
-              <el-button type="primary" size="mini" @click="updateNumberEntity()" v-if="Status <= 1">
+                <el-button type="primary" size="mini" @click="updateNumberEntity()" v-if="Status <= 1">
                   保存人员结构情况</el-button>
               </span>
             </div>
@@ -142,7 +143,8 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>企业主要装备情况</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="Status <= 1">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="Status <= 1">添加
+              </el-button>
             </div>
             <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId"
               :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></equipment-list>
@@ -151,7 +153,8 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年主要工程业绩</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="Status <= 1">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="Status <= 1">
+                添加</el-button>
             </div>
             <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" :disabled="true"
               :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></performance-list>
@@ -160,7 +163,8 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>拥有专利、专有技术及工法</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="Status <= 1">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="Status <= 1">添加
+              </el-button>
             </div>
             <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
               height="360px" style="margin-top: 20px">
@@ -170,7 +174,8 @@
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
-              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="Status <= 1">添加</el-button>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="Status <= 1">添加
+              </el-button>
             </div>
             <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" :SupplierTypeCode="classId"
               height="360px" style="margin-top: 20px">
@@ -184,7 +189,8 @@
         </el-tab-pane>
 
         <el-tab-pane label="企业资质" :disabled="!certId">
-          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" height="360px" style="margin-top: 20px"></subfile-list>
+          <subfile-list ref="subfileList" :data.sync="subfileList" :canadd="add_flat" height="360px"
+            style="margin-top: 20px"></subfile-list>
         </el-tab-pane>
 
         <el-tab-pane label="提交审批">
@@ -397,19 +403,21 @@
           NationalCertTotal: 0,
           DesignerTotal: 0,
           SkillerTotal: 0,
-          Remark: '',
-          IsDelete: '',
-          CreateOn: '',
-          CreateUserId: '',
-          CreateBy: '',
-          ModifiedOn: '',
-          ModifiedUserId: '',
-          ModifiedBy: '',
+          // Remark: '',
+          // IsDelete: '',
+          // CreateOn: '',
+          // CreateUserId: '',
+          // CreateBy: '',
+          // ModifiedOn: '',
+          // ModifiedUserId: '',
+          // ModifiedBy: '',
           CertId: 0,
           SupplierTypeCode: '',
           SupplierTypeName: '',
           Step: 0,
-          HseTraining: 0,
+          HseTraining: '0',
+          AuditIndex: 0,
+          PACNumber: ""
         },
 
         formDataCert: {
@@ -458,7 +466,7 @@
       this.initDatas()
       this.backhistroy.certId = this.annualId
       this.backhistroy.workflowId = this.WorkflowId
-      if (this.Status <=1 ) {
+      if (this.Status <= 1) {
         this.savebtn = false
         this.canUpdateSupplier = true
       }
@@ -687,7 +695,7 @@
       },
 
       updateEntity() {
-        console.log("formdata",this.formData)
+        console.log("formdata", this.formData)
         api.updateEntity(this.formData.Id, this.formData, this.$axios).then(res => {
           if (res.data.code === 0) {
             //更新子表
@@ -711,7 +719,8 @@
               return false
             }
             this.formDataCert.InStyle = this.formData.InStyle
-            api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(res => {
+            api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(
+            res => {
               if (res.data.code === 0) {
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()