소스 검색

发送验证码新增schoolCode参数

zhangjie 4 년 전
부모
커밋
402219cd67
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 1
      src/modules/login/views/Login.vue
  2. 2 2
      src/modules/print/views/PrintTaskManage.vue

+ 3 - 1
src/modules/login/views/Login.vue

@@ -216,7 +216,8 @@ export default {
     async fetchSmsCode() {
       const validAll = [
         this.checkField("loginName"),
-        this.checkField("password")
+        this.checkField("password"),
+        this.checkField("schoolCode")
       ];
 
       let result = true;
@@ -229,6 +230,7 @@ export default {
       this.isFetchingCode = true;
       const data = await getSmsCode({
         loginName: this.loginModel.loginName,
+        schoolCode: this.loginModel.schoolCode,
         password: Base64(this.loginModel.password)
       }).catch(() => {
         this.isFetchingCode = false;

+ 2 - 2
src/modules/print/views/PrintTaskManage.vue

@@ -222,14 +222,14 @@
               @click="toSubmit(scope.row)"
               title="提交印刷"
             ></el-button>
-            <el-button
+            <!-- <el-button
               v-if="scope.row.status === 'PRINTING'"
               class="btn-table-icon"
               type="text"
               icon="icon icon-circle-share"
               @click="toResubmit(scope.row)"
               title="重新提交"
-            ></el-button>
+            ></el-button> -->
             <el-button
               v-if="scope.row.status === 'WAITING'"
               class="btn-table-icon"