李志伟 2 年 前
コミット
c9dfe92d58
共有3 個のファイルを変更した4 個の追加3 個の削除を含む
  1. 2
    2
      src/access.js
  2. 1
    1
      src/pages/certificateIssuance/index.jsx
  3. 1
    0
      src/pages/person/index.jsx

+ 2
- 2
src/access.js ファイルの表示

@@ -16,12 +16,12 @@ export default function access(initialState) {
16 16
       maker: false,
17 17
       auditor: true,
18 18
     };
19
-  } else if (roleName == 'admin') {
19
+  } else if (roleName == 'manager') {
20 20
     return {
21 21
       admin: true,
22 22
       maker: true,
23 23
       auditor: true,
24 24
     };
25
-  }
25
+  } 
26 26
   return {};
27 27
 }

+ 1
- 1
src/pages/certificateIssuance/index.jsx ファイルの表示

@@ -98,7 +98,7 @@ export default (props) => {
98 98
         <Button key={1} style={{ padding: 0 }} type="link"
99 99
           onClick={() => goDetail(record.applyId)}
100 100
         >
101
-          发证
101
+          {record.makeStatus==1?'详情':'发证'}
102 102
         </Button>
103 103
       ],
104 104
     },

+ 1
- 0
src/pages/person/index.jsx ファイルの表示

@@ -222,6 +222,7 @@ export default (props) => {
222 222
           </FormItem>
223 223
           <FormItem label="角色" name="roleName" rules={[{ required: true, message: '请选择' }]}>
224 224
             <Select placeholder="请选择角色">
225
+              <Option value='manager'>管理员</Option>
225 226
               <Option value='auditor'>审核员</Option>
226 227
               <Option value='maker'>证件发放员</Option>
227 228
             </Select>