Przeglądaj źródła

历史数据;删除token

dubch 5 lat temu
rodzic
commit
487a6c3847

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

@@ -875,16 +875,16 @@ func (this *TmpzcgfController) InsertAll() {
 	this.UpdateCertTypeAndInflag()
 	this.UpdateSupplierId()
 	this.InsertFileName()
-	this.InsertCertSub()
+	this.InsertCertSub() // 准入
 	this.UpdateOilSupplierCertSub()
 	//this.InsertOilSupplierCertAppend()
 	//this.UpdateOilSupplierCertAppend()
-	this.InsertOilSupplierCertSub()
-	this.UpdateCertSubIsType1()
+	//this.InsertOilSupplierCertSub() //插入增项的准入范围
+	//this.UpdateCertSubIsType1() // 更新增项的准入范围
 
-	this.CapacityExpansion()
+	this.CapacityExpansion() // 编码扩充
 	// 历史数据导入-由于运行到此处中断,上面的代码临时注释
-	this.UpdateCertSubIsType3()
+	//this.UpdateCertSubIsType3() // 更新增项的准入范围
 	this.InsterAnnualAudit()
 	this.UpdateAnnualAudit()
 	this.InsterOilPaymentInfo()

+ 1 - 0
src/dashoo.cn/frontend_web/src/pages/login.vue

@@ -251,6 +251,7 @@ import Cookies from 'js-cookie'
         if (res && res.data.token) {
           // this.$cookie.set('iamCode', iamCode)
           // this.$cookies.set('token', res.data.token)
+          Cookies.remove('token')
           Cookies.set('token', res.data.token)
           // Cookies.set('iamCode', iamCode)
           this.$router.replace({ path: '/' })