ydb-components-material 0.1.119 → 0.1.121
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/situation.80bdb450.png +0 -0
- package/build/docs/{umi.ffb7b81c.css → umi.35f02979.css} +1 -1
- package/build/docs/umi.8b7db9c6.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/3.js +2 -2
- package/build/lowcode/4.js +1 -1
- package/build/lowcode/5.js +1 -1
- package/build/lowcode/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/1.js +2 -2
- package/build/lowcode/render/default/2.js +1 -1
- package/build/lowcode/render/default/3.js +1 -1
- package/build/lowcode/render/default/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +26 -26
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +26 -26
- package/dist/1.js +2 -2
- package/dist/2.js +1 -1
- package/dist/3.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +19 -19
- package/dist/BizComps.js.map +1 -1
- package/dist/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/es/components/file-list/item.js +2 -2
- package/es/components/file-list/seal.js +5 -1
- package/es/components/file-list/signUtil.js +9 -1
- package/es/components/guide-pc/comment.d.ts +9 -0
- package/es/components/guide-pc/comment.js +93 -0
- package/es/components/guide-pc/comment.scss +15 -0
- package/es/components/guide-pc/comment.vue +117 -0
- package/es/components/guide-pc/components/accept.d.ts +7 -0
- package/es/components/guide-pc/components/accept.js +30 -0
- package/es/components/guide-pc/components/accept.scss +18 -0
- package/es/components/guide-pc/components/accept.vue +50 -0
- package/es/components/guide-pc/components/basicInfo.d.ts +7 -0
- package/es/components/guide-pc/components/basicInfo.js +89 -0
- package/es/components/guide-pc/components/basicInfo.scss +30 -0
- package/es/components/guide-pc/components/basicInfo.vue +81 -0
- package/es/components/guide-pc/components/guideTabs.d.ts +8 -0
- package/es/components/guide-pc/components/guideTabs.js +32 -0
- package/es/components/guide-pc/components/guideTabs.scss +34 -0
- package/es/components/guide-pc/components/guideTabs.vue +48 -0
- package/es/components/guide-pc/components/guideTitle.d.ts +7 -0
- package/es/components/guide-pc/components/guideTitle.js +22 -0
- package/es/components/guide-pc/components/guideTitle.scss +15 -0
- package/es/components/guide-pc/components/guideTitle.vue +43 -0
- package/es/components/guide-pc/components/materialsList.d.ts +11 -0
- package/es/components/guide-pc/components/materialsList.js +386 -0
- package/es/components/guide-pc/components/materialsList.scss +139 -0
- package/es/components/guide-pc/components/materialsList.vue +403 -0
- package/es/components/guide-pc/components/places.d.ts +7 -0
- package/es/components/guide-pc/components/places.js +110 -0
- package/es/components/guide-pc/components/places.scss +144 -0
- package/es/components/guide-pc/components/places.vue +198 -0
- package/es/components/guide-pc/components/processImg.d.ts +9 -0
- package/es/components/guide-pc/components/processImg.js +220 -0
- package/es/components/guide-pc/components/processImg.scss +117 -0
- package/es/components/guide-pc/components/processImg.vue +300 -0
- package/es/components/guide-pc/components/result.d.ts +7 -0
- package/es/components/guide-pc/components/result.js +130 -0
- package/es/components/guide-pc/components/result.scss +104 -0
- package/es/components/guide-pc/components/result.vue +191 -0
- package/es/components/guide-pc/components/situation.d.ts +12 -0
- package/es/components/guide-pc/components/situation.js +142 -0
- package/es/components/guide-pc/components/situation.scss +79 -0
- package/es/components/guide-pc/components/situation.vue +430 -0
- package/es/components/guide-pc/guide.vue +179 -0
- package/es/components/guide-pc/imgs/bg.png +0 -0
- package/es/components/guide-pc/imgs/cant.png +0 -0
- package/es/components/guide-pc/imgs/dept.png +0 -0
- package/es/components/guide-pc/imgs/error.png +0 -0
- package/es/components/guide-pc/imgs/judge.png +0 -0
- package/es/components/guide-pc/imgs/pass.png +0 -0
- package/es/components/guide-pc/imgs/rightArr.png +0 -0
- package/es/components/guide-pc/imgs/situation.png +0 -0
- package/es/components/guide-pc/imgs/time.png +0 -0
- package/es/components/guide-pc/imgs/titleL.png +0 -0
- package/es/components/guide-pc/imgs/titleR.png +0 -0
- package/es/components/guide-pc/index.d.ts +37 -0
- package/es/components/guide-pc/index.js +440 -0
- package/es/components/guide-pc/index.scss +185 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/lib/components/file-list/item.js +2 -2
- package/lib/components/file-list/seal.js +5 -1
- package/lib/components/file-list/signUtil.js +9 -1
- package/lib/components/guide-pc/comment.d.ts +9 -0
- package/lib/components/guide-pc/comment.js +98 -0
- package/lib/components/guide-pc/comment.scss +15 -0
- package/lib/components/guide-pc/comment.vue +117 -0
- package/lib/components/guide-pc/components/accept.d.ts +7 -0
- package/lib/components/guide-pc/components/accept.js +36 -0
- package/lib/components/guide-pc/components/accept.scss +18 -0
- package/lib/components/guide-pc/components/accept.vue +50 -0
- package/lib/components/guide-pc/components/basicInfo.d.ts +7 -0
- package/lib/components/guide-pc/components/basicInfo.js +95 -0
- package/lib/components/guide-pc/components/basicInfo.scss +30 -0
- package/lib/components/guide-pc/components/basicInfo.vue +81 -0
- package/lib/components/guide-pc/components/guideTabs.d.ts +8 -0
- package/lib/components/guide-pc/components/guideTabs.js +37 -0
- package/lib/components/guide-pc/components/guideTabs.scss +34 -0
- package/lib/components/guide-pc/components/guideTabs.vue +48 -0
- package/lib/components/guide-pc/components/guideTitle.d.ts +7 -0
- package/lib/components/guide-pc/components/guideTitle.js +28 -0
- package/lib/components/guide-pc/components/guideTitle.scss +15 -0
- package/lib/components/guide-pc/components/guideTitle.vue +43 -0
- package/lib/components/guide-pc/components/materialsList.d.ts +11 -0
- package/lib/components/guide-pc/components/materialsList.js +392 -0
- package/lib/components/guide-pc/components/materialsList.scss +139 -0
- package/lib/components/guide-pc/components/materialsList.vue +403 -0
- package/lib/components/guide-pc/components/places.d.ts +7 -0
- package/lib/components/guide-pc/components/places.js +116 -0
- package/lib/components/guide-pc/components/places.scss +144 -0
- package/lib/components/guide-pc/components/places.vue +198 -0
- package/lib/components/guide-pc/components/processImg.d.ts +9 -0
- package/lib/components/guide-pc/components/processImg.js +226 -0
- package/lib/components/guide-pc/components/processImg.scss +117 -0
- package/lib/components/guide-pc/components/processImg.vue +300 -0
- package/lib/components/guide-pc/components/result.d.ts +7 -0
- package/lib/components/guide-pc/components/result.js +136 -0
- package/lib/components/guide-pc/components/result.scss +104 -0
- package/lib/components/guide-pc/components/result.vue +191 -0
- package/lib/components/guide-pc/components/situation.d.ts +12 -0
- package/lib/components/guide-pc/components/situation.js +147 -0
- package/lib/components/guide-pc/components/situation.scss +79 -0
- package/lib/components/guide-pc/components/situation.vue +430 -0
- package/lib/components/guide-pc/guide.vue +179 -0
- package/lib/components/guide-pc/imgs/bg.png +0 -0
- package/lib/components/guide-pc/imgs/cant.png +0 -0
- package/lib/components/guide-pc/imgs/dept.png +0 -0
- package/lib/components/guide-pc/imgs/error.png +0 -0
- package/lib/components/guide-pc/imgs/judge.png +0 -0
- package/lib/components/guide-pc/imgs/pass.png +0 -0
- package/lib/components/guide-pc/imgs/rightArr.png +0 -0
- package/lib/components/guide-pc/imgs/situation.png +0 -0
- package/lib/components/guide-pc/imgs/time.png +0 -0
- package/lib/components/guide-pc/imgs/titleL.png +0 -0
- package/lib/components/guide-pc/imgs/titleR.png +0 -0
- package/lib/components/guide-pc/index.d.ts +37 -0
- package/lib/components/guide-pc/index.js +445 -0
- package/lib/components/guide-pc/index.scss +185 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lowcode/guide-pc/meta.ts +338 -0
- package/lowcode_es/guide-pc/meta.d.ts +22 -0
- package/lowcode_es/guide-pc/meta.js +315 -0
- package/lowcode_es/meta.js +3 -2
- package/lowcode_lib/guide-pc/meta.d.ts +22 -0
- package/lowcode_lib/guide-pc/meta.js +320 -0
- package/lowcode_lib/meta.js +17 -16
- package/package.json +3 -3
- package/build/docs/umi.55472eae.js +0 -1
|
@@ -11,6 +11,8 @@ var _api = require("../../api");
|
|
|
11
11
|
var categoryId = '3354397552669692408';
|
|
12
12
|
// 预发
|
|
13
13
|
var categoryIdRelease = '3291682531601133765'; // 手写签批id
|
|
14
|
+
|
|
15
|
+
var categoryIdProduct = '3431831847619146181';
|
|
14
16
|
var documentId = ''; // 手写签批生成的文件id
|
|
15
17
|
var contractId = ''; // 合同id
|
|
16
18
|
|
|
@@ -148,10 +150,16 @@ function _uploadSignFile() {
|
|
|
148
150
|
function createbycategoryFun(fileName, documentIdVal, config) {
|
|
149
151
|
// uni.showLoading({ title: '加载中' })
|
|
150
152
|
console.log('env---', config.env);
|
|
153
|
+
var categoryIdVal;
|
|
154
|
+
if (config.env === 'releaseHLW') {
|
|
155
|
+
categoryIdVal = categoryIdRelease;
|
|
156
|
+
} else {
|
|
157
|
+
categoryIdVal = categoryIdProduct;
|
|
158
|
+
}
|
|
151
159
|
var params = {
|
|
152
160
|
subject: fileName,
|
|
153
161
|
documents: [documentIdVal],
|
|
154
|
-
categoryId:
|
|
162
|
+
categoryId: categoryIdVal,
|
|
155
163
|
send: true,
|
|
156
164
|
tenantName: '山西省行政审批服务管理局'
|
|
157
165
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _button = _interopRequireDefault(require("@alifd/next/lib/button"));
|
|
7
|
+
var _loading = _interopRequireDefault(require("@alifd/next/lib/loading"));
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
require("./comment.scss");
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
11
|
+
// TODO: API imports not available
|
|
12
|
+
// import { getGuideCommentUrlApi } from '@/api/business.js'
|
|
13
|
+
// import apiConfig from '@/config/api.cofig'
|
|
14
|
+
|
|
15
|
+
var Comment = function Comment(_ref) {
|
|
16
|
+
var eventInfoProp = _ref.eventInfo,
|
|
17
|
+
accessTokenProp = _ref.accessToken,
|
|
18
|
+
userInfoProp = _ref.userInfo;
|
|
19
|
+
var _React$useState = React.useState(false),
|
|
20
|
+
pageLoading = _React$useState[0],
|
|
21
|
+
setPageLoading = _React$useState[1];
|
|
22
|
+
var _React$useState2 = React.useState(false),
|
|
23
|
+
webViewShow = _React$useState2[0],
|
|
24
|
+
setWebViewShow = _React$useState2[1];
|
|
25
|
+
var _React$useState3 = React.useState(''),
|
|
26
|
+
commentSrc = _React$useState3[0],
|
|
27
|
+
setCommentSrc = _React$useState3[1];
|
|
28
|
+
React.useEffect(function () {
|
|
29
|
+
getGuideCommentUrl();
|
|
30
|
+
}, []);
|
|
31
|
+
var getGuideCommentUrl = function getGuideCommentUrl() {
|
|
32
|
+
var _eventInfo$taskGenera, _eventInfo$taskGenera2;
|
|
33
|
+
setPageLoading(true);
|
|
34
|
+
var eventInfo = eventInfoProp;
|
|
35
|
+
var userInfo = userInfoProp;
|
|
36
|
+
if (!eventInfo || !userInfo) {
|
|
37
|
+
setPageLoading(false);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
var params = {
|
|
41
|
+
channel: '1',
|
|
42
|
+
itemCode: ((_eventInfo$taskGenera = eventInfo.taskGeneralBasic) === null || _eventInfo$taskGenera === void 0 ? void 0 : _eventInfo$taskGenera.rowGuid) || '',
|
|
43
|
+
itemName: ((_eventInfo$taskGenera2 = eventInfo.taskGeneralBasic) === null || _eventInfo$taskGenera2 === void 0 ? void 0 : _eventInfo$taskGenera2.taskHandleItemName) || '',
|
|
44
|
+
userId: userInfo.loginAccountId || '',
|
|
45
|
+
userName: userInfo.userName || userInfo.legalName || '',
|
|
46
|
+
token: accessTokenProp || '',
|
|
47
|
+
acctType: userInfo.acctType || ''
|
|
48
|
+
};
|
|
49
|
+
console.log('Comment params', params);
|
|
50
|
+
|
|
51
|
+
// TODO: getGuideCommentUrlApi call
|
|
52
|
+
// setPageLoading(false);
|
|
53
|
+
// const url = res.url;
|
|
54
|
+
// const { commentDomain } = apiConfig.domain;
|
|
55
|
+
// const { isProduct } = apiConfig;
|
|
56
|
+
// setCommentSrc(isProduct ? url : commentDomain + url.split('11013')[1]);
|
|
57
|
+
// setWebViewShow(true);
|
|
58
|
+
// setTimeout(() => {
|
|
59
|
+
// const iframe = document.getElementById('commentIframe') as HTMLIFrameElement;
|
|
60
|
+
// if (iframe) iframe.src = commentSrc;
|
|
61
|
+
// }, 500);
|
|
62
|
+
|
|
63
|
+
setPageLoading(false);
|
|
64
|
+
};
|
|
65
|
+
var closeComment = function closeComment() {
|
|
66
|
+
window.history.back();
|
|
67
|
+
};
|
|
68
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
69
|
+
className: "comment-content"
|
|
70
|
+
}, pageLoading && /*#__PURE__*/React.createElement(_loading["default"], {
|
|
71
|
+
visible: pageLoading,
|
|
72
|
+
tip: "\u52A0\u8F7D\u4E2D..."
|
|
73
|
+
}), webViewShow && /*#__PURE__*/React.createElement("div", {
|
|
74
|
+
className: "webView-content"
|
|
75
|
+
}, /*#__PURE__*/React.createElement("iframe", {
|
|
76
|
+
id: "commentIframe",
|
|
77
|
+
src: commentSrc,
|
|
78
|
+
frameBorder: "0",
|
|
79
|
+
height: "100%",
|
|
80
|
+
width: "100%",
|
|
81
|
+
title: "\u8BC4\u4EF7"
|
|
82
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
83
|
+
className: "btn-con"
|
|
84
|
+
}, /*#__PURE__*/React.createElement(_button["default"], {
|
|
85
|
+
onClick: closeComment
|
|
86
|
+
}, "\u5173\u95ED\u8BC4\u4EF7"))), !pageLoading && !webViewShow && /*#__PURE__*/React.createElement("div", {
|
|
87
|
+
className: "webView-content",
|
|
88
|
+
style: {
|
|
89
|
+
display: 'flex',
|
|
90
|
+
justifyContent: 'center',
|
|
91
|
+
alignItems: 'center'
|
|
92
|
+
}
|
|
93
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", null, "\u8BC4\u4EF7\u9875\u9762\u52A0\u8F7D\u4E2D..."), /*#__PURE__*/React.createElement(_button["default"], {
|
|
94
|
+
onClick: closeComment
|
|
95
|
+
}, "\u8FD4\u56DE"))));
|
|
96
|
+
};
|
|
97
|
+
Comment.displayName = 'Comment';
|
|
98
|
+
var _default = exports["default"] = Comment;
|
|
@@ -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,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var React = _interopRequireWildcard(require("react"));
|
|
7
|
+
var _guideTitle = _interopRequireDefault(require("./guideTitle"));
|
|
8
|
+
require("./accept.scss");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
10
|
+
var Accept = function Accept(_ref) {
|
|
11
|
+
var eventInfoProp = _ref.eventInfo;
|
|
12
|
+
var _React$useState = React.useState(''),
|
|
13
|
+
acceptCondition = _React$useState[0],
|
|
14
|
+
setAcceptCondition = _React$useState[1];
|
|
15
|
+
React.useEffect(function () {
|
|
16
|
+
var _eventInfo$taskGenera;
|
|
17
|
+
var eventInfo = eventInfoProp;
|
|
18
|
+
if (eventInfo !== null && eventInfo !== void 0 && (_eventInfo$taskGenera = eventInfo.taskGeneralExtend) !== null && _eventInfo$taskGenera !== void 0 && _eventInfo$taskGenera.acceptCondition) {
|
|
19
|
+
setAcceptCondition(eventInfo.taskGeneralExtend.acceptCondition);
|
|
20
|
+
}
|
|
21
|
+
}, [eventInfoProp]);
|
|
22
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
23
|
+
className: "accept-content"
|
|
24
|
+
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
25
|
+
title: "\u53D7\u7406\u6761\u4EF6"
|
|
26
|
+
}), acceptCondition ? /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
className: "card-content",
|
|
28
|
+
dangerouslySetInnerHTML: {
|
|
29
|
+
__html: acceptCondition
|
|
30
|
+
}
|
|
31
|
+
}) : /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: "empty-text"
|
|
33
|
+
}, "\u6682\u65E0\u53D7\u7406\u6761\u4EF6"));
|
|
34
|
+
};
|
|
35
|
+
Accept.displayName = 'Accept';
|
|
36
|
+
var _default = exports["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,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var React = _interopRequireWildcard(require("react"));
|
|
7
|
+
var _guideTitle = _interopRequireDefault(require("./guideTitle"));
|
|
8
|
+
require("./basicInfo.scss");
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
10
|
+
var BasicInfo = function BasicInfo(_ref) {
|
|
11
|
+
var eventInfoProp = _ref.eventInfo;
|
|
12
|
+
var _React$useState = React.useState({}),
|
|
13
|
+
taskGeneralBasic = _React$useState[0],
|
|
14
|
+
setTaskGeneralBasic = _React$useState[1];
|
|
15
|
+
var _React$useState2 = React.useState({}),
|
|
16
|
+
taskGeneralExtend = _React$useState2[0],
|
|
17
|
+
setTaskGeneralExtend = _React$useState2[1];
|
|
18
|
+
var _React$useState3 = React.useState({}),
|
|
19
|
+
itemBasic = _React$useState3[0],
|
|
20
|
+
setItemBasic = _React$useState3[1];
|
|
21
|
+
React.useEffect(function () {
|
|
22
|
+
var eventInfo = eventInfoProp;
|
|
23
|
+
if (!eventInfo) return;
|
|
24
|
+
setTaskGeneralBasic(eventInfo.taskGeneralBasic || {});
|
|
25
|
+
setTaskGeneralExtend(eventInfo.taskGeneralExtend || {});
|
|
26
|
+
setItemBasic(eventInfo.itemBasic || {});
|
|
27
|
+
}, [eventInfoProp]);
|
|
28
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
className: "basicInfo-content"
|
|
30
|
+
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
31
|
+
title: "\u57FA\u672C\u4FE1\u606F"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
33
|
+
className: "inner"
|
|
34
|
+
}, /*#__PURE__*/React.createElement("table", {
|
|
35
|
+
className: "info-table"
|
|
36
|
+
}, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
37
|
+
className: "label"
|
|
38
|
+
}, "\u4E8B\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
|
|
39
|
+
className: "value"
|
|
40
|
+
}, taskGeneralBasic.leadingCatalogCode || '-'), /*#__PURE__*/React.createElement("td", {
|
|
41
|
+
className: "label"
|
|
42
|
+
}, "\u5B9E\u65BD\u7F16\u7801/\u4E1A\u52A1\u529E\u7406\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
|
|
43
|
+
className: "value"
|
|
44
|
+
}, itemBasic.taskHandleItem || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
45
|
+
className: "label"
|
|
46
|
+
}, "\u662F\u5426\u627F\u8BFA"), /*#__PURE__*/React.createElement("td", {
|
|
47
|
+
className: "value"
|
|
48
|
+
}, taskGeneralBasic.projectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
|
|
49
|
+
className: "label"
|
|
50
|
+
}, "\u662F\u5426\u6536\u8D39"), /*#__PURE__*/React.createElement("td", {
|
|
51
|
+
className: "value"
|
|
52
|
+
}, taskGeneralExtend.isFeeText ? taskGeneralExtend.isFeeText === '是' ? '收费' : '不收费' : '不收费')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
53
|
+
className: "label"
|
|
54
|
+
}, "\u627F\u8BFA\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
|
|
55
|
+
className: "value"
|
|
56
|
+
}, taskGeneralExtend.promiseDay || '-', "\u5DE5\u4F5C\u65E5"), /*#__PURE__*/React.createElement("td", {
|
|
57
|
+
className: "label"
|
|
58
|
+
}, "\u6CD5\u5B9A\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
|
|
59
|
+
className: "value"
|
|
60
|
+
}, taskGeneralExtend.anticipateDay || '-', "\u5DE5\u4F5C\u65E5")), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
61
|
+
className: "label"
|
|
62
|
+
}, "\u5230\u73B0\u573A\u6B21\u6570"), /*#__PURE__*/React.createElement("td", {
|
|
63
|
+
className: "value"
|
|
64
|
+
}, taskGeneralExtend.workSceneNumber || '-', "\u6B21"), /*#__PURE__*/React.createElement("td", {
|
|
65
|
+
className: "label"
|
|
66
|
+
}, "\u5B9E\u65BD\u4E3B\u4F53"), /*#__PURE__*/React.createElement("td", {
|
|
67
|
+
className: "value"
|
|
68
|
+
}, itemBasic.deptName || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
69
|
+
className: "label"
|
|
70
|
+
}, "\u670D\u52A1\u5BF9\u8C61"), /*#__PURE__*/React.createElement("td", {
|
|
71
|
+
className: "value"
|
|
72
|
+
}, taskGeneralExtend.serviceObjectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
|
|
73
|
+
className: "label"
|
|
74
|
+
}, "\u529E\u4E8B\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
|
|
75
|
+
className: "value"
|
|
76
|
+
}, taskGeneralExtend.transactAddr || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
77
|
+
className: "label"
|
|
78
|
+
}, "\u529E\u7406\u65F6\u95F4"), /*#__PURE__*/React.createElement("td", {
|
|
79
|
+
className: "value"
|
|
80
|
+
}, taskGeneralExtend.transactTime || '-'), /*#__PURE__*/React.createElement("td", {
|
|
81
|
+
className: "label"
|
|
82
|
+
}, "\u54A8\u8BE2\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
|
|
83
|
+
className: "value"
|
|
84
|
+
}, taskGeneralExtend.seekWebsite || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
85
|
+
className: "label"
|
|
86
|
+
}, "\u54A8\u8BE2\u7535\u8BDD"), /*#__PURE__*/React.createElement("td", {
|
|
87
|
+
className: "value"
|
|
88
|
+
}, taskGeneralExtend.seekPhone || '-'), /*#__PURE__*/React.createElement("td", {
|
|
89
|
+
className: "label"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("td", {
|
|
91
|
+
className: "value"
|
|
92
|
+
}))))));
|
|
93
|
+
};
|
|
94
|
+
BasicInfo.displayName = 'BasicInfo';
|
|
95
|
+
var _default = exports["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,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
var React = _interopRequireWildcard(require("react"));
|
|
6
|
+
require("./guideTabs.scss");
|
|
7
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
8
|
+
var tabList = [{
|
|
9
|
+
name: '材料清单'
|
|
10
|
+
}, {
|
|
11
|
+
name: '事项信息'
|
|
12
|
+
}, {
|
|
13
|
+
name: '办事流程'
|
|
14
|
+
}, {
|
|
15
|
+
name: '受理条件'
|
|
16
|
+
}, {
|
|
17
|
+
name: '办事大厅'
|
|
18
|
+
}, {
|
|
19
|
+
name: '成效分析'
|
|
20
|
+
}];
|
|
21
|
+
var GuideTabs = function GuideTabs(_ref) {
|
|
22
|
+
var curTab = _ref.curTab,
|
|
23
|
+
onTabsChange = _ref.onTabsChange;
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: "guideTabs-con"
|
|
26
|
+
}, tabList.map(function (item, index) {
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: "tab-item " + (curTab === index ? 'active' : ''),
|
|
29
|
+
key: index,
|
|
30
|
+
onClick: function onClick() {
|
|
31
|
+
return onTabsChange(index);
|
|
32
|
+
}
|
|
33
|
+
}, item.name);
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
GuideTabs.displayName = 'GuideTabs';
|
|
37
|
+
var _default = exports["default"] = GuideTabs;
|