dedsudiyu 1 年之前
父節點
當前提交
a9e7aa91ae

+ 9 - 1
src/views/basicsModules/mine.vue

@@ -507,7 +507,15 @@ export default {
     //页面按钮点击
     buttonTypeClick(type){
       if(this.buttonType != type){
-        this.buttonType = type;
+        if(type == 1){
+          this.buttonType = type;
+        }else {
+          if (this.user.source == 1){
+            this.buttonType = type;
+          } else {
+          // 系统对接用户 跳转至统一认证平台
+          }
+        }
       }
     },
     //获取信息

+ 2 - 1
src/views/integratedManagement/personnelManage/researchGroupManage/index.vue

@@ -40,7 +40,8 @@
              @click="tableButton(1)"
              v-hasPermiRouter="['system:topic:add']"
           >新增</p>
-          <el-form-item style="float: right;">
+          <el-form-item style="float: right;"
+                        v-hasPermiRouter="['system:topic:import']">
             <import-component :importConfig="importConfig" v-hasPermiRouter="['demo:demo:demo']"></import-component>
           </el-form-item>
         </el-form>

+ 8 - 1
src/views/integratedManagement/personnelManage/studentInfo/addPage.vue

@@ -201,6 +201,9 @@
             size="small"
           />
         </el-form-item>
+        <el-form-item label="来源:" prop="cardNum">
+          <p style="line-height:40px;color:#999;width:250px;padding-left:40px;">{{form.source==1?'统一认证平台':'系统用户'}}</p>
+        </el-form-item>
         <!--<el-form-item label="人脸照片:" prop="status" v-if="editType">-->
           <!--<div style="width:180px;" v-if="form.faceImg">-->
             <!--<img :src="form.faceImg" style="width:140px;height:140px;">-->
@@ -383,7 +386,11 @@ export default {
         this.form.position = '';
       }
       if(this.propsData.mobile){
-        this.form.mobile = this.propsData.mobile;
+        if(this.editType){
+          this.form.mobile = this.propsData.mobile.substr(0, 3) + '****' + this.propsData.mobile.substr(7, 11);
+        }else{
+          this.form.mobile = this.propsData.mobile;
+        }
       }else{
         this.form.mobile = '';
       }

+ 8 - 4
src/views/integratedManagement/personnelManage/studentInfo/index.vue

@@ -474,10 +474,14 @@ export default {
           this.msgSuccess("删除成功");
         }).catch(() => {});
       }else if(item.command == 3){
-        this.reset();
-        this.title = "重置密码";
-        this.userId = item.row.userId;
-        this.reviseOpen = true;
+        if(item.row.source == 1){
+          this.reset();
+          this.title = "重置密码";
+          this.userId = item.row.userId;
+          this.reviseOpen = true;
+        }else{
+          // 系统对接用户 跳转至统一认证平台
+        }
       }
     },
     //=========表格扩展选择器方法---开始=========

+ 8 - 1
src/views/integratedManagement/personnelManage/teacherInfo/addPage.vue

@@ -145,6 +145,9 @@
               placeholder="请选择出生日期">
             </el-date-picker>
           </el-form-item>
+          <el-form-item label="来源:" prop="cardNum">
+            <p style="line-height:40px;color:#999;width:250px;padding-left:40px;">{{form.source==2?'统一认证平台':'系统用户'}}</p>
+          </el-form-item>
         </div>
       </el-form>
       <user-list-one ref="userOpen"></user-list-one>
@@ -320,7 +323,11 @@ export default {
         this.form.category = '';
       }
       if(this.propsData.mobile){
-        this.form.mobile = this.propsData.mobile;
+        if(this.editType){
+          this.form.mobile = this.propsData.mobile.substr(0, 3) + '****' + this.propsData.mobile.substr(7, 11);
+        }else{
+          this.form.mobile = this.propsData.mobile;
+        }
       }else{
         this.form.mobile = '';
       }

+ 8 - 4
src/views/integratedManagement/personnelManage/teacherInfo/index.vue

@@ -996,10 +996,14 @@
             this.msgSuccess("删除成功");
           }).catch(() => {});
         }else if(item.command == 3){
-          this.userId = item.row.userId;
-          this.reset();
-          this.title = "重置密码";
-          this.reviseOpen = true;
+          if(item.row.source == 1){
+            this.userId = item.row.userId;
+            this.reset();
+            this.title = "重置密码";
+            this.reviseOpen = true;
+          }else{
+            // 系统对接用户 跳转至统一认证平台
+          }
         }
       },
       offTeacherResetPwd(){