n20-common-lib 2.14.9 → 2.14.11
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/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:drag="true"
|
|
9
9
|
:file-name.sync="fileName"
|
|
10
10
|
:file-url.sync="fileUrl"
|
|
11
|
-
action="/
|
|
11
|
+
:action="apiPrefix ? apiPrefix + 'neams/eamsbaserecord/batchSavejson' : 'neams/eamsbaserecord/batchSavejson'"
|
|
12
12
|
:on-success="onSuccess"
|
|
13
13
|
:msg-type="null"
|
|
14
14
|
:data="dataPorp"
|
|
@@ -29,6 +29,10 @@ export default {
|
|
|
29
29
|
name: 'AiButton',
|
|
30
30
|
components: { Dialog, clUpload },
|
|
31
31
|
props: {
|
|
32
|
+
apiPrefix: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: undefined
|
|
35
|
+
},
|
|
32
36
|
AIOptions: {
|
|
33
37
|
type: Object,
|
|
34
38
|
default: () => ({})
|
|
@@ -811,13 +811,13 @@ export default {
|
|
|
811
811
|
}
|
|
812
812
|
this.showFlowDialog = await this.getIsShowRetraceFlow()
|
|
813
813
|
|
|
814
|
-
if (this.showFlowDialog)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
814
|
+
if (!this.showFlowDialog) {
|
|
815
|
+
this.beforeFn(this.beforeReject, () => {
|
|
816
|
+
axios.post('/bems/activiti/admin/todo/reject', this.getParam()).then(({ data }) => {
|
|
817
|
+
this.thenMsg(data, this.authList.includes('refuse') ? $lc('拒绝') : $lc('驳回至发起人'))
|
|
818
|
+
})
|
|
819
819
|
})
|
|
820
|
-
}
|
|
820
|
+
}
|
|
821
821
|
},
|
|
822
822
|
handleIsJumpSave() {
|
|
823
823
|
this.showFlowDialog = false
|