liuzhihui 2 gadi atpakaļ
vecāks
revīzija
dcd00bbc8a

+ 12 - 0
CallCenterWeb.UI/RMYY/src/components/button/orderList.vue

1709
           this.zhddtransferForm.detailists = arrlist;
1709
           this.zhddtransferForm.detailists = arrlist;
1710
         }
1710
         }
1711
         if (formName === "evaluateForm") {
1711
         if (formName === "evaluateForm") {
1712
+          if(this.evaluateForm.Attitude == 0 || this.evaluateForm.Quality == 0 || this.evaluateForm.Efficiency == 0){
1713
+            this.$message.warning("请选择星级评级");
1714
+            return;
1715
+          }
1712
           if (
1716
           if (
1713
             this.evaluateForm.Attitude < 3 ||
1717
             this.evaluateForm.Attitude < 3 ||
1714
             this.evaluateForm.Quality < 3 ||
1718
             this.evaluateForm.Quality < 3 ||
1721
           }
1725
           }
1722
         }
1726
         }
1723
         if (formName === "schedulingEvaluateForm") {
1727
         if (formName === "schedulingEvaluateForm") {
1728
+          if(this.schedulingEvaluateForm.Attitude == 0 || this.schedulingEvaluateForm.Quality == 0 || this.schedulingEvaluateForm.Efficiency == 0){
1729
+            this.$message.warning("请选择星级评级");
1730
+            return;
1731
+          }
1724
           if (
1732
           if (
1725
             this.schedulingEvaluateForm.Attitude < 3 ||
1733
             this.schedulingEvaluateForm.Attitude < 3 ||
1726
             this.schedulingEvaluateForm.Quality < 3 ||
1734
             this.schedulingEvaluateForm.Quality < 3 ||
1733
           }
1741
           }
1734
         }
1742
         }
1735
         if (formName === "carEvaluteForm") {
1743
         if (formName === "carEvaluteForm") {
1744
+          if(this.carEvaluteForm.Attitude == 0 || this.carEvaluteForm.Quality == 0 || this.carEvaluteForm.Efficiency == 0){
1745
+            this.$message.warning("请选择星级评级");
1746
+            return;
1747
+          }
1736
           if (
1748
           if (
1737
             this.carEvaluteForm.Attitude < 3 ||
1749
             this.carEvaluteForm.Attitude < 3 ||
1738
             this.carEvaluteForm.Quality < 3 ||
1750
             this.carEvaluteForm.Quality < 3 ||

+ 3 - 2
CallCenterWeb.UI/RMYY/src/store/getters.js

23
   teamId: state => state.user.teamId, // 小组id
23
   teamId: state => state.user.teamId, // 小组id
24
   name: state => state.user.name, // 用户姓名
24
   name: state => state.user.name, // 用户姓名
25
   location: state => state.user.location, // 科室位置
25
   location: state => state.user.location, // 科室位置
26
+  allowdept: state => state.user.allowdept, // 允用科室
26
 
27
 
27
   deptments: state => state.deptment.deptments, // 部门信息
28
   deptments: state => state.deptment.deptments, // 部门信息
28
   deptmap: state => state.deptment.deptmap, // 部门map信息
29
   deptmap: state => state.deptment.deptmap, // 部门map信息
78
   currentName: state => state.lineChatSocket.currentName, // 聊天成员会话name
79
   currentName: state => state.lineChatSocket.currentName, // 聊天成员会话name
79
   chatUserCode: state => state.lineChatSocket.chatUserCode, // 客服code
80
   chatUserCode: state => state.lineChatSocket.chatUserCode, // 客服code
80
   collUserCode: state => state.lineChatSocket.collUserCode // 同事code
81
   collUserCode: state => state.lineChatSocket.collUserCode // 同事code
81
-};
82
-export default getters;
82
+}
83
+export default getters

+ 7 - 2
CallCenterWeb.UI/RMYY/src/store/modules/user.js

22
     menus: [], // 菜单数据
22
     menus: [], // 菜单数据
23
     mobile: '', // 手机
23
     mobile: '', // 手机
24
     teamName: '', // 部门名称
24
     teamName: '', // 部门名称
25
-    teamId: ''
25
+    teamId: '',
26
+    allowdept: ''
26
   },
27
   },
27
 
28
 
28
   mutations: {
29
   mutations: {
64
     },
65
     },
65
     SET_TEAMID: (state, teamId) => {
66
     SET_TEAMID: (state, teamId) => {
66
       state.teamId = teamId // 部门id
67
       state.teamId = teamId // 部门id
68
+    },
69
+    SET_ALLOWDEPT: (state, allowdept) => {
70
+      state.allowdept = allowdept // 允用科室
67
     }
71
     }
68
   },
72
   },
69
 
73
 
134
             commit('SET_CODE', data.User.F_UserCode) // 用户编号
138
             commit('SET_CODE', data.User.F_UserCode) // 用户编号
135
             commit('SET_MOBILE', data.User.F_Telephone) // 手机
139
             commit('SET_MOBILE', data.User.F_Telephone) // 手机
136
             commit('SET_LOCATION', data.Dept.F_Location) // 科室位置
140
             commit('SET_LOCATION', data.Dept.F_Location) // 科室位置
137
-            commit('SET_EXT', window.localStorage.getItem('ext')) // 分机号
141
+            commit('SET_EXT', window.localStorage.getItem('ext')) // 分机号ssss
142
+            commit('SET_ALLOWDEPT', data.User.F_AllowDepartment) // 允用科室
138
             window.localStorage.setItem('deptCode', data.Dept.F_DeptCode)
143
             window.localStorage.setItem('deptCode', data.Dept.F_DeptCode)
139
             window.localStorage.setItem(
144
             window.localStorage.setItem(
140
               'deptCode',
145
               'deptCode',

+ 3 - 3
CallCenterWeb.UI/RMYY/src/views/layout/components/Sidebar/index.vue

2
   <el-scrollbar wrap-class="scrollbar-wrapper">
2
   <el-scrollbar wrap-class="scrollbar-wrapper">
3
     <div class="logo">
3
     <div class="logo">
4
       <transition name="el-fade-in-linear">
4
       <transition name="el-fade-in-linear">
5
-        <h1 v-show="sidebar.opened" class="title">综合保障服务中心</h1>
5
+        <h1 v-show="sidebar.opened" class="title">综合服务保障调度平台</h1>
6
       </transition>
6
       </transition>
7
     </div>
7
     </div>
8
 
8
 
78
   .title {
78
   .title {
79
     margin-top: 0;
79
     margin-top: 0;
80
     margin-bottom: 0;
80
     margin-bottom: 0;
81
-    margin-left: 12px;
81
+    margin-left: 5px;
82
     display: inline-block;
82
     display: inline-block;
83
     vertical-align: middle;
83
     vertical-align: middle;
84
-    font-size: 20px;
84
+    font-size: 17px;
85
     font-family: "microsoft yahei" 微软雅黑;
85
     font-family: "microsoft yahei" 微软雅黑;
86
   }
86
   }
87
 }
87
 }

+ 22 - 14
CallCenterWeb.UI/RMYY/src/views/login/changeDept.vue

16
 
16
 
17
 <script>
17
 <script>
18
   import { getChangeDeptId } from "@/api/login"
18
   import { getChangeDeptId } from "@/api/login"
19
+  import { mapGetters } from 'vuex'
19
    export default {
20
    export default {
20
      name: 'changeDept',
21
      name: 'changeDept',
21
      props:{
22
      props:{
30
          onchangedept:""
31
          onchangedept:""
31
        }
32
        }
32
      },
33
      },
34
+     computed: {
35
+       ...mapGetters([
36
+         "allowdept"
37
+       ])
38
+     },
33
      created() {
39
      created() {
40
+       console.log(this.allowdept)
34
        this.getData()
41
        this.getData()
35
      },
42
      },
36
      methods:{
43
      methods:{
37
        getData(){
44
        getData(){
38
-         var str = window.localStorage.getItem('storageAllowUserDept')//获取允用科室ids
39
-         var arr = []
40
-         if (str.indexOf(',') >= 0) {
41
-           for (var i = 0; i < str.split(",").length; i++) {
42
-             if (this.$store.getters.deptmap[parseInt(str.split(",")[i])]) {
43
-               arr.push({
44
-                 deptname: this.$store.getters.deptmap[parseInt(str.split(",")[i])].text,
45
-                 deptid: str.split(",")[i]
46
-               })
45
+         this.$store.dispatch("GetInfo").then((res) => {
46
+           const data = res.data
47
+           var str =  data.User.F_AllowDepartment
48
+           var arr = []
49
+           if (str.indexOf(',') >= 0) {
50
+             for (var i = 0; i < str.split(",").length; i++) {
51
+               if (this.$store.getters.deptmap[parseInt(str.split(",")[i])]) {
52
+                 arr.push({
53
+                   deptname: this.$store.getters.deptmap[parseInt(str.split(",")[i])].text,
54
+                   deptid: str.split(",")[i]
55
+                 })
56
+               }
47
              }
57
              }
58
+             this.allowData = arr
48
            }
59
            }
49
-           this.allowData = arr
50
-         }
60
+         })
51
          console.log(this.allowData)
61
          console.log(this.allowData)
52
        },
62
        },
53
        handleSelectionChange(val) {
63
        handleSelectionChange(val) {
64
              this.$parent.$message.success(res.message)
74
              this.$parent.$message.success(res.message)
65
              this.onchangedept = ""
75
              this.onchangedept = ""
66
              this.$store.dispatch("GetInfo").then((res) => {
76
              this.$store.dispatch("GetInfo").then((res) => {
67
-               // const data = res.data;
68
-               // window.localStorage.setItem("storageUsertx", data.User.F_See);
69
-               // this.$parent.upDataUsertx();
77
+               //重新存用户数据
70
              });
78
              });
71
            }
79
            }
72
          })
80
          })

+ 3 - 2
CallCenterWeb.UI/RMYY/src/views/login/index.vue

12
         auto-complete="on"
12
         auto-complete="on"
13
         label-position="left"
13
         label-position="left"
14
       >
14
       >
15
-        <p class="loginp">郑州人民医院综合保障服务中心</p>
15
+        <p class="loginp">郑州人民医院综合服务保障调度平台</p>
16
         <el-select
16
         <el-select
17
           v-model="userRole"
17
           v-model="userRole"
18
           placeholder="请选择您的角色"
18
           placeholder="请选择您的角色"
481
     font-size: 24px;
481
     font-size: 24px;
482
     position: absolute;
482
     position: absolute;
483
     top: -25%;
483
     top: -25%;
484
-    right: 2%;
484
+    right: -32%;
485
+    width: 480px;
485
   }
486
   }
486
 
487
 
487
   .signin_right {
488
   .signin_right {