widget.qw 1.0.37 → 1.0.39
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/build/style.css +9 -9
- package/build/widget.qw.es.js +7 -7
- package/build/widget.qw.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/AuditBar.vue +5 -5
- package/src/env.d.ts +8 -8
- package/tsconfig.json +19 -19
- package/tsconfig.node.json +8 -8
package/build/style.css
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
@charset "UTF-8";.widget[data-v-
|
|
1
|
+
@charset "UTF-8";.widget[data-v-56faf75c] {
|
|
2
2
|
text-align: center;
|
|
3
3
|
padding: 15px 15px;
|
|
4
4
|
}
|
|
5
|
-
.memo[data-v-
|
|
5
|
+
.memo[data-v-56faf75c] {
|
|
6
6
|
margin-bottom: 15px;
|
|
7
7
|
}
|
|
8
|
-
.refuse-btn[data-v-
|
|
8
|
+
.refuse-btn[data-v-56faf75c] {
|
|
9
9
|
width: 120px;
|
|
10
10
|
margin-right: 15px;
|
|
11
11
|
}
|
|
12
|
-
.pass-btn[data-v-
|
|
12
|
+
.pass-btn[data-v-56faf75c] {
|
|
13
13
|
width: 120px;
|
|
14
14
|
}
|
|
15
|
-
.apply-btn[data-v-
|
|
15
|
+
.apply-btn[data-v-56faf75c] {
|
|
16
16
|
width: 60vw;
|
|
17
17
|
}
|
|
18
|
-
.task-list[data-v-
|
|
18
|
+
.task-list[data-v-56faf75c] {
|
|
19
19
|
margin-top: 15px;
|
|
20
20
|
}
|
|
21
|
-
.task-title[data-v-
|
|
21
|
+
.task-title[data-v-56faf75c] {
|
|
22
22
|
font-size: 14px;
|
|
23
23
|
font-weight: bold;
|
|
24
24
|
color: #333;
|
|
25
25
|
text-align: left;
|
|
26
26
|
}
|
|
27
|
-
.task-user[data-v-
|
|
27
|
+
.task-user[data-v-56faf75c] {
|
|
28
28
|
font-size: 13px;
|
|
29
29
|
color: #666;
|
|
30
30
|
text-align: left;
|
|
31
31
|
margin-top: 5px;
|
|
32
32
|
}
|
|
33
|
-
.audit-title[data-v-
|
|
33
|
+
.audit-title[data-v-56faf75c] {
|
|
34
34
|
padding: 25px 15px 0 15px;
|
|
35
35
|
font-size: 16px;
|
|
36
36
|
font-weight: bold;
|
package/build/widget.qw.es.js
CHANGED
|
@@ -15755,7 +15755,7 @@ var lodash$1 = { exports: {} };
|
|
|
15755
15755
|
}).call(commonjsGlobal);
|
|
15756
15756
|
})(lodash$1, lodash$1.exports);
|
|
15757
15757
|
var lodash = lodash$1.exports;
|
|
15758
|
-
var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
15758
|
+
var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-56faf75c] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-56faf75c] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-56faf75c] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-56faf75c] {\n width: 120px;\n}\n.apply-btn[data-v-56faf75c] {\n width: 60vw;\n}\n.task-list[data-v-56faf75c] {\n margin-top: 15px;\n}\n.task-title[data-v-56faf75c] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-56faf75c] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-56faf75c] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
|
|
15759
15759
|
var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
|
|
15760
15760
|
var _export_sfc = (sfc, props) => {
|
|
15761
15761
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -15892,8 +15892,10 @@ const _sfc_main$u = {
|
|
|
15892
15892
|
return defaultCondition;
|
|
15893
15893
|
};
|
|
15894
15894
|
const updateCanApply = () => __async(this, null, function* () {
|
|
15895
|
-
if (props.processId)
|
|
15896
|
-
|
|
15895
|
+
if (props.processId) {
|
|
15896
|
+
data2.canApply = false;
|
|
15897
|
+
return;
|
|
15898
|
+
}
|
|
15897
15899
|
let res = yield util.process_can_apply({
|
|
15898
15900
|
mouldId: props.mouldId,
|
|
15899
15901
|
userId: props.userId,
|
|
@@ -15944,8 +15946,6 @@ const _sfc_main$u = {
|
|
|
15944
15946
|
action = `\u5DF2\u6284\u9001 ${executor.updatedAt}`;
|
|
15945
15947
|
else
|
|
15946
15948
|
action = `\u5DF2\u5BA1\u6838 ${executor.updatedAt}`;
|
|
15947
|
-
} else if (data2.process.state == "finish_refuse") {
|
|
15948
|
-
action = `\u5DF2\u64A4\u9500 ${executor.updatedAt}`;
|
|
15949
15949
|
} else if (executor.state == "refuse") {
|
|
15950
15950
|
action = `\u5DF2\u9A73\u56DE ${executor.updatedAt}`;
|
|
15951
15951
|
}
|
|
@@ -15992,7 +15992,7 @@ const _sfc_main$u = {
|
|
|
15992
15992
|
}), {
|
|
15993
15993
|
immediate: true
|
|
15994
15994
|
});
|
|
15995
|
-
watch(() => props.form, () => __async(this, null, function* () {
|
|
15995
|
+
watch(() => JSON.stringify(props.form), () => __async(this, null, function* () {
|
|
15996
15996
|
if (!data2.stepAuth)
|
|
15997
15997
|
return;
|
|
15998
15998
|
yield queryDetail();
|
|
@@ -16079,7 +16079,7 @@ const _sfc_main$u = {
|
|
|
16079
16079
|
};
|
|
16080
16080
|
}
|
|
16081
16081
|
};
|
|
16082
|
-
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
16082
|
+
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-56faf75c"]]);
|
|
16083
16083
|
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
16084
16084
|
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
16085
16085
|
const isDef = (val) => typeof val !== "undefined";
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -15758,7 +15758,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15758
15758
|
}).call(commonjsGlobal);
|
|
15759
15759
|
})(lodash$1, lodash$1.exports);
|
|
15760
15760
|
var lodash = lodash$1.exports;
|
|
15761
|
-
var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-
|
|
15761
|
+
var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-56faf75c] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-56faf75c] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-56faf75c] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-56faf75c] {\n width: 120px;\n}\n.apply-btn[data-v-56faf75c] {\n width: 60vw;\n}\n.task-list[data-v-56faf75c] {\n margin-top: 15px;\n}\n.task-title[data-v-56faf75c] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-56faf75c] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-56faf75c] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
|
|
15762
15762
|
var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
|
|
15763
15763
|
var _export_sfc = (sfc, props) => {
|
|
15764
15764
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -15895,8 +15895,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15895
15895
|
return defaultCondition;
|
|
15896
15896
|
};
|
|
15897
15897
|
const updateCanApply = () => __async(this, null, function* () {
|
|
15898
|
-
if (props.processId)
|
|
15899
|
-
|
|
15898
|
+
if (props.processId) {
|
|
15899
|
+
data2.canApply = false;
|
|
15900
|
+
return;
|
|
15901
|
+
}
|
|
15900
15902
|
let res = yield util.process_can_apply({
|
|
15901
15903
|
mouldId: props.mouldId,
|
|
15902
15904
|
userId: props.userId,
|
|
@@ -15947,8 +15949,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15947
15949
|
action = `\u5DF2\u6284\u9001 ${executor.updatedAt}`;
|
|
15948
15950
|
else
|
|
15949
15951
|
action = `\u5DF2\u5BA1\u6838 ${executor.updatedAt}`;
|
|
15950
|
-
} else if (data2.process.state == "finish_refuse") {
|
|
15951
|
-
action = `\u5DF2\u64A4\u9500 ${executor.updatedAt}`;
|
|
15952
15952
|
} else if (executor.state == "refuse") {
|
|
15953
15953
|
action = `\u5DF2\u9A73\u56DE ${executor.updatedAt}`;
|
|
15954
15954
|
}
|
|
@@ -15995,7 +15995,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15995
15995
|
}), {
|
|
15996
15996
|
immediate: true
|
|
15997
15997
|
});
|
|
15998
|
-
vue.watch(() => props.form, () => __async(this, null, function* () {
|
|
15998
|
+
vue.watch(() => JSON.stringify(props.form), () => __async(this, null, function* () {
|
|
15999
15999
|
if (!data2.stepAuth)
|
|
16000
16000
|
return;
|
|
16001
16001
|
yield queryDetail();
|
|
@@ -16082,7 +16082,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16082
16082
|
};
|
|
16083
16083
|
}
|
|
16084
16084
|
};
|
|
16085
|
-
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
16085
|
+
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-56faf75c"]]);
|
|
16086
16086
|
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
16087
16087
|
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
16088
16088
|
const isDef = (val) => typeof val !== "undefined";
|
package/package.json
CHANGED
|
@@ -167,8 +167,10 @@ const getAuth = (fieldAuth) => {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
const updateCanApply = async () => {
|
|
170
|
-
if (props.processId)
|
|
171
|
-
|
|
170
|
+
if (props.processId){
|
|
171
|
+
data.canApply = false
|
|
172
|
+
return
|
|
173
|
+
}
|
|
172
174
|
|
|
173
175
|
let res = await util.process_can_apply({
|
|
174
176
|
mouldId: props.mouldId,
|
|
@@ -223,8 +225,6 @@ const formatExecutor = (executor, task) => {
|
|
|
223
225
|
action = `已抄送 ${executor.updatedAt}`
|
|
224
226
|
else
|
|
225
227
|
action = `已审核 ${executor.updatedAt}`
|
|
226
|
-
} else if (data.process.state == 'finish_refuse') {
|
|
227
|
-
action = `已撤销 ${executor.updatedAt}`
|
|
228
228
|
} else if (executor.state == 'refuse') {
|
|
229
229
|
action = `已驳回 ${executor.updatedAt}`
|
|
230
230
|
}
|
|
@@ -274,7 +274,7 @@ watch(() => props.mouldId, async () => {
|
|
|
274
274
|
await updateCanApply()
|
|
275
275
|
}, { immediate: true })
|
|
276
276
|
|
|
277
|
-
watch(() => props.form, async () => {
|
|
277
|
+
watch(() => JSON.stringify(props.form), async () => {
|
|
278
278
|
if (!data.stepAuth)
|
|
279
279
|
return
|
|
280
280
|
|
package/src/env.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
declare module '*.vue' {
|
|
4
|
-
import type { DefineComponent } from 'vue'
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
6
|
-
const component: DefineComponent<{}, {}, any>
|
|
7
|
-
export default component
|
|
8
|
-
}
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
declare module '*.vue' {
|
|
4
|
+
import type { DefineComponent } from 'vue'
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
6
|
+
const component: DefineComponent<{}, {}, any>
|
|
7
|
+
export default component
|
|
8
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"jsx": "preserve",
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"lib": ["esnext", "dom"],
|
|
14
|
-
"skipLibCheck": true,
|
|
15
|
-
"allowJs": true,
|
|
16
|
-
},
|
|
17
|
-
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
18
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"jsx": "preserve",
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"esModuleInterop": true,
|
|
13
|
+
"lib": ["esnext", "dom"],
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"allowJs": true,
|
|
16
|
+
},
|
|
17
|
+
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
18
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
|
19
|
+
}
|
package/tsconfig.node.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"composite": true,
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node"
|
|
6
|
-
},
|
|
7
|
-
"include": ["vite.config.ts"]
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"composite": true,
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"moduleResolution": "node"
|
|
6
|
+
},
|
|
7
|
+
"include": ["vite.config.ts"]
|
|
8
|
+
}
|