heyang 2 роки тому
батько
коміт
13838ce1cc

+ 1 - 1
src/utils/request.js

@@ -127,7 +127,7 @@ service.interceptors.response.use(res => {
         },1000);
       }
       return Promise.reject(new Error(msg))
-    } else if (code == 303 || code == 530 || code == 503 || code == 504) {
+    } else if (code == 303 || code == 530 || code == 503 || code == 504|| code == 205) {
       // 303-考试从定向   530-账号不存在   503-验证码错误  504特殊报错code 用于报错后需要返回code进行后续操作
       return res.data
     } else if (code != 200) {

+ 2 - 2
src/views/comprehensive/laboratoryManagement/accessAuthorization/lookImpower.vue

@@ -27,8 +27,8 @@
         </el-table-column>
         <el-table-column label="授权状态" align="left" prop="isretry">
           <template slot-scope="scope">
-            <span v-if="scope.row.state">成功</span>
-            <span v-if="!scope.row.state">失败</span>
+            <span v-if="scope.row.impowerStatus">成功</span>
+            <span v-if="!scope.row.impowerStatus">失败</span>
           </template>
         </el-table-column>
         <el-table-column label="类别" align="left" prop="userType"></el-table-column>

+ 1 - 1
src/views/comprehensive/laboratoryManagement/subject/deviceList.vue

@@ -643,7 +643,7 @@ export default {
             type: "warning"
           }).then(() => {
             //  确定
-            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
           }).catch(function() {
             //  取消
           });

+ 2 - 2
src/views/comprehensive/personnel/student/addPage.vue

@@ -460,7 +460,7 @@ export default {
                   type: "warning"
                 }).then(() => {
                   //  确定
-                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
                 }).catch(function() {
                   //  取消
                   this.outPageButton();
@@ -481,7 +481,7 @@ export default {
                   type: "warning"
                 }).then(() => {
                   //  确定
-                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
                 }).catch(function() {
                   //  取消
                   this.outPageButton();

+ 2 - 2
src/views/comprehensive/personnel/teacher/addPage.vue

@@ -729,7 +729,7 @@ export default {
             type: "warning"
           }).then(() => {
             //  确定
-            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
           }).catch(function() {
             //  取消
             this.outPageButton();
@@ -749,7 +749,7 @@ export default {
             type: "warning"
           }).then(() => {
             //  确定
-            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
           }).catch(function() {
             //  取消
             this.outPageButton();

+ 1 - 1
src/views/medicUniversity-3_1/chemicalManagement/deviceManagement/SmartAccessControl/index.vue

@@ -381,7 +381,7 @@ export default {
                   type: "warning"
                 }).then(() => {
                   //  确定
-                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+                  this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
                 }).catch(function() {
                   //  取消
                 });

+ 1 - 1
src/views/secureAccess/approval/infoPage.vue

@@ -269,7 +269,7 @@ export default {
             type: "warning"
           }).then(() => {
             //  确定
-            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
           }).catch(function() {
             //  取消
             this.$parent.tableClick(1);

+ 2 - 2
src/views/secureAccess/whitelist/addPage.vue

@@ -437,6 +437,7 @@ export default {
     },
     //新增提交
     whitelistAddList(){
+
       let labWhiteJoinSubList=[];
       this.subjectList.forEach(function (item,index){
         labWhiteJoinSubList.push({'subjectId':item.subjectId})
@@ -446,7 +447,6 @@ export default {
         labWhiteJoinSubList:labWhiteJoinSubList
       }
       whitelistAddList(obj).then(response => {
-
         if(response.code==200){
           this.msgSuccess("操作成功")
           this.backPage();
@@ -457,7 +457,7 @@ export default {
             type: "warning"
           }).then(() => {
             //  确定
-            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization-KDNH' });
+            this.$router.push({ path: '/comprehensive/laboratoryManagement/accessAuthorization' });
           }).catch(function() {
             //  取消
             this.backPage();