lideyin 5 жил өмнө
parent
commit
ef395a8335

+ 37 - 11
src/modules/basic/view/clientConfig.vue

@@ -5,12 +5,16 @@
         :model="ruleForm"
         :rules="rules"
         ref="ruleForm"
-        label-width="120px"
+        label-width="136px"
         class="demo-ruleForm"
         :inline-message="true"
       >
         <el-form-item v-if="isSuperAdmin" label="学校">
-          <el-select v-model="ruleForm.orgId" placeholder="请选择" style="width: 180px">
+          <el-select
+            v-model="ruleForm.orgId"
+            placeholder="请选择"
+            style="width: 180px"
+          >
             <el-option
               v-for="item in rootOrgList"
               :label="item.name"
@@ -46,10 +50,18 @@
             :on-exceed="handleExceed"
             list-type="picture"
           >
-            <el-button size="small" slot="trigger" type="primary">选择文件</el-button>&nbsp;
-            <el-button size="small" type="success" @click="submitUpload">确认上传</el-button>
-            <el-button size="small" type="danger" @click="removeFile">清空文件</el-button>
-            <div slot="tip" class="el-upload__tip">图片大小(长*宽)为400*100的png文件</div>
+            <el-button size="small" slot="trigger" type="primary"
+              >选择文件</el-button
+            >&nbsp;
+            <el-button size="small" type="success" @click="submitUpload"
+              >确认上传</el-button
+            >
+            <el-button size="small" type="danger" @click="removeFile"
+              >清空文件</el-button
+            >
+            <div slot="tip" class="el-upload__tip">
+              图片大小(长*宽)为400*100的png文件
+            </div>
           </el-upload>
           <el-input v-show="false" v-model="ruleForm.LOGO_FILE_URL"></el-input>
         </el-form-item>
@@ -62,7 +74,8 @@
               :label="lt.code"
               v-model="lt.code"
               :key="lt.code"
-            >{{ lt.name }}</el-checkbox>
+              >{{ lt.name }}</el-checkbox
+            >
           </el-checkbox-group>
         </el-form-item>
         <el-form-item label="学号登录别名" prop="STUDENT_CODE_LOGIN_ALIAS">
@@ -72,7 +85,10 @@
             class="input-width"
           ></el-input>
         </el-form-item>
-        <el-form-item label="身份证号登录别名" prop="IDENTITY_NUMBER_LOGIN_ALIAS">
+        <el-form-item
+          label="身份证号登录别名"
+          prop="IDENTITY_NUMBER_LOGIN_ALIAS"
+        >
           <el-input
             v-model="ruleForm.IDENTITY_NUMBER_LOGIN_ALIAS"
             placeholder="请输入身份号登录别名"
@@ -87,10 +103,15 @@
               :label="pcc.code"
               v-model="pcc.code"
               :key="pcc.code"
-            >{{ pcc.name }}</el-checkbox>
+              >{{ pcc.name }}</el-checkbox
+            >
           </el-checkbox-group>
         </el-form-item>
-        <el-form-item v-show="false" label="窗口默认大小" prop="STUDENT_CLIENT_DEFAULT_SIZE">
+        <el-form-item
+          v-show="false"
+          label="窗口默认大小"
+          prop="STUDENT_CLIENT_DEFAULT_SIZE"
+        >
           <el-input
             v-model="ruleForm.STUDENT_CLIENT_DEFAULT_SIZE"
             placeholder="窗口大小格式为:宽度*高度"
@@ -105,7 +126,12 @@
           ></el-input>
         </el-form-item>
         <el-form-item>
-          <el-button :disabled="btnSaveDiabled" type="primary" @click="submitForm('ruleForm')">保 存</el-button>
+          <el-button
+            :disabled="btnSaveDiabled"
+            type="primary"
+            @click="submitForm('ruleForm')"
+            >保 存</el-button
+          >
           <!-- <el-button class="btn-margin-left" @click="resetForm('ruleForm')">取 消</el-button> -->
         </el-form-item>
       </el-form>