lining 6 年之前
父節點
當前提交
8576bf3732
共有 18 個文件被更改,包括 260 次插入36 次删除
  1. 36 3
      src/dashoo.cn/backend/api/business/tmpzcgf/tmpzcgfSession.go
  2. 117 5
      src/dashoo.cn/backend/api/controllers/tmpzcgf/tmpzcgf.go
  3. 1 0
      src/dashoo.cn/frontend_web/src/components/oilsupplier/businesslist.vue
  4. 4 0
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue
  5. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/annualfistaudit.vue
  6. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/basicindex.vue
  7. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/goodsindex.vue
  8. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/index.vue
  9. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/techindex.vue
  10. 2 2
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/index.vue
  11. 4 4
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/infoaudit.vue
  12. 4 4
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/qualchange/index.vue
  13. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/qualchange/qualaudit.vue
  14. 2 2
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/basislist.vue
  15. 2 2
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/goodslist.vue
  16. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/index.vue
  17. 2 2
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/techlist.vue
  18. 79 5
      src/dashoo.cn/frontend_web/src/pages/system/tmpzcgf.vue

+ 36 - 3
src/dashoo.cn/backend/api/business/tmpzcgf/tmpzcgfSession.go

@@ -290,11 +290,44 @@ func (s *TmpzcgtSession) UpdateCertSub03classId(where string) error {
 	return err
 }
 
+func (s *TmpzcgtSession) InsertOilSupplierCertAppend() error {
+	sql := " INSERT INTO OilSupplierCertAppend (OldId,CreateOn,AppendType,SupplierName,CreateBy,RecUnitId,ApplyDate) " +
+	"select Max(id) as OldId,申请日期 as CreateOn, (case 准入类别 when '物资类' then '01' when '基建类' then '02' when '技术服务类' then '03' end) AppendType, "+
+		"企业名称 as SupplierName, 录入员 as CreateBy, 推荐单位编码 as RecUnitId, 申请日期 as ApplyDate "+
+		"from tmp_zengxiang "+
+		"group by id,申请日期,企业名称,录入员,推荐单位编码,申请日期,准入类别"
+	_, err := s.Session.Query(sql)
+	return err
+}
 
 
+func (s *TmpzcgtSession) InsertOilInfoChange () error {
+	sql := "INSERT INTO OilInfoChange (AccessCardNo,SupplierName,OldSupplierName,SupplierTypeName,SupplierTypeCode,OilCertificateNo,Grade,OperType,Country,MaunAgent,ConstructTeam,CommercialNo,OrganCode,CountryTaxNo,LocalTaxNo, "+
+		"Address,ZipCode,QualitySystemCert,ProductQualityCert,MaunLicense,QualifCert,QualifCertLevel,SafetyLicense,TechServiceLic,TJInNotify, "+
+		"SpecIndustryCert,LegalPerson,CategoryCode,CategoryName,RegCapital,Currency,ContactName,CompanyType,DepositBank,BankAccount,EMail, "+
+		"BankCreditRating,Mobile,Telphone,Fax,CompanyTel,QQ,CompanyUrl,Remark,CreateOn,CreateBy,HouseNo) "+
+	"select 准入证号 as AccessCardNo, 企业名称 as SupplierName, 曾用名 as OldSupplierName, 准入类别 as SupplierTypeName,(case 准入类别 when '物资类' then '01' when '基建类' then '02' when '技术服务类' then '03' end) SupplierTypeCode, "+
+		"中石油供应商证书号 as OilCertificateNo, 级别 as Grade, 经营方式 as OperType, 国家 as Country, 所代理制造商名称 as MaunAgent, 施工队伍名称 as ConstructTeam, 工商注册号 as CommercialNo, 组织机构代码 as OrganCode, "+
+		"税务登记证国税编号 as CountryTaxNo, 税务登记证地税编号 as LocalTaxNo, 单位地址 as Address, 邮编 AS ZipCode, 质量管理体系认证情况及认证机构 AS QualitySystemCert, 产品质量认证情况及认证机构 AS ProductQualityCert, "+
+		"生产制造许可证获证情况及编号 AS MaunLicense, 企业资质证书编号 AS QualifCert, 企业资质证书级别 AS QualifCertLevel, 安全生产许可证 AS SafetyLicense, 技术服务类准入许可证 AS TechServiceLic, 外地企业进津备案通知书 AS TJInNotify, "+
+		"行业特殊要求的认证证书 AS SpecIndustryCert, 法定代表人姓名 AS LegalPerson, 行业类别代码 AS CategoryCode, 行业类别名称 AS CategoryName, 注册资本 AS RegCapital, 币种 AS Currency, 联系人姓名 AS ContactName, 公司类型 AS CompanyType, "+
+		"开户银行 AS DepositBank, 银行账号 AS BankAccount, 电子邮箱 AS EMail, 银行信用等级 AS BankCreditRating, 移动电话 AS Mobile, 固定电话 AS Telphone, 传真 AS Fax, 公司电话 AS CompanyTel, QQ号码 AS QQ, 公司网址 AS CompanyUrl, "+
+		"申请变更原因及内容 AS Remark, 审核日期 as  CreateOn, 录入员 as CreateBy,ID AS HouseNo from tmp_biangenxinxi "
+	_, err := s.Session.Query(sql)
+	return err
+}
 
+func (s *TmpzcgtSession) InsertOilSupplierCertSub  () error {
+	sql := "insert into OilSupplierCertSub (Type, OldId, SupplierTypeCode, Code, Name, Remark, CreateOn, CreateBy) "+
+	"select '2' as Type, id as OldId, ( case 准入类别 when '物资类' then '01' when '基建类' then '02' when '技术服务类' then '03' end ) SupplierTypeCode, 物资编码 as Code, 产品名称 as Name, 备注 as Remark, 申请日期 as CreateOn, 录入员 as CreateBy "+
+		"from tmp_zengxiang "
+	_, err := s.Session.Query(sql)
+	return err
+}
 
-
-
-
+func (s *TmpzcgtSession) UpdateOilInfoChange () error {
+	sql := "UPDATE OilInfoChange b SET b.SupplierId=(SELECT a.SupplierId FROM OilSupplierCert a WHERE a.GfId = b.HouseNo)"
+	_, err := s.Session.Query(sql)
+	return err
+}
 

+ 117 - 5
src/dashoo.cn/backend/api/controllers/tmpzcgf/tmpzcgf.go

@@ -135,9 +135,13 @@ func (this *TmpzcgfController) UpdateSupplierId(){
 // @Success 200 {object}
 // @router /insterannualaudit [get]
 func (this *TmpzcgfController) InsterAnnualAudit(){
+	fmt.Println("=============开始导入年审表==========")
 	t := time.Now()
 	session := utils.DBE.NewSession()
-	defer session.Close()
+	defer func() {
+		fmt.Println("=============导入年审表结束==========")
+		session.Close()
+	}()
 	err := session.Begin()
 	svc := tmpzcgf.GetTmpzcgtService(session)
 	err = svc.InsterAnnual()
@@ -155,9 +159,13 @@ func (this *TmpzcgfController) InsterAnnualAudit(){
 // @Success 200 {object}
 // @router /updateAnnualAudit [get]
 func (this *TmpzcgfController) UpdateAnnualAudit(){
+	fmt.Println("=============开始更新年审表==========")
 	t := time.Now()
 	session := utils.DBE.NewSession()
-	defer session.Close()
+	defer func() {
+		fmt.Println("=============开始年审表结束==========")
+		session.Close()
+	}()
 	err := session.Begin()
 	svc := tmpzcgf.GetTmpzcgtService(session)
 	err = svc.UpdateOilAnnualAudit()
@@ -196,9 +204,13 @@ func (this *TmpzcgfController) UpdateAnnualAudit(){
 // @Success 200 {object}
 // @router /updateOilSupplierCertAppend [get]
 func (this *TmpzcgfController) UpdateOilSupplierCertAppend(){
+	fmt.Println("=============开始更新年审表==========")
 	t := time.Now()
 	session := utils.DBE.NewSession()
-	defer session.Close()
+	defer func() {
+		fmt.Println("=============开始年审表结束==========")
+		session.Close()
+	}()
 	err := session.Begin()
 	svc := tmpzcgf.GetTmpzcgtService(session)
 	var appendlist []suppliercertappend.OilSupplierCertAppend
@@ -238,10 +250,11 @@ func (this *TmpzcgfController) UpdateOilSupplierCertAppend(){
 // @Success 200 {object}
 // @router /insterOilPaymentInfo [get]
 func (this *TmpzcgfController) InsterOilPaymentInfo(){
+	fmt.Println("=============导入缴费记录开始==========")
 	t := time.Now()
 	session := utils.DBE.NewSession()
 	defer func() {
-		fmt.Println("+++++++++++")
+		fmt.Println("=============导入缴费记录结束==========")
 		session.Close()
 	}()
 	err := session.Begin()
@@ -265,9 +278,11 @@ func (this *TmpzcgfController) InsterOilPaymentInfo(){
 // @Success 200 {object}
 // @router /insterBadRecord [get]
 func (this *TmpzcgfController) InsterBadRecord(){
+	fmt.Println("=============导入不良记录开始==========")
 	t := time.Now()
 	session := utils.DBE.NewSession()
 	defer func() {
+		fmt.Println("=============导入不良记录结束==========")
 		session.Close()
 	}()
 	err := session.Begin()
@@ -311,7 +326,7 @@ func (this *TmpzcgfController) InsterBadRecord(){
 //
 //}
 
-// @Title 导入年审
+// @Title 导入准入范围
 // @Description get user by token
 // @Success 200 {object}
 // @router /insertCertSub [get]
@@ -407,4 +422,101 @@ func (this *TmpzcgfController) UpdateCertSubclassID(){
 	fmt.Println(elapsed)
 
 
+}
+
+
+// @Title 导入增项申请
+// @Description get user by token
+// @Success 200 {object}
+// @router /insertOilSupplierCertAppend [get]
+func (this *TmpzcgfController) InsertOilSupplierCertAppend(){
+	fmt.Println("==========导入增项申请开始=========")
+	t := time.Now()
+	session := utils.DBE.NewSession()
+	defer func() {
+		fmt.Println("==========导入增项申请结束=========")
+		session.Close()
+	}()
+	err := session.Begin()
+	svc := tmpzcgf.GetTmpzcgtService(session)
+	err = svc.InsertOilSupplierCertAppend()
+	if err != nil {
+		session.Rollback()
+	}
+	err = session.Commit()
+	fmt.Println(err)
+	elapsed := time.Since(t)
+	fmt.Println(elapsed)
+}
+
+// @Title 导入信息变更
+// @Description get user by token
+// @Success 200 {object}
+// @router /insertOilInfoChange [get]
+func (this *TmpzcgfController) InsertOilInfoChange(){
+	fmt.Println("==========导入信息变更开始=========")
+	t := time.Now()
+	session := utils.DBE.NewSession()
+	defer func() {
+		fmt.Println("==========导入信息变更结束=========")
+		session.Close()
+	}()
+	err := session.Begin()
+	svc := tmpzcgf.GetTmpzcgtService(session)
+	err = svc.InsertOilInfoChange()
+	if err != nil {
+		session.Rollback()
+	}
+	err = session.Commit()
+	fmt.Println(err)
+	elapsed := time.Since(t)
+	fmt.Println(elapsed)
+}
+
+// @Title 导入增项的准入范围
+// @Description get user by token
+// @Success 200 {object}
+// @router /insertOilSupplierCertSub [get]
+func (this *TmpzcgfController) InsertOilSupplierCertSub(){
+	fmt.Println("==========导入增项的准入范围开始=========")
+	t := time.Now()
+	session := utils.DBE.NewSession()
+	defer func() {
+		fmt.Println("==========导入增项的准入范围结束=========")
+		session.Close()
+	}()
+	err := session.Begin()
+	svc := tmpzcgf.GetTmpzcgtService(session)
+	err = svc.InsertOilSupplierCertSub()
+	if err != nil {
+		session.Rollback()
+	}
+	err = session.Commit()
+	fmt.Println(err)
+	elapsed := time.Since(t)
+	fmt.Println(elapsed)
+}
+
+// @Title 跟新
+// @Description get user by token
+// @Success 200 {object}
+// @router /updateOilInfoChange [get]
+func (this *TmpzcgfController) UpdateOilInfoChange(){
+	fmt.Println("==========更新信息变更开始=========")
+	t := time.Now()
+	session := utils.DBE.NewSession()
+	defer func() {
+		fmt.Println("==========更新信息变更结束=========")
+		session.Close()
+	}()
+	err := session.Begin()
+	svc := tmpzcgf.GetTmpzcgtService(session)
+	err = svc.UpdateOilInfoChange()
+	if err != nil {
+		session.Rollback()
+	}
+	err = session.Commit()
+	fmt.Println(err)
+	elapsed := time.Since(t)
+	fmt.Println(elapsed)
 }

+ 1 - 0
src/dashoo.cn/frontend_web/src/components/oilsupplier/businesslist.vue

@@ -225,6 +225,7 @@
           _currentPage: this.currentPage,
           _size: this.size
         }
+        console.log(params, 'params')
         this.$axios.get('suppliercertsub/list', {
             params
           })

+ 4 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -485,6 +485,7 @@
       this.WorkflowId = this.$route.query.WorkflowId + ''
       this.getDictOptions()
       this.formData.Id = this.serviceId
+      console.log(this.formData.Id, this.$route.params)
       this.initDatas()
       this.entityForm.Status = this.Status
       this.backhistroy.certId = this.annualId
@@ -639,8 +640,11 @@
         this.$refs["winningList"].showDialog()
       },
       initDatas() {
+        console.log(this.formData.Id, 'this.formData.Id')
         if (this.formData.Id) {
+          console.log('111')
           api.getEntityAndCert(this.certId, this.$axios).then(res => {
+            console.log('222')
             this.formData = res.data
             console.log("----",this.formData)
             this.formDataCert.WorkerTotal = this.formData.WorkerTotal

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/annualfistaudit.vue

@@ -266,7 +266,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/basicindex.vue

@@ -357,7 +357,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/goodsindex.vue

@@ -356,7 +356,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/index.vue

@@ -352,7 +352,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/techindex.vue

@@ -356,7 +356,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/index.vue

@@ -10,7 +10,7 @@
           <span>
             <i class="icon icon-table2"></i> 企业信息表
           </span>
-          
+
           <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
             <el-form-item label="年审日期">
               <el-date-picker size="mini" style="width: 220px" v-model="CreateOn" type="daterange" range-separator="至"
@@ -335,7 +335,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 4 - 4
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/infoaudit.vue

@@ -82,7 +82,7 @@
                 start-placeholder="生成日期" end-placeholder="结束日期"></el-date-picker>
             </el-form-item>
           </el-col> -->
-          <!-- 
+          <!--
           <el-col :span="12">
             <el-form-item label="">
               <el-input size="mini" v-model="searchForm.Id" style="width:100%" placeholder="请输入"></el-input>
@@ -114,7 +114,7 @@
               <el-input size="mini" v-model="searchForm.SupplierName" style="width:100%" placeholder="请输入"></el-input>
             </el-form-item>
           </el-col>
-         
+
         </el-row>
       </el-form>
       <span slot="footer" class="dialog-footer">
@@ -236,7 +236,7 @@
           //   sort: true
           // },
 
-          
+
           // {
           //   prop: "MgrUnit",
           //   label: '管理单位',
@@ -304,7 +304,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 4 - 4
src/dashoo.cn/frontend_web/src/pages/oilsupplier/qualchange/index.vue

@@ -10,7 +10,7 @@
           <span>
             <i class="icon icon-table2"></i> 企业资质表
           </span>
-         
+
           <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
             <el-form-item label="年审日期">
               <el-date-picker size="mini" style="width: 220px" v-model="CreateOn" type="daterange" range-separator="至"
@@ -32,11 +32,11 @@
                 </el-dropdown-menu>
               </el-dropdown>
             </el-form-item>
-            <el-form-item> 
+            <el-form-item>
               <el-button type="primary" size="mini"  @click="addqualchange">
                 添加变更
               </el-button>
-            </el-form-item> 
+            </el-form-item>
           </el-form>
         </div>
         <el-table :data="entityList" size="mini" border height="calc(100vh - 243px)" style="width: 100%"
@@ -259,7 +259,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/qualchange/qualaudit.vue

@@ -222,7 +222,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/basislist.vue

@@ -52,7 +52,7 @@
               <!-- <el-button type="primary" title="删除" size="mini" plain @click="deleteData(scope.row.Id)">删除</el-button> -->
             </template>
           </el-table-column>
-          
+
           <el-table-column prop="SupplierName" label="供方名称" sortable min-width="130" align="center"
             show-overflow-tooltip></el-table-column>
           <!-- <el-table-column prop="RecUnitId" label="推荐单位编码" sortable min-width="130" align="center" show-overflow-tooltip></el-table-column> -->
@@ -276,7 +276,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/goodslist.vue

@@ -50,7 +50,7 @@
               <!-- <el-button type="primary" title="删除" size="mini" plain @click="deleteData(scope.row.Id)">删除</el-button> -->
             </template>
           </el-table-column>
-          
+
           <el-table-column prop="SupplierName" label="供方名称" sortable min-width="130" align="center"
                            show-overflow-tooltip></el-table-column>
           <!-- <el-table-column prop="RecUnitId" label="推荐单位编码" sortable min-width="130" align="center" show-overflow-tooltip></el-table-column> -->
@@ -276,7 +276,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/index.vue

@@ -285,7 +285,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/techlist.vue

@@ -54,7 +54,7 @@
               <!-- <el-button type="primary" title="删除" size="mini" plain @click="deleteData(scope.row.Id)">删除</el-button> -->
             </template>
           </el-table-column>
-          
+
           <el-table-column prop="SupplierName" label="供方名称" sortable min-width="130" align="center"
             show-overflow-tooltip></el-table-column>
           <!-- <el-table-column prop="RecUnitId" label="推荐单位编码" sortable min-width="130" align="center" show-overflow-tooltip></el-table-column> -->
@@ -279,7 +279,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)

+ 79 - 5
src/dashoo.cn/frontend_web/src/pages/system/tmpzcgf.vue

@@ -22,11 +22,15 @@
        <el-button size="mini" type="primary" @click="updateCertSub" v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表</el-button>
        <!--<el-button size="mini" type="primary" @click="updateCertSubclassID" v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表的编码ID</el-button>-->
 
-       <!--<el-button size="mini" type="primary" @click="insterAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">导入年审表</el-button>-->
-       <!--<el-button size="mini" type="primary" @click="updateAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">跟新年审表的SupplierId和CerId</el-button>-->
-       <!--<el-button size="mini" type="primary" @click="updateOilSupplierCertAppend" v-loading.fullscreen.lock="fullscreenLoading">跟新OilSupplierCertAppend表的SupplierId和CerId</el-button>-->
-       <!--<el-button size="mini" type="primary" @click="insterOilPaymentInfo" v-loading.fullscreen.lock="fullscreenLoading">导入缴费记录并更新</el-button>-->
-       <!--<el-button size="mini" type="primary" @click="insterBadRecord" v-loading.fullscreen.lock="fullscreenLoading">导入不良记录并更新</el-button>-->
+       <el-button size="mini" type="primary" @click="insterAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">导入年审表</el-button>
+       <el-button size="mini" type="primary" @click="updateAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">跟新年审表的SupplierId和CerId</el-button>
+       <el-button size="mini" type="primary" @click="insertOilSupplierCertAppend" v-loading.fullscreen.lock="fullscreenLoading">导入增项申请</el-button>
+       <el-button size="mini" type="primary" @click="updateOilSupplierCertAppend" v-loading.fullscreen.lock="fullscreenLoading">跟新OilSupplierCertAppend表的SupplierId和CerId</el-button>
+       <el-button size="mini" type="primary" @click="insertOilSupplierCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入增项的准入范围</el-button>
+       <el-button size="mini" type="primary" @click="insterOilPaymentInfo" v-loading.fullscreen.lock="fullscreenLoading">导入缴费记录并更新</el-button>
+       <el-button size="mini" type="primary" @click="insterBadRecord" v-loading.fullscreen.lock="fullscreenLoading">导入不良记录并更新</el-button>
+       <el-button size="mini" type="primary" @click="insertOilInfoChange" v-loading.fullscreen.lock="fullscreenLoading">导入信息变更</el-button>
+       <el-button size="mini" type="primary" @click="updateOilInfoChange" v-loading.fullscreen.lock="fullscreenLoading">跟新信息变更</el-button>
        <!--<el-button size="mini" type="primary" @click="insertCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入准入范围</el-button>-->
     </el-card>
     <el-card class="box-card">
@@ -220,6 +224,76 @@
                 this.fullscreenLoading = false
               })
           })
+      },
+      updateOilSupplierCertAppend () {
+        this.$confirm('是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        })
+          .then(() => {
+            this.fullscreenLoading = true
+            this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
+              .then(res => {
+                this.fullscreenLoading = false
+              })
+          })
+      },
+      insertOilSupplierCertAppend () {
+        this.$confirm('是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        })
+          .then(() => {
+            this.fullscreenLoading = true
+            this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
+              .then(res => {
+                this.fullscreenLoading = false
+              })
+          })
+      },
+      insertOilSupplierCertSub () {
+        this.$confirm('是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        })
+          .then(() => {
+            this.fullscreenLoading = true
+            this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
+              .then(res => {
+                this.fullscreenLoading = false
+              })
+          })
+      },
+      insertOilInfoChange () {
+        this.$confirm('是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        })
+          .then(() => {
+            this.fullscreenLoading = true
+            this.$axios.get('tmpzcgf/insertOilInfoChange')
+              .then(res => {
+                this.fullscreenLoading = false
+              })
+          })
+      },
+      updateOilInfoChange () {
+        this.$confirm('是否继续?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        })
+          .then(() => {
+            this.fullscreenLoading = true
+            this.$axios.get('tmpzcgf/updateOilInfoChange')
+              .then(res => {
+                this.fullscreenLoading = false
+              })
+          })
       }
     }
   }