n20-common-lib 2.16.6 → 2.16.8

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.16.6",
3
+ "version": "2.16.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -16,7 +16,12 @@
16
16
  append-to-body
17
17
  top="10vh"
18
18
  >
19
- <approvalCard class="p-a" :proc-inst-id="procInstIdC" style="height: 70vh; overflow: auto" />
19
+ <approvalCard
20
+ :api-prefix="apiPrefix"
21
+ class="p-a"
22
+ :proc-inst-id="procInstIdC"
23
+ style="height: 70vh; overflow: auto"
24
+ />
20
25
  </el-dialog>
21
26
  <el-dialog
22
27
  v-drag
@@ -35,7 +40,7 @@
35
40
  <template slot="tips">
36
41
  <el-button size="mini" plain @click="imgV = true">{{ '流程图查看' | $lc }}</el-button>
37
42
  </template>
38
- <approvalCard :proc-inst-id="procInstIdC" />
43
+ <approvalCard :api-prefix="apiPrefix" :proc-inst-id="procInstIdC" />
39
44
  <el-dialog
40
45
  v-drag
41
46
  :title="'查看流程' | $lc"
@@ -64,6 +69,10 @@ export default {
64
69
  approvalImg
65
70
  },
66
71
  props: {
72
+ apiPrefix: {
73
+ type: String,
74
+ default: undefined
75
+ },
67
76
  procInstId: {
68
77
  type: String,
69
78
  default: undefined
@@ -935,48 +935,3 @@ export default {
935
935
  }
936
936
  }
937
937
  </script>
938
- <style lang="scss">
939
- .file-upload-table-v3 {
940
- .title {
941
- font-size: 16px;
942
- font-style: normal;
943
- font-weight: 500;
944
- line-height: normal;
945
- span {
946
- color: #666666;
947
- font-family: 'PingFang SC';
948
- font-size: 14px;
949
- font-style: normal;
950
- font-weight: 400;
951
- line-height: normal;
952
- }
953
- }
954
- .title::before {
955
- content: '';
956
- display: inline-block;
957
- width: 4px;
958
- height: 16px;
959
- background: #4471fe;
960
- margin-right: 4px;
961
- position: relative;
962
- top: 2px;
963
- }
964
- .file-list {
965
- margin-top: 16px;
966
- .file-item {
967
- margin-bottom: 16px;
968
- .type-title {
969
- display: flex;
970
- width: calc(100% - 18px);
971
- height: 28px;
972
- padding: 9px;
973
- justify-content: space-between;
974
- align-items: center;
975
- flex-shrink: 0;
976
- border-radius: 4px;
977
- background: #48d2a029;
978
- }
979
- }
980
- }
981
- }
982
- </style>