瀏覽代碼

修改登录界面

余思翰 1 年之前
父節點
當前提交
66362d6d53
共有 32 個文件被更改,包括 1127 次插入194 次删除
  1. 2
    2
      oa-ui/.env.development
  2. 2
    2
      oa-ui/.env.production
  3. 2
    2
      oa-ui/.env.staging
  4. 1
    1
      oa-ui/package.json
  5. 177
    0
      oa-ui/src/assets/datas/CWContent.js
  6. 二進制
      oa-ui/src/assets/font/cmctitle/cmctitle.woff
  7. 二進制
      oa-ui/src/assets/font/cmctitle/cmctitle.woff2
  8. 二進制
      oa-ui/src/assets/images/53bg.png
  9. 二進制
      oa-ui/src/assets/images/document.png
  10. 二進制
      oa-ui/src/assets/images/logo.png
  11. 二進制
      oa-ui/src/assets/images/welcome.png
  12. 二進制
      oa-ui/src/assets/images/xizang01.jpg
  13. 二進制
      oa-ui/src/assets/images/xizang02.jpg
  14. 二進制
      oa-ui/src/assets/images/xizang03.jpg
  15. 5
    0
      oa-ui/src/assets/styles/index.scss
  16. 16
    16
      oa-ui/src/views/flowable/form/cwForm.vue
  17. 686
    0
      oa-ui/src/views/flowable/form/cwTable.vue
  18. 2
    2
      oa-ui/src/views/flowable/form/jsForm.vue
  19. 12
    7
      oa-ui/src/views/flowable/form/jsTable.vue
  20. 1
    1
      oa-ui/src/views/flowable/form/jyForm.vue
  21. 35
    40
      oa-ui/src/views/flowable/form/jyTable.vue
  22. 1
    1
      oa-ui/src/views/flowable/form/scForm.vue
  23. 18
    1
      oa-ui/src/views/flowable/form/scTable.vue
  24. 2
    2
      oa-ui/src/views/flowable/form/xmForm.vue
  25. 10
    7
      oa-ui/src/views/flowable/form/xmTable.vue
  26. 2
    2
      oa-ui/src/views/flowable/form/zhForm.vue
  27. 8
    1
      oa-ui/src/views/flowable/form/zhTable.vue
  28. 4
    1
      oa-ui/src/views/flowable/task/myProcess/send/index.vue
  29. 2
    2
      oa-ui/src/views/index.vue
  30. 137
    102
      oa-ui/src/views/login.vue
  31. 1
    1
      oa-ui/src/views/register.vue
  32. 1
    1
      oa-ui/vue.config.js

+ 2
- 2
oa-ui/.env.development 查看文件

1
 # 页面标题
1
 # 页面标题
2
-VUE_APP_TITLE = 若依管理系统
2
+VUE_APP_TITLE = CMC综合办公系统
3
 
3
 
4
 # 开发环境配置
4
 # 开发环境配置
5
 ENV = 'development'
5
 ENV = 'development'
6
 
6
 
7
-# 若依管理系统/开发环境
7
+# CMC综合办公系统/开发环境
8
 VUE_APP_BASE_API = '/dev-api'
8
 VUE_APP_BASE_API = '/dev-api'
9
 
9
 
10
 # 路由懒加载
10
 # 路由懒加载

+ 2
- 2
oa-ui/.env.production 查看文件

1
 # 页面标题
1
 # 页面标题
2
-VUE_APP_TITLE = 若依管理系统
2
+VUE_APP_TITLE = CMC综合办公系统
3
 
3
 
4
 # 生产环境配置
4
 # 生产环境配置
5
 ENV = 'production'
5
 ENV = 'production'
6
 
6
 
7
-# 若依管理系统/生产环境
7
+# CMC综合办公系统/生产环境
8
 VUE_APP_BASE_API = '/prod-api'
8
 VUE_APP_BASE_API = '/prod-api'

+ 2
- 2
oa-ui/.env.staging 查看文件

1
 # 页面标题
1
 # 页面标题
2
-VUE_APP_TITLE = 若依管理系统
2
+VUE_APP_TITLE = CMC综合办公系统
3
 
3
 
4
 NODE_ENV = production
4
 NODE_ENV = production
5
 
5
 
6
 # 测试环境配置
6
 # 测试环境配置
7
 ENV = 'staging'
7
 ENV = 'staging'
8
 
8
 
9
-# 若依管理系统/测试环境
9
+# CMC综合办公系统/测试环境
10
 VUE_APP_BASE_API = '/stage-api'
10
 VUE_APP_BASE_API = '/stage-api'

+ 1
- 1
oa-ui/package.json 查看文件

1
 {
1
 {
2
   "name": "ruoyi",
2
   "name": "ruoyi",
3
   "version": "3.8.7",
3
   "version": "3.8.7",
4
-  "description": "若依管理系统",
4
+  "description": "CMC综合办公系统",
5
   "author": "若依",
5
   "author": "若依",
6
   "license": "MIT",
6
   "license": "MIT",
7
   "scripts": {
7
   "scripts": {

+ 177
- 0
oa-ui/src/assets/datas/CWContent.js 查看文件

1
+export const CWContent = [
2
+  {
3
+    label: '账务处理',
4
+    value: 'f01',
5
+    children: [
6
+      {
7
+        label: '原始凭证审核',
8
+        value: 'f0101',
9
+        unit: '项'
10
+      },
11
+      {
12
+        label: '凭证编制',
13
+        value: 'f0102',
14
+        unit: '项'
15
+      },
16
+      {
17
+        label: '凭证审核',
18
+        value: 'f0103',
19
+        unit: '项'
20
+      },
21
+      {
22
+        label: '凭证装订成册',
23
+        value: 'f0104',
24
+        unit: '项'
25
+      },
26
+      {
27
+        label: '财务报表编制',
28
+        value: 'f0105',
29
+        unit: '项'
30
+      },
31
+      {
32
+        label: '登记合同台账',
33
+        value: 'f0106',
34
+        unit: '项'
35
+      },
36
+      {
37
+        label: '费用核算',
38
+        value: 'f0107',
39
+        unit: '项'
40
+      },
41
+      {
42
+        label: '业务结算核查',
43
+        value: 'f0108',
44
+        unit: '项'
45
+      }
46
+    ]
47
+  },
48
+  {
49
+    label: '税务管理',
50
+    value: 'f02',
51
+    children: [
52
+      {
53
+        label: '税务申报',
54
+        value: 'f0201',
55
+        unit: '项'
56
+      },
57
+      {
58
+        label: '纳税报表编制申报',
59
+        value: 'f0202',
60
+        unit: '项'
61
+      },
62
+      {
63
+        label: '股权交易税务处理',
64
+        value: 'f0203',
65
+        unit: '项'
66
+      }
67
+    ]
68
+  },
69
+  {
70
+    label: '分子公司财务银行管理',
71
+    value: 'f03',
72
+    children: [
73
+      {
74
+        label: '账套管理',
75
+        value: 'f0301',
76
+        unit: '项'
77
+      },
78
+      {
79
+        label: '税务申报',
80
+        value: 'f0302',
81
+        unit: '项'
82
+      },
83
+      {
84
+        label: '账务核算',
85
+        value: 'f0303',
86
+        unit: '项'
87
+      },
88
+      {
89
+        label: '业务结算核查',
90
+        value: 'f0304',
91
+        unit: '项'
92
+      },
93
+      {
94
+        label: '网银管理',
95
+        value: 'f0305',
96
+        unit: '项'
97
+      },
98
+      {
99
+        label: '银行对账',
100
+        value: 'f0306',
101
+        unit: '项'
102
+      },
103
+      {
104
+        label: '现金及银行收付处理',
105
+        value: 'f0307',
106
+        unit: '项'
107
+      }
108
+    ]
109
+  },
110
+  {
111
+    label: '银行业务',
112
+    value: 'f04',
113
+    children: [
114
+      {
115
+        label: '账户维护',
116
+        value: 'f0401',
117
+        unit: '项'
118
+      },
119
+      {
120
+        label: '银行开户、销户',
121
+        value: 'f0402',
122
+        unit: '项'
123
+      },
124
+      {
125
+        label: '现金及银行收付处理',
126
+        value: 'f0403',
127
+        unit: '项'
128
+      },
129
+      {
130
+        label: '贷款申请办理',
131
+        value: 'f0404',
132
+        unit: '项'
133
+      },
134
+      {
135
+        label: '银行对账',
136
+        value: 'f0405',
137
+        unit: '项'
138
+      },
139
+      {
140
+        label: '相关银行补助申报',
141
+        value: 'f0406',
142
+        unit: '项'
143
+      },
144
+      {
145
+        label: '贷后检查',
146
+        value: 'f0407',
147
+        unit: '项'
148
+      },
149
+      {
150
+        label: '担保、保函业务',
151
+        value: 'f0408',
152
+        unit: '项'
153
+      }
154
+    ]
155
+  },
156
+  {
157
+    label: '相关系统数据申报',
158
+    value: 'f05',
159
+    children: [
160
+      {
161
+        label: '统计联网直报',
162
+        value: 'f0501',
163
+        unit: '项'
164
+      },
165
+      {
166
+        label: '新经济管理系统',
167
+        value: 'f0502',
168
+        unit: '项'
169
+      },
170
+      {
171
+        label: '成都市科技项目申报系统',
172
+        value: 'f0503',
173
+        unit: '项'
174
+      }
175
+    ]
176
+  }
177
+]

二進制
oa-ui/src/assets/font/cmctitle/cmctitle.woff 查看文件


二進制
oa-ui/src/assets/font/cmctitle/cmctitle.woff2 查看文件


二進制
oa-ui/src/assets/images/53bg.png 查看文件


二進制
oa-ui/src/assets/images/document.png 查看文件


二進制
oa-ui/src/assets/images/logo.png 查看文件


二進制
oa-ui/src/assets/images/welcome.png 查看文件


二進制
oa-ui/src/assets/images/xizang01.jpg 查看文件


二進制
oa-ui/src/assets/images/xizang02.jpg 查看文件


二進制
oa-ui/src/assets/images/xizang03.jpg 查看文件


+ 5
- 0
oa-ui/src/assets/styles/index.scss 查看文件

189
 .multiselect--active {
189
 .multiselect--active {
190
   z-index: 1000 !important;
190
   z-index: 1000 !important;
191
 }
191
 }
192
+
193
+@font-face {
194
+  font-family: 'CMCTitle'; // 根据自己用的去重命名字体名 
195
+  src: url('~@/assets/font/cmctitle/cmctitle.woff');
196
+}

+ 16
- 16
oa-ui/src/views/flowable/form/cwForm.vue 查看文件

2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-01-19 16:29:01
3
  * @Date: 2024-01-19 16:29:01
4
  * @LastEditors: Please set LastEditors
4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 17:17:50
5
+ * @LastEditTime: 2024-02-21 10:54:40
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div>
8
   <div>
28
           <el-scrollbar style="height: 500px;">
28
           <el-scrollbar style="height: 500px;">
29
             <div v-for="ass in AssessmentContent" v-if="ass.label == item">
29
             <div v-for="ass in AssessmentContent" v-if="ass.label == item">
30
               <table border="1" cellspacing="0" align="center" cellpadding="5">
30
               <table border="1" cellspacing="0" align="center" cellpadding="5">
31
-                <tr style="background-color:#409EFF;color: #fff;">
31
+                <tr style="background-color:#409EFF;color:#fff;">
32
                   <td>等级、比例尺等</td>
32
                   <td>等级、比例尺等</td>
33
                   <td>工作量</td>
33
                   <td>工作量</td>
34
                   <td>单位</td>
34
                   <td>单位</td>
49
                   <td>{{ child.unit }}</td>
49
                   <td>{{ child.unit }}</td>
50
                 </tr>
50
                 </tr>
51
                 <tr>
51
                 <tr>
52
-                  <td>参与情况</td>
52
+                  <td>熟练程度</td>
53
                   <td colspan="2">
53
                   <td colspan="2">
54
-                    <el-radio-group v-model="form['role' + ass.value.slice(-2)]">
55
-                      <el-radio label="00">主办</el-radio>
56
-                      <el-radio label="01">参与</el-radio>
57
-                      <el-radio label="02">协助</el-radio>
54
+                    <el-radio-group v-model="form['familiar' + ass.value.slice(-2)]">
55
+                      <el-radio :label="0">生疏</el-radio>
56
+                      <el-radio :label="2">熟练</el-radio>
57
+                      <el-radio :label="3">精通</el-radio>
58
                     </el-radio-group>
58
                     </el-radio-group>
59
                   </td>
59
                   </td>
60
                 </tr>
60
                 </tr>
81
       </el-row>
81
       </el-row>
82
     </el-form>
82
     </el-form>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
84
-      <ZhTable :tableForm="noNullForm" ref="zhTable" @submit="submit"></ZhTable>
84
+      <CwTable :tableForm="noNullForm" ref="cwTable" @submit="submit" @close="taskOpen = false"></CwTable>
85
     </el-dialog>
85
     </el-dialog>
86
   </div>
86
   </div>
87
 </template>
87
 </template>
88
 
88
 
89
 <script>
89
 <script>
90
-import { ZHContent } from '@/assets/datas/ZHContent'
90
+import { CWContent } from '@/assets/datas/CWContent'
91
 import { MessageBox } from 'element-ui'
91
 import { MessageBox } from 'element-ui'
92
 import { Snowflake } from '@/utils/snowFlake.js'
92
 import { Snowflake } from '@/utils/snowFlake.js'
93
 import { submitAssess } from '@/api/oa/assess/assess.js'
93
 import { submitAssess } from '@/api/oa/assess/assess.js'
94
 import { listProject } from '@/api/oa/project/project.js'
94
 import { listProject } from '@/api/oa/project/project.js'
95
 import { getProject } from '@/api/oa/project/project'
95
 import { getProject } from '@/api/oa/project/project'
96
-import ZhTable from './zhTable.vue';
96
+import CwTable from './cwTable.vue';
97
 export default {
97
 export default {
98
   dicts: ['cmc_skill'],
98
   dicts: ['cmc_skill'],
99
-  components: { ZhTable },
99
+  components: { CwTable },
100
   data() {
100
   data() {
101
     return {
101
     return {
102
       checkedBtn: [],
102
       checkedBtn: [],
103
-      AssessmentContent: ZHContent,
103
+      AssessmentContent: CWContent,
104
       projectList: [],
104
       projectList: [],
105
       form: {},
105
       form: {},
106
       noNullForm: {},
106
       noNullForm: {},
166
       }
166
       }
167
       if (flag) {
167
       if (flag) {
168
         this.taskOpen = true;
168
         this.taskOpen = true;
169
-        if (this.$refs.zhTable != undefined) {
170
-          this.$refs.zhTable.formatForm();
169
+        if (this.$refs.cwTable != undefined) {
170
+          this.$refs.cwTable.formatForm();
171
         }
171
         }
172
       }
172
       }
173
     },
173
     },
185
       if (index !== -1) {
185
       if (index !== -1) {
186
         this.checkedBtn.splice(index, 1);
186
         this.checkedBtn.splice(index, 1);
187
       }
187
       }
188
-      for (let i of ZHContent) {
188
+      for (let i of CWContent) {
189
         if (i.label == item) {
189
         if (i.label == item) {
190
           number = i.value;
190
           number = i.value;
191
         }
191
         }
221
       }
221
       }
222
     },
222
     },
223
     changeLabelToValue(label) {
223
     changeLabelToValue(label) {
224
-      for (let s of ZHContent) {
224
+      for (let s of CWContent) {
225
         if (s.label == label) {
225
         if (s.label == label) {
226
           return s.value.slice(-2)
226
           return s.value.slice(-2)
227
         }
227
         }

+ 686
- 0
oa-ui/src/views/flowable/form/cwTable.vue 查看文件

1
+<template>
2
+  <div style="padding:10px">
3
+    <h2 style="text-align: center;">财务部考核表</h2>
4
+    <table class="table" ref="tableDatas">
5
+      <tr>
6
+        <td class="table-title">姓名</td>
7
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.nickName }}</td>
8
+        <td class="table-title">考核年度</td>
9
+        <td> {{ tableForm.assessTime }}</td>
10
+        <td colspan="3" class="table-title">部门负责人考核意见</td>
11
+        <td colspan="3" class="table-title" style="width:300px;">分管领导考核意见</td>
12
+      </tr>
13
+      <tr>
14
+        <td class="table-title">所在部门</td>
15
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.deptName }}</td>
16
+        <td colspan="3">
17
+          <el-radio-group v-model="tableForm.deptAssessment" :disabled="!isDeptLeader">
18
+            <el-radio v-for="dict in dict.type.cmc_accessment" :key="dict.value" :label="dict.value">
19
+              {{ dict.label }}
20
+            </el-radio>
21
+          </el-radio-group>
22
+        </td>
23
+        <td colspan="3">
24
+          <el-radio-group v-model="tableForm.managerAssessment" :disabled="!isManager">
25
+            <el-radio v-for="dict in dict.type.cmc_accessment" :key="dict.value" :label="dict.value">
26
+              {{ dict.label }}
27
+            </el-radio>
28
+          </el-radio-group>
29
+        </td>
30
+      </tr>
31
+      <tr>
32
+        <td class="table-title">部门职务</td>
33
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.postGroup }}</td>
34
+        <td colspan="3" rowspan="3">
35
+          <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.deptAdvice"
36
+            :disabled="!isDeptLeader">
37
+          </el-input>
38
+          <el-row justify="center" type="flex">
39
+            <el-col :span="12">考核人:<el-input v-model="tableForm.deptAssesser" style="width:150px;" placeholder="请输入考核人"
40
+                :disabled="!isDeptLeader"></el-input> </el-col>
41
+            <el-col :span="12">日期:<el-date-picker type="date" placeholder="请选择考核日期" v-model="tableForm.deptTime"
42
+                style="width:150px;" :disabled="!isDeptLeader"></el-date-picker> </el-col>
43
+          </el-row>
44
+        </td>
45
+        <td colspan="3" rowspan="3">
46
+          <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.managerAdvice"
47
+            :disabled="!isManager">
48
+          </el-input>
49
+          <el-row justify="center">
50
+            <el-col :span="12">考核人:<el-input v-model="tableForm.managerAssesser" style="width:150px;" placeholder="请输入考核人"
51
+                :disabled="!isManager"></el-input></el-col>
52
+            <el-col :span="12">日期:<el-date-picker type="date" placeholder="请选择考核日期" v-model="tableForm.managerTime"
53
+                style="width:150px;" :disabled="!isManager"></el-date-picker></el-col>
54
+          </el-row>
55
+        </td>
56
+      </tr>
57
+      <tr>
58
+        <td class="table-title">技术职称</td>
59
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.titles }}</td>
60
+      </tr>
61
+      <tr>
62
+        <td class="table-title">入职年月</td>
63
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.entryDate }}</td>
64
+        <td class="table-title">年龄</td>
65
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.age }}</td>
66
+      </tr>
67
+      <tr>
68
+        <td rowspan="2" class="table-title">考核内容</td>
69
+        <td colspan="5" class="table-title">被考核人填写</td>
70
+        <td colspan="3" class="table-title" style="width:300px;">项目负责人考核</td>
71
+      </tr>
72
+      <tr>
73
+        <td class="table-title">工作内容</td>
74
+        <td class="table-title">单位</td>
75
+        <td class="table-title">工作量</td>
76
+        <td class="table-title">熟练程度</td>
77
+        <td class="table-title">备注</td>
78
+        <td class="table-title">工作量</td>
79
+        <td class="table-title">岗位综合表现</td>
80
+        <td class="table-title">考核建议</td>
81
+      </tr>
82
+      <tr>
83
+        <td rowspan="8">账务处理</td>
84
+        <td>原始凭证审核</td>
85
+        <td>项</td>
86
+        <td class="personInput">
87
+          <span v-if="!isStaff">{{ tableForm.f0101 }}</span>
88
+          <el-input v-if="isStaff" v-model="tableForm.f0101"></el-input>
89
+        </td>
90
+        <td rowspan="8">
91
+          <el-radio-group v-model="tableForm.familiar01" :disabled="!isStaff">
92
+            <div><el-radio :label="0">生疏</el-radio></div>
93
+            <div><el-radio :label="2">熟练</el-radio></div>
94
+            <div><el-radio :label="3">精通</el-radio></div>
95
+          </el-radio-group>
96
+        </td>
97
+
98
+        <td rowspan="8">
99
+          <div v-if="!isStaff">{{ tableForm.remark01 }}</div>
100
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
101
+        </td>
102
+        <td rowspan="8">
103
+          <el-radio-group v-model="tableForm.workload01" :disabled="!isPiLeader">
104
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
105
+              <el-radio :key="dict.value" :label="dict.value"
106
+                @click.native.prevent="cancelSelect(dict.value, 'workload01')">
107
+                {{ dict.label }}
108
+              </el-radio>
109
+            </div>
110
+          </el-radio-group>
111
+        </td>
112
+        <td rowspan="8">
113
+          <el-radio-group v-model="tableForm.assessment01" :disabled="!isPiLeader">
114
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
115
+              <el-radio :key="dict.value" :label="dict.value"
116
+                @click.native.prevent="cancelSelect(dict.value, 'assessment01')">
117
+                {{ dict.label }}
118
+              </el-radio>
119
+            </div>
120
+          </el-radio-group>
121
+        </td>
122
+        <td rowspan="8">
123
+          <el-input type="textarea" :rows="4" v-model="tableForm.advice01" :disabled="!isPiLeader">
124
+          </el-input>
125
+        </td>
126
+      </tr>
127
+      <tr>
128
+        <td>凭证编制</td>
129
+        <td>项</td>
130
+        <td class="personInput">
131
+          <span v-if="!isStaff">{{ tableForm.f0102 }}</span>
132
+          <el-input v-if="isStaff" v-model="tableForm.f0102"></el-input>
133
+        </td>
134
+      </tr>
135
+      <tr>
136
+        <td>凭证审核</td>
137
+        <td>项</td>
138
+        <td class="personInput">
139
+          <span v-if="!isStaff">{{ tableForm.f0103 }}</span>
140
+          <el-input v-if="isStaff" v-model="tableForm.f0103"></el-input>
141
+        </td>
142
+      </tr>
143
+      <tr>
144
+        <td>凭证装订成册</td>
145
+        <td>项</td>
146
+        <td class="personInput">
147
+          <span v-if="!isStaff">{{ tableForm.f0104 }}</span>
148
+          <el-input v-if="isStaff" v-model="tableForm.f0104"></el-input>
149
+        </td>
150
+      </tr>
151
+      <tr>
152
+        <td>财务报表编制</td>
153
+        <td>项</td>
154
+        <td class="personInput">
155
+          <span v-if="!isStaff">{{ tableForm.f0105 }}</span>
156
+          <el-input v-if="isStaff" v-model="tableForm.f0105"></el-input>
157
+        </td>
158
+      </tr>
159
+      <tr>
160
+        <td>登记合同台账</td>
161
+        <td>项</td>
162
+        <td class="personInput">
163
+          <span v-if="!isStaff">{{ tableForm.f0106 }}</span>
164
+          <el-input v-if="isStaff" v-model="tableForm.f0106">
165
+          </el-input>
166
+        </td>
167
+      </tr>
168
+      <tr>
169
+        <td>费用核算</td>
170
+        <td>项</td>
171
+        <td class="personInput">
172
+          <span v-if="!isStaff">{{ tableForm.f0107 }}</span>
173
+          <el-input v-if="isStaff" v-model="tableForm.f0107">
174
+          </el-input>
175
+        </td>
176
+      </tr>
177
+      <tr>
178
+        <td>业务结算核查</td>
179
+        <td>项</td>
180
+        <td class="personInput">
181
+          <span v-if="!isStaff">{{ tableForm.f0108 }}</span>
182
+          <el-input v-if="isStaff" v-model="tableForm.f0108">
183
+          </el-input>
184
+        </td>
185
+      </tr>
186
+      <!--  -->
187
+      <tr>
188
+        <td rowspan="3">税务管理</td>
189
+        <td>税务申报</td>
190
+        <td>项</td>
191
+        <td class="personInput">
192
+          <span v-if="!isStaff">{{ tableForm.f0201 }}</span>
193
+          <el-input v-if="isStaff" v-model="tableForm.f0201"></el-input>
194
+        </td>
195
+        <td rowspan="3">
196
+          <el-radio-group v-model="tableForm.familiar02" :disabled="!isStaff">
197
+            <div><el-radio :label="0">生疏</el-radio></div>
198
+            <div><el-radio :label="2">熟练</el-radio></div>
199
+            <div><el-radio :label="3">精通</el-radio></div>
200
+          </el-radio-group>
201
+        </td>
202
+        <td rowspan="3">
203
+          <div v-if="!isStaff">{{ tableForm.remark02 }}</div>
204
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
205
+        </td>
206
+        <td rowspan="3">
207
+          <el-radio-group v-model="tableForm.workload02" :disabled="!isPiLeader">
208
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
209
+              <el-radio :key="dict.value" :label="dict.value"
210
+                @click.native.prevent="cancelSelect(dict.value, 'workload02')">
211
+                {{ dict.label }}
212
+              </el-radio>
213
+            </div>
214
+          </el-radio-group>
215
+        </td>
216
+        <td rowspan="3">
217
+          <el-radio-group v-model="tableForm.assessment02" :disabled="!isPiLeader">
218
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
219
+              <el-radio :key="dict.value" :label="dict.value"
220
+                @click.native.prevent="cancelSelect(dict.value, 'assessment02')">
221
+                {{ dict.label }}
222
+              </el-radio>
223
+            </div>
224
+          </el-radio-group>
225
+        </td>
226
+        <td rowspan="3">
227
+          <el-input type="textarea" :rows="4" v-model="tableForm.advice02" :disabled="!isPiLeader">
228
+          </el-input>
229
+        </td>
230
+      </tr>
231
+      <tr>
232
+        <td>纳税报表编制申报</td>
233
+        <td>项</td>
234
+        <td>
235
+          <span v-if="!isStaff">{{ tableForm.f0202 }}</span>
236
+          <el-input v-if="isStaff" v-model="tableForm.f0202"></el-input>
237
+        </td>
238
+      </tr>
239
+      <tr>
240
+        <td>股权交易税务处理</td>
241
+        <td>项</td>
242
+        <td>
243
+          <span v-if="!isStaff">{{ tableForm.f0203 }}</span>
244
+          <el-input v-if="isStaff" v-model="tableForm.f0203"></el-input>
245
+        </td>
246
+      </tr>
247
+
248
+
249
+      <!--  -->
250
+      <tr>
251
+        <td rowspan="7">分子公司财务银行管理</td>
252
+        <td>账套管理</td>
253
+        <td>项</td>
254
+        <td class="personInput">
255
+          <span v-if="!isStaff">{{ tableForm.f0301 }}</span>
256
+          <el-input v-if="isStaff" v-model="tableForm.f0301"></el-input>
257
+        </td>
258
+        <td rowspan="7">
259
+          <el-radio-group v-model="tableForm.familiar03" :disabled="!isStaff">
260
+            <div><el-radio :label="0">生疏</el-radio></div>
261
+            <div><el-radio :label="2">熟练</el-radio></div>
262
+            <div><el-radio :label="3">精通</el-radio></div>
263
+          </el-radio-group>
264
+        </td>
265
+        <td rowspan="7">
266
+          <div v-if="!isStaff">{{ tableForm.remark03 }}</div>
267
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
268
+        </td>
269
+        <td rowspan="7">
270
+          <el-radio-group v-model="tableForm.workload03" :disabled="!isPiLeader">
271
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
272
+              <el-radio :key="dict.value" :label="dict.value"
273
+                @click.native.prevent="cancelSelect(dict.value, 'workload03')">
274
+                {{ dict.label }}
275
+              </el-radio>
276
+            </div>
277
+          </el-radio-group>
278
+        </td>
279
+        <td rowspan="7">
280
+          <el-radio-group v-model="tableForm.assessment03" :disabled="!isPiLeader">
281
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
282
+              <el-radio :key="dict.value" :label="dict.value"
283
+                @click.native.prevent="cancelSelect(dict.value, 'assessment03')">
284
+                {{ dict.label }}
285
+              </el-radio>
286
+            </div>
287
+          </el-radio-group>
288
+        </td>
289
+        <td rowspan="7">
290
+          <el-input type="textarea" :rows="4" v-model="tableForm.advice03" :disabled="!isPiLeader">
291
+          </el-input>
292
+        </td>
293
+      </tr>
294
+      <tr>
295
+        <td>税务申报</td>
296
+        <td>项</td>
297
+        <td>
298
+          <span v-if="!isStaff">{{ tableForm.f0302 }}</span>
299
+          <el-input v-if="isStaff" v-model="tableForm.f0302"></el-input>
300
+        </td>
301
+      </tr>
302
+      <tr>
303
+        <td>账务核算</td>
304
+        <td>项</td>
305
+        <td>
306
+          <span v-if="!isStaff">{{ tableForm.f0303 }}</span>
307
+          <el-input v-if="isStaff" v-model="tableForm.f0303"></el-input>
308
+        </td>
309
+      </tr>
310
+      <tr>
311
+        <td>业务结算核查</td>
312
+        <td>项</td>
313
+        <td>
314
+          <span v-if="!isStaff">{{ tableForm.f0304 }}</span>
315
+          <el-input v-if="isStaff" v-model="tableForm.f0304"></el-input>
316
+        </td>
317
+      </tr>
318
+      <tr>
319
+        <td>网银管理</td>
320
+        <td>项</td>
321
+        <td>
322
+          <span v-if="!isStaff">{{ tableForm.f0305 }}</span>
323
+          <el-input v-if="isStaff" v-model="tableForm.f0305"></el-input>
324
+        </td>
325
+      </tr>
326
+      <tr>
327
+        <td>银行对账</td>
328
+        <td>项</td>
329
+        <td>
330
+          <span v-if="!isStaff">{{ tableForm.f0306 }}</span>
331
+          <el-input v-if="isStaff" v-model="tableForm.f0306"></el-input>
332
+        </td>
333
+      </tr>
334
+      <tr>
335
+        <td>现金及银行收付处理</td>
336
+        <td>项</td>
337
+        <td>
338
+          <span v-if="!isStaff">{{ tableForm.f0307 }}</span>
339
+          <el-input v-if="isStaff" v-model="tableForm.f0307"></el-input>
340
+        </td>
341
+      </tr>
342
+      <!--  -->
343
+      <tr>
344
+        <td rowspan="8">银行业务</td>
345
+        <td>账户维护</td>
346
+        <td>项</td>
347
+        <td class="personInput">
348
+          <span v-if="!isStaff">{{ tableForm.f0401 }}</span>
349
+          <el-input v-if="isStaff" v-model="tableForm.f0401"></el-input>
350
+        </td>
351
+        <td rowspan="8">
352
+          <el-radio-group v-model="tableForm.familiar04" :disabled="!isStaff">
353
+            <div><el-radio :label="0">生疏</el-radio></div>
354
+            <div><el-radio :label="2">熟练</el-radio></div>
355
+            <div><el-radio :label="3">精通</el-radio></div>
356
+          </el-radio-group>
357
+        </td>
358
+        <td rowspan="8">
359
+          <div v-if="!isStaff">{{ tableForm.remark04 }}</div>
360
+          <el-input v-if="isStaff" v-model="tableForm.remark04"  type="textarea" :rows="4"></el-input>
361
+        </td>
362
+        <td rowspan="8">
363
+          <el-radio-group v-model="tableForm.workload04" :disabled="!isPiLeader">
364
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
365
+              <el-radio :key="dict.value" :label="dict.value"
366
+                @click.native.prevent="cancelSelect(dict.value, 'workload04')">
367
+                {{ dict.label }}
368
+              </el-radio>
369
+            </div>
370
+          </el-radio-group>
371
+        </td>
372
+        <td rowspan="8">
373
+          <el-radio-group v-model="tableForm.assessment04" :disabled="!isPiLeader">
374
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
375
+              <el-radio :key="dict.value" :label="dict.value"
376
+                @click.native.prevent="cancelSelect(dict.value, 'assessment04')">
377
+                {{ dict.label }}
378
+              </el-radio>
379
+            </div>
380
+          </el-radio-group>
381
+        </td>
382
+        <td rowspan="8">
383
+          <el-input type="textarea" :rows="4" v-model="tableForm.advice04" :disabled="!isPiLeader">
384
+          </el-input>
385
+        </td>
386
+      </tr>
387
+      <tr>
388
+        <td>银行开户、销户</td>
389
+        <td>项</td>
390
+        <td>
391
+          <span v-if="!isStaff">{{ tableForm.f0402 }}</span>
392
+          <el-input v-if="isStaff" v-model="tableForm.f0402"></el-input>
393
+        </td>
394
+      </tr>
395
+      <tr>
396
+        <td>现金及银行收付处理</td>
397
+        <td>项</td>
398
+        <td>
399
+          <span v-if="!isStaff">{{ tableForm.f0403 }}</span>
400
+          <el-input v-if="isStaff" v-model="tableForm.f0403"></el-input>
401
+        </td>
402
+      </tr>
403
+      <tr>
404
+        <td>贷款申请办理</td>
405
+        <td>项</td>
406
+        <td>
407
+          <span v-if="!isStaff">{{ tableForm.f0404 }}</span>
408
+          <el-input v-if="isStaff" v-model="tableForm.f0404"></el-input>
409
+        </td>
410
+      </tr>
411
+      <tr>
412
+        <td>银行对账</td>
413
+        <td>项</td>
414
+        <td>
415
+          <span v-if="!isStaff">{{ tableForm.f0405 }}</span>
416
+          <el-input v-if="isStaff" v-model="tableForm.f0405"></el-input>
417
+        </td>
418
+      </tr>
419
+      <tr>
420
+        <td>相关银行补助申报</td>
421
+        <td>项</td>
422
+        <td>
423
+          <span v-if="!isStaff">{{ tableForm.f0406 }}</span>
424
+          <el-input v-if="isStaff" v-model="tableForm.f0406"></el-input>
425
+        </td>
426
+      </tr>
427
+      <tr>
428
+        <td>贷后检查</td>
429
+        <td>项</td>
430
+        <td>
431
+          <span v-if="!isStaff">{{ tableForm.f0407 }}</span>
432
+          <el-input v-if="isStaff" v-model="tableForm.f0407"></el-input>
433
+        </td>
434
+      </tr>
435
+      <tr>
436
+        <td>担保、保函业务</td>
437
+        <td>项</td>
438
+        <td>
439
+          <span v-if="!isStaff">{{ tableForm.f0408 }}</span>
440
+          <el-input v-if="isStaff" v-model="tableForm.f0408"></el-input>
441
+        </td>
442
+      </tr>
443
+      <!--  -->
444
+      <tr>
445
+        <td rowspan="3">相关系统数据申报</td>
446
+        <td>统计联网直报</td>
447
+        <td>项</td>
448
+        <td class="personInput">
449
+          <span v-if="!isStaff">{{ tableForm.f0501 }}</span>
450
+          <el-input v-if="isStaff" v-model="tableForm.f0501"></el-input>
451
+        </td>
452
+        <td rowspan="3">
453
+          <el-radio-group v-model="tableForm.familiar05" :disabled="!isStaff">
454
+            <div><el-radio :label="0">生疏</el-radio></div>
455
+            <div><el-radio :label="2">熟练</el-radio></div>
456
+            <div><el-radio :label="3">精通</el-radio></div>
457
+          </el-radio-group>
458
+        </td>
459
+        <td rowspan="3">
460
+          <div v-if="!isStaff">{{ tableForm.remark05 }}</div>
461
+          <el-input v-if="isStaff" v-model="tableForm.remark05"  type="textarea" :rows="4"></el-input>
462
+        </td>
463
+        <td rowspan="3">
464
+          <el-radio-group v-model="tableForm.workload05" :disabled="!isPiLeader">
465
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
466
+              <el-radio :key="dict.value" :label="dict.value"
467
+                @click.native.prevent="cancelSelect(dict.value, 'workload05')">
468
+                {{ dict.label }}
469
+              </el-radio>
470
+            </div>
471
+          </el-radio-group>
472
+        </td>
473
+        <td rowspan="3">
474
+          <el-radio-group v-model="tableForm.assessment05" :disabled="!isPiLeader">
475
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
476
+              <el-radio :key="dict.value" :label="dict.value"
477
+                @click.native.prevent="cancelSelect(dict.value, 'assessment05')">
478
+                {{ dict.label }}
479
+              </el-radio>
480
+            </div>
481
+          </el-radio-group>
482
+        </td>
483
+        <td rowspan="3">
484
+          <el-input type="textarea" :rows="4" v-model="tableForm.advice05" :disabled="!isPiLeader">
485
+          </el-input>
486
+        </td>
487
+      </tr>
488
+      <tr>
489
+        <td>新经济管理系统</td>
490
+        <td>项</td>
491
+        <td>
492
+          <span v-if="!isStaff">{{ tableForm.f0502 }}</span>
493
+          <el-input v-if="isStaff" v-model="tableForm.f0502"></el-input>
494
+        </td>
495
+      </tr>
496
+      <tr>
497
+        <td>成都市科技项目申报系统</td>
498
+        <td>项</td>
499
+        <td>
500
+          <span v-if="!isStaff">{{ tableForm.f0503 }}</span>
501
+          <el-input v-if="isStaff" v-model="tableForm.f0503"></el-input>
502
+        </td>
503
+      </tr>
504
+      <!--  -->
505
+      <tr style="height:90px;">
506
+        <td>其他工作</td>
507
+        <td colspan="9">
508
+          <span v-if="!isStaff">{{ tableForm.otherWork }}</span>
509
+          <el-input v-if="isStaff" v-model="tableForm.otherWork" type="textarea" :rows="2"></el-input>
510
+        </td>
511
+      </tr>
512
+      <tr style="height:90px;">
513
+        <td>年度自述</td>
514
+        <td colspan="9">
515
+          <span v-if="!isStaff">{{ tableForm.selfAssess }}</span>
516
+          <el-input v-if="isStaff" v-model="tableForm.selfAssess" type="textarea" :rows="2"></el-input>
517
+        </td>
518
+      </tr>
519
+    </table>
520
+    <el-row justify="center" type="flex" style="margin-top:20px;"
521
+      v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
522
+      <el-button type="primary" @click="submit">提交</el-button>
523
+      <el-button @click="$emit('close')">取消</el-button>
524
+    </el-row>
525
+  </div>
526
+</template>
527
+
528
+<script>
529
+import { XMContent } from '@/assets/datas/XMContent'
530
+import { getDicts as getDicts } from '@/api/system/dict/data'
531
+export default {
532
+  dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment', 'cmc_workload'],
533
+  props: {
534
+    tableForm: {
535
+      type: Object,
536
+      required: true
537
+    },
538
+  },
539
+  watch: {
540
+    tableForm: function (newval, oldval) {
541
+      this.formatForm();
542
+    }
543
+  },
544
+  data() {
545
+    return {
546
+      form: {},
547
+      radio1: "",
548
+      radio2: "",
549
+      textarea1: "",
550
+      textarea2: "",
551
+      isDeptLeader: false,
552
+      isPiLeader: false,
553
+      isManager: false,
554
+      isStaff: false,
555
+    }
556
+  },
557
+  created() {
558
+    this.initForm();
559
+  },
560
+  mounted() {
561
+    this.formatForm();
562
+  },
563
+  methods: {
564
+    initForm() {
565
+
566
+    },
567
+    formatForm() {
568
+      if (this.tableForm.taskName == '项目负责人审核') {
569
+        this.isPiLeader = true;
570
+        this.isDeptLeader = false;
571
+        this.isManager = false;
572
+        this.isStaff = false;
573
+      } else if (this.tableForm.taskName == '部门审核') {
574
+        this.isPiLeader = false;
575
+        this.isDeptLeader = true;
576
+        this.isManager = false;
577
+        this.isStaff = false;
578
+      } else if (this.tableForm.taskName == '分管领导审核') {
579
+        this.isPiLeader = false;
580
+        this.isDeptLeader = false;
581
+        this.isManager = true;
582
+        this.isStaff = false;
583
+      } else if (this.tableForm.taskName == '员工修改') {
584
+        this.isPiLeader = false;
585
+        this.isDeptLeader = false;
586
+        this.isManager = false;
587
+        this.isStaff = true;
588
+      }
589
+    },
590
+    submit() {
591
+      if (!this.isStaff) {
592
+        this.$emit('submit', this.tableForm);
593
+      } else {
594
+        this.$emit('submit', this.tableForm);
595
+      }
596
+
597
+    },
598
+    cancelSelect(value, name) {
599
+      debugger
600
+      if (!this.isPiLeader) {
601
+        return
602
+      }
603
+      if (this.tableForm[name] == value) {
604
+        this.tableForm[name] = null
605
+      } else {
606
+
607
+        if (this.tableForm[name] !== undefined)
608
+          this.tableForm[name] = value
609
+      }
610
+    }
611
+  },
612
+}
613
+</script>
614
+
615
+<style lang="scss" scoped>
616
+.table {
617
+  border-collapse: collapse;
618
+  width: 100%;
619
+}
620
+
621
+.table-title {
622
+  background-color: #dad4d4;
623
+}
624
+
625
+.table,
626
+th,
627
+td {
628
+  border: 1px solid black;
629
+  text-align: center;
630
+}
631
+
632
+td {
633
+  height: 24px;
634
+  width: 100px;
635
+}
636
+
637
+.head {
638
+  background-color: #ccc;
639
+}
640
+
641
+::v-deep .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
642
+  border-color: #fff;
643
+}
644
+
645
+::v-deep .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
646
+  background-color: #409eff;
647
+  border-color: #409eff;
648
+}
649
+
650
+::v-deep .el-checkbox__input.is-disabled+span.el-checkbox__label {
651
+  color: #000;
652
+}
653
+
654
+::v-deep .el-checkbox__label {
655
+  font-size: 12px;
656
+}
657
+
658
+::v-deep .el-radio__input.is-disabled .el-radio__inner,
659
+.el-radio__input.is-disabled.is-checked .el-radio__inner {
660
+  background-color: #f1f1f1;
661
+  border-color: #f1f1f1;
662
+}
663
+
664
+::v-deep .el-radio__input.is-disabled+span.el-radio__label {
665
+  color: #000;
666
+}
667
+
668
+
669
+::v-deep .el-radio__input.is-checked .el-radio__inner::after {
670
+  content: "";
671
+  width: 10px;
672
+  height: 5px;
673
+  border: 2px solid #409eff;
674
+  border-top: transparent;
675
+  border-right: transparent;
676
+  text-align: center;
677
+  display: block;
678
+  position: absolute;
679
+  top: 2px;
680
+  left: 2px;
681
+  vertical-align: middle;
682
+  transform: rotate(-45deg);
683
+  border-radius: 0px;
684
+  background: none;
685
+}
686
+</style>

+ 2
- 2
oa-ui/src/views/flowable/form/jsForm.vue 查看文件

2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-02-20 10:40:26
3
  * @Date: 2024-02-20 10:40:26
4
  * @LastEditors: Please set LastEditors
4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 10:58:38
5
+ * @LastEditTime: 2024-02-21 10:00:38
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <!-- 技术质量部 -->
8
   <!-- 技术质量部 -->
82
       </el-row>
82
       </el-row>
83
     </el-form>
83
     </el-form>
84
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
84
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
85
-      <JsTable :tableForm="noNullForm" ref="jsTable" @submit="submit"></JsTable>
85
+      <JsTable :tableForm="noNullForm" ref="jsTable" @submit="submit" @close="taskOpen = false"></JsTable>
86
     </el-dialog>
86
     </el-dialog>
87
   </div>
87
   </div>
88
 </template>
88
 </template>

+ 12
- 7
oa-ui/src/views/flowable/form/jsTable.vue 查看文件

96
         </td>
96
         </td>
97
         
97
         
98
         <td rowspan="6">
98
         <td rowspan="6">
99
-          <div>{{ tableForm.remark01 }}</div>
99
+          <div v-if="!isStaff">{{ tableForm.remark01 }}</div>
100
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
100
         </td>
101
         </td>
101
         <!-- 工作量 -->
102
         <!-- 工作量 -->
102
         <td rowspan="6">
103
         <td rowspan="6">
192
           </el-radio-group>
193
           </el-radio-group>
193
         </td>
194
         </td>
194
         <td rowspan="4">
195
         <td rowspan="4">
195
-          <div>{{ tableForm.remark02 }}</div>
196
+          <div v-if="!isStaff">{{ tableForm.remark02 }}</div>
197
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
196
         </td>
198
         </td>
197
         <!-- 工作量 -->
199
         <!-- 工作量 -->
198
         <td rowspan="4">
200
         <td rowspan="4">
271
           </el-radio-group>
273
           </el-radio-group>
272
         </td>
274
         </td>
273
         <td rowspan="13">
275
         <td rowspan="13">
274
-          <div>{{ tableForm.remark03 }}</div>
276
+          <div v-if="!isStaff">{{ tableForm.remark03 }}</div>
277
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
275
         </td>
278
         </td>
276
         <!-- 工作量 -->
279
         <!-- 工作量 -->
277
         <td rowspan="13">
280
         <td rowspan="13">
423
           </el-radio-group>
426
           </el-radio-group>
424
         </td>
427
         </td>
425
         <td rowspan="5">
428
         <td rowspan="5">
426
-          <div>{{ tableForm.remark04 }}</div>
429
+          <div v-if="!isStaff">{{ tableForm.remark04 }}</div>
430
+          <el-input v-if="isStaff" v-model="tableForm.remark04"  type="textarea" :rows="4"></el-input>
427
         </td>
431
         </td>
428
         <!-- 工作量 -->
432
         <!-- 工作量 -->
429
         <td rowspan="5">
433
         <td rowspan="5">
430
           <el-radio-group v-model="tableForm.workload04" :disabled="!isPiLeader">
434
           <el-radio-group v-model="tableForm.workload04" :disabled="!isPiLeader">
431
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
435
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
432
               <el-radio :key="dict.value" :label="dict.value"
436
               <el-radio :key="dict.value" :label="dict.value"
433
-                @click.native.prevent="cancelSelect(dict.value, 'workload05')">
437
+                @click.native.prevent="cancelSelect(dict.value, 'workload04')">
434
                 {{ dict.label }}
438
                 {{ dict.label }}
435
               </el-radio>
439
               </el-radio>
436
             </div>
440
             </div>
511
           </el-radio-group>
515
           </el-radio-group>
512
         </td>
516
         </td>
513
         <td rowspan="3">
517
         <td rowspan="3">
514
-          <div>{{ tableForm.remark05 }}</div>
518
+          <div v-if="!isStaff">{{ tableForm.remark05 }}</div>
519
+          <el-input v-if="isStaff" v-model="tableForm.remark05"  type="textarea" :rows="4"></el-input>
515
         </td>
520
         </td>
516
         <!-- 工作量 -->
521
         <!-- 工作量 -->
517
         <td rowspan="3">
522
         <td rowspan="3">
585
     <el-row justify="center" type="flex" style="margin-top:20px;"
590
     <el-row justify="center" type="flex" style="margin-top:20px;"
586
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
591
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
587
       <el-button type="primary" @click="submit">提交</el-button>
592
       <el-button type="primary" @click="submit">提交</el-button>
588
-      <el-button>取消</el-button>
593
+      <el-button @click="$emit('close')">取消</el-button>
589
     </el-row>
594
     </el-row>
590
   </div>
595
   </div>
591
 </template>
596
 </template>

+ 1
- 1
oa-ui/src/views/flowable/form/jyForm.vue 查看文件

81
       </el-row>
81
       </el-row>
82
     </el-form>
82
     </el-form>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
84
-      <JyTable :tableForm="noNullForm" ref="jyTable" @submit="submit"></JyTable>
84
+      <JyTable :tableForm="noNullForm" ref="jyTable" @submit="submit" @close="taskOpen = false"></JyTable>
85
     </el-dialog>
85
     </el-dialog>
86
   </div>
86
   </div>
87
 </template>
87
 </template>

+ 35
- 40
oa-ui/src/views/flowable/form/jyTable.vue 查看文件

18
         <td class="table-title">考核年度</td>
18
         <td class="table-title">考核年度</td>
19
         <td> {{ tableForm.assessTime }}</td>
19
         <td> {{ tableForm.assessTime }}</td>
20
         <td colspan="3" class="table-title">部门负责人考核意见</td>
20
         <td colspan="3" class="table-title">部门负责人考核意见</td>
21
-        <td colspan="3" class="table-title">分管领导考核意见</td>
21
+        <td colspan="3" class="table-title" style="width:300px;">分管领导考核意见</td>
22
       </tr>
22
       </tr>
23
       <tr>
23
       <tr>
24
         <td class="table-title">所在部门</td>
24
         <td class="table-title">所在部门</td>
41
       <tr>
41
       <tr>
42
         <td class="table-title">部门职务</td>
42
         <td class="table-title">部门职务</td>
43
         <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.postGroup }}</td>
43
         <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.postGroup }}</td>
44
-        <td colspan="3" rowspan="5">
44
+        <td colspan="3" rowspan="3">
45
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.deptAdvice" :disabled="!isDeptLeader">
45
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.deptAdvice" :disabled="!isDeptLeader">
46
           </el-input>
46
           </el-input>
47
           <el-row justify="center" type="flex">
47
           <el-row justify="center" type="flex">
49
             <el-col :span="12">日期:<el-date-picker type="date"  placeholder="请选择考核日期" v-model="tableForm.deptTime" style="width:150px;" :disabled="!isDeptLeader"></el-date-picker> </el-col>
49
             <el-col :span="12">日期:<el-date-picker type="date"  placeholder="请选择考核日期" v-model="tableForm.deptTime" style="width:150px;" :disabled="!isDeptLeader"></el-date-picker> </el-col>
50
           </el-row>
50
           </el-row>
51
         </td>
51
         </td>
52
-        <td colspan="3" rowspan="5">
52
+        <td colspan="3" rowspan="3">
53
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.managerAdvice" :disabled="!isManager">
53
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.managerAdvice" :disabled="!isManager">
54
           </el-input>
54
           </el-input>
55
           <el-row justify="center">
55
           <el-row justify="center">
58
           </el-row>
58
           </el-row>
59
         </td>
59
         </td>
60
       </tr>
60
       </tr>
61
-      <tr>
62
-        <td class="table-title">项目经理</td>
63
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.pmLevel }}</td>
64
-      </tr>
65
       <tr>
61
       <tr>
66
         <td class="table-title">技术职称</td>
62
         <td class="table-title">技术职称</td>
67
         <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.titles }}</td>
63
         <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.titles }}</td>
68
       </tr>
64
       </tr>
69
-      <tr>
70
-        <td class="table-title">作业类别</td>
71
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.remark }}</td>
72
-      </tr>
73
       <tr>
65
       <tr>
74
         <td class="table-title">入职年月</td>
66
         <td class="table-title">入职年月</td>
75
         <td style="text-align:left;padding-left:10px;">{{ tableForm.entryDate }}</td>
67
         <td style="text-align:left;padding-left:10px;">{{ tableForm.entryDate }}</td>
79
       <tr>
71
       <tr>
80
         <td rowspan="2" class="table-title">考核内容</td>
72
         <td rowspan="2" class="table-title">考核内容</td>
81
         <td colspan="5" class="table-title">被考核人填写</td>
73
         <td colspan="5" class="table-title">被考核人填写</td>
82
-        <td colspan="3" class="table-title" style="width:300px;">项目负责人考核</td>
74
+        <td colspan="3" class="table-title">项目负责人考核</td>
83
       </tr>
75
       </tr>
84
       <tr>
76
       <tr>
85
         <td class="table-title">等级、比例尺等</td>
77
         <td class="table-title">等级、比例尺等</td>
87
         <td class="table-title">工作量</td>
79
         <td class="table-title">工作量</td>
88
         <td class="table-title">熟练程度</td>
80
         <td class="table-title">熟练程度</td>
89
         <td class="table-title">备注</td>
81
         <td class="table-title">备注</td>
90
-        <td class="table-title">产品质量</td>
91
-        <td class="table-title">技能掌握</td>
82
+        <td class="table-title">工作量</td>
83
+        <td class="table-title">岗位综合表现</td>
92
         <td class="table-title">考核建议</td>
84
         <td class="table-title">考核建议</td>
93
       </tr>
85
       </tr>
94
       <tr>
86
       <tr>
108
         </td>
100
         </td>
109
         
101
         
110
         <td rowspan="6">
102
         <td rowspan="6">
111
-          <div>{{ tableForm.remark01 }}</div>
103
+          <div v-if="!isStaff">{{ tableForm.remark01 }}</div>
104
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
112
         </td>
105
         </td>
113
         <td rowspan="6">
106
         <td rowspan="6">
114
-          <el-radio-group v-model="tableForm.quality01" :disabled="!isPiLeader">
115
-            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
116
-              <el-radio :key="dict.value" :label="dict.value"
117
-                @click.native.prevent="cancelSelect(dict.value, 'quality01')">
107
+          <el-radio-group v-model="tableForm.workload01" :disabled="!isPiLeader">
108
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
109
+              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'workload01')">
118
                 {{ dict.label }}
110
                 {{ dict.label }}
119
               </el-radio>
111
               </el-radio>
120
             </div>
112
             </div>
121
           </el-radio-group>
113
           </el-radio-group>
122
         </td>
114
         </td>
123
         <td rowspan="6">
115
         <td rowspan="6">
124
-          <el-radio-group v-model="tableForm.skill01" :disabled="!isPiLeader">
125
-            <div v-for="dict in dict.type.cmc_skill" style="text-align:left">
126
-              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'skill01')">
116
+          <el-radio-group v-model="tableForm.accessment01" :disabled="!isPiLeader">
117
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
118
+              <el-radio :key="dict.value" :label="dict.value"
119
+                @click.native.prevent="cancelSelect(dict.value, 'accessment01')">
127
                 {{ dict.label }}
120
                 {{ dict.label }}
128
               </el-radio>
121
               </el-radio>
129
             </div>
122
             </div>
191
           </el-radio-group>
184
           </el-radio-group>
192
         </td>
185
         </td>
193
         <td rowspan="3">
186
         <td rowspan="3">
194
-          <div>{{ tableForm.remark02 }}</div>
187
+          <div v-if="!isStaff">{{ tableForm.remark02 }}</div>
188
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
195
         </td>
189
         </td>
196
         <td rowspan="3">
190
         <td rowspan="3">
197
-          <el-radio-group v-model="tableForm.quality02" :disabled="!isPiLeader">
198
-            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
199
-              <el-radio :key="dict.value" :label="dict.value"
200
-                @click.native.prevent="cancelSelect(dict.value, 'quality02')">
191
+          <el-radio-group v-model="tableForm.workload02" :disabled="!isPiLeader">
192
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
193
+              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'workload02')">
201
                 {{ dict.label }}
194
                 {{ dict.label }}
202
               </el-radio>
195
               </el-radio>
203
             </div>
196
             </div>
204
           </el-radio-group>
197
           </el-radio-group>
205
         </td>
198
         </td>
206
         <td rowspan="3">
199
         <td rowspan="3">
207
-          <el-radio-group v-model="tableForm.skill02" :disabled="!isPiLeader">
208
-            <div v-for="dict in dict.type.cmc_skill" style="text-align:left">
209
-              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'skill02')">
200
+          <el-radio-group v-model="tableForm.accessment02" :disabled="!isPiLeader">
201
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
202
+              <el-radio :key="dict.value" :label="dict.value"
203
+                @click.native.prevent="cancelSelect(dict.value, 'accessment02')">
210
                 {{ dict.label }}
204
                 {{ dict.label }}
211
               </el-radio>
205
               </el-radio>
212
             </div>
206
             </div>
249
           </el-radio-group>
243
           </el-radio-group>
250
         </td>
244
         </td>
251
         <td rowspan="3">
245
         <td rowspan="3">
252
-          <div>{{ tableForm.remark03 }}</div>
246
+          <div v-if="!isStaff">{{ tableForm.remark03 }}</div>
247
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
253
         </td>
248
         </td>
254
         <td rowspan="3">
249
         <td rowspan="3">
255
-          <el-radio-group v-model="tableForm.quality03" :disabled="!isPiLeader">
256
-            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
257
-              <el-radio :key="dict.value" :label="dict.value"
258
-                @click.native.prevent="cancelSelect(dict.value, 'quality03')">
250
+          <el-radio-group v-model="tableForm.workload03" :disabled="!isPiLeader">
251
+            <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
252
+              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'workload03')">
259
                 {{ dict.label }}
253
                 {{ dict.label }}
260
               </el-radio>
254
               </el-radio>
261
             </div>
255
             </div>
262
           </el-radio-group>
256
           </el-radio-group>
263
         </td>
257
         </td>
264
         <td rowspan="3">
258
         <td rowspan="3">
265
-          <el-radio-group v-model="tableForm.skill03" :disabled="!isPiLeader">
266
-            <div v-for="dict in dict.type.cmc_skill" style="text-align:left">
267
-              <el-radio :key="dict.value" :label="dict.value" @click.native.prevent="cancelSelect(dict.value, 'skill03')">
259
+          <el-radio-group v-model="tableForm.accessment03" :disabled="!isPiLeader">
260
+            <div v-for="dict in dict.type.cmc_accessment" style="text-align:left">
261
+              <el-radio :key="dict.value" :label="dict.value"
262
+                @click.native.prevent="cancelSelect(dict.value, 'accessment03')">
268
                 {{ dict.label }}
263
                 {{ dict.label }}
269
               </el-radio>
264
               </el-radio>
270
             </div>
265
             </div>
310
     <el-row justify="center" type="flex" style="margin-top:20px;"
305
     <el-row justify="center" type="flex" style="margin-top:20px;"
311
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
306
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
312
       <el-button type="primary" @click="submit">提交</el-button>
307
       <el-button type="primary" @click="submit">提交</el-button>
313
-      <el-button>取消</el-button>
308
+      <el-button @click="$emit('close')">取消</el-button>
314
     </el-row>
309
     </el-row>
315
   </div>
310
   </div>
316
 </template>
311
 </template>
319
 import { JYContent } from '@/assets/datas/JYContent'
314
 import { JYContent } from '@/assets/datas/JYContent'
320
 import { getDicts as getDicts } from '@/api/system/dict/data'
315
 import { getDicts as getDicts } from '@/api/system/dict/data'
321
 export default {
316
 export default {
322
-  dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment'],
317
+  dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment','cmc_workload'],
323
   props: {
318
   props: {
324
     tableForm: {
319
     tableForm: {
325
       type: Object,
320
       type: Object,

+ 1
- 1
oa-ui/src/views/flowable/form/scForm.vue 查看文件

96
       </el-row>
96
       </el-row>
97
     </el-form>
97
     </el-form>
98
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
98
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
99
-      <ScTable :tableForm="noNullForm" ref="scTable" @submit="submit"></ScTable>
99
+      <ScTable :tableForm="noNullForm" ref="scTable" @submit="submit" @close="taskOpen = false"></ScTable>
100
     </el-dialog>
100
     </el-dialog>
101
   </div>
101
   </div>
102
 </template>
102
 </template>

+ 18
- 1
oa-ui/src/views/flowable/form/scTable.vue 查看文件

117
         </td>
117
         </td>
118
         <td rowspan="5">
118
         <td rowspan="5">
119
           <div>{{ tableForm.remark01 }}</div>
119
           <div>{{ tableForm.remark01 }}</div>
120
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
120
         </td>
121
         </td>
121
         <td rowspan="5">
122
         <td rowspan="5">
122
           <el-radio-group v-model="tableForm.quality01" :disabled="!isPiLeader">
123
           <el-radio-group v-model="tableForm.quality01" :disabled="!isPiLeader">
203
         </td>
204
         </td>
204
         <td rowspan="10">
205
         <td rowspan="10">
205
           <div>{{ tableForm.remark02 }}</div>
206
           <div>{{ tableForm.remark02 }}</div>
207
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
206
         </td>
208
         </td>
207
         <td rowspan="10">
209
         <td rowspan="10">
208
           <el-radio-group v-model="tableForm.quality02" :disabled="!isPiLeader">
210
           <el-radio-group v-model="tableForm.quality02" :disabled="!isPiLeader">
326
         </td>
328
         </td>
327
         <td rowspan="5">
329
         <td rowspan="5">
328
           <div>{{ tableForm.remark03 }}</div>
330
           <div>{{ tableForm.remark03 }}</div>
331
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
329
         </td>
332
         </td>
330
         <td rowspan="5">
333
         <td rowspan="5">
331
           <el-radio-group v-model="tableForm.quality03" :disabled="!isPiLeader">
334
           <el-radio-group v-model="tableForm.quality03" :disabled="!isPiLeader">
409
         </td>
412
         </td>
410
         <td rowspan="4">
413
         <td rowspan="4">
411
           <div>{{ tableForm.remark04 }}</div>
414
           <div>{{ tableForm.remark04 }}</div>
415
+          <el-input v-if="isStaff" v-model="tableForm.remark04"  type="textarea" :rows="4"></el-input>
412
         </td>
416
         </td>
413
         <td rowspan="4">
417
         <td rowspan="4">
414
           <el-radio-group v-model="tableForm.quality04" :disabled="!isPiLeader">
418
           <el-radio-group v-model="tableForm.quality04" :disabled="!isPiLeader">
481
         </td>
485
         </td>
482
         <td rowspan="6">
486
         <td rowspan="6">
483
           <div>{{ tableForm.remark05 }}</div>
487
           <div>{{ tableForm.remark05 }}</div>
488
+          <el-input v-if="isStaff" v-model="tableForm.remark05"  type="textarea" :rows="4"></el-input>
484
         </td>
489
         </td>
485
         <td rowspan="6">
490
         <td rowspan="6">
486
           <el-radio-group v-model="tableForm.quality05" :disabled="!isPiLeader">
491
           <el-radio-group v-model="tableForm.quality05" :disabled="!isPiLeader">
568
         </td>
573
         </td>
569
         <td rowspan="6">
574
         <td rowspan="6">
570
           <div>{{ tableForm.remark06 }}</div>
575
           <div>{{ tableForm.remark06 }}</div>
576
+          <el-input v-if="isStaff" v-model="tableForm.remark06"  type="textarea" :rows="4"></el-input>
571
         </td>
577
         </td>
572
         <td rowspan="6">
578
         <td rowspan="6">
573
           <el-radio-group v-model="tableForm.quality06" :disabled="!isPiLeader">
579
           <el-radio-group v-model="tableForm.quality06" :disabled="!isPiLeader">
655
         </td>
661
         </td>
656
         <td rowspan="4">
662
         <td rowspan="4">
657
           <div>{{ tableForm.remark07 }}</div>
663
           <div>{{ tableForm.remark07 }}</div>
664
+          <el-input v-if="isStaff" v-model="tableForm.remark07"  type="textarea" :rows="4"></el-input>
658
         </td>
665
         </td>
659
         <td rowspan="4">
666
         <td rowspan="4">
660
           <el-radio-group v-model="tableForm.quality07" :disabled="!isPiLeader">
667
           <el-radio-group v-model="tableForm.quality07" :disabled="!isPiLeader">
727
         </td>
734
         </td>
728
         <td rowspan="3">
735
         <td rowspan="3">
729
           <div>{{ tableForm.remark08 }}</div>
736
           <div>{{ tableForm.remark08 }}</div>
737
+          <el-input v-if="isStaff" v-model="tableForm.remark08"  type="textarea" :rows="4"></el-input>
730
         </td>
738
         </td>
731
         <td rowspan="3">
739
         <td rowspan="3">
732
           <el-radio-group v-model="tableForm.quality08" :disabled="!isPiLeader">
740
           <el-radio-group v-model="tableForm.quality08" :disabled="!isPiLeader">
792
         </td>
800
         </td>
793
         <td rowspan="6">
801
         <td rowspan="6">
794
           <div>{{ tableForm.remark09 }}</div>
802
           <div>{{ tableForm.remark09 }}</div>
803
+          <el-input v-if="isStaff" v-model="tableForm.remark09"  type="textarea" :rows="4"></el-input>
795
         </td>
804
         </td>
796
         <td rowspan="6">
805
         <td rowspan="6">
797
           <el-radio-group v-model="tableForm.quality09" :disabled="!isPiLeader">
806
           <el-radio-group v-model="tableForm.quality09" :disabled="!isPiLeader">
880
         </td>
889
         </td>
881
         <td rowspan="5">
890
         <td rowspan="5">
882
           <div>{{ tableForm.remark10 }}</div>
891
           <div>{{ tableForm.remark10 }}</div>
892
+          <el-input v-if="isStaff" v-model="tableForm.remark10"  type="textarea" :rows="4"></el-input>
883
         </td>
893
         </td>
884
         <td rowspan="5">
894
         <td rowspan="5">
885
           <el-radio-group v-model="tableForm.quality10" :disabled="!isPiLeader">
895
           <el-radio-group v-model="tableForm.quality10" :disabled="!isPiLeader">
960
         </td>
970
         </td>
961
         <td rowspan="6">
971
         <td rowspan="6">
962
           <div>{{ tableForm.remark11 }}</div>
972
           <div>{{ tableForm.remark11 }}</div>
973
+          <el-input v-if="isStaff" v-model="tableForm.remark11"  type="textarea" :rows="4"></el-input>
963
         </td>
974
         </td>
964
         <td rowspan="6">
975
         <td rowspan="6">
965
           <el-radio-group v-model="tableForm.quality11" :disabled="!isPiLeader">
976
           <el-radio-group v-model="tableForm.quality11" :disabled="!isPiLeader">
1048
         </td>
1059
         </td>
1049
         <td rowspan="5">
1060
         <td rowspan="5">
1050
           <div>{{ tableForm.remark12 }}</div>
1061
           <div>{{ tableForm.remark12 }}</div>
1062
+          <el-input v-if="isStaff" v-model="tableForm.remark12"  type="textarea" :rows="4"></el-input>
1051
         </td>
1063
         </td>
1052
         <td rowspan="5">
1064
         <td rowspan="5">
1053
           <el-radio-group v-model="tableForm.quality12" :disabled="!isPiLeader">
1065
           <el-radio-group v-model="tableForm.quality12" :disabled="!isPiLeader">
1128
         </td>
1140
         </td>
1129
         <td rowspan="6">
1141
         <td rowspan="6">
1130
           <div>{{ tableForm.remark13 }}</div>
1142
           <div>{{ tableForm.remark13 }}</div>
1143
+          <el-input v-if="isStaff" v-model="tableForm.remark13"  type="textarea" :rows="4"></el-input>
1131
         </td>
1144
         </td>
1132
         <td rowspan="6">
1145
         <td rowspan="6">
1133
           <el-radio-group v-model="tableForm.quality13" :disabled="!isPiLeader">
1146
           <el-radio-group v-model="tableForm.quality13" :disabled="!isPiLeader">
1216
         </td>
1229
         </td>
1217
         <td rowspan="6">
1230
         <td rowspan="6">
1218
           <div>{{ tableForm.remark14 }}</div>
1231
           <div>{{ tableForm.remark14 }}</div>
1232
+          <el-input v-if="isStaff" v-model="tableForm.remark14"  type="textarea" :rows="4"></el-input>
1219
         </td>
1233
         </td>
1220
         <td rowspan="6">
1234
         <td rowspan="6">
1221
           <el-radio-group v-model="tableForm.quality14" :disabled="!isPiLeader">
1235
           <el-radio-group v-model="tableForm.quality14" :disabled="!isPiLeader">
1304
         </td>
1318
         </td>
1305
         <td rowspan="6">
1319
         <td rowspan="6">
1306
           <div>{{ tableForm.remark15 }}</div>
1320
           <div>{{ tableForm.remark15 }}</div>
1321
+          <el-input v-if="isStaff" v-model="tableForm.remark15"  type="textarea" :rows="4"></el-input>
1307
         </td>
1322
         </td>
1308
         <td rowspan="6">
1323
         <td rowspan="6">
1309
           <el-radio-group v-model="tableForm.quality15" :disabled="!isPiLeader">
1324
           <el-radio-group v-model="tableForm.quality15" :disabled="!isPiLeader">
1392
         </td>
1407
         </td>
1393
         <td rowspan="4">
1408
         <td rowspan="4">
1394
           <div>{{ tableForm.remark16 }}</div>
1409
           <div>{{ tableForm.remark16 }}</div>
1410
+          <el-input v-if="isStaff" v-model="tableForm.remark16"  type="textarea" :rows="4"></el-input>
1395
         </td>
1411
         </td>
1396
         <td rowspan="4">
1412
         <td rowspan="4">
1397
           <el-radio-group v-model="tableForm.quality16" :disabled="!isPiLeader">
1413
           <el-radio-group v-model="tableForm.quality16" :disabled="!isPiLeader">
1463
         </td>
1479
         </td>
1464
         <td rowspan="5">
1480
         <td rowspan="5">
1465
           <div>{{ tableForm.remark17 }}</div>
1481
           <div>{{ tableForm.remark17 }}</div>
1482
+          <el-input v-if="isStaff" v-model="tableForm.remark17"  type="textarea" :rows="4"></el-input>
1466
         </td>
1483
         </td>
1467
         <td rowspan="5">
1484
         <td rowspan="5">
1468
           <el-radio-group v-model="tableForm.quality17" :disabled="!isPiLeader">
1485
           <el-radio-group v-model="tableForm.quality17" :disabled="!isPiLeader">
1538
     <el-row justify="center" type="flex" style="margin-top:20px;"
1555
     <el-row justify="center" type="flex" style="margin-top:20px;"
1539
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工填报'">
1556
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工填报'">
1540
       <el-button type="primary" @click="submit">提交</el-button>
1557
       <el-button type="primary" @click="submit">提交</el-button>
1541
-      <el-button>取消</el-button>
1558
+      <el-button @click="$emit('close')">取消</el-button>
1542
     </el-row>
1559
     </el-row>
1543
   </div>
1560
   </div>
1544
 </template>
1561
 </template>

+ 2
- 2
oa-ui/src/views/flowable/form/xmForm.vue 查看文件

2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-01-19 16:29:01
3
  * @Date: 2024-01-19 16:29:01
4
  * @LastEditors: Please set LastEditors
4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 15:08:09
5
+ * @LastEditTime: 2024-02-21 09:59:59
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div>
8
   <div>
81
       </el-row>
81
       </el-row>
82
     </el-form>
82
     </el-form>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
84
-      <XmTable :tableForm="noNullForm" ref="xmTable" @submit="submit"></XmTable>
84
+      <XmTable :tableForm="noNullForm" ref="xmTable" @submit="submit" @close="taskOpen = false"></XmTable>
85
     </el-dialog>
85
     </el-dialog>
86
   </div>
86
   </div>
87
 </template>
87
 </template>

+ 10
- 7
oa-ui/src/views/flowable/form/xmTable.vue 查看文件

91
         
91
         
92
         <td rowspan="6">
92
         <td rowspan="6">
93
           <div>{{ tableForm.remark01 }}</div>
93
           <div>{{ tableForm.remark01 }}</div>
94
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
94
         </td>
95
         </td>
95
         <td rowspan="6">
96
         <td rowspan="6">
96
-          <el-radio-group v-model="tableForm.quality01" :disabled="!isPiLeader">
97
+          <el-radio-group v-model="tableForm.workload01" :disabled="!isPiLeader">
97
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
98
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
98
               <el-radio :key="dict.value" :label="dict.value"
99
               <el-radio :key="dict.value" :label="dict.value"
99
-                @click.native.prevent="cancelSelect(dict.value, 'quality01')">
100
+                @click.native.prevent="cancelSelect(dict.value, 'workload01')">
100
                 {{ dict.label }}
101
                 {{ dict.label }}
101
               </el-radio>
102
               </el-radio>
102
             </div>
103
             </div>
176
         </td>
177
         </td>
177
         <td rowspan="6">
178
         <td rowspan="6">
178
           <div>{{ tableForm.remark02 }}</div>
179
           <div>{{ tableForm.remark02 }}</div>
180
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
179
         </td>
181
         </td>
180
         <td rowspan="6">
182
         <td rowspan="6">
181
-          <el-radio-group v-model="tableForm.quality02" :disabled="!isPiLeader">
183
+          <el-radio-group v-model="tableForm.workload02" :disabled="!isPiLeader">
182
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
184
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
183
               <el-radio :key="dict.value" :label="dict.value"
185
               <el-radio :key="dict.value" :label="dict.value"
184
-                @click.native.prevent="cancelSelect(dict.value, 'quality02')">
186
+                @click.native.prevent="cancelSelect(dict.value, 'workload02')">
185
                 {{ dict.label }}
187
                 {{ dict.label }}
186
               </el-radio>
188
               </el-radio>
187
             </div>
189
             </div>
262
         </td>
264
         </td>
263
         <td rowspan="3">
265
         <td rowspan="3">
264
           <div>{{ tableForm.remark03 }}</div>
266
           <div>{{ tableForm.remark03 }}</div>
267
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
265
         </td>
268
         </td>
266
         <td rowspan="3">
269
         <td rowspan="3">
267
-          <el-radio-group v-model="tableForm.quality03" :disabled="!isPiLeader">
270
+          <el-radio-group v-model="tableForm.workload03" :disabled="!isPiLeader">
268
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
271
             <div v-for="dict in dict.type.cmc_workload" style="text-align:left">
269
               <el-radio :key="dict.value" :label="dict.value"
272
               <el-radio :key="dict.value" :label="dict.value"
270
-                @click.native.prevent="cancelSelect(dict.value, 'quality03')">
273
+                @click.native.prevent="cancelSelect(dict.value, 'workload03')">
271
                 {{ dict.label }}
274
                 {{ dict.label }}
272
               </el-radio>
275
               </el-radio>
273
             </div>
276
             </div>
322
     <el-row justify="center" type="flex" style="margin-top:20px;"
325
     <el-row justify="center" type="flex" style="margin-top:20px;"
323
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
326
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
324
       <el-button type="primary" @click="submit">提交</el-button>
327
       <el-button type="primary" @click="submit">提交</el-button>
325
-      <el-button>取消</el-button>
328
+      <el-button @click="$emit('close')">取消</el-button>
326
     </el-row>
329
     </el-row>
327
   </div>
330
   </div>
328
 </template>
331
 </template>

+ 2
- 2
oa-ui/src/views/flowable/form/zhForm.vue 查看文件

81
       </el-row>
81
       </el-row>
82
     </el-form>
82
     </el-form>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
83
     <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
84
-      <ZhTable :tableForm="noNullForm" ref="zhTable" @submit="submit"></ZhTable>
84
+      <ZhTable :tableForm="noNullForm" ref="zhTable" @submit="submit" @close="taskOpen = false"></ZhTable>
85
     </el-dialog>
85
     </el-dialog>
86
   </div>
86
   </div>
87
 </template>
87
 </template>
156
       }
156
       }
157
       for (let btn of this.checkedBtn) {
157
       for (let btn of this.checkedBtn) {
158
         let ids = this.changeLabelToValue(btn);
158
         let ids = this.changeLabelToValue(btn);
159
-        if (this.form['familiar' + ids] == undefined) {
159
+        if (this.form['role' + ids] == undefined) {
160
           this.$message.error('熟练程度为必填项,请完善!');
160
           this.$message.error('熟练程度为必填项,请完善!');
161
           flag = 0
161
           flag = 0
162
           break
162
           break

+ 8
- 1
oa-ui/src/views/flowable/form/zhTable.vue 查看文件

97
 
97
 
98
         <td rowspan="9">
98
         <td rowspan="9">
99
           <div>{{ tableForm.remark01 }}</div>
99
           <div>{{ tableForm.remark01 }}</div>
100
+          <el-input v-if="isStaff" v-model="tableForm.remark01"  type="textarea" :rows="4"></el-input>
100
         </td>
101
         </td>
101
         <td rowspan="9">
102
         <td rowspan="9">
102
           <el-radio-group v-model="tableForm.workload01" :disabled="!isPiLeader">
103
           <el-radio-group v-model="tableForm.workload01" :disabled="!isPiLeader">
210
         </td>
211
         </td>
211
         <td rowspan="8">
212
         <td rowspan="8">
212
           <div>{{ tableForm.remark02 }}</div>
213
           <div>{{ tableForm.remark02 }}</div>
214
+          <el-input v-if="isStaff" v-model="tableForm.remark02"  type="textarea" :rows="4"></el-input>
213
         </td>
215
         </td>
214
         <td rowspan="8">
216
         <td rowspan="8">
215
           <el-radio-group v-model="tableForm.workload02" :disabled="!isPiLeader">
217
           <el-radio-group v-model="tableForm.workload02" :disabled="!isPiLeader">
311
         </td>
313
         </td>
312
         <td rowspan="5">
314
         <td rowspan="5">
313
           <div>{{ tableForm.remark03 }}</div>
315
           <div>{{ tableForm.remark03 }}</div>
316
+          <el-input v-if="isStaff" v-model="tableForm.remark03"  type="textarea" :rows="4"></el-input>
314
         </td>
317
         </td>
315
         <td rowspan="5">
318
         <td rowspan="5">
316
           <el-radio-group v-model="tableForm.workload03" :disabled="!isPiLeader">
319
           <el-radio-group v-model="tableForm.workload03" :disabled="!isPiLeader">
387
         </td>
390
         </td>
388
         <td rowspan="7">
391
         <td rowspan="7">
389
           <div>{{ tableForm.remark04 }}</div>
392
           <div>{{ tableForm.remark04 }}</div>
393
+          <el-input v-if="isStaff" v-model="tableForm.remark04"  type="textarea" :rows="4"></el-input>
390
         </td>
394
         </td>
391
         <td rowspan="7">
395
         <td rowspan="7">
392
           <el-radio-group v-model="tableForm.workload04" :disabled="!isPiLeader">
396
           <el-radio-group v-model="tableForm.workload04" :disabled="!isPiLeader">
479
         </td>
483
         </td>
480
         <td rowspan="10">
484
         <td rowspan="10">
481
           <div>{{ tableForm.remark05 }}</div>
485
           <div>{{ tableForm.remark05 }}</div>
486
+          <el-input v-if="isStaff" v-model="tableForm.remark05"  type="textarea" :rows="4"></el-input>
482
         </td>
487
         </td>
483
         <td rowspan="10">
488
         <td rowspan="10">
484
           <el-radio-group v-model="tableForm.workload05" :disabled="!isPiLeader">
489
           <el-radio-group v-model="tableForm.workload05" :disabled="!isPiLeader">
594
         </td>
599
         </td>
595
         <td rowspan="7">
600
         <td rowspan="7">
596
           <div>{{ tableForm.remark06 }}</div>
601
           <div>{{ tableForm.remark06 }}</div>
602
+          <el-input v-if="isStaff" v-model="tableForm.remark06"  type="textarea" :rows="4"></el-input>
597
         </td>
603
         </td>
598
         <td rowspan="7">
604
         <td rowspan="7">
599
           <el-radio-group v-model="tableForm.workload06" :disabled="!isPiLeader">
605
           <el-radio-group v-model="tableForm.workload06" :disabled="!isPiLeader">
685
         </td>
691
         </td>
686
         <td rowspan="2">
692
         <td rowspan="2">
687
           <div>{{ tableForm.remark07 }}</div>
693
           <div>{{ tableForm.remark07 }}</div>
694
+          <el-input v-if="isStaff" v-model="tableForm.remark07"  type="textarea" :rows="4"></el-input>
688
         </td>
695
         </td>
689
         <td rowspan="2">
696
         <td rowspan="2">
690
           <el-radio-group v-model="tableForm.workload07" :disabled="!isPiLeader">
697
           <el-radio-group v-model="tableForm.workload07" :disabled="!isPiLeader">
738
     <el-row justify="center" type="flex" style="margin-top:20px;"
745
     <el-row justify="center" type="flex" style="margin-top:20px;"
739
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
746
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
740
       <el-button type="primary" @click="submit">提交</el-button>
747
       <el-button type="primary" @click="submit">提交</el-button>
741
-      <el-button>取消</el-button>
748
+      <el-button @click="$emit('close')">取消</el-button>
742
     </el-row>
749
     </el-row>
743
   </div>
750
   </div>
744
 </template>
751
 </template>

+ 4
- 1
oa-ui/src/views/flowable/task/myProcess/send/index.vue 查看文件

22
           <zh-form @submit="submitForm" v-else-if="deployName == '综合事务部考核'"></zh-form>
22
           <zh-form @submit="submitForm" v-else-if="deployName == '综合事务部考核'"></zh-form>
23
           <js-form @submit="submitForm" v-else-if="deployName == '技术质量部考核'"></js-form>
23
           <js-form @submit="submitForm" v-else-if="deployName == '技术质量部考核'"></js-form>
24
           <xm-form @submit="submitForm" v-else-if="deployName == '项目管理部考核'"></xm-form>
24
           <xm-form @submit="submitForm" v-else-if="deployName == '项目管理部考核'"></xm-form>
25
+          <cw-form @submit="submitForm" v-else-if="deployName == '财务部考核'"></cw-form>
25
           <el-col :span="16" :offset="4" v-else>
26
           <el-col :span="16" :offset="4" v-else>
26
             <div class="test-form">
27
             <div class="test-form">
27
               <parser :key="new Date().getTime()" :form-conf="formConf" @submit="submitForm" ref="parser"
28
               <parser :key="new Date().getTime()" :form-conf="formConf" @submit="submitForm" ref="parser"
61
 import ZhForm from '../../../form/zhForm.vue';
62
 import ZhForm from '../../../form/zhForm.vue';
62
 import JsForm from '../../../form/jsForm.vue';
63
 import JsForm from '../../../form/jsForm.vue';
63
 import XmForm from '../../../form/xmForm.vue';
64
 import XmForm from '../../../form/xmForm.vue';
65
+import CwForm from '../../../form/cwForm.vue';
64
 
66
 
65
 export default {
67
 export default {
66
   name: "Record",
68
   name: "Record",
73
     JyForm,
75
     JyForm,
74
     ZhForm,
76
     ZhForm,
75
     JsForm,
77
     JsForm,
76
-    XmForm
78
+    XmForm,
79
+    CwForm
77
 },
80
 },
78
   props: {},
81
   props: {},
79
   data() {
82
   data() {

+ 2
- 2
oa-ui/src/views/index.vue 查看文件

80
               <el-row class="item-icon"><i class="el-icon-tickets"></i></el-row>
80
               <el-row class="item-icon"><i class="el-icon-tickets"></i></el-row>
81
               <el-row>新建申请</el-row>
81
               <el-row>新建申请</el-row>
82
             </el-col>
82
             </el-col>
83
-            <el-col :span="4" class="item" style="background-color: #40A9FF;padding:3px">
83
+            <!-- <el-col :span="4" class="item" style="background-color: #40A9FF;padding:3px">
84
               <el-row class="item-icon"><i class="el-icon-s-order"></i></el-row>
84
               <el-row class="item-icon"><i class="el-icon-s-order"></i></el-row>
85
               <el-row>新建项目</el-row>
85
               <el-row>新建项目</el-row>
86
-            </el-col>
86
+            </el-col> -->
87
           </el-row>
87
           </el-row>
88
         </el-col>
88
         </el-col>
89
         <el-col :span="12" class="meau-right">
89
         <el-col :span="12" class="meau-right">

+ 137
- 102
oa-ui/src/views/login.vue 查看文件

1
+<!--
2
+ * @Author: ysh
3
+ * @Date: 2024-01-03 09:23:11
4
+ * @LastEditors: Please set LastEditors
5
+ * @LastEditTime: 2024-02-21 17:20:33
6
+-->
1
 <template>
7
 <template>
2
-  <div class="login">
3
-    <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
4
-      <h3 class="title">若依后台管理系统</h3>
5
-      <el-form-item prop="username">
6
-        <el-input
7
-          v-model="loginForm.username"
8
-          type="text"
9
-          auto-complete="off"
10
-          placeholder="账号"
11
-        >
12
-          <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
13
-        </el-input>
14
-      </el-form-item>
15
-      <el-form-item prop="password">
16
-        <el-input
17
-          v-model="loginForm.password"
18
-          type="password"
19
-          auto-complete="off"
20
-          placeholder="密码"
21
-          @keyup.enter.native="handleLogin"
22
-        >
23
-          <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
24
-        </el-input>
25
-      </el-form-item>
26
-      <!-- <el-form-item prop="code" v-if="captchaEnabled">
8
+  <el-row class="login-wrapper">
9
+    <el-col :xs="0" class="login-bg">
10
+      <div class="logo-title">
11
+        <div class="logo-img"></div>
12
+        <div class="logo-text">四川中水成勘院测绘工程有限责任公司</div>
13
+      </div>
14
+    </el-col>
15
+    <el-col :xs="18" class="login-box">
16
+      <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
17
+        <h3 class="title">CMC综合办公系统</h3>
18
+        <el-form-item prop="username">
19
+          <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
20
+            <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
21
+          </el-input>
22
+        </el-form-item>
23
+        <el-form-item prop="password">
24
+          <el-input v-model="loginForm.password" type="password" auto-complete="off" placeholder="密码"
25
+            @keyup.enter.native="handleLogin">
26
+            <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
27
+          </el-input>
28
+        </el-form-item>
29
+        <!-- <el-form-item prop="code" v-if="captchaEnabled">
27
         <el-input
30
         <el-input
28
           v-model="loginForm.code"
31
           v-model="loginForm.code"
29
           auto-complete="off"
32
           auto-complete="off"
37
           <img :src="codeUrl" @click="getCode" class="login-code-img"/>
40
           <img :src="codeUrl" @click="getCode" class="login-code-img"/>
38
         </div>
41
         </div>
39
       </el-form-item> -->
42
       </el-form-item> -->
40
-      <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
41
-      <el-form-item style="width:100%;">
42
-        <el-button
43
-          :loading="loading"
44
-          size="medium"
45
-          type="primary"
46
-          style="width:100%;"
47
-          @click.native.prevent="handleLogin"
48
-        >
49
-          <span v-if="!loading">登 录</span>
50
-          <span v-else>登 录 中...</span>
51
-        </el-button>
52
-        <div style="float: right;" v-if="register">
53
-          <router-link class="link-type" :to="'/register'">立即注册</router-link>
54
-        </div>
55
-      </el-form-item>
56
-    </el-form>
57
-    <!--  底部  -->
58
-    <div class="el-login-footer">
59
-      <span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span>
60
-    </div>
61
-  </div>
43
+        <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
44
+        <el-form-item style="width:100%;">
45
+          <el-button :loading="loading" size="medium" type="primary" style="width:100%;"
46
+            @click.native.prevent="handleLogin">
47
+            <span v-if="!loading">登 录</span>
48
+            <span v-else>登 录 中...</span>
49
+          </el-button>
50
+          <div style="float: right;" v-if="register">
51
+            <router-link class="link-type" :to="'/register'">立即注册</router-link>
52
+          </div>
53
+        </el-form-item>
54
+      </el-form>
55
+      <!-- <div class="el-login-footer">
56
+        <span>Copyright © 2023-2024 四川中水成勘院测绘工程有限责任公司 All Rights Reserved.</span>
57
+      </div> -->
58
+    </el-col>
59
+  </el-row>
62
 </template>
60
 </template>
63
 
61
 
64
 <script>
62
 <script>
66
 import Cookies from "js-cookie";
64
 import Cookies from "js-cookie";
67
 import { encrypt, decrypt } from '@/utils/jsencrypt'
65
 import { encrypt, decrypt } from '@/utils/jsencrypt'
68
 
66
 
67
+
69
 export default {
68
 export default {
70
   name: "Login",
69
   name: "Login",
71
   data() {
70
   data() {
97
   },
96
   },
98
   watch: {
97
   watch: {
99
     $route: {
98
     $route: {
100
-      handler: function(route) {
99
+      handler: function (route) {
101
         this.redirect = route.query && route.query.redirect;
100
         this.redirect = route.query && route.query.redirect;
102
       },
101
       },
103
       immediate: true
102
       immediate: true
141
             Cookies.remove('rememberMe');
140
             Cookies.remove('rememberMe');
142
           }
141
           }
143
           this.$store.dispatch("Login", this.loginForm).then(() => {
142
           this.$store.dispatch("Login", this.loginForm).then(() => {
144
-            this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
143
+            this.$router.push({ path: this.redirect || "/" }).catch(() => { });
145
           }).catch(() => {
144
           }).catch(() => {
146
             this.loading = false;
145
             this.loading = false;
147
             if (this.captchaEnabled) {
146
             if (this.captchaEnabled) {
152
       });
151
       });
153
     }
152
     }
154
   }
153
   }
155
-};
154
+}
156
 </script>
155
 </script>
157
 
156
 
158
-<style rel="stylesheet/scss" lang="scss">
159
-.login {
157
+<style lang="scss" scoped>
158
+.login-wrapper {
159
+  width: 100%;
160
+  height: 100vh;
160
   display: flex;
161
   display: flex;
161
-  justify-content: center;
162
-  align-items: center;
163
-  height: 100%;
164
-  background-image: url("../assets/images/login-background.jpg");
165
-  background-size: cover;
166
-}
167
-.title {
168
-  margin: 0px auto 30px auto;
169
-  text-align: center;
170
-  color: #707070;
162
+
163
+  .login-bg {
164
+    flex: 1.8;
165
+    min-width: 0%;
166
+    background: url('../assets/images/xizang02.jpg') no-repeat;
167
+    position: relative;
168
+  }
169
+
170
+  // .login-bg::after {
171
+  //   content: '';
172
+  //   position: absolute;
173
+  //   left: 0;
174
+  //   top: 0;
175
+  //   width: 100%;
176
+  //   height: 100%;
177
+  //   background-color: rgba($color: #2144b4, $alpha: 0.3);
178
+  // }
179
+
180
+  .login-box {
181
+    flex: 1.5;
182
+    min-width: 45%;
183
+    position: relative;
184
+  }
185
+
186
+  .login-box::before {
187
+    content: '';
188
+    position: absolute;
189
+    top: 0;
190
+    left: -166px;
191
+    width: 100%;
192
+    height: 100%;
193
+    background-color: #fff;
194
+    transform: skew(-15deg);
195
+    transform-origin: 0;
196
+  }
171
 }
197
 }
172
 
198
 
173
 .login-form {
199
 .login-form {
174
-  border-radius: 6px;
175
-  background: #ffffff;
176
-  width: 400px;
177
-  padding: 25px 25px 5px 25px;
178
-  .el-input {
179
-    height: 38px;
180
-    input {
181
-      height: 38px;
182
-    }
200
+  position: absolute;
201
+  top: 50%;
202
+  left: 50%;
203
+  transform: translate(-50%, -55%);
204
+  width: 380px;
205
+  height: 500px;
206
+  padding: 0 20px;
207
+
208
+  .title {
209
+    font-size: 40px;
210
+    margin-bottom: 40px;
211
+    color: #504d4d;
212
+    font-family: 'CMCTitle';
183
   }
213
   }
184
-  .input-icon {
185
-    height: 39px;
186
-    width: 14px;
187
-    margin-left: 2px;
214
+
215
+  .el-login-footer {
216
+    position: absolute;
217
+    left: 50%;
218
+    bottom: 10px;
219
+    transform: translate(-50%, -0%);
220
+    height: 40px;
221
+    line-height: 40px;
222
+    position: fixed;
223
+    bottom: 0;
224
+    text-align: center;
225
+    color: #2e9de7;
226
+    font-family: Arial;
227
+    font-size: 12px;
228
+    letter-spacing: 1px;
188
   }
229
   }
189
 }
230
 }
190
-.login-tip {
191
-  font-size: 13px;
192
-  text-align: center;
193
-  color: #bfbfbf;
194
-}
195
-.login-code {
196
-  width: 33%;
197
-  height: 38px;
198
-  float: right;
199
-  img {
200
-    cursor: pointer;
231
+
232
+.login-bg {
233
+  .logo-title {
234
+    z-index: 999;
201
     vertical-align: middle;
235
     vertical-align: middle;
236
+    display: flex;
237
+    align-items: center;
238
+    padding-top: 20px;
239
+    padding-left: 20px;
240
+    .logo-img{
241
+      background: url('~@/assets/images/logo.png')no-repeat;
242
+      background-size: 100% 100%;
243
+      width: 74px;
244
+      height: 64px;
245
+    }
246
+    .logo-text{
247
+      padding-left: 10px;
248
+      color: #fff;
249
+      font-weight: bold;
250
+      font-size: 25px;
251
+    }
202
   }
252
   }
203
 }
253
 }
204
-.el-login-footer {
205
-  height: 40px;
206
-  line-height: 40px;
207
-  position: fixed;
208
-  bottom: 0;
209
-  width: 100%;
210
-  text-align: center;
211
-  color: #fff;
212
-  font-family: Arial;
213
-  font-size: 12px;
214
-  letter-spacing: 1px;
215
-}
216
-.login-code-img {
217
-  height: 38px;
218
-}
219
-</style>
254
+</style>

+ 1
- 1
oa-ui/src/views/register.vue 查看文件

1
 <template>
1
 <template>
2
   <div class="register">
2
   <div class="register">
3
     <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
3
     <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
4
-      <h3 class="title">若依后台管理系统</h3>
4
+      <h3 class="title">CMC综合办公系统</h3>
5
       <el-form-item prop="username">
5
       <el-form-item prop="username">
6
         <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
6
         <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
7
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
7
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

+ 1
- 1
oa-ui/vue.config.js 查看文件

7
 
7
 
8
 const CompressionPlugin = require('compression-webpack-plugin')
8
 const CompressionPlugin = require('compression-webpack-plugin')
9
 
9
 
10
-const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
10
+const name = process.env.VUE_APP_TITLE || 'CMC综合办公系统' // 网页标题
11
 
11
 
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13
 
13
 

Loading…
取消
儲存