Bladeren bron

修改登录界面

余思翰 1 jaar geleden
bovenliggende
commit
66362d6d53

+ 2
- 2
oa-ui/.env.development Bestand weergeven

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

+ 2
- 2
oa-ui/.env.production Bestand weergeven

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

+ 2
- 2
oa-ui/.env.staging Bestand weergeven

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

+ 1
- 1
oa-ui/package.json Bestand weergeven

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

+ 177
- 0
oa-ui/src/assets/datas/CWContent.js Bestand weergeven

@@ -0,0 +1,177 @@
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
+]

BIN
oa-ui/src/assets/font/cmctitle/cmctitle.woff Bestand weergeven


BIN
oa-ui/src/assets/font/cmctitle/cmctitle.woff2 Bestand weergeven


BIN
oa-ui/src/assets/images/53bg.png Bestand weergeven


BIN
oa-ui/src/assets/images/document.png Bestand weergeven


BIN
oa-ui/src/assets/images/logo.png Bestand weergeven


BIN
oa-ui/src/assets/images/welcome.png Bestand weergeven


BIN
oa-ui/src/assets/images/xizang01.jpg Bestand weergeven


BIN
oa-ui/src/assets/images/xizang02.jpg Bestand weergeven


BIN
oa-ui/src/assets/images/xizang03.jpg Bestand weergeven


+ 5
- 0
oa-ui/src/assets/styles/index.scss Bestand weergeven

@@ -189,3 +189,8 @@ aside {
189 189
 .multiselect--active {
190 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 Bestand weergeven

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-01-19 16:29:01
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 17:17:50
5
+ * @LastEditTime: 2024-02-21 10:54:40
6 6
 -->
7 7
 <template>
8 8
   <div>
@@ -28,7 +28,7 @@
28 28
           <el-scrollbar style="height: 500px;">
29 29
             <div v-for="ass in AssessmentContent" v-if="ass.label == item">
30 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 32
                   <td>等级、比例尺等</td>
33 33
                   <td>工作量</td>
34 34
                   <td>单位</td>
@@ -49,12 +49,12 @@
49 49
                   <td>{{ child.unit }}</td>
50 50
                 </tr>
51 51
                 <tr>
52
-                  <td>参与情况</td>
52
+                  <td>熟练程度</td>
53 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 58
                     </el-radio-group>
59 59
                   </td>
60 60
                 </tr>
@@ -81,26 +81,26 @@
81 81
       </el-row>
82 82
     </el-form>
83 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 85
     </el-dialog>
86 86
   </div>
87 87
 </template>
88 88
 
89 89
 <script>
90
-import { ZHContent } from '@/assets/datas/ZHContent'
90
+import { CWContent } from '@/assets/datas/CWContent'
91 91
 import { MessageBox } from 'element-ui'
92 92
 import { Snowflake } from '@/utils/snowFlake.js'
93 93
 import { submitAssess } from '@/api/oa/assess/assess.js'
94 94
 import { listProject } from '@/api/oa/project/project.js'
95 95
 import { getProject } from '@/api/oa/project/project'
96
-import ZhTable from './zhTable.vue';
96
+import CwTable from './cwTable.vue';
97 97
 export default {
98 98
   dicts: ['cmc_skill'],
99
-  components: { ZhTable },
99
+  components: { CwTable },
100 100
   data() {
101 101
     return {
102 102
       checkedBtn: [],
103
-      AssessmentContent: ZHContent,
103
+      AssessmentContent: CWContent,
104 104
       projectList: [],
105 105
       form: {},
106 106
       noNullForm: {},
@@ -166,8 +166,8 @@ export default {
166 166
       }
167 167
       if (flag) {
168 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,7 +185,7 @@ export default {
185 185
       if (index !== -1) {
186 186
         this.checkedBtn.splice(index, 1);
187 187
       }
188
-      for (let i of ZHContent) {
188
+      for (let i of CWContent) {
189 189
         if (i.label == item) {
190 190
           number = i.value;
191 191
         }
@@ -221,7 +221,7 @@ export default {
221 221
       }
222 222
     },
223 223
     changeLabelToValue(label) {
224
-      for (let s of ZHContent) {
224
+      for (let s of CWContent) {
225 225
         if (s.label == label) {
226 226
           return s.value.slice(-2)
227 227
         }

+ 686
- 0
oa-ui/src/views/flowable/form/cwTable.vue Bestand weergeven

@@ -0,0 +1,686 @@
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 Bestand weergeven

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-02-20 10:40:26
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 10:58:38
5
+ * @LastEditTime: 2024-02-21 10:00:38
6 6
 -->
7 7
 <template>
8 8
   <!-- 技术质量部 -->
@@ -82,7 +82,7 @@
82 82
       </el-row>
83 83
     </el-form>
84 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 86
     </el-dialog>
87 87
   </div>
88 88
 </template>

+ 12
- 7
oa-ui/src/views/flowable/form/jsTable.vue Bestand weergeven

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

+ 1
- 1
oa-ui/src/views/flowable/form/jyForm.vue Bestand weergeven

@@ -81,7 +81,7 @@
81 81
       </el-row>
82 82
     </el-form>
83 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 85
     </el-dialog>
86 86
   </div>
87 87
 </template>

+ 35
- 40
oa-ui/src/views/flowable/form/jyTable.vue Bestand weergeven

@@ -18,7 +18,7 @@
18 18
         <td class="table-title">考核年度</td>
19 19
         <td> {{ tableForm.assessTime }}</td>
20 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 22
       </tr>
23 23
       <tr>
24 24
         <td class="table-title">所在部门</td>
@@ -41,7 +41,7 @@
41 41
       <tr>
42 42
         <td class="table-title">部门职务</td>
43 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 45
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.deptAdvice" :disabled="!isDeptLeader">
46 46
           </el-input>
47 47
           <el-row justify="center" type="flex">
@@ -49,7 +49,7 @@
49 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 50
           </el-row>
51 51
         </td>
52
-        <td colspan="3" rowspan="5">
52
+        <td colspan="3" rowspan="3">
53 53
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.managerAdvice" :disabled="!isManager">
54 54
           </el-input>
55 55
           <el-row justify="center">
@@ -58,18 +58,10 @@
58 58
           </el-row>
59 59
         </td>
60 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 61
       <tr>
66 62
         <td class="table-title">技术职称</td>
67 63
         <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.titles }}</td>
68 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 65
       <tr>
74 66
         <td class="table-title">入职年月</td>
75 67
         <td style="text-align:left;padding-left:10px;">{{ tableForm.entryDate }}</td>
@@ -79,7 +71,7 @@
79 71
       <tr>
80 72
         <td rowspan="2" class="table-title">考核内容</td>
81 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 75
       </tr>
84 76
       <tr>
85 77
         <td class="table-title">等级、比例尺等</td>
@@ -87,8 +79,8 @@
87 79
         <td class="table-title">工作量</td>
88 80
         <td class="table-title">熟练程度</td>
89 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 84
         <td class="table-title">考核建议</td>
93 85
       </tr>
94 86
       <tr>
@@ -108,22 +100,23 @@
108 100
         </td>
109 101
         
110 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 105
         </td>
113 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 110
                 {{ dict.label }}
119 111
               </el-radio>
120 112
             </div>
121 113
           </el-radio-group>
122 114
         </td>
123 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 120
                 {{ dict.label }}
128 121
               </el-radio>
129 122
             </div>
@@ -191,22 +184,23 @@
191 184
           </el-radio-group>
192 185
         </td>
193 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 189
         </td>
196 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 194
                 {{ dict.label }}
202 195
               </el-radio>
203 196
             </div>
204 197
           </el-radio-group>
205 198
         </td>
206 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 204
                 {{ dict.label }}
211 205
               </el-radio>
212 206
             </div>
@@ -249,22 +243,23 @@
249 243
           </el-radio-group>
250 244
         </td>
251 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 248
         </td>
254 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 253
                 {{ dict.label }}
260 254
               </el-radio>
261 255
             </div>
262 256
           </el-radio-group>
263 257
         </td>
264 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 263
                 {{ dict.label }}
269 264
               </el-radio>
270 265
             </div>
@@ -310,7 +305,7 @@
310 305
     <el-row justify="center" type="flex" style="margin-top:20px;"
311 306
       v-if="tableForm.taskName == undefined || tableForm.taskName == '员工修改'">
312 307
       <el-button type="primary" @click="submit">提交</el-button>
313
-      <el-button>取消</el-button>
308
+      <el-button @click="$emit('close')">取消</el-button>
314 309
     </el-row>
315 310
   </div>
316 311
 </template>
@@ -319,7 +314,7 @@
319 314
 import { JYContent } from '@/assets/datas/JYContent'
320 315
 import { getDicts as getDicts } from '@/api/system/dict/data'
321 316
 export default {
322
-  dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment'],
317
+  dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment','cmc_workload'],
323 318
   props: {
324 319
     tableForm: {
325 320
       type: Object,

+ 1
- 1
oa-ui/src/views/flowable/form/scForm.vue Bestand weergeven

@@ -96,7 +96,7 @@
96 96
       </el-row>
97 97
     </el-form>
98 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 100
     </el-dialog>
101 101
   </div>
102 102
 </template>

+ 18
- 1
oa-ui/src/views/flowable/form/scTable.vue Bestand weergeven

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

+ 2
- 2
oa-ui/src/views/flowable/form/xmForm.vue Bestand weergeven

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-01-19 16:29:01
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-02-20 15:08:09
5
+ * @LastEditTime: 2024-02-21 09:59:59
6 6
 -->
7 7
 <template>
8 8
   <div>
@@ -81,7 +81,7 @@
81 81
       </el-row>
82 82
     </el-form>
83 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 85
     </el-dialog>
86 86
   </div>
87 87
 </template>

+ 10
- 7
oa-ui/src/views/flowable/form/xmTable.vue Bestand weergeven

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

+ 2
- 2
oa-ui/src/views/flowable/form/zhForm.vue Bestand weergeven

@@ -81,7 +81,7 @@
81 81
       </el-row>
82 82
     </el-form>
83 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 85
     </el-dialog>
86 86
   </div>
87 87
 </template>
@@ -156,7 +156,7 @@ export default {
156 156
       }
157 157
       for (let btn of this.checkedBtn) {
158 158
         let ids = this.changeLabelToValue(btn);
159
-        if (this.form['familiar' + ids] == undefined) {
159
+        if (this.form['role' + ids] == undefined) {
160 160
           this.$message.error('熟练程度为必填项,请完善!');
161 161
           flag = 0
162 162
           break

+ 8
- 1
oa-ui/src/views/flowable/form/zhTable.vue Bestand weergeven

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

+ 4
- 1
oa-ui/src/views/flowable/task/myProcess/send/index.vue Bestand weergeven

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

+ 2
- 2
oa-ui/src/views/index.vue Bestand weergeven

@@ -80,10 +80,10 @@
80 80
               <el-row class="item-icon"><i class="el-icon-tickets"></i></el-row>
81 81
               <el-row>新建申请</el-row>
82 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 84
               <el-row class="item-icon"><i class="el-icon-s-order"></i></el-row>
85 85
               <el-row>新建项目</el-row>
86
-            </el-col>
86
+            </el-col> -->
87 87
           </el-row>
88 88
         </el-col>
89 89
         <el-col :span="12" class="meau-right">

+ 137
- 102
oa-ui/src/views/login.vue Bestand weergeven

@@ -1,29 +1,32 @@
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 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 30
         <el-input
28 31
           v-model="loginForm.code"
29 32
           auto-complete="off"
@@ -37,28 +40,23 @@
37 40
           <img :src="codeUrl" @click="getCode" class="login-code-img"/>
38 41
         </div>
39 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 60
 </template>
63 61
 
64 62
 <script>
@@ -66,6 +64,7 @@ import { getCodeImg } from "@/api/login";
66 64
 import Cookies from "js-cookie";
67 65
 import { encrypt, decrypt } from '@/utils/jsencrypt'
68 66
 
67
+
69 68
 export default {
70 69
   name: "Login",
71 70
   data() {
@@ -97,7 +96,7 @@ export default {
97 96
   },
98 97
   watch: {
99 98
     $route: {
100
-      handler: function(route) {
99
+      handler: function (route) {
101 100
         this.redirect = route.query && route.query.redirect;
102 101
       },
103 102
       immediate: true
@@ -141,7 +140,7 @@ export default {
141 140
             Cookies.remove('rememberMe');
142 141
           }
143 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 144
           }).catch(() => {
146 145
             this.loading = false;
147 146
             if (this.captchaEnabled) {
@@ -152,68 +151,104 @@ export default {
152 151
       });
153 152
     }
154 153
   }
155
-};
154
+}
156 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 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 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 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 Bestand weergeven

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

+ 1
- 1
oa-ui/vue.config.js Bestand weergeven

@@ -7,7 +7,7 @@ function resolve(dir) {
7 7
 
8 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 12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 

Laden…
Annuleren
Opslaan