Jelajahi Sumber

企业认证修改

cuixq 4 tahun lalu
induk
melakukan
f859468a10

+ 13 - 11
front-vue/src/views/system/company/certification.vue

@@ -1687,6 +1687,8 @@ export default {
 
           if (this.term) {
             this.form.scyEndTime = "长期";
+          }else{
+            this.form.scyEndTime = null;
           }
           if (!this.legalHandle) {
             this.form.legalHandles = "1";
@@ -1789,18 +1791,18 @@ export default {
     handleAvatarSuccess(res, file) {
       this.imageUrl = URL.createObjectURL(file.raw);
     },
-    beforeAvatarUpload(file) {
-      const isJPG = file.type === "image/jpeg";
-      const isLt2M = file.size / 1024 / 1024 < 2;
+    // beforeAvatarUpload(file) {
+    //   const isJPG = file.type === "image/jpeg";
+    //   const isLt2M = file.size / 1024 / 1024 < 2;
 
-      if (!isJPG) {
-        this.$message.error("上传头像图片只能是 JPG 格式!");
-      }
-      if (!isLt2M) {
-        this.$message.error("上传头像图片大小不能超过 2MB!");
-      }
-      return isJPG && isLt2M;
-    },
+    //   if (!isJPG) {
+    //     this.$message.error("上传头像图片只能是 JPG 格式!");
+    //   }
+    //   if (!isLt2M) {
+    //     this.$message.error("上传头像图片大小不能超过 2MB!");
+    //   }
+    //   return isJPG && isLt2M;
+    // },
   },
 };
 </script>

+ 4 - 3
front-vue/src/views/system/user/index.vue

@@ -254,7 +254,7 @@
                 icon="el-icon-edit"
                 @click="handleChange(scope.row)"
                 v-hasPermi="['system:ownUser:adminChange']"
-                v-if="scope.row.scyStatus=='03'&&scope.row.scyID!='000000'"
+                v-if="scope.row.scyStatus=='03'&&scope.row.scyId!='000000'&&scope.row.sucr_handler=='0'"
                 >变更管理员</el-button
               >
               <el-button
@@ -263,7 +263,8 @@
                 icon="el-icon-edit"
                 @click="handleHandler(scope.row)"
                 v-hasPermi="['system:ownUser:handlerChange']"
-                 v-if="scope.row.scyStatus!='03'&&scope.row.zhcStatus!='00'"
+                 v-if="scope.row.scyStatus!='03'&&scope.row.zhcStatus!='00'&&scope.row.sucr_handler=='0'
+                 &&scope.row.scyId!='000000'"
                 >申请变更经办人</el-button
               >
               <el-button
@@ -272,7 +273,7 @@
                 icon="el-icon-edit"
                 @click="confirmHandler(scope.row)"
                 v-hasPermi="['system:ownUser:confirmChange']"
-                v-if="scope.row.scyStatus!='03'&&scope.row.zhcStatus=='00'"
+                v-if="scope.row.scyStatus!='03'&&scope.row.zhcStatus=='00'&&scope.row.scyId!='000000'"
                 >确认变更经办人</el-button
               >
               <el-button