Jing 3 дней назад
Родитель
Сommit
700ef4865a
3 измененных файлов с 11 добавлено и 4 удалено
  1. 1 1
      src/layout/components/Navbar.vue
  2. 1 1
      src/utils/baseUrl.js
  3. 9 2
      src/views/news/ncomplaintListDeal.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -932,7 +932,7 @@ export default {
           this.$router.push(`/jobOpportunitiesDetails?id=${id}`);
         }
         else if (type == 3.3) {   // 招聘 待审核
-          this.$router.push(`/creatJob?id=${id}`);
+          this.$router.push(`/creatJob?id=${id}&to=checkjob`);
         }
         else if (type == 3.4) {   // 人才库
           this.$router.push(`/jobHuntingApplyDetil?id=${id}`);

+ 1 - 1
src/utils/baseUrl.js

@@ -21,7 +21,7 @@ const URL = {
   //WebsocketUrl: 'ws://103.105.201.2:9506'//正式环境ip -- websocket地址
   //WebsocketUrl: 'wss://flzxw.bjzxtw.org.cn'//正式环境域名 wss可用 -- websocket地址
   WebCloginUrl: 'https://apipre1.bjzxtw.org.cn/api/loginapi', //单点登录地址
-  WebCLogoutUrl: 'https://apipre1.bjzxtw.org.cn:29501/api/logoutapi', //单点登录退出
+  WebCLogoutUrl: 'https://apipre1.bjzxtw.org.cn/api/logoutapi', //单点登录退出
   //webClogBackUrL: 'http://adminpre.bjzxtw.org.cn/auth/back_login.php' //单点登录返回地址 - 王鹏
   webClogBackUrL: 'https://adminpre.bjzxtw.org.cn/adminapi/api/backlogin' //单点登录返回地址 - 刘佳伟
 }

+ 9 - 2
src/views/news/ncomplaintListDeal.vue

@@ -277,12 +277,19 @@ export default {
     },
     //查看驳回理由
     getReason(id) {
-      this.dialogVisible = true
       let data = {
         id: id
       };
       this.$store.dispatch('news/getComplaintInfo', data).then(res => {
-        this.reason = res.data.deal_reason
+        if (res.code == 200) {
+          this.reason = res.data.deal_reason
+          this.dialogVisible = true
+        } else {
+          this.$message({
+            message: res.message,
+            type: '网络错误,没有获取到驳回理由!'
+          })
+        }
       })
     },
     upRow(id, deal, status) {