浏览代码

企业认证修改

cuixq 3 年之前
父节点
当前提交
56e2bf9e28
共有 1 个文件被更改,包括 4 次插入10 次删除
  1. 4 10
      front-vue/src/views/system/company/certification.vue

+ 4 - 10
front-vue/src/views/system/company/certification.vue

@@ -1029,17 +1029,14 @@ export default {
     /** 查询企业状态 */
     getList() {
       cashBack().then((response) => {
-         console.log("data"+response.data)
         if(response.data) {
           this.form = response.data.list;
              if (response.data.list.scyEndTime != null) {
-                if(response.data.list.scyEndTime=="长期"){
+                if(response.data.list.scyEndTime=="长期"||response.data.list.scyEndTime=="永久"){
                   this.term = true
             }
           }
-          console.log("list"+response.data.list)
           if (response.data.list.scyStatus == "03") {
-              console.log("scyStatus"+response.data.scyStatus)
             this.$set(
               this.form,
               "pbaiBankaccountId",
@@ -1092,7 +1089,6 @@ export default {
     },
       //查询银行名称
     getBankList(query){
-        console.log(query)
         this.queryParams.pbaiBankName = query;
         listBank(this.queryParams).then((response) => {
             this.bankList = response.data;
@@ -1300,7 +1296,6 @@ export default {
       });
       getlicense(fd).then((response) => {
         if (response) {
-          console.log(response.data)
           this.$set(this.form, "scyName", response.data.scyName);
           this.$set(this.form, "scySocialCode", response.data.scySocialCode);
           this.$set(this.form, "scyAddress", response.data.scyAddress);
@@ -1314,10 +1309,11 @@ export default {
             this.$set(this.form, "scyStartTime", response.data.scyStartTime);
           }
           if (response.data.scyEndTime != null) {
-            this.$set(this.form, "scyEndTime", response.data.scyEndTime);
-                if(response.data.scyEndTime=="长期"){
+            console.log(response.data.scyEndTime)
+             if(response.data.scyEndTime=="长期"||response.data.scyEndTime=="永久"){
                   this.term = true
             }
+            this.$set(this.form, "scyEndTime", response.data.scyEndTime);
           }
           this.$set(this.form, "scyLicenseFile", response.data.scyLicenseFile);
           setTimeout(() => {
@@ -1505,11 +1501,9 @@ export default {
     submitForm() {
       //点击获取验证码
       const TIME_COUNT = 60;  //倒计时60秒
-      console.log(TIME_COUNT)
       if (!this.timer) {
         this.count = TIME_COUNT;
         this.codeShow = false;
-        console.log(this.count)
         this.timer = setInterval(() => {
           if (this.count > 0 && this.count <= TIME_COUNT) {
             this.count--;