@gsp-svc/formdoc-upload-vue 1.0.1 → 1.0.3

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.
@@ -2737,7 +2737,6 @@ class UploadService {
2737
2737
  });
2738
2738
  }
2739
2739
  }
2740
- const EDP_BIF_VIEWMODEL_INJECTION_TOKEN = Symbol("EDP_BIF_VIEWMODEL");
2741
2740
  const LANG_RESOURCES = {
2742
2741
  "zh-CHS": {
2743
2742
  "uploadFile": "上传文件",
@@ -3025,8 +3024,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3025
3024
  const props = __props;
3026
3025
  const uploadIconAddress = convertPath("/platform/runtime/dfs/images/upload.svg");
3027
3026
  const uploadLittleIconAddress = convertPath("/platform/runtime/dfs/images/uploadIcon.svg");
3028
- const viewModel = inject(EDP_BIF_VIEWMODEL_INJECTION_TOKEN);
3029
- const localePipe = viewModel.getInjector().get(LocalLangPipe);
3027
+ const localePipe = new LocalLangPipe();
3030
3028
  const files = ref([]);
3031
3029
  const metadataIdList = ref([]);
3032
3030
  const uploadFileInfoList = ref([]);
@@ -3578,37 +3576,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3578
3576
  const addDocInfo = (selectedFile, fileInfo, docType) => {
3579
3577
  switch (docType) {
3580
3578
  case DocType.Word: {
3581
- fileInfo.source = "/images/word.png";
3579
+ fileInfo.source = "/platform/runtime/dfs/images/word.png";
3582
3580
  files.value = [...files.value, fileInfo];
3583
3581
  break;
3584
3582
  }
3585
3583
  case DocType.Pdf: {
3586
- fileInfo.source = "/images/pdf.png";
3584
+ fileInfo.source = "/platform/runtime/dfs/images/pdf.png";
3587
3585
  files.value = [...files.value, fileInfo];
3588
3586
  break;
3589
3587
  }
3590
3588
  case DocType.Excel: {
3591
- fileInfo.source = "/images/excel.png";
3589
+ fileInfo.source = "/platform/runtime/dfs/images/excel.png";
3592
3590
  files.value = [...files.value, fileInfo];
3593
3591
  break;
3594
3592
  }
3595
3593
  case DocType.Txt: {
3596
- fileInfo.source = "/images/txt.png";
3594
+ fileInfo.source = "/platform/runtime/dfs/images/txt.png";
3597
3595
  files.value = [...files.value, fileInfo];
3598
3596
  break;
3599
3597
  }
3600
3598
  case DocType.Zip: {
3601
- fileInfo.source = "/images/zip.png";
3599
+ fileInfo.source = "/platform/runtime/dfs/images/zip.png";
3602
3600
  files.value = [...files.value, fileInfo];
3603
3601
  break;
3604
3602
  }
3605
3603
  case DocType.Powerpoint: {
3606
- fileInfo.source = "/images/ppt.png";
3604
+ fileInfo.source = "/platform/runtime/dfs/images/ppt.png";
3607
3605
  files.value = [...files.value, fileInfo];
3608
3606
  break;
3609
3607
  }
3610
3608
  case DocType.Other: {
3611
- fileInfo.source = "/images/file.png";
3609
+ fileInfo.source = "/platform/runtime/dfs/images/file.png";
3612
3610
  files.value = [...files.value, fileInfo];
3613
3611
  break;
3614
3612
  }
@@ -4410,8 +4408,9 @@ const _export_sfc = (sfc, props) => {
4410
4408
  }
4411
4409
  return target;
4412
4410
  };
4413
- const FileUpload$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-528fbfc7"]]);
4411
+ const FileUpload$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-feecb649"]]);
4414
4412
  const FileUpload = withInstall(FileUpload$1);
4413
+ const EDP_BIF_VIEWMODEL_INJECTION_TOKEN = Symbol("EDP_BIF_VIEWMODEL");
4415
4414
  class ChangeInstanceRequest {
4416
4415
  constructor() {
4417
4416
  __publicField(this, "fileInfoList");
@@ -4678,17 +4677,17 @@ const rootIdDefault = "default-root";
4678
4677
  const formIdDefault = "test03";
4679
4678
  class UploadDialogService {
4680
4679
  // 构造函数接收 t 函数
4681
- constructor(localePipe, viewModel, injector, httpClient) {
4680
+ constructor(viewModel, injector, httpClient, localePipe) {
4682
4681
  __publicField(this, "t");
4683
4682
  __publicField(this, "modalService");
4684
4683
  __publicField(this, "dlg");
4685
4684
  __publicField(this, "fileInfoList", []);
4686
- this.localePipe = localePipe;
4687
4685
  this.viewModel = viewModel;
4688
4686
  this.injector = injector;
4689
4687
  this.httpClient = httpClient;
4688
+ this.localePipe = localePipe;
4690
4689
  this.modalService = this.injector.get(MODAL_SERVICE_TOKEN);
4691
- this.t = this.localePipe.transform;
4690
+ this.t = this.localePipe.transform.bind(this);
4692
4691
  }
4693
4692
  showDialog() {
4694
4693
  return __async(this, arguments, function* (formId = formIdDefault, rootId = rootIdDefault) {
@@ -4703,14 +4702,14 @@ class UploadDialogService {
4703
4702
  );
4704
4703
  return new Promise((resolve) => {
4705
4704
  this.dlg = this.modalService.open({
4706
- title: this.t("uploadFile"),
4705
+ title: "文件上传",
4707
4706
  fitContent: false,
4708
4707
  width: 950,
4709
4708
  height: 570,
4710
4709
  render: () => FileUploadNode,
4711
4710
  buttons: [
4712
4711
  {
4713
- text: this.t("save"),
4712
+ text: "保存",
4714
4713
  class: "btn btn-primary",
4715
4714
  handle: () => __async(this, null, function* () {
4716
4715
  var _a, _b;
@@ -4723,7 +4722,7 @@ class UploadDialogService {
4723
4722
  })
4724
4723
  },
4725
4724
  {
4726
- text: this.t("close"),
4725
+ text: "关闭",
4727
4726
  class: "btn btn-light",
4728
4727
  handle: () => {
4729
4728
  this.dlg.modalRef.value.close();
@@ -4769,7 +4768,7 @@ class UploadDialogService {
4769
4768
  );
4770
4769
  return new Promise((resolve) => {
4771
4770
  this.dlg = this.modalService.open({
4772
- title: this.t("uploadFile"),
4771
+ title: "文件上传",
4773
4772
  fitContent: false,
4774
4773
  width: 950,
4775
4774
  height: 570,
@@ -4778,7 +4777,7 @@ class UploadDialogService {
4778
4777
  },
4779
4778
  buttons: [
4780
4779
  {
4781
- text: this.t("save"),
4780
+ text: "保存",
4782
4781
  class: "btn btn-primary",
4783
4782
  handle: () => __async(this, null, function* () {
4784
4783
  var _a, _b;
@@ -4791,7 +4790,7 @@ class UploadDialogService {
4791
4790
  })
4792
4791
  },
4793
4792
  {
4794
- text: this.t("close"),
4793
+ text: "关闭",
4795
4794
  class: "btn btn-light",
4796
4795
  handle: () => {
4797
4796
  this.dlg.modalRef.value.close();
@@ -4974,6 +4973,7 @@ export {
4974
4973
  CompleteMultiUploadRequest,
4975
4974
  CopyFileRequest,
4976
4975
  DocType,
4976
+ DownloadService,
4977
4977
  DownloadServiceProviders,
4978
4978
  DropListEntity,
4979
4979
  EDP_BIF_VIEWMODEL_INJECTION_TOKEN,
@@ -5001,6 +5001,7 @@ export {
5001
5001
  StorageExtension,
5002
5002
  UploadDevkitProviders,
5003
5003
  UploadDevkitRootProviders,
5004
+ UploadDialogService,
5004
5005
  UploadDialogServiceProviders,
5005
5006
  UploadFileInfo,
5006
5007
  UploadLimit,
@@ -2738,7 +2738,6 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
2738
2738
  });
2739
2739
  }
2740
2740
  }
2741
- const EDP_BIF_VIEWMODEL_INJECTION_TOKEN = Symbol("EDP_BIF_VIEWMODEL");
2742
2741
  const LANG_RESOURCES = {
2743
2742
  "zh-CHS": {
2744
2743
  "uploadFile": "上传文件",
@@ -3026,8 +3025,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
3026
3025
  const props = __props;
3027
3026
  const uploadIconAddress = convertPath("/platform/runtime/dfs/images/upload.svg");
3028
3027
  const uploadLittleIconAddress = convertPath("/platform/runtime/dfs/images/uploadIcon.svg");
3029
- const viewModel = vue.inject(EDP_BIF_VIEWMODEL_INJECTION_TOKEN);
3030
- const localePipe = viewModel.getInjector().get(LocalLangPipe);
3028
+ const localePipe = new LocalLangPipe();
3031
3029
  const files = vue.ref([]);
3032
3030
  const metadataIdList = vue.ref([]);
3033
3031
  const uploadFileInfoList = vue.ref([]);
@@ -3579,37 +3577,37 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
3579
3577
  const addDocInfo = (selectedFile, fileInfo, docType) => {
3580
3578
  switch (docType) {
3581
3579
  case DocType.Word: {
3582
- fileInfo.source = "/images/word.png";
3580
+ fileInfo.source = "/platform/runtime/dfs/images/word.png";
3583
3581
  files.value = [...files.value, fileInfo];
3584
3582
  break;
3585
3583
  }
3586
3584
  case DocType.Pdf: {
3587
- fileInfo.source = "/images/pdf.png";
3585
+ fileInfo.source = "/platform/runtime/dfs/images/pdf.png";
3588
3586
  files.value = [...files.value, fileInfo];
3589
3587
  break;
3590
3588
  }
3591
3589
  case DocType.Excel: {
3592
- fileInfo.source = "/images/excel.png";
3590
+ fileInfo.source = "/platform/runtime/dfs/images/excel.png";
3593
3591
  files.value = [...files.value, fileInfo];
3594
3592
  break;
3595
3593
  }
3596
3594
  case DocType.Txt: {
3597
- fileInfo.source = "/images/txt.png";
3595
+ fileInfo.source = "/platform/runtime/dfs/images/txt.png";
3598
3596
  files.value = [...files.value, fileInfo];
3599
3597
  break;
3600
3598
  }
3601
3599
  case DocType.Zip: {
3602
- fileInfo.source = "/images/zip.png";
3600
+ fileInfo.source = "/platform/runtime/dfs/images/zip.png";
3603
3601
  files.value = [...files.value, fileInfo];
3604
3602
  break;
3605
3603
  }
3606
3604
  case DocType.Powerpoint: {
3607
- fileInfo.source = "/images/ppt.png";
3605
+ fileInfo.source = "/platform/runtime/dfs/images/ppt.png";
3608
3606
  files.value = [...files.value, fileInfo];
3609
3607
  break;
3610
3608
  }
3611
3609
  case DocType.Other: {
3612
- fileInfo.source = "/images/file.png";
3610
+ fileInfo.source = "/platform/runtime/dfs/images/file.png";
3613
3611
  files.value = [...files.value, fileInfo];
3614
3612
  break;
3615
3613
  }
@@ -4411,8 +4409,9 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4411
4409
  }
4412
4410
  return target;
4413
4411
  };
4414
- const FileUpload$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-528fbfc7"]]);
4412
+ const FileUpload$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-feecb649"]]);
4415
4413
  const FileUpload = withInstall(FileUpload$1);
4414
+ const EDP_BIF_VIEWMODEL_INJECTION_TOKEN = Symbol("EDP_BIF_VIEWMODEL");
4416
4415
  class ChangeInstanceRequest {
4417
4416
  constructor() {
4418
4417
  __publicField(this, "fileInfoList");
@@ -4679,17 +4678,17 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4679
4678
  const formIdDefault = "test03";
4680
4679
  class UploadDialogService {
4681
4680
  // 构造函数接收 t 函数
4682
- constructor(localePipe, viewModel, injector, httpClient) {
4681
+ constructor(viewModel, injector, httpClient, localePipe) {
4683
4682
  __publicField(this, "t");
4684
4683
  __publicField(this, "modalService");
4685
4684
  __publicField(this, "dlg");
4686
4685
  __publicField(this, "fileInfoList", []);
4687
- this.localePipe = localePipe;
4688
4686
  this.viewModel = viewModel;
4689
4687
  this.injector = injector;
4690
4688
  this.httpClient = httpClient;
4689
+ this.localePipe = localePipe;
4691
4690
  this.modalService = this.injector.get(commandServicesVue.MODAL_SERVICE_TOKEN);
4692
- this.t = this.localePipe.transform;
4691
+ this.t = this.localePipe.transform.bind(this);
4693
4692
  }
4694
4693
  showDialog() {
4695
4694
  return __async(this, arguments, function* (formId = formIdDefault, rootId = rootIdDefault) {
@@ -4704,14 +4703,14 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4704
4703
  );
4705
4704
  return new Promise((resolve) => {
4706
4705
  this.dlg = this.modalService.open({
4707
- title: this.t("uploadFile"),
4706
+ title: "文件上传",
4708
4707
  fitContent: false,
4709
4708
  width: 950,
4710
4709
  height: 570,
4711
4710
  render: () => FileUploadNode,
4712
4711
  buttons: [
4713
4712
  {
4714
- text: this.t("save"),
4713
+ text: "保存",
4715
4714
  class: "btn btn-primary",
4716
4715
  handle: () => __async(this, null, function* () {
4717
4716
  var _a, _b;
@@ -4724,7 +4723,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4724
4723
  })
4725
4724
  },
4726
4725
  {
4727
- text: this.t("close"),
4726
+ text: "关闭",
4728
4727
  class: "btn btn-light",
4729
4728
  handle: () => {
4730
4729
  this.dlg.modalRef.value.close();
@@ -4770,7 +4769,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4770
4769
  );
4771
4770
  return new Promise((resolve) => {
4772
4771
  this.dlg = this.modalService.open({
4773
- title: this.t("uploadFile"),
4772
+ title: "文件上传",
4774
4773
  fitContent: false,
4775
4774
  width: 950,
4776
4775
  height: 570,
@@ -4779,7 +4778,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4779
4778
  },
4780
4779
  buttons: [
4781
4780
  {
4782
- text: this.t("save"),
4781
+ text: "保存",
4783
4782
  class: "btn btn-primary",
4784
4783
  handle: () => __async(this, null, function* () {
4785
4784
  var _a, _b;
@@ -4792,7 +4791,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4792
4791
  })
4793
4792
  },
4794
4793
  {
4795
- text: this.t("close"),
4794
+ text: "关闭",
4796
4795
  class: "btn btn-light",
4797
4796
  handle: () => {
4798
4797
  this.dlg.modalRef.value.close();
@@ -4974,6 +4973,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
4974
4973
  exports.CompleteMultiUploadRequest = CompleteMultiUploadRequest;
4975
4974
  exports.CopyFileRequest = CopyFileRequest;
4976
4975
  exports.DocType = DocType;
4976
+ exports.DownloadService = DownloadService;
4977
4977
  exports.DownloadServiceProviders = DownloadServiceProviders;
4978
4978
  exports.DropListEntity = DropListEntity;
4979
4979
  exports.EDP_BIF_VIEWMODEL_INJECTION_TOKEN = EDP_BIF_VIEWMODEL_INJECTION_TOKEN;
@@ -5001,6 +5001,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
5001
5001
  exports.StorageExtension = StorageExtension;
5002
5002
  exports.UploadDevkitProviders = UploadDevkitProviders;
5003
5003
  exports.UploadDevkitRootProviders = UploadDevkitRootProviders;
5004
+ exports.UploadDialogService = UploadDialogService;
5004
5005
  exports.UploadDialogServiceProviders = UploadDialogServiceProviders;
5005
5006
  exports.UploadFileInfo = UploadFileInfo;
5006
5007
  exports.UploadLimit = UploadLimit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gsp-svc/formdoc-upload-vue",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/style.css CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /* 样式可以参考原有的 CSS 文件 */
3
- .pic_list ul li div img[data-v-528fbfc7] {
3
+ .pic_list ul li div img[data-v-feecb649] {
4
4
  max-width: 60px;
5
5
  max-height: 60px;
6
6
  align-items: center;
@@ -8,157 +8,156 @@
8
8
  vertical-align: middle;
9
9
  text-align: center;
10
10
  }
11
- .pic_list ul li span.filename[data-v-528fbfc7] {
11
+ .pic_list ul li span.filename[data-v-feecb649] {
12
12
  width: 100px;
13
13
  text-align: center;
14
14
  overflow: hidden;
15
15
  text-overflow: ellipsis;
16
16
  white-space: nowrap;
17
17
  }
18
- .home_page[data-v-528fbfc7] {
19
- text-align: center;
18
+ .home_page[data-v-feecb649] {
19
+ text-align: center;
20
20
  }
21
- .home_page img[data-v-528fbfc7] {
22
- position: absolute;
23
- top: 180px;
24
- margin-left: -35px;
25
- width: 70px;
26
- height: 56px;
21
+ .home_page img[data-v-feecb649] {
22
+ position: absolute;
23
+ top: 180px;
24
+ margin-left: -35px;
25
+ width: 70px;
26
+ height: 56px;
27
27
  }
28
- .home_page div[data-v-528fbfc7] {
29
- position: absolute;
30
- left: 50%;
31
- top: 255px;
32
- margin-left: -75px;
33
- width: 150px;
34
- height: 32px;
35
- overflow: hidden;
36
- }
37
- .home_page div span[data-v-528fbfc7] {
38
- /* position: absolute;
28
+ .home_page div[data-v-feecb649] {
29
+ position: absolute;
30
+ left: 50%;
31
+ top: 255px;
32
+ margin-left: -75px;
33
+ width: 150px;
34
+ height: 32px;
35
+ overflow: hidden;
36
+ }
37
+ .home_page div span[data-v-feecb649] {
38
+ /* position: absolute;
39
39
  top:255px;
40
40
  margin-left: -75px; */
41
- width: 150px;
42
- height: 32px;
43
- position: absolute;
44
- z-index: 10;
45
- left: 0px;
41
+ width: 150px;
42
+ height: 32px;
43
+ position: absolute;
44
+ z-index: 10;
45
+ left: 0px;
46
46
  }
47
- .home_page div input[data-v-528fbfc7] {
48
- position: absolute;
49
- left: 0px;
50
- top: 0px;
51
- opacity: 0;
52
- filter: 'alpha(opacity=0)';
53
- z-index: 11;
54
- }
55
- .upload_button[data-v-528fbfc7] {
56
- width: 110px;
57
- height: 32px;
58
- overflow: hidden;
59
- }
60
- .upload_button span[data-v-528fbfc7] {
61
- position: relative;
62
- right: -4px;
63
- top: 4px;
64
- width: 56px;
65
- height: 22px;
66
- font-size: 14px;
67
- }
68
- .upload_button input[data-v-528fbfc7] {
69
- height: 32px;
70
- width: 110px;
71
- position: absolute;
72
- left: 22px;
73
- top: 12px;
74
- opacity: 0;
75
- filter: 'alpha(opacity=0)';
76
- overflow: hidden;
77
- }
78
- .upload_button img[data-v-528fbfc7] {
79
- position: relative;
80
- left: -6px;
81
- top: 3px;
82
- width: 14px;
83
- height: 14px;
84
- }
85
- .button_group_upload[data-v-528fbfc7] {
86
- position: absolute;
87
- right: 18px;
88
- top: 12px;
89
- height: 26px;
90
- width: 92px;
47
+ .home_page div input[data-v-feecb649] {
48
+ position: absolute;
49
+ left: 0px;
50
+ top: 0px;
51
+ opacity: 0;
52
+ filter: "alpha(opacity=0)";
53
+ z-index: 11;
54
+ }
55
+ .upload_button[data-v-feecb649] {
56
+ width: 110px;
57
+ height: 32px;
58
+ overflow: hidden;
91
59
  }
92
- .button_group_upload button[data-v-528fbfc7] {
93
- height: 26px;
94
- width: 26px;
60
+ .upload_button span[data-v-feecb649] {
61
+ position: relative;
62
+ right: -4px;
63
+ top: 4px;
64
+ width: 56px;
65
+ height: 22px;
66
+ font-size: 14px;
67
+ }
68
+ .upload_button input[data-v-feecb649] {
69
+ height: 32px;
70
+ width: 110px;
71
+ position: absolute;
72
+ left: 22px;
73
+ top: 12px;
74
+ opacity: 0;
75
+ filter: "alpha(opacity=0)";
76
+ overflow: hidden;
95
77
  }
96
- .fileinput-button[data-v-528fbfc7] {
97
- position: absolute;
98
- right: 60px;
99
- bottom: 40px;
100
- overflow: hidden;
101
- width: 24px;
102
- height: 24px;
103
- border-radius: 12px;
104
- transform: scale(2.5);
105
- -ms-transform: scale(2.5);
106
- -moz-transform: scale(2.5);
107
- -webkit-transform: scale(2.5);
108
- -o-transform: scale(2.5);
109
- color: rgb(6, 134, 253);
110
- }
111
- .fileinput-button input[data-v-528fbfc7] {
112
- position: absolute;
113
- left: 0px;
114
- top: 0px;
115
- opacity: 0;
116
- filter: 'alpha(opacity=0)';
78
+ .upload_button img[data-v-feecb649] {
79
+ position: relative;
80
+ left: -6px;
81
+ top: 3px;
82
+ width: 14px;
83
+ height: 14px;
117
84
  }
118
- .pic-droplist[data-v-528fbfc7] {
119
- height: 24px;
120
- color: #e0e1e2;
121
- background-color: #e0e1e2;
122
- }
123
- .pic-droplist input-group[data-v-528fbfc7] {
124
- display: table-cell;
125
- width: 100px;
126
- text-align: center;
127
- border: 0;
128
- }
129
- .pic-droplist input-group div[data-v-528fbfc7] {
130
- border: 0;
131
- }
132
- .pic-droplist input-group div input[data-v-528fbfc7] {
133
- background-color: #e0e1e2;
134
- }
135
- .pic-droplist input-group div div[data-v-528fbfc7] {
136
- background-color: #e0e1e2;
137
- }
138
- .pic_list[data-v-528fbfc7] {
139
- padding: 0;
140
- height: 406px;
141
- overflow-y: auto;
142
- overflow-x: hidden;
143
- /* //border: 1px solid #ddd; */
144
- /*多出来的ul要剪掉*/
145
- }
146
- .pic_list ul[data-v-528fbfc7] {
147
- padding: 0;
148
- list-style: none;
149
- width: 100%;
150
- margin: 20px 0 0 20px;
151
- }
152
- .pic_list ul li[data-v-528fbfc7] {
153
- height: 179px;
154
- width: 135px;
155
- margin: 8px 0 8px 12px;
156
- float: left;
157
- overflow: hidden;
158
- align-items: center;
159
- position: relative;
85
+ .button_group_upload[data-v-feecb649] {
86
+ position: absolute;
87
+ right: 18px;
88
+ top: 12px;
89
+ height: 26px;
90
+ width: 92px;
91
+ }
92
+ .button_group_upload button[data-v-feecb649] {
93
+ height: 26px;
94
+ width: 26px;
95
+ }
96
+ .fileinput-button[data-v-feecb649] {
97
+ position: absolute;
98
+ right: 60px;
99
+ bottom: 40px;
100
+ overflow: hidden;
101
+ width: 24px;
102
+ height: 24px;
103
+ border-radius: 12px;
104
+ transform: scale(2.5);
105
+ -ms-transform: scale(2.5);
106
+ -moz-transform: scale(2.5);
107
+ -webkit-transform: scale(2.5);
108
+ -o-transform: scale(2.5);
109
+ color: rgb(6, 134, 253);
110
+ }
111
+ .fileinput-button input[data-v-feecb649] {
112
+ position: absolute;
113
+ left: 0px;
114
+ top: 0px;
115
+ opacity: 0;
116
+ filter: "alpha(opacity=0)";
117
+ }
118
+ .pic-droplist[data-v-feecb649] {
119
+ height: 24px;
120
+ color: #e0e1e2;
121
+ background-color: #e0e1e2;
122
+ }
123
+ .pic-droplist input-group[data-v-feecb649] {
124
+ display: table-cell;
125
+ width: 100px;
126
+ text-align: center;
127
+ border: 0;
128
+ }
129
+ .pic-droplist input-group div[data-v-feecb649] {
130
+ border: 0;
131
+ }
132
+ .pic-droplist input-group div input[data-v-feecb649] {
133
+ background-color: #e0e1e2;
134
+ }
135
+ .pic-droplist input-group div div[data-v-feecb649] {
136
+ background-color: #e0e1e2;
137
+ }
138
+ .pic_list[data-v-feecb649] {
139
+ padding: 0;
140
+ height: 406px;
141
+ overflow-y: auto;
142
+ overflow-x: hidden;
143
+ /* //border: 1px solid #ddd; */
144
+ /*多出来的ul要剪掉*/
145
+ }
146
+ .pic_list ul[data-v-feecb649] {
147
+ padding: 0;
148
+ list-style: none;
149
+ width: 100%;
150
+ margin: 20px 0 0 20px;
151
+ }
152
+ .pic_list ul li[data-v-feecb649] {
153
+ height: 179px;
154
+ width: 135px;
155
+ margin: 8px 0 8px 12px;
156
+ float: left;
157
+ overflow: hidden;
158
+ align-items: center;
159
+ position: relative;
160
160
  }
161
-
162
161
 
163
162
  /* .pic_list ul li button {
164
163
  position: absolute;
@@ -167,76 +166,76 @@
167
166
  width: 24px;
168
167
  height: 24px;
169
168
  } */
170
- .pic_list ul li div[data-v-528fbfc7] {
171
- width: 135px;
172
- height: 159px;
173
- margin: 0 0 0 0;
174
- margin: auto;
175
- display: table-cell;
176
- vertical-align: middle;
177
- text-align: center;
178
- position: relative;
179
- }
180
- .pic_list ul li div img[data-v-528fbfc7] {
181
- max-width: 60px;
182
- max-height: 60px;
183
- align-items: center;
184
- margin: auto;
185
- vertical-align: middle;
186
- text-align: center;
187
- }
188
- .pic_list ul li span.filename[data-v-528fbfc7] {
189
- width: 100px;
190
- text-align: center;
191
- overflow: hidden;
192
- text-overflow: ellipsis;
193
- white-space: nowrap;
194
- }
195
- .queue_list[data-v-528fbfc7] {
196
- display: block;
197
- height: 420px;
198
- overflow-y: auto;
199
- }
200
- .file_list[data-v-528fbfc7] {
201
- list-style: none;
202
- margin: 0;
203
- padding: 0;
204
- overflow-x: hidden;
205
- overflow-y: auto;
206
- }
207
- .file_list li[data-v-528fbfc7] {
208
- /* //background: #e6e6e6;
169
+ .pic_list ul li div[data-v-feecb649] {
170
+ width: 135px;
171
+ height: 159px;
172
+ margin: 0 0 0 0;
173
+ margin: auto;
174
+ display: table-cell;
175
+ vertical-align: middle;
176
+ text-align: center;
177
+ position: relative;
178
+ }
179
+ .pic_list ul li div img[data-v-feecb649] {
180
+ max-width: 60px;
181
+ max-height: 60px;
182
+ align-items: center;
183
+ margin: auto;
184
+ vertical-align: middle;
185
+ text-align: center;
186
+ }
187
+ .pic_list ul li span.filename[data-v-feecb649] {
188
+ width: 100px;
189
+ text-align: center;
190
+ overflow: hidden;
191
+ text-overflow: ellipsis;
192
+ white-space: nowrap;
193
+ }
194
+ .queue_list[data-v-feecb649] {
195
+ display: block;
196
+ height: 420px;
197
+ overflow-y: auto;
198
+ }
199
+ .file_list[data-v-feecb649] {
200
+ list-style: none;
201
+ margin: 0;
202
+ padding: 0;
203
+ overflow-x: hidden;
204
+ overflow-y: auto;
205
+ }
206
+ .file_list li[data-v-feecb649] {
207
+ /* //background: #e6e6e6;
209
208
  border-bottom: 1px solid #d3d3d3; */
210
- height: 50px;
211
- line-height: 35px;
212
- font-size: 16px;
213
- position: relative;
214
- }
215
- .file_list li button[data-v-528fbfc7] {
216
- float: right;
217
- top: 6px;
218
- right: 10px;
219
- width: 20px;
220
- }
221
- .file_list li p.title[data-v-528fbfc7] {
222
- padding: 0 0 0 6px;
223
- margin: 0 210px 0 0;
224
- }
225
- .file_list li p.size[data-v-528fbfc7] {
226
- position: absolute;
227
- width: 100px;
228
- top: 0;
229
- right: 100px;
209
+ height: 50px;
210
+ line-height: 35px;
211
+ font-size: 16px;
212
+ position: relative;
213
+ }
214
+ .file_list li button[data-v-feecb649] {
215
+ float: right;
216
+ top: 6px;
217
+ right: 10px;
218
+ width: 20px;
219
+ }
220
+ .file_list li p.title[data-v-feecb649] {
221
+ padding: 0 0 0 6px;
222
+ margin: 0 210px 0 0;
223
+ }
224
+ .file_list li p.size[data-v-feecb649] {
225
+ position: absolute;
226
+ width: 100px;
227
+ top: 0;
228
+ right: 100px;
230
229
  }
231
- input#file[data-v-528fbfc7]:disabled {
232
- cursor : not-allowed;
230
+ input#file[data-v-feecb649]:disabled {
231
+ cursor: not-allowed;
233
232
  }
234
- .help_text[data-v-528fbfc7] {
235
- color : rgba(0, 0, 0, 0.35);
233
+ .help_text[data-v-feecb649] {
234
+ color: rgba(0, 0, 0, 0.35);
236
235
  position: absolute;
237
- top : 16px;
238
- right : 120px;
236
+ top: 16px;
237
+ right: 120px;
239
238
  }
240
- .farris-header[data-v-528fbfc7] {
241
- box-shadow: 0 2px 4px 0 rgba(57, 66, 100, .08);
239
+ .farris-header[data-v-feecb649] {
240
+ box-shadow: 0 2px 4px 0 rgba(57, 66, 100, 0.08);
242
241
  }
@@ -8,4 +8,4 @@ declare class DownloadService {
8
8
  getToken(str: string): string;
9
9
  switchStr(str1: string, str2: string, str3: string, i: number): string;
10
10
  }
11
- export default DownloadService;
11
+ export { DownloadService };
@@ -5,17 +5,17 @@ import { FModalService } from '@farris/ui-vue';
5
5
  import { LocalLangPipe } from '../pipe';
6
6
 
7
7
  declare class UploadDialogService {
8
- localePipe: LocalLangPipe;
9
8
  viewModel: any;
10
9
  injector: Injector;
11
10
  httpClient: HttpClient;
11
+ localePipe: LocalLangPipe;
12
12
  t: (key: string) => string;
13
13
  modalService: FModalService;
14
- constructor(localePipe: LocalLangPipe, viewModel: any, injector: Injector, httpClient: HttpClient);
14
+ constructor(viewModel: any, injector: Injector, httpClient: HttpClient, localePipe: LocalLangPipe);
15
15
  dlg: any;
16
16
  fileInfoList: UploadFileInfo[];
17
17
  showDialog(formId?: string, rootId?: string): Promise<unknown>;
18
18
  uploadFile(formId: string, rootId: string, oldIdList?: string[]): Promise<unknown>;
19
19
  uploadFileWithLimit(formId: string, rootId: string, limit: UploadLimit, oldIdList?: string[]): Promise<unknown>;
20
20
  }
21
- export default UploadDialogService;
21
+ export { UploadDialogService };