|
@@ -10,10 +10,10 @@
|
|
|
|
|
|
const auditType = (function () {
|
|
|
const types = [
|
|
|
- { key: 'common', name: '个人', value: 1, short: '', long: '', class: '' },
|
|
|
- { key: 'and', name: '会签', value: 2, short: '会', long: '多人会签', class: 'primary' },
|
|
|
- { key: 'or', name: '或签', value: 3, short: '或', long: '多人或签', class: 'success' },
|
|
|
- { key: 'union', name: '协同', value: 4, short: '协', long: '多人协同', class: 'warning'},
|
|
|
+ { key: 'common', name: '个人', value: 1, short: '', long: '', class: '', },
|
|
|
+ { key: 'and', name: '会签', value: 2, short: '会', long: '多人会签', class: 'primary', valid: ['ledger', 'revise', 'stage', 'change'] },
|
|
|
+ { key: 'or', name: '或签', value: 3, short: '或', long: '多人或签', class: 'success', valid: ['ledger', 'revise', 'stage', 'change'] },
|
|
|
+ { key: 'union', name: '协同', value: 4, short: '协', long: '多人协同', class: 'warning', valid: ['stage']},
|
|
|
];
|
|
|
const key = {};
|
|
|
const info = [];
|