@10yun/open-sdk 0.3.142 → 0.3.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{login-aA7YVxQA.cjs → login-BeoHjZ7v.cjs} +1 -1
- package/dist/{login-BXM6gDsd.js → login-C8mdOarm.js} +3 -3
- package/dist/opensdk-v3-BMCt8xIL.cjs +9 -0
- package/dist/{opensdk-v3-A9qaNoFG.js → opensdk-v3-DrrVeO3S.js} +2747 -2564
- package/dist/vite-plugin.cjs.js +3 -3
- package/dist/vite-plugin.es.js +28 -28
- package/package.json +3 -2
- package/uncompiled/dict.js +80 -23
- package/uncompiled/options.js +31 -0
- package/dist/opensdk-v3-DU83uuY0.cjs +0 -6
package/dist/vite-plugin.cjs.js
CHANGED
|
@@ -27,14 +27,14 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=requi
|
|
|
27
27
|
window.proxy.vitebootstrap(() => qiankunLifeCycle.bootstrap());
|
|
28
28
|
window.proxy.viteupdate((props) => qiankunLifeCycle.update(props));
|
|
29
29
|
}
|
|
30
|
-
`};function C(t,i){var r=t.match(/src=["']([^"']+)["']/);if(!r)return t;var c=r[1];return"<script>"+("import("+i+"'"+c+"')")+"<\/script>"}var N=function(t,i){i===void 0&&(i={});var r,c="";return{name:"qiankun-html-transform",configResolved:function(e){r=e.command==="build"||e.isProduction,c=e.base},configureServer:function(e){return function(){e.middlewares.use(function(o,a,
|
|
30
|
+
`};function C(t,i){var r=t.match(/src=["']([^"']+)["']/);if(!r)return t;var c=r[1];return"<script>"+("import("+i+"'"+c+"')")+"<\/script>"}var N=function(t,i){i===void 0&&(i={});var r,c="";return{name:"qiankun-html-transform",configResolved:function(e){r=e.command==="build"||e.isProduction,c=e.base},configureServer:function(e){return function(){e.middlewares.use(function(o,a,d){if(r||!i.useDevMode){d();return}var p=a.end.bind(a);a.end=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];var n=l[0],m=l.slice(1);if(typeof n=="string"){var f="(window.proxy ? (window.proxy.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + '..') : '') + ",w=new RegExp(`<script[^>]*src=["']`+c+`@vite/client["'][^>]*><\/script>`);n=n.replace(w,function(s){return C(s,f)})}p.apply(void 0,h([n],m))},d()})}},transformIndexHtml:function(e){for(var o=i.useDevMode&&!r?"(window.proxy ? (window.proxy.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + '..') : '') + ":"",a=[],d=/<(script)([^>]*?)>([\s\S]*?)<\/script>/gi,p;p=d.exec(e);){var l=p[0],u=p[2];(/type=["']module["']/.test(u)||/crossorigin=["']["']/.test(u))&&/src=["']/.test(u)&&a.push({original:l,transformed:C(l,o)})}return a.length&&(a.forEach(function(n,m){var f=n.transformed;m===a.length-1&&(f=f.replace("<\/script>",`.finally(() => {
|
|
31
31
|
`+R(t)+`
|
|
32
|
-
})<\/script>`)),e=e.replace(n.original,
|
|
32
|
+
})<\/script>`)),e=e.replace(n.original,f)}),e=e.replace("</body>","<script>"+E(t)+"<\/script></body>")),e}}},S={};function D(t,i){let r=[];for(let c in i){let e=i[c];if(e=v.parseRouteItem(e),S[e.name]&&(e.name=e.name+"_"+c),e.isMenu==!1&&e.isRbac==!1)continue;let o={title:e.title||e?.meta?.title,path:e.path||"",id:t+"@"+e.name||"",name:e.name||"",apiPermissions:e.apiPermissions||[],isPage:!!e.path,isMenu:e.isMenu||!1,isRbac:e.isRbac||!1,isWindw:e.isWindw||!1,isAlone:e.isAlone||!1,children:[]};if(e.isMenu&&(o.checked=!1,o.menuName=o.title,o.parentId=e.parentId||"",o.children=[]),e.children){let a=e.children,d=0,p=[];for(let u in a){let n=a[u];n.isMenu&&(n.parentId=e.name,p.push(n))}let l=[];for(let u in a){let n=a[u];n=v.parseRouteItem(n),S[n.name]&&(n.name=n.name+"_"+u),n.isRbac&&(n.id=t+"@"+(n.name||e.name+"_"+ ++d),n.optionsName=n.title||n.meta.title,n.checked=!1,l.push(n))}l.length>0&&(o.menuOptionsList=l),p.length>0&&(o=Object.assign({},o,{children:D(t,[...p])}))}r.push(o)}return r}function A(t,i,r){const{RBAC_BASE_SIGN:c}=r;let e=D(c||"",t),o=i+"/public/rbac.json",a=JSON.stringify(e,null,2);g.default.writeFileSync(o,a,"utf8")}function L(t,i,r,c){const e=process.cwd(),o=y.default.basename(e),{CICD_BUILD_DOMAIN_SCHEME:a,CICD_BUILD_DOMAIN_ALONE:d,CICD_BUILD_VERS_FULL:p,CICD_BUILD_VERS_CODE:l}=i,{VITE_SY_PRODUCT_PORT:u,VITE_SY_PRODUCT_SIGN:n}=t,m=n||o;let f="";d=="on"?f=a:f=`${a}/${m}/${p}/`;let w="/";return r==="production"&&(w=v.parseDomainUrl(`${f}/`),A(c.menu_arr,e,{RBAC_BASE_SIGN:m})),{name:"vite-plugin-shiyun-release-common",config:(s,{mode:b,command:_})=>({base:w,server:{port:u},esbuild:{drop:["console","debugger"]},optimizeDeps:{exclude:["@10yun/open-sdk/uncompiled"]},build:{minify:"esbuild",target:"esnext",sourcemap:!1,cssCodeSplit:!1,chunkSizeWarningLimit:2e3,rolldownOptions:{output:{codeSplitting:{groups:[{name:"element-plus",test:/[\\/]node_modules[\\/]element-plus[\\/]/},{name:"@10yun-ui",test:/[\\/]node_modules[\\/]@10yun[\\/]cv-pc-ui[\\/]/}]}}}},output:{library:`${m}-[name]`,libraryTarget:"umd",jsonpFunction:`webpackJsonp_${m}`}}),configResolved(s){},configureServer(s){},transformIndexHtml(s){r==="development"&&(s=s.replace(/<script\b[^>]*?mode="pro"[^>]*>[\s\S]*?<\/script>/gi,""),s=s.replace(/<(link|script)\b[^>]*?mode="pro"[^>]*>/gi,"")),r==="production"&&d!=="on"&&(s=s.replace(/<script\b[^>]*?mode="dev"[^>]*>[\s\S]*?<\/script>/gi,""),s=s.replace(/<(link|script)\b[^>]*?mode="dev"[^>]*>/gi,""));const b="saas软件,软件开发,软件制定,公众号,小程序,app,十云,十云科技,福州十云,ctocode,10yun.com";let _=` <meta name="description" content="${b}" />
|
|
33
33
|
`;return _+=` <meta name="keywords" content="${b}" />
|
|
34
34
|
`,_+=` <meta name="author" content="十云_ctocode_技术支持_https://www.10yun.com" />
|
|
35
35
|
`,_+=` <meta name="copyright" content="福州十云科技有限公司" />
|
|
36
36
|
`,_+=` <meta name="website" content="https://www.10yun.com/" />
|
|
37
|
-
`,
|
|
37
|
+
`,p&&(_+=` <meta name="version" content="${p}_${l}" />
|
|
38
38
|
`),s=s.replace("</head>",`
|
|
39
39
|
${_}
|
|
40
40
|
</head>`),s=s.replace(/\n\s*\n/g,`
|
package/dist/vite-plugin.es.js
CHANGED
|
@@ -56,39 +56,39 @@ var R = function(t, o) {
|
|
|
56
56
|
},
|
|
57
57
|
configureServer: function(e) {
|
|
58
58
|
return function() {
|
|
59
|
-
e.middlewares.use(function(i, a,
|
|
59
|
+
e.middlewares.use(function(i, a, d) {
|
|
60
60
|
if (r || !o.useDevMode) {
|
|
61
|
-
|
|
61
|
+
d();
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var p = a.end.bind(a);
|
|
65
65
|
a.end = function() {
|
|
66
|
-
for (var
|
|
67
|
-
var n =
|
|
66
|
+
for (var l = [], u = 0; u < arguments.length; u++) l[u] = arguments[u];
|
|
67
|
+
var n = l[0], m = l.slice(1);
|
|
68
68
|
if (typeof n == "string") {
|
|
69
|
-
var
|
|
69
|
+
var f = "(window.proxy ? (window.proxy.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + '..') : '') + ", v = new RegExp(`<script[^>]*src=["']` + c + `@vite/client["'][^>]*><\/script>`);
|
|
70
70
|
n = n.replace(v, function(s) {
|
|
71
|
-
return g(s,
|
|
71
|
+
return g(s, f);
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
},
|
|
74
|
+
p.apply(void 0, E([n], m));
|
|
75
|
+
}, d();
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
},
|
|
79
79
|
transformIndexHtml: function(e) {
|
|
80
|
-
for (var i = o.useDevMode && !r ? "(window.proxy ? (window.proxy.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + '..') : '') + " : "", a = [],
|
|
81
|
-
var
|
|
80
|
+
for (var i = o.useDevMode && !r ? "(window.proxy ? (window.proxy.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + '..') : '') + " : "", a = [], d = /<(script)([^>]*?)>([\s\S]*?)<\/script>/gi, p; p = d.exec(e); ) {
|
|
81
|
+
var l = p[0], u = p[2];
|
|
82
82
|
(/type=["']module["']/.test(u) || /crossorigin=["']["']/.test(u)) && /src=["']/.test(u) && a.push({
|
|
83
|
-
original:
|
|
84
|
-
transformed: g(
|
|
83
|
+
original: l,
|
|
84
|
+
transformed: g(l, i)
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
return a.length && (a.forEach(function(n, m) {
|
|
88
|
-
var
|
|
89
|
-
m === a.length - 1 && (
|
|
88
|
+
var f = n.transformed;
|
|
89
|
+
m === a.length - 1 && (f = f.replace("<\/script>", `.finally(() => {
|
|
90
90
|
` + A(t) + `
|
|
91
|
-
})<\/script>`)), e = e.replace(n.original,
|
|
91
|
+
})<\/script>`)), e = e.replace(n.original, f);
|
|
92
92
|
}), e = e.replace("</body>", "<script>" + N(t) + "<\/script></body>")), e;
|
|
93
93
|
}
|
|
94
94
|
};
|
|
@@ -112,17 +112,17 @@ function S(t, o) {
|
|
|
112
112
|
children: []
|
|
113
113
|
};
|
|
114
114
|
if (e.isMenu && (i.checked = !1, i.menuName = i.title, i.parentId = e.parentId || "", i.children = []), e.children) {
|
|
115
|
-
let a = e.children,
|
|
115
|
+
let a = e.children, d = 0, p = [];
|
|
116
116
|
for (let u in a) {
|
|
117
117
|
let n = a[u];
|
|
118
|
-
n.isMenu && (n.parentId = e.name,
|
|
118
|
+
n.isMenu && (n.parentId = e.name, p.push(n));
|
|
119
119
|
}
|
|
120
|
-
let
|
|
120
|
+
let l = [];
|
|
121
121
|
for (let u in a) {
|
|
122
122
|
let n = a[u];
|
|
123
|
-
n = y(n), I[n.name] && (n.name = n.name + "_" + u), n.isRbac && (n.id = t + "@" + (n.name || e.name + "_" + ++
|
|
123
|
+
n = y(n), I[n.name] && (n.name = n.name + "_" + u), n.isRbac && (n.id = t + "@" + (n.name || e.name + "_" + ++d), n.optionsName = n.title || n.meta.title, n.checked = !1, l.push(n));
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
l.length > 0 && (i.menuOptionsList = l), p.length > 0 && (i = Object.assign({}, i, { children: S(t, [...p]) }));
|
|
126
126
|
}
|
|
127
127
|
r.push(i);
|
|
128
128
|
}
|
|
@@ -134,15 +134,15 @@ function L(t, o, r) {
|
|
|
134
134
|
h.writeFileSync(i, a, "utf8");
|
|
135
135
|
}
|
|
136
136
|
function k(t, o, r, c) {
|
|
137
|
-
const { CICD_BUILD_DOMAIN_SCHEME:
|
|
138
|
-
let
|
|
139
|
-
|
|
137
|
+
const e = process.cwd(), i = C.basename(e), { CICD_BUILD_DOMAIN_SCHEME: a, CICD_BUILD_DOMAIN_ALONE: d, CICD_BUILD_VERS_FULL: p, CICD_BUILD_VERS_CODE: l } = o, { VITE_SY_PRODUCT_PORT: u, VITE_SY_PRODUCT_SIGN: n } = t, m = n || i;
|
|
138
|
+
let f = "";
|
|
139
|
+
d == "on" ? f = a : f = `${a}/${m}/${p}/`;
|
|
140
140
|
let v = "/";
|
|
141
|
-
return r === "production" && (v = D(`${
|
|
141
|
+
return r === "production" && (v = D(`${f}/`), L(c.menu_arr, e, { RBAC_BASE_SIGN: m })), {
|
|
142
142
|
name: "vite-plugin-shiyun-release-common",
|
|
143
143
|
config: (s, { mode: w, command: _ }) => ({
|
|
144
144
|
base: v,
|
|
145
|
-
server: { port:
|
|
145
|
+
server: { port: u },
|
|
146
146
|
esbuild: { drop: ["console", "debugger"] },
|
|
147
147
|
optimizeDeps: { exclude: ["@10yun/open-sdk/uncompiled"] },
|
|
148
148
|
build: {
|
|
@@ -170,7 +170,7 @@ function k(t, o, r, c) {
|
|
|
170
170
|
configureServer(s) {
|
|
171
171
|
},
|
|
172
172
|
transformIndexHtml(s) {
|
|
173
|
-
r === "development" && (s = s.replace(/<script\b[^>]*?mode="pro"[^>]*>[\s\S]*?<\/script>/gi, ""), s = s.replace(/<(link|script)\b[^>]*?mode="pro"[^>]*>/gi, "")), r === "production" &&
|
|
173
|
+
r === "development" && (s = s.replace(/<script\b[^>]*?mode="pro"[^>]*>[\s\S]*?<\/script>/gi, ""), s = s.replace(/<(link|script)\b[^>]*?mode="pro"[^>]*>/gi, "")), r === "production" && d !== "on" && (s = s.replace(/<script\b[^>]*?mode="dev"[^>]*>[\s\S]*?<\/script>/gi, ""), s = s.replace(/<(link|script)\b[^>]*?mode="dev"[^>]*>/gi, ""));
|
|
174
174
|
const w = "saas软件,软件开发,软件制定,公众号,小程序,app,十云,十云科技,福州十云,ctocode,10yun.com";
|
|
175
175
|
let _ = ` <meta name="description" content="${w}" />
|
|
176
176
|
`;
|
|
@@ -178,7 +178,7 @@ function k(t, o, r, c) {
|
|
|
178
178
|
`, _ += ` <meta name="author" content="十云_ctocode_技术支持_https://www.10yun.com" />
|
|
179
179
|
`, _ += ` <meta name="copyright" content="福州十云科技有限公司" />
|
|
180
180
|
`, _ += ` <meta name="website" content="https://www.10yun.com/" />
|
|
181
|
-
`,
|
|
181
|
+
`, p && (_ += ` <meta name="version" content="${p}_${l}" />
|
|
182
182
|
`), s = s.replace("</head>", `
|
|
183
183
|
${_}
|
|
184
184
|
</head>`), s = s.replace(/\n\s*\n/g, `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@10yun/open-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.143",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "开放平台接入sdk",
|
|
6
6
|
"keywords": [
|
|
@@ -65,5 +65,6 @@
|
|
|
65
65
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
66
66
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
67
67
|
"vite": "^8.0.0"
|
|
68
|
-
}
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {}
|
|
69
70
|
}
|
package/uncompiled/dict.js
CHANGED
|
@@ -1,23 +1,80 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
export * from './options.js';
|
|
2
|
+
/**
|
|
3
|
+
* 全局常量
|
|
4
|
+
*/
|
|
5
|
+
export const DICT_ENABLED = 'on';
|
|
6
|
+
export const DICT_INT_ENABLED = 1;
|
|
7
|
+
export const DICT_DISABLED = 'off';
|
|
8
|
+
export const DICT_INT_DISABLED = 0;
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* 状态
|
|
12
|
+
*/
|
|
13
|
+
export const DICT_INT_UNSUBMITTED = 0;
|
|
14
|
+
// export const DICT_STR_UNSUBMITTED = '未编辑';
|
|
15
|
+
|
|
16
|
+
export const DICT_INT_SUBMITTED = 1;
|
|
17
|
+
// export const DICT_STR_SUBMITTED = '已提交';
|
|
18
|
+
|
|
19
|
+
export const DICT_INT_PENDING = 3; // 10374
|
|
20
|
+
// export const DICT_STR_PENDING = '待审核';
|
|
21
|
+
|
|
22
|
+
// export const DICT_STR_REJECTED = '驳回'; // 未通过
|
|
23
|
+
export const DICT_INT_REJECTED = 5; // 10024 REFUSE
|
|
24
|
+
|
|
25
|
+
// export const DICT_STR_APPROVED = '通过'; // 已通过
|
|
26
|
+
export const DICT_INT_APPROVED = 10; // 10084
|
|
27
|
+
|
|
28
|
+
// export const DICT_STR_CANCEL = '取消';
|
|
29
|
+
export const DICT_INT_CANCEL = 15; // 10079
|
|
30
|
+
|
|
31
|
+
// export const DICT_STR_KICK = '踢出';
|
|
32
|
+
export const DICT_INT_KICK = 82; // 10082
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 行为
|
|
36
|
+
*/
|
|
37
|
+
export const DICT_ACTION_REJECTED = 'rejected'; // 驳回
|
|
38
|
+
export const DICT_ACTION_APPROVED = 'approved'; // 通过
|
|
39
|
+
export const DICT_ACTION_CANCEL = 'cancel'; // 取消
|
|
40
|
+
export const DICT_ACTION_ENABLED = 'enabled'; // 启用
|
|
41
|
+
export const DICT_ACTION_DISABLED = 'disabled'; // 禁用
|
|
42
|
+
/**
|
|
43
|
+
* 筛选
|
|
44
|
+
*/
|
|
45
|
+
export const DICT_SCREEN_UNPAID = 'unpaid'; // 待付款
|
|
46
|
+
export const DICT_SCREEN_UNUSED = 'unused'; // 未用
|
|
47
|
+
export const DICT_SCREEN_USED = 'used'; // 已使用
|
|
48
|
+
export const DICT_SCREEN_EFFECTIVE = 'effective'; // 有效
|
|
49
|
+
export const DICT_SCREEN_OVERDUE = 'overdue'; // 过期
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 日期格式
|
|
53
|
+
*/
|
|
54
|
+
export const DICT_TIME_TODAY = 'time_today'; // 今天|今日|本日
|
|
55
|
+
export const DICT_TIME_YESTERDAY = 'time_yesterday'; // 昨天|昨日
|
|
56
|
+
export const DICT_TIME_TOMORROW = 'time_tomorrow'; // 明天
|
|
57
|
+
export const DICT_TIME_LATELY7 = 'time_lately7'; // 最近7天
|
|
58
|
+
export const DICT_TIME_LATELY30 = 'time_lately30'; // 最近30天
|
|
59
|
+
export const DICT_TIME_HISTORY = 'time_history'; // 历史
|
|
60
|
+
export const DICT_TIME_CUSTOMIZE = 'time_customize'; // 自定义
|
|
61
|
+
// 周
|
|
62
|
+
export const DICT_TIME_LAST_WEEK = 'time_last_week'; // 上周
|
|
63
|
+
export const DICT_TIME_THIS_WEEK = 'time_this_week'; // 本周
|
|
64
|
+
export const DICT_TIME_NEXT_WEEK = 'time_next_week'; // 下周
|
|
65
|
+
// 月
|
|
66
|
+
export const DICT_TIME_LAST_MONTH = 'time_last_month'; // 上月
|
|
67
|
+
export const DICT_TIME_THIS_MONTH = 'time_this_month'; // 本月
|
|
68
|
+
export const DICT_TIME_NEXT_MONTH = 'time_next_month'; // 下月
|
|
69
|
+
export const DICT_TIME_THREE_MONTH = 'time_three_month'; // 近3月|近三个月|最近3个月
|
|
70
|
+
// 季度
|
|
71
|
+
export const DICT_TIME_LAST_QUARTER = 'time_last_quarter'; // 上季度
|
|
72
|
+
export const DICT_TIME_THIS_QUARTER = 'time_this_quarter'; // 本季度
|
|
73
|
+
export const DICT_TIME_NEXT_QUARTER = 'time_next_quarter'; // 下季度
|
|
74
|
+
// 半年
|
|
75
|
+
export const DICT_TIME_FIRST_HALF = 'time_first_half'; // 上半年
|
|
76
|
+
export const DICT_TIME_SECOND_HALF = 'time_second_half'; // 下半年
|
|
77
|
+
// 年
|
|
78
|
+
export const DICT_TIME_LAST_YEAR = 'time_last_year'; // 上年
|
|
79
|
+
export const DICT_TIME_THIS_YEAR = 'time_this_year'; // 本年
|
|
80
|
+
export const DICT_TIME_NEXT_YEAR = 'time_next_year'; // 下年
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const ENUM_CARD_TYPE = ['身份证', '护照', '台胞证', '港澳通行证', '港澳居民居住证', '军官证', '回乡证'];
|
|
2
|
+
export const ENUM_CARD_COLUMN = [
|
|
3
|
+
{ label: '身份证', value: '身份证' },
|
|
4
|
+
{ label: '护照', value: '护照' },
|
|
5
|
+
{ label: '台胞证', value: '台胞证' },
|
|
6
|
+
{ label: '港澳通行证(内地往返港澳通行证)', value: '港澳通行证', desc: '(内地往返港澳通行证)' },
|
|
7
|
+
{ label: '港澳居民居住证', value: '港澳居民居住证' },
|
|
8
|
+
{ label: '军官证', value: '军官证' },
|
|
9
|
+
{ label: '回乡证(港澳往返内地通行证)', value: '回乡证', desc: '(港澳往返内地通行证)' }
|
|
10
|
+
];
|
|
11
|
+
export const ENUM_SHOW_TYPE = [
|
|
12
|
+
{ label: '显示', value: 'on' },
|
|
13
|
+
{ label: '隐藏', value: 'off' }
|
|
14
|
+
];
|
|
15
|
+
export const ENUM_ENABLE_TYPES = [
|
|
16
|
+
{ label: '启用', value: 'on' },
|
|
17
|
+
{ label: '停用', value: 'off' }
|
|
18
|
+
];
|
|
19
|
+
export const ENUM_AUDIT_TYPES = [
|
|
20
|
+
{ label: '通过', value: '通过' },
|
|
21
|
+
{ label: '驳回', value: '驳回' },
|
|
22
|
+
{ label: '拒绝', value: '拒绝' }
|
|
23
|
+
];
|
|
24
|
+
export const ENUM_CHOICE_TYPES = [
|
|
25
|
+
{ label: '单选', value: 'dan' },
|
|
26
|
+
{ label: '多选', value: 'duo' }
|
|
27
|
+
];
|
|
28
|
+
export const ENUM_TF_TYPES = [
|
|
29
|
+
{ label: '是', value: 'on' },
|
|
30
|
+
{ label: '否', value: 'off' }
|
|
31
|
+
];
|