ydb-components-material 0.1.119 → 0.1.120

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.
Files changed (163) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/static/situation.80bdb450.png +0 -0
  7. package/build/docs/{umi.ffb7b81c.css → umi.35f02979.css} +1 -1
  8. package/build/docs/umi.abe1fcd6.js +1 -0
  9. package/build/docs/~demos/:uuid.html +3 -3
  10. package/build/docs/~demos/colorful-button-demo.html +3 -3
  11. package/build/docs/~demos/colorful-input-demo.html +3 -3
  12. package/build/lowcode/3.js +2 -2
  13. package/build/lowcode/4.js +1 -1
  14. package/build/lowcode/5.js +1 -1
  15. package/build/lowcode/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
  16. package/build/lowcode/assets-daily.json +11 -11
  17. package/build/lowcode/assets-dev.json +2 -2
  18. package/build/lowcode/assets-prod.json +11 -11
  19. package/build/lowcode/index.js +1 -1
  20. package/build/lowcode/meta.js +1 -1
  21. package/build/lowcode/preview.js +9 -9
  22. package/build/lowcode/render/default/1.js +2 -2
  23. package/build/lowcode/render/default/2.js +1 -1
  24. package/build/lowcode/render/default/3.js +1 -1
  25. package/build/lowcode/render/default/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
  26. package/build/lowcode/render/default/view.css +1 -1
  27. package/build/lowcode/render/default/view.js +26 -26
  28. package/build/lowcode/view.css +1 -1
  29. package/build/lowcode/view.js +26 -26
  30. package/dist/1.js +2 -2
  31. package/dist/2.js +1 -1
  32. package/dist/3.js +1 -1
  33. package/dist/BizComps.css +1 -1
  34. package/dist/BizComps.js +19 -19
  35. package/dist/BizComps.js.map +1 -1
  36. package/dist/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
  37. package/es/components/file-list/item.js +2 -2
  38. package/es/components/file-list/seal.js +5 -1
  39. package/es/components/guide-pc/comment.d.ts +9 -0
  40. package/es/components/guide-pc/comment.js +93 -0
  41. package/es/components/guide-pc/comment.scss +15 -0
  42. package/es/components/guide-pc/comment.vue +117 -0
  43. package/es/components/guide-pc/components/accept.d.ts +7 -0
  44. package/es/components/guide-pc/components/accept.js +30 -0
  45. package/es/components/guide-pc/components/accept.scss +18 -0
  46. package/es/components/guide-pc/components/accept.vue +50 -0
  47. package/es/components/guide-pc/components/basicInfo.d.ts +7 -0
  48. package/es/components/guide-pc/components/basicInfo.js +89 -0
  49. package/es/components/guide-pc/components/basicInfo.scss +30 -0
  50. package/es/components/guide-pc/components/basicInfo.vue +81 -0
  51. package/es/components/guide-pc/components/guideTabs.d.ts +8 -0
  52. package/es/components/guide-pc/components/guideTabs.js +32 -0
  53. package/es/components/guide-pc/components/guideTabs.scss +34 -0
  54. package/es/components/guide-pc/components/guideTabs.vue +48 -0
  55. package/es/components/guide-pc/components/guideTitle.d.ts +7 -0
  56. package/es/components/guide-pc/components/guideTitle.js +22 -0
  57. package/es/components/guide-pc/components/guideTitle.scss +15 -0
  58. package/es/components/guide-pc/components/guideTitle.vue +43 -0
  59. package/es/components/guide-pc/components/materialsList.d.ts +11 -0
  60. package/es/components/guide-pc/components/materialsList.js +386 -0
  61. package/es/components/guide-pc/components/materialsList.scss +139 -0
  62. package/es/components/guide-pc/components/materialsList.vue +403 -0
  63. package/es/components/guide-pc/components/places.d.ts +7 -0
  64. package/es/components/guide-pc/components/places.js +110 -0
  65. package/es/components/guide-pc/components/places.scss +144 -0
  66. package/es/components/guide-pc/components/places.vue +198 -0
  67. package/es/components/guide-pc/components/processImg.d.ts +9 -0
  68. package/es/components/guide-pc/components/processImg.js +220 -0
  69. package/es/components/guide-pc/components/processImg.scss +117 -0
  70. package/es/components/guide-pc/components/processImg.vue +300 -0
  71. package/es/components/guide-pc/components/result.d.ts +7 -0
  72. package/es/components/guide-pc/components/result.js +130 -0
  73. package/es/components/guide-pc/components/result.scss +104 -0
  74. package/es/components/guide-pc/components/result.vue +191 -0
  75. package/es/components/guide-pc/components/situation.d.ts +12 -0
  76. package/es/components/guide-pc/components/situation.js +142 -0
  77. package/es/components/guide-pc/components/situation.scss +79 -0
  78. package/es/components/guide-pc/components/situation.vue +430 -0
  79. package/es/components/guide-pc/guide.vue +179 -0
  80. package/es/components/guide-pc/imgs/bg.png +0 -0
  81. package/es/components/guide-pc/imgs/cant.png +0 -0
  82. package/es/components/guide-pc/imgs/dept.png +0 -0
  83. package/es/components/guide-pc/imgs/error.png +0 -0
  84. package/es/components/guide-pc/imgs/judge.png +0 -0
  85. package/es/components/guide-pc/imgs/pass.png +0 -0
  86. package/es/components/guide-pc/imgs/rightArr.png +0 -0
  87. package/es/components/guide-pc/imgs/situation.png +0 -0
  88. package/es/components/guide-pc/imgs/time.png +0 -0
  89. package/es/components/guide-pc/imgs/titleL.png +0 -0
  90. package/es/components/guide-pc/imgs/titleR.png +0 -0
  91. package/es/components/guide-pc/index.d.ts +37 -0
  92. package/es/components/guide-pc/index.js +440 -0
  93. package/es/components/guide-pc/index.scss +185 -0
  94. package/es/index.d.ts +2 -0
  95. package/es/index.js +1 -0
  96. package/lib/components/file-list/item.js +2 -2
  97. package/lib/components/file-list/seal.js +5 -1
  98. package/lib/components/guide-pc/comment.d.ts +9 -0
  99. package/lib/components/guide-pc/comment.js +98 -0
  100. package/lib/components/guide-pc/comment.scss +15 -0
  101. package/lib/components/guide-pc/comment.vue +117 -0
  102. package/lib/components/guide-pc/components/accept.d.ts +7 -0
  103. package/lib/components/guide-pc/components/accept.js +36 -0
  104. package/lib/components/guide-pc/components/accept.scss +18 -0
  105. package/lib/components/guide-pc/components/accept.vue +50 -0
  106. package/lib/components/guide-pc/components/basicInfo.d.ts +7 -0
  107. package/lib/components/guide-pc/components/basicInfo.js +95 -0
  108. package/lib/components/guide-pc/components/basicInfo.scss +30 -0
  109. package/lib/components/guide-pc/components/basicInfo.vue +81 -0
  110. package/lib/components/guide-pc/components/guideTabs.d.ts +8 -0
  111. package/lib/components/guide-pc/components/guideTabs.js +37 -0
  112. package/lib/components/guide-pc/components/guideTabs.scss +34 -0
  113. package/lib/components/guide-pc/components/guideTabs.vue +48 -0
  114. package/lib/components/guide-pc/components/guideTitle.d.ts +7 -0
  115. package/lib/components/guide-pc/components/guideTitle.js +28 -0
  116. package/lib/components/guide-pc/components/guideTitle.scss +15 -0
  117. package/lib/components/guide-pc/components/guideTitle.vue +43 -0
  118. package/lib/components/guide-pc/components/materialsList.d.ts +11 -0
  119. package/lib/components/guide-pc/components/materialsList.js +392 -0
  120. package/lib/components/guide-pc/components/materialsList.scss +139 -0
  121. package/lib/components/guide-pc/components/materialsList.vue +403 -0
  122. package/lib/components/guide-pc/components/places.d.ts +7 -0
  123. package/lib/components/guide-pc/components/places.js +116 -0
  124. package/lib/components/guide-pc/components/places.scss +144 -0
  125. package/lib/components/guide-pc/components/places.vue +198 -0
  126. package/lib/components/guide-pc/components/processImg.d.ts +9 -0
  127. package/lib/components/guide-pc/components/processImg.js +226 -0
  128. package/lib/components/guide-pc/components/processImg.scss +117 -0
  129. package/lib/components/guide-pc/components/processImg.vue +300 -0
  130. package/lib/components/guide-pc/components/result.d.ts +7 -0
  131. package/lib/components/guide-pc/components/result.js +136 -0
  132. package/lib/components/guide-pc/components/result.scss +104 -0
  133. package/lib/components/guide-pc/components/result.vue +191 -0
  134. package/lib/components/guide-pc/components/situation.d.ts +12 -0
  135. package/lib/components/guide-pc/components/situation.js +147 -0
  136. package/lib/components/guide-pc/components/situation.scss +79 -0
  137. package/lib/components/guide-pc/components/situation.vue +430 -0
  138. package/lib/components/guide-pc/guide.vue +179 -0
  139. package/lib/components/guide-pc/imgs/bg.png +0 -0
  140. package/lib/components/guide-pc/imgs/cant.png +0 -0
  141. package/lib/components/guide-pc/imgs/dept.png +0 -0
  142. package/lib/components/guide-pc/imgs/error.png +0 -0
  143. package/lib/components/guide-pc/imgs/judge.png +0 -0
  144. package/lib/components/guide-pc/imgs/pass.png +0 -0
  145. package/lib/components/guide-pc/imgs/rightArr.png +0 -0
  146. package/lib/components/guide-pc/imgs/situation.png +0 -0
  147. package/lib/components/guide-pc/imgs/time.png +0 -0
  148. package/lib/components/guide-pc/imgs/titleL.png +0 -0
  149. package/lib/components/guide-pc/imgs/titleR.png +0 -0
  150. package/lib/components/guide-pc/index.d.ts +37 -0
  151. package/lib/components/guide-pc/index.js +445 -0
  152. package/lib/components/guide-pc/index.scss +185 -0
  153. package/lib/index.d.ts +2 -0
  154. package/lib/index.js +3 -1
  155. package/lowcode/guide-pc/meta.ts +338 -0
  156. package/lowcode_es/guide-pc/meta.d.ts +22 -0
  157. package/lowcode_es/guide-pc/meta.js +315 -0
  158. package/lowcode_es/meta.js +3 -2
  159. package/lowcode_lib/guide-pc/meta.d.ts +22 -0
  160. package/lowcode_lib/guide-pc/meta.js +320 -0
  161. package/lowcode_lib/meta.js +17 -16
  162. package/package.json +3 -3
  163. package/build/docs/umi.55472eae.js +0 -1
@@ -533,8 +533,8 @@ var FileItem = function FileItem(_ref) {
533
533
  });
534
534
  case 2:
535
535
  guideImgRes = _context4.sent;
536
- if (guideImgRes.presignedUrl) {
537
- setGuideurl(guideImgRes.presignedUrl);
536
+ if (guideImgRes.presignedUrlList.length && guideImgRes.presignedUrlList[2]) {
537
+ setGuideurl(guideImgRes.presignedUrlList[2]);
538
538
  setIsShowGuide(true);
539
539
  }
540
540
  case 3:
@@ -28,6 +28,9 @@ function SealPage(props) {
28
28
  var _useState2 = useState(''),
29
29
  orderId = _useState2[0],
30
30
  setOrderId = _useState2[1];
31
+ var _useState3 = useState(false),
32
+ hideClose = _useState3[0],
33
+ setHideClose = _useState3[1];
31
34
  var timerRef = useRef(null);
32
35
  var elementRef = useRef(null);
33
36
  var handleRes = /*#__PURE__*/function () {
@@ -163,6 +166,7 @@ function SealPage(props) {
163
166
  signFiles = _res$data.signFiles;
164
167
  if (signStatus === 6) {
165
168
  // 签署成功
169
+ setHideClose(true);
166
170
  handleClearInterval();
167
171
  if (signFiles && signFiles.length) {
168
172
  // 下载该文件
@@ -218,7 +222,7 @@ function SealPage(props) {
218
222
  return /*#__PURE__*/React.createElement("div", {
219
223
  className: "sealPage",
220
224
  ref: elementRef
221
- }, showClose && /*#__PURE__*/React.createElement("img", {
225
+ }, showClose && !hideClose && /*#__PURE__*/React.createElement("img", {
222
226
  className: "seal_close",
223
227
  src: closeIcon,
224
228
  alt: "",
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import './comment.scss';
3
+ export interface CommentProps {
4
+ eventInfo?: any;
5
+ accessToken?: string;
6
+ userInfo?: any;
7
+ }
8
+ declare const Comment: React.FC<CommentProps>;
9
+ export default Comment;
@@ -0,0 +1,93 @@
1
+ import _Button from "@alifd/next/es/button";
2
+ import _Loading from "@alifd/next/es/loading";
3
+ import * as React from 'react';
4
+ import "./comment.scss";
5
+
6
+ // TODO: API imports not available
7
+ // import { getGuideCommentUrlApi } from '@/api/business.js'
8
+ // import apiConfig from '@/config/api.cofig'
9
+
10
+ var Comment = function Comment(_ref) {
11
+ var eventInfoProp = _ref.eventInfo,
12
+ accessTokenProp = _ref.accessToken,
13
+ userInfoProp = _ref.userInfo;
14
+ var _React$useState = React.useState(false),
15
+ pageLoading = _React$useState[0],
16
+ setPageLoading = _React$useState[1];
17
+ var _React$useState2 = React.useState(false),
18
+ webViewShow = _React$useState2[0],
19
+ setWebViewShow = _React$useState2[1];
20
+ var _React$useState3 = React.useState(''),
21
+ commentSrc = _React$useState3[0],
22
+ setCommentSrc = _React$useState3[1];
23
+ React.useEffect(function () {
24
+ getGuideCommentUrl();
25
+ }, []);
26
+ var getGuideCommentUrl = function getGuideCommentUrl() {
27
+ var _eventInfo$taskGenera, _eventInfo$taskGenera2;
28
+ setPageLoading(true);
29
+ var eventInfo = eventInfoProp;
30
+ var userInfo = userInfoProp;
31
+ if (!eventInfo || !userInfo) {
32
+ setPageLoading(false);
33
+ return;
34
+ }
35
+ var params = {
36
+ channel: '1',
37
+ itemCode: ((_eventInfo$taskGenera = eventInfo.taskGeneralBasic) === null || _eventInfo$taskGenera === void 0 ? void 0 : _eventInfo$taskGenera.rowGuid) || '',
38
+ itemName: ((_eventInfo$taskGenera2 = eventInfo.taskGeneralBasic) === null || _eventInfo$taskGenera2 === void 0 ? void 0 : _eventInfo$taskGenera2.taskHandleItemName) || '',
39
+ userId: userInfo.loginAccountId || '',
40
+ userName: userInfo.userName || userInfo.legalName || '',
41
+ token: accessTokenProp || '',
42
+ acctType: userInfo.acctType || ''
43
+ };
44
+ console.log('Comment params', params);
45
+
46
+ // TODO: getGuideCommentUrlApi call
47
+ // setPageLoading(false);
48
+ // const url = res.url;
49
+ // const { commentDomain } = apiConfig.domain;
50
+ // const { isProduct } = apiConfig;
51
+ // setCommentSrc(isProduct ? url : commentDomain + url.split('11013')[1]);
52
+ // setWebViewShow(true);
53
+ // setTimeout(() => {
54
+ // const iframe = document.getElementById('commentIframe') as HTMLIFrameElement;
55
+ // if (iframe) iframe.src = commentSrc;
56
+ // }, 500);
57
+
58
+ setPageLoading(false);
59
+ };
60
+ var closeComment = function closeComment() {
61
+ window.history.back();
62
+ };
63
+ return /*#__PURE__*/React.createElement("div", {
64
+ className: "comment-content"
65
+ }, pageLoading && /*#__PURE__*/React.createElement(_Loading, {
66
+ visible: pageLoading,
67
+ tip: "\u52A0\u8F7D\u4E2D..."
68
+ }), webViewShow && /*#__PURE__*/React.createElement("div", {
69
+ className: "webView-content"
70
+ }, /*#__PURE__*/React.createElement("iframe", {
71
+ id: "commentIframe",
72
+ src: commentSrc,
73
+ frameBorder: "0",
74
+ height: "100%",
75
+ width: "100%",
76
+ title: "\u8BC4\u4EF7"
77
+ }), /*#__PURE__*/React.createElement("div", {
78
+ className: "btn-con"
79
+ }, /*#__PURE__*/React.createElement(_Button, {
80
+ onClick: closeComment
81
+ }, "\u5173\u95ED\u8BC4\u4EF7"))), !pageLoading && !webViewShow && /*#__PURE__*/React.createElement("div", {
82
+ className: "webView-content",
83
+ style: {
84
+ display: 'flex',
85
+ justifyContent: 'center',
86
+ alignItems: 'center'
87
+ }
88
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", null, "\u8BC4\u4EF7\u9875\u9762\u52A0\u8F7D\u4E2D..."), /*#__PURE__*/React.createElement(_Button, {
89
+ onClick: closeComment
90
+ }, "\u8FD4\u56DE"))));
91
+ };
92
+ Comment.displayName = 'Comment';
93
+ export default Comment;
@@ -0,0 +1,15 @@
1
+ .comment-content {
2
+ .webView-content {
3
+ height: 800px;
4
+ width: 100%;
5
+ position: relative;
6
+
7
+ .btn-con {
8
+ position: absolute;
9
+ bottom: 20px;
10
+ left: 50%;
11
+ transform: translateX(-50%);
12
+ z-index: 10;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,117 @@
1
+ <template>
2
+ <view class="comment-content">
3
+ <eventInfo ref="eventInfo" :showBtns="false" />
4
+
5
+ <view class="main-content">
6
+ <u-loading-page :loading="pageLoading" />
7
+ <!-- 放置评价页面的webview -->
8
+ <view v-if="webViewShow" class="webView-content">
9
+ <iframe
10
+ v-if="webViewShow"
11
+ id="iframe"
12
+ frameborder="0"
13
+ height="100%"
14
+ width="100%"
15
+ />
16
+ <view class="btn-con">
17
+ <u-button text="关闭评价" shape="square" @click="closeComment"/>
18
+ </view>
19
+ </view>
20
+ </view>
21
+ </view>
22
+ </template>
23
+
24
+ <script>
25
+ import eventInfo from '../components/eventInfo.vue'
26
+ import { getGuideCommentUrlApi } from '@/api/business.js'
27
+ import apiConfig from '@/config/api.cofig'
28
+ export default {
29
+ components: { eventInfo },
30
+ data() {
31
+ return {
32
+ pageLoading: false,
33
+ webViewShow: false,
34
+ commentSrc: '',
35
+ }
36
+ },
37
+ mounted() {
38
+ this.getGuideCommentUrlFun()
39
+ },
40
+ methods: {
41
+ // 查询办事指南的评价页面
42
+ getGuideCommentUrlFun() {
43
+ this.pageLoading = true
44
+ const access_token = uni.getStorageSync('access_token')
45
+ const eventInfo = uni.getStorageSync('eventInfo')
46
+ const userInfo = uni.getStorageSync('userInfo')
47
+ const params = {
48
+ channel: '2',
49
+ itemCode: eventInfo.taskGeneralBasic.rowGuid, // 事项的rowGuid
50
+ itemName: eventInfo.taskGeneralBasic.taskHandleItemName, // 事项的名称
51
+ userId: userInfo.loginAccountId, // 当前登录用户的id
52
+ userName: userInfo.userName || userInfo.legalName,
53
+ token: access_token,
54
+ acctType: userInfo.acctType
55
+ }
56
+ getGuideCommentUrlApi(params).then((res) => {
57
+ this.pageLoading = false
58
+ const url = res.url
59
+ const { commentDomain } = apiConfig.domain
60
+ const { isProduct } = apiConfig
61
+
62
+ if(isProduct){
63
+ this.commentSrc = url
64
+ }else{
65
+ this.commentSrc = commentDomain + url.split('11013')[1]
66
+ }
67
+ this.webViewShow = true
68
+ setTimeout(() => {
69
+ document.getElementById('iframe').src = this.commentSrc
70
+ }, 500);
71
+ }).catch(err => {
72
+ console.log(err)
73
+ this.pageLoading = false
74
+ uni.showModal({
75
+ title: '提示',
76
+ content: '暂时不可评价该事项的办事指南',
77
+ confirmText: '知道了',
78
+ showCancel: false,
79
+ confirmColor: '#1678FF',
80
+ success: (res) => {
81
+ if (res.confirm) {
82
+ uni.navigateBack()
83
+ }
84
+ }
85
+ });
86
+ })
87
+ },
88
+ // 关闭评价页
89
+ closeComment() {
90
+ uni.navigateBack()
91
+ }
92
+ }
93
+ }
94
+ </script>
95
+
96
+ <style>
97
+ page{
98
+ background: #ffffff;
99
+ }
100
+ </style>
101
+ <style lang="scss" scoped>
102
+ .main-content{
103
+ width: 1200px;
104
+ margin: 0 auto;
105
+ padding-bottom: 100px;
106
+ .webView-content{
107
+ height: 800px;
108
+ width: 100%;
109
+ .btn-con{
110
+ // padding: 0 36rpx;
111
+ padding: 0 24rpx;
112
+ margin: -350rpx auto 0;
113
+ width: 150px;
114
+ }
115
+ }
116
+ }
117
+ </style>
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import './accept.scss';
3
+ export interface AcceptProps {
4
+ eventInfo?: any;
5
+ }
6
+ declare const Accept: React.FC<AcceptProps>;
7
+ export default Accept;
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import GuideTitle from "./guideTitle";
3
+ import "./accept.scss";
4
+ var Accept = function Accept(_ref) {
5
+ var eventInfoProp = _ref.eventInfo;
6
+ var _React$useState = React.useState(''),
7
+ acceptCondition = _React$useState[0],
8
+ setAcceptCondition = _React$useState[1];
9
+ React.useEffect(function () {
10
+ var _eventInfo$taskGenera;
11
+ var eventInfo = eventInfoProp;
12
+ if (eventInfo !== null && eventInfo !== void 0 && (_eventInfo$taskGenera = eventInfo.taskGeneralExtend) !== null && _eventInfo$taskGenera !== void 0 && _eventInfo$taskGenera.acceptCondition) {
13
+ setAcceptCondition(eventInfo.taskGeneralExtend.acceptCondition);
14
+ }
15
+ }, [eventInfoProp]);
16
+ return /*#__PURE__*/React.createElement("div", {
17
+ className: "accept-content"
18
+ }, /*#__PURE__*/React.createElement(GuideTitle, {
19
+ title: "\u53D7\u7406\u6761\u4EF6"
20
+ }), acceptCondition ? /*#__PURE__*/React.createElement("div", {
21
+ className: "card-content",
22
+ dangerouslySetInnerHTML: {
23
+ __html: acceptCondition
24
+ }
25
+ }) : /*#__PURE__*/React.createElement("div", {
26
+ className: "empty-text"
27
+ }, "\u6682\u65E0\u53D7\u7406\u6761\u4EF6"));
28
+ };
29
+ Accept.displayName = 'Accept';
30
+ export default Accept;
@@ -0,0 +1,18 @@
1
+ .accept-content {
2
+ .card-content {
3
+ line-height: 25px;
4
+ font-size: 14px;
5
+ color: #222222;
6
+ margin-top: 24px;
7
+ background: #f9f9f9;
8
+ padding: 20px;
9
+ border-radius: 8px;
10
+ }
11
+
12
+ .empty-text {
13
+ text-align: center;
14
+ padding: 40px;
15
+ color: #999;
16
+ font-size: 14px;
17
+ }
18
+ }
@@ -0,0 +1,50 @@
1
+ <template>
2
+ <view class="accept-content">
3
+ <guideTitle title="受理条件" />
4
+
5
+ <view class="inner-content">
6
+ <u-empty v-if="!acceptCondition" mode="data" text="暂无受理条件" />
7
+ <!-- <view v-else class="card-content">{{ acceptCondition }}</view> -->
8
+ <template v-else>
9
+ <view v-html="acceptCondition" class="card-content" />
10
+ </template>
11
+ </view>
12
+ </view>
13
+ </template>
14
+
15
+ <script>
16
+ import guideTitle from './guideTitle.vue'
17
+ export default {
18
+ components: { guideTitle },
19
+ data() {
20
+ return {
21
+ acceptCondition: '', // 受理条件
22
+ }
23
+ },
24
+ mounted() {
25
+ this.initData()
26
+ },
27
+ methods: {
28
+ // 初始化 受理条件
29
+ initData() {
30
+ const eventInfo = uni.getStorageSync('eventInfo')
31
+ this.acceptCondition = eventInfo.taskGeneralExtend.acceptCondition
32
+ },
33
+ }
34
+ }
35
+ </script>
36
+
37
+ <style lang="scss" scoped>
38
+ .accept-content{
39
+ margin-top: 24px;
40
+ .inner-content{
41
+ line-height: 25px;
42
+ font-size: 14px;
43
+ color: #222222;
44
+ margin-top: 24px;
45
+ background: #f9f9f9;
46
+ padding: 20px;
47
+ border-radius: 8px;
48
+ }
49
+ }
50
+ </style>
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import './basicInfo.scss';
3
+ export interface BasicInfoProps {
4
+ eventInfo?: any;
5
+ }
6
+ declare const BasicInfo: React.FC<BasicInfoProps>;
7
+ export default BasicInfo;
@@ -0,0 +1,89 @@
1
+ import * as React from 'react';
2
+ import GuideTitle from "./guideTitle";
3
+ import "./basicInfo.scss";
4
+ var BasicInfo = function BasicInfo(_ref) {
5
+ var eventInfoProp = _ref.eventInfo;
6
+ var _React$useState = React.useState({}),
7
+ taskGeneralBasic = _React$useState[0],
8
+ setTaskGeneralBasic = _React$useState[1];
9
+ var _React$useState2 = React.useState({}),
10
+ taskGeneralExtend = _React$useState2[0],
11
+ setTaskGeneralExtend = _React$useState2[1];
12
+ var _React$useState3 = React.useState({}),
13
+ itemBasic = _React$useState3[0],
14
+ setItemBasic = _React$useState3[1];
15
+ React.useEffect(function () {
16
+ var eventInfo = eventInfoProp;
17
+ if (!eventInfo) return;
18
+ setTaskGeneralBasic(eventInfo.taskGeneralBasic || {});
19
+ setTaskGeneralExtend(eventInfo.taskGeneralExtend || {});
20
+ setItemBasic(eventInfo.itemBasic || {});
21
+ }, [eventInfoProp]);
22
+ return /*#__PURE__*/React.createElement("div", {
23
+ className: "basicInfo-content"
24
+ }, /*#__PURE__*/React.createElement(GuideTitle, {
25
+ title: "\u57FA\u672C\u4FE1\u606F"
26
+ }), /*#__PURE__*/React.createElement("div", {
27
+ className: "inner"
28
+ }, /*#__PURE__*/React.createElement("table", {
29
+ className: "info-table"
30
+ }, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
31
+ className: "label"
32
+ }, "\u4E8B\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
33
+ className: "value"
34
+ }, taskGeneralBasic.leadingCatalogCode || '-'), /*#__PURE__*/React.createElement("td", {
35
+ className: "label"
36
+ }, "\u5B9E\u65BD\u7F16\u7801/\u4E1A\u52A1\u529E\u7406\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
37
+ className: "value"
38
+ }, itemBasic.taskHandleItem || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
39
+ className: "label"
40
+ }, "\u662F\u5426\u627F\u8BFA"), /*#__PURE__*/React.createElement("td", {
41
+ className: "value"
42
+ }, taskGeneralBasic.projectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
43
+ className: "label"
44
+ }, "\u662F\u5426\u6536\u8D39"), /*#__PURE__*/React.createElement("td", {
45
+ className: "value"
46
+ }, taskGeneralExtend.isFeeText ? taskGeneralExtend.isFeeText === '是' ? '收费' : '不收费' : '不收费')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
47
+ className: "label"
48
+ }, "\u627F\u8BFA\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
49
+ className: "value"
50
+ }, taskGeneralExtend.promiseDay || '-', "\u5DE5\u4F5C\u65E5"), /*#__PURE__*/React.createElement("td", {
51
+ className: "label"
52
+ }, "\u6CD5\u5B9A\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
53
+ className: "value"
54
+ }, taskGeneralExtend.anticipateDay || '-', "\u5DE5\u4F5C\u65E5")), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
55
+ className: "label"
56
+ }, "\u5230\u73B0\u573A\u6B21\u6570"), /*#__PURE__*/React.createElement("td", {
57
+ className: "value"
58
+ }, taskGeneralExtend.workSceneNumber || '-', "\u6B21"), /*#__PURE__*/React.createElement("td", {
59
+ className: "label"
60
+ }, "\u5B9E\u65BD\u4E3B\u4F53"), /*#__PURE__*/React.createElement("td", {
61
+ className: "value"
62
+ }, itemBasic.deptName || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
63
+ className: "label"
64
+ }, "\u670D\u52A1\u5BF9\u8C61"), /*#__PURE__*/React.createElement("td", {
65
+ className: "value"
66
+ }, taskGeneralExtend.serviceObjectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
67
+ className: "label"
68
+ }, "\u529E\u4E8B\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
69
+ className: "value"
70
+ }, taskGeneralExtend.transactAddr || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
71
+ className: "label"
72
+ }, "\u529E\u7406\u65F6\u95F4"), /*#__PURE__*/React.createElement("td", {
73
+ className: "value"
74
+ }, taskGeneralExtend.transactTime || '-'), /*#__PURE__*/React.createElement("td", {
75
+ className: "label"
76
+ }, "\u54A8\u8BE2\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
77
+ className: "value"
78
+ }, taskGeneralExtend.seekWebsite || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
79
+ className: "label"
80
+ }, "\u54A8\u8BE2\u7535\u8BDD"), /*#__PURE__*/React.createElement("td", {
81
+ className: "value"
82
+ }, taskGeneralExtend.seekPhone || '-'), /*#__PURE__*/React.createElement("td", {
83
+ className: "label"
84
+ }), /*#__PURE__*/React.createElement("td", {
85
+ className: "value"
86
+ }))))));
87
+ };
88
+ BasicInfo.displayName = 'BasicInfo';
89
+ export default BasicInfo;
@@ -0,0 +1,30 @@
1
+ .basicInfo-content {
2
+ .inner {
3
+ margin-top: 20px;
4
+ }
5
+
6
+ .info-table {
7
+ width: 100%;
8
+ border-collapse: collapse;
9
+ border: 1px solid #e8e8e8;
10
+ font-size: 14px;
11
+ color: #222222;
12
+
13
+ td {
14
+ padding: 12px 16px;
15
+ border: 1px solid #e8e8e8;
16
+ }
17
+
18
+ .label {
19
+ background: #f7f8fa;
20
+ font-weight: 500;
21
+ color: #666666;
22
+ width: 180px;
23
+ white-space: nowrap;
24
+ }
25
+
26
+ .value {
27
+ color: #222222;
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,81 @@
1
+ <template>
2
+ <view class="basicInfo-content">
3
+ <guideTitle title="基本信息" />
4
+
5
+ <el-descriptions class="inner" :column="2" border>
6
+ <el-descriptions-item label="事项编码">
7
+ {{ taskGeneralBasic.leadingCatalogCode || '-' }}
8
+ </el-descriptions-item>
9
+ <el-descriptions-item label="实施编码/业务办理项编码">
10
+ {{ itemBasic.taskHandleItem || '-' }}
11
+ </el-descriptions-item>
12
+
13
+ <el-descriptions-item label="是否承诺">
14
+ {{ taskGeneralBasic.projectTypeText || '-' }}
15
+ </el-descriptions-item>
16
+ <el-descriptions-item label="是否收费">
17
+ {{ taskGeneralExtend.isFeeText ? taskGeneralExtend.isFeeText == '是' ? '收费' : '不收费' : '不收费' }}
18
+ </el-descriptions-item>
19
+
20
+ <el-descriptions-item label="承诺办结时限">{{ taskGeneralExtend.promiseDay || '-' }}工作日</el-descriptions-item>
21
+ <el-descriptions-item label="法定办结时限">{{ taskGeneralExtend.anticipateDay || '-' }}工作日</el-descriptions-item>
22
+ <el-descriptions-item label="到现场次数">{{ taskGeneralExtend.workSceneNumber || '-' }}次</el-descriptions-item>
23
+
24
+
25
+ <el-descriptions-item label="实施主体">
26
+ {{ itemBasic.deptName || '-' }}
27
+ </el-descriptions-item>
28
+
29
+ <el-descriptions-item label="服务对象">
30
+ {{ taskGeneralExtend.serviceObjectTypeText || '-' }}
31
+ </el-descriptions-item>
32
+ <el-descriptions-item label="办事地址">
33
+ {{ taskGeneralExtend.transactAddr || '-' }}
34
+ </el-descriptions-item>
35
+ <el-descriptions-item label="办理时间">
36
+ {{ taskGeneralExtend.transactTime || '-' }}
37
+ </el-descriptions-item>
38
+
39
+ <el-descriptions-item label="咨询地址">
40
+ {{ taskGeneralExtend.seekWebsite || '-' }}
41
+ </el-descriptions-item>
42
+ <el-descriptions-item label="咨询电话">
43
+ {{ taskGeneralExtend.seekPhone || '-' }}
44
+ </el-descriptions-item>
45
+ </el-descriptions>
46
+ </view>
47
+ </template>
48
+
49
+ <script>
50
+ import guideTitle from './guideTitle.vue'
51
+ export default {
52
+ components: { guideTitle },
53
+ data() {
54
+ return {
55
+ taskGeneralBasic: {},
56
+ taskGeneralExtend: {},
57
+ itemBasic: {}
58
+ }
59
+ },
60
+ mounted() {
61
+ this.initData()
62
+ },
63
+ methods: {
64
+ initData() {
65
+ const eventInfo = uni.getStorageSync('eventInfo')
66
+ this.taskGeneralBasic = eventInfo.taskGeneralBasic
67
+ this.taskGeneralExtend = eventInfo.taskGeneralExtend
68
+ this.itemBasic = eventInfo.itemBasic
69
+ },
70
+ }
71
+ }
72
+ </script>
73
+
74
+ <style lang="scss" scoped>
75
+ .basicInfo-content{
76
+ margin-top: 20px;
77
+ .inner{
78
+ margin-top: 20px;
79
+ }
80
+ }
81
+ </style>
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import './guideTabs.scss';
3
+ export interface GuideTabsProps {
4
+ curTab: number;
5
+ onTabsChange: (index: number) => void;
6
+ }
7
+ declare const GuideTabs: React.FC<GuideTabsProps>;
8
+ export default GuideTabs;
@@ -0,0 +1,32 @@
1
+ import * as React from 'react';
2
+ import "./guideTabs.scss";
3
+ var tabList = [{
4
+ name: '材料清单'
5
+ }, {
6
+ name: '事项信息'
7
+ }, {
8
+ name: '办事流程'
9
+ }, {
10
+ name: '受理条件'
11
+ }, {
12
+ name: '办事大厅'
13
+ }, {
14
+ name: '成效分析'
15
+ }];
16
+ var GuideTabs = function GuideTabs(_ref) {
17
+ var curTab = _ref.curTab,
18
+ onTabsChange = _ref.onTabsChange;
19
+ return /*#__PURE__*/React.createElement("div", {
20
+ className: "guideTabs-con"
21
+ }, tabList.map(function (item, index) {
22
+ return /*#__PURE__*/React.createElement("div", {
23
+ className: "tab-item " + (curTab === index ? 'active' : ''),
24
+ key: index,
25
+ onClick: function onClick() {
26
+ return onTabsChange(index);
27
+ }
28
+ }, item.name);
29
+ }));
30
+ };
31
+ GuideTabs.displayName = 'GuideTabs';
32
+ export default GuideTabs;
@@ -0,0 +1,34 @@
1
+ .guideTabs-con {
2
+ display: flex;
3
+ border-bottom: 1px solid #e8e8e8;
4
+
5
+ .tab-item {
6
+ flex: 1;
7
+ padding: 14px 0;
8
+ text-align: center;
9
+ font-size: 15px;
10
+ color: #666666;
11
+ cursor: pointer;
12
+ position: relative;
13
+ transition: all 0.2s;
14
+
15
+ &:hover {
16
+ color: #1678FF;
17
+ }
18
+
19
+ &.active {
20
+ color: #1678FF;
21
+ font-weight: 500;
22
+
23
+ &::after {
24
+ content: '';
25
+ position: absolute;
26
+ bottom: -1px;
27
+ left: 0;
28
+ right: 0;
29
+ height: 2px;
30
+ background: #1678FF;
31
+ }
32
+ }
33
+ }
34
+ }