n20-common-lib 2.20.23 → 2.20.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.20.23",
3
+ "version": "2.20.24",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -440,7 +440,7 @@ export default {
440
440
  data() {
441
441
  this.msgisSync = !!this.$listeners['update:message']
442
442
  return {
443
- attributes: undefined,
443
+ attributes: { appOrPc: '3' },
444
444
  isWyfk: false,
445
445
  nextEgwOutgoingNodeId: undefined,
446
446
  nextNodeApproveUnos: undefined,
@@ -535,7 +535,7 @@ export default {
535
535
  this.getShowApprovalTo()
536
536
  this.getHasQueryAppOpiAndUser()
537
537
  this.nextApproval && this.getTodoList()
538
- this.getConfiguration()
538
+ //this.getConfiguration()
539
539
  this.getIsShowUploadWidget()
540
540
  },
541
541
  methods: {
@@ -878,10 +878,11 @@ export default {
878
878
  onContinue() {
879
879
  if (this.isWyfk) {
880
880
  this.attributes = {
881
+ appOrPc: '3',
881
882
  ebsPaymentRiskWarning: '核实无误'
882
883
  }
883
884
  } else {
884
- this.attributes = undefined
885
+ this.attributes = { appOrPc: '3' }
885
886
  }
886
887
  this.verifyV = false
887
888
  this.approvalFn()
@@ -918,10 +919,7 @@ export default {
918
919
  typeCode,
919
920
  isAgentcy,
920
921
  isCheck,
921
- businessId: orderId,
922
- attributes: {
923
- appOrPc: '3'
924
- }
922
+ businessId: orderId
925
923
  }
926
924
  ]
927
925
  }
@@ -249,7 +249,7 @@
249
249
  </div>
250
250
  </div> -->
251
251
  <!-- app暂时屏蔽 -->
252
- <!-- <div v-if="!item.subProcInitId && item.suggestion" class="n20-description-c n20-description-bgc m-t p-a-s">
252
+ <div v-if="!item.subProcInitId && item.suggestion" class="n20-description-c n20-description-bgc m-t p-a-s">
253
253
  <span v-if="item.result !== status.waiting">{{ '审批意见:' | $lc }}</span>
254
254
  <span style="line-height: 22px">{{ item.suggestion }} </span>
255
255
  </div>
@@ -266,7 +266,7 @@
266
266
  <div>{{ s.cfgRemark }}</div>
267
267
  </div>
268
268
  </div>
269
- </div> -->
269
+ </div>
270
270
  <!-- <div v-if="item.flowHisFileList" class="n20-description-c n20-description-bgc m-t p-a-s">
271
271
  <span>{{ '附件信息' | $lc }}:</span>
272
272
  <div class="flex-box">
@@ -1,43 +1,19 @@
1
1
  /* 审批记录 */
2
2
  <template>
3
3
  <div>
4
- <div class="flex-box flex-r m-b-s">
5
- <el-button type="text" size="mini" :disabled="false" @click="cardV = true">{{ '审批进度查看' | $lc }}</el-button>
6
- </div>
7
- <el-dialog
8
- v-drag
9
- :title="'审批记录' | $lc"
10
- :visible.sync="cardV"
11
- width="90%"
12
- class="p-a-0"
13
- append-to-body
14
- top="10vh"
15
- >
16
- <approvalCard
17
- :api-prefix="apiPrefix"
18
- class="p-a"
19
- :proc-inst-id="procInstIdC"
20
- style="height: 70vh; overflow: auto"
21
- />
22
- </el-dialog>
23
- <el-dialog
24
- v-drag
25
- :title="'查看流程' | $lc"
26
- :visible.sync="imgV"
27
- width="80%"
28
- class="p-a-0"
29
- append-to-body
30
- top="10vh"
31
- >
32
- <approvalImg class="text-c p-a" :proc-inst-id="procInstIdC" style="height: 70vh; overflow: auto" />
33
- </el-dialog>
4
+ <approvalCard
5
+ :api-prefix="apiPrefix"
6
+ class="p-a"
7
+ :proc-inst-id="procInstIdC"
8
+ style="height: 70vh; overflow: auto"
9
+ />
34
10
  </div>
35
11
  </template>
36
12
 
37
13
  <script>
38
- import approvalCard from '../ApprovalCard/indexApp.vue'
39
- import approvalImg from './approvalImg.vue'
40
- import getJsonc from '../../assets/getJsonc'
14
+ import approvalCard from 'n20-common-lib/src/components/ApprovalCard/indexApp.vue'
15
+ import approvalImg from 'n20-common-lib/src/components/ApprovalRecord/approvalImg.vue'
16
+ import getJsonc from 'n20-common-lib/src/assets/getJsonc'
41
17
  export default {
42
18
  name: 'ApprovalRecord',
43
19
  components: {
@@ -71,9 +47,9 @@ export default {
71
47
  }
72
48
  },
73
49
  mounted() {
74
- getJsonc('portal/server-config.jsonc').then(({ approvalMode }) => {
50
+ /* getJsonc('portal/server-config.jsonc').then(({ approvalMode }) => {
75
51
  this.approvalMode = approvalMode
76
- })
52
+ }) */
77
53
  }
78
54
  }
79
55
  </script>