eoss-ui 0.6.67 → 0.6.69
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/lib/button-group.js +3 -2
- package/lib/button.js +3 -2
- package/lib/calogin.js +700 -256
- package/lib/checkbox-group.js +3 -2
- package/lib/data-table-form.js +3 -2
- package/lib/data-table.js +3 -2
- package/lib/date-picker.js +3 -2
- package/lib/dialog.js +3 -2
- package/lib/eoss-ui.common.js +1386 -920
- package/lib/flow-group.js +3 -2
- package/lib/flow-list.js +161 -177
- package/lib/flow.js +301 -291
- package/lib/form.js +3 -2
- package/lib/handle-user.js +3 -2
- package/lib/handler.js +3 -2
- package/lib/icon.js +3 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +3 -2
- package/lib/input.js +3 -2
- package/lib/login.js +70 -39
- package/lib/main.js +135 -134
- package/lib/nav.js +3 -2
- package/lib/page.js +3 -2
- package/lib/pagination.js +3 -2
- package/lib/player.js +3 -2
- package/lib/qr-code.js +16 -15
- package/lib/radio-group.js +3 -2
- package/lib/retrial-auth.js +3 -2
- package/lib/select-ganged.js +3 -2
- package/lib/select.js +3 -2
- package/lib/selector-panel.js +3 -2
- package/lib/selector.js +3 -2
- package/lib/sizer.js +3 -2
- package/lib/steps.js +3 -2
- package/lib/switch.js +3 -2
- package/lib/table-form.js +3 -2
- package/lib/tabs.js +3 -2
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +3 -2
- package/lib/tree-group.js +3 -2
- package/lib/tree.js +3 -2
- package/lib/upload.js +3 -2
- package/lib/utils/util.js +3 -2
- package/lib/wujie.js +3 -2
- package/lib/wxlogin.js +3 -2
- package/package.json +160 -160
- package/packages/.DS_Store +0 -0
- package/packages/autocomplete/.DS_Store +0 -0
- package/packages/button/index.js +5 -5
- package/packages/button/src/main.vue +418 -418
- package/packages/button-group/index.js +5 -5
- package/packages/button-group/src/main.vue +298 -298
- package/packages/calendar/index.js +5 -5
- package/packages/calogin/.DS_Store +0 -0
- package/packages/calogin/index.js +5 -5
- package/packages/calogin/src/main.vue +410 -131
- package/packages/calogin/src/plugin.js +915 -748
- package/packages/card/index.js +5 -5
- package/packages/card/src/main.vue +156 -156
- package/packages/cascader/index.js +5 -5
- package/packages/cascader/src/main.vue +168 -168
- package/packages/checkbox-group/index.js +5 -5
- package/packages/checkbox-group/src/main.vue +333 -333
- package/packages/clients/index.js +5 -5
- package/packages/clients/src/main.vue +151 -151
- package/packages/data-table/index.js +5 -5
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +989 -989
- package/packages/data-table/src/main.vue +1822 -1822
- package/packages/data-table/src/sizer.vue +195 -195
- package/packages/data-table-form/index.js +5 -5
- package/packages/data-table-form/src/checkbox.vue +101 -101
- package/packages/data-table-form/src/colgroup.vue +17 -17
- package/packages/data-table-form/src/main.vue +181 -181
- package/packages/data-table-form/src/radio.vue +65 -65
- package/packages/data-table-form/src/table.vue +233 -233
- package/packages/data-table-form/src/tbody.vue +336 -336
- package/packages/data-table-form/src/thead.vue +68 -68
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/index.js +5 -5
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/date-picker/src/main.vue +236 -236
- package/packages/dialog/index.js +5 -5
- package/packages/enable-drag/index.js +5 -5
- package/packages/enterprise/index.js +5 -5
- package/packages/enterprise/src/main.vue +66 -66
- package/packages/error-page/index.js +5 -5
- package/packages/error-page/src/main.vue +44 -44
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/index.js +5 -5
- package/packages/flow/src/component/Circulate.vue +351 -351
- package/packages/flow/src/component/CommonOpinions.vue +346 -346
- package/packages/flow/src/component/CustomPreset.vue +322 -322
- package/packages/flow/src/component/FileList.vue +99 -99
- package/packages/flow/src/component/Preset.vue +255 -255
- package/packages/flow/src/component/SendMsg.vue +241 -241
- package/packages/flow/src/component/TimeLimit.vue +190 -190
- package/packages/flow/src/component/taskUnionExamine.vue +619 -619
- package/packages/flow/src/form.vue +121 -121
- package/packages/flow/src/freeStartFlow.vue +2843 -2843
- package/packages/flow/src/main.vue +3369 -3367
- package/packages/flow/src/processForm.vue +1091 -1091
- package/packages/flow/src/processReject.vue +294 -294
- package/packages/flow/src/reset.vue +905 -905
- package/packages/flow/src/selectUser.vue +6 -0
- package/packages/flow/src/startTaskRead.vue +659 -659
- package/packages/flow/src/supervise.vue +149 -149
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-group/index.js +5 -5
- package/packages/flow-group/src/main.vue +688 -688
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +1738 -1757
- package/packages/form/index.js +5 -5
- package/packages/form/src/main.vue +3581 -3581
- package/packages/form/src/table.vue +1426 -1426
- package/packages/handle-user/index.js +5 -5
- package/packages/handle-user/src/main.vue +138 -138
- package/packages/handler/index.js +5 -5
- package/packages/handler/src/main.vue +493 -493
- package/packages/icon/index.js +5 -5
- package/packages/icon/src/main.vue +101 -101
- package/packages/icons/index.js +5 -5
- package/packages/icons/src/main.vue +81 -81
- package/packages/input/index.js +5 -5
- package/packages/input/src/main.vue +356 -356
- package/packages/input-number/index.js +5 -5
- package/packages/input-number/src/main.vue +106 -106
- package/packages/label/index.js +5 -5
- package/packages/label/src/main.vue +457 -457
- package/packages/layout/index.js +5 -5
- package/packages/layout/src/item.vue +152 -152
- package/packages/layout/src/main.vue +31 -31
- package/packages/login/.DS_Store +0 -0
- package/packages/login/index.js +5 -5
- package/packages/login/src/main.vue +2015 -1988
- package/packages/login/src/resetPassword.vue +562 -562
- package/packages/main/.DS_Store +0 -0
- package/packages/main/index.js +5 -5
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/message.vue +249 -249
- package/packages/main/src/default/notice.vue +157 -157
- package/packages/main/src/default/userinfo.vue +503 -503
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +462 -462
- package/packages/main/src/public/settings.vue +221 -221
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +83 -83
- package/packages/main/src/simplicity/handler.vue +259 -259
- package/packages/main/src/simplicity/index.vue +2089 -2089
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +135 -135
- package/packages/main/src/simplicity/message.vue +259 -259
- package/packages/main/src/simplicity/notice.vue +190 -190
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +264 -264
- package/packages/main/src/simplicity/user.vue +257 -257
- package/packages/main/src/simplicity/userinfo.vue +312 -312
- package/packages/menu/.DS_Store +0 -0
- package/packages/menu/index.js +5 -5
- package/packages/menu/src/main.vue +584 -584
- package/packages/nav/index.js +5 -5
- package/packages/nav/src/main.vue +351 -351
- package/packages/notify/index.js +5 -5
- package/packages/notify/src/main.vue +538 -538
- package/packages/page/index.js +5 -5
- package/packages/page/src/main.vue +167 -167
- package/packages/pagination/index.js +5 -5
- package/packages/pagination/src/main.vue +96 -96
- package/packages/player/index.js +5 -5
- package/packages/player/src/main.vue +194 -194
- package/packages/qr-code/index.js +5 -5
- package/packages/qr-code/src/main.vue +170 -170
- package/packages/radio-group/index.js +6 -6
- package/packages/radio-group/src/main.vue +319 -319
- package/packages/retrial-auth/index.js +5 -5
- package/packages/retrial-auth/src/main.vue +280 -280
- package/packages/scrollbar/.DS_Store +0 -0
- package/packages/select/.DS_Store +0 -0
- package/packages/select/index.js +5 -5
- package/packages/select/src/main.vue +778 -778
- package/packages/select-ganged/index.js +5 -5
- package/packages/select-ganged/src/main.vue +724 -724
- package/packages/selector/index.js +5 -5
- package/packages/selector/src/main.vue +687 -687
- package/packages/selector-panel/index.js +5 -5
- package/packages/selector-panel/src/main.vue +1027 -1027
- package/packages/selector-panel/src/selection.vue +177 -177
- package/packages/selector-panel/src/tree.vue +129 -129
- package/packages/sizer/index.js +5 -5
- package/packages/sizer/src/main.vue +254 -254
- package/packages/steps/index.js +5 -5
- package/packages/steps/src/main.vue +181 -181
- package/packages/switch/index.js +5 -5
- package/packages/switch/src/main.vue +154 -154
- package/packages/table-form/index.js +5 -5
- package/packages/tabs/index.js +5 -5
- package/packages/tabs/src/main.vue +788 -788
- package/packages/tabs-panel/index.js +5 -5
- package/packages/tabs-panel/src/main.vue +29 -29
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/base.scss +261 -261
- package/packages/theme-chalk/src/button-group.scss +176 -176
- package/packages/theme-chalk/src/button.scss +24 -24
- package/packages/theme-chalk/src/calendar.scss +113 -113
- package/packages/theme-chalk/src/card.scss +99 -99
- package/packages/theme-chalk/src/checkbox-group.scss +8 -8
- package/packages/theme-chalk/src/clients.scss +87 -87
- package/packages/theme-chalk/src/data-table-form.scss +67 -67
- package/packages/theme-chalk/src/data-table.scss +293 -293
- package/packages/theme-chalk/src/date-picker.scss +7 -7
- package/packages/theme-chalk/src/dialog.scss +77 -77
- package/packages/theme-chalk/src/enable-drag.scss +181 -181
- package/packages/theme-chalk/src/enterprise.scss +5 -5
- package/packages/theme-chalk/src/error-page.scss +18 -18
- package/packages/theme-chalk/src/flow-group.scss +110 -110
- package/packages/theme-chalk/src/flow-list.scss +39 -39
- package/packages/theme-chalk/src/flow.scss +343 -343
- package/packages/theme-chalk/src/form.scss +496 -496
- package/packages/theme-chalk/src/handle-user.scss +40 -40
- package/packages/theme-chalk/src/handler.scss +143 -143
- package/packages/theme-chalk/src/icon.scss +1792 -1792
- package/packages/theme-chalk/src/icons.scss +99 -99
- package/packages/theme-chalk/src/input.scss +9 -9
- package/packages/theme-chalk/src/label.scss +24 -24
- package/packages/theme-chalk/src/layout.scss +46 -46
- package/packages/theme-chalk/src/login.scss +981 -981
- package/packages/theme-chalk/src/main.scss +663 -663
- package/packages/theme-chalk/src/menu.scss +222 -222
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/nav.scss +111 -111
- package/packages/theme-chalk/src/page.scss +3 -3
- package/packages/theme-chalk/src/pagination.scss +29 -29
- package/packages/theme-chalk/src/player.scss +9 -9
- package/packages/theme-chalk/src/qr-code.scss +17 -17
- package/packages/theme-chalk/src/radio-group.scss +9 -9
- package/packages/theme-chalk/src/retrial-auth.scss +38 -38
- package/packages/theme-chalk/src/select-ganged.scss +8 -8
- package/packages/theme-chalk/src/select.scss +8 -8
- package/packages/theme-chalk/src/selector-panel.scss +204 -204
- package/packages/theme-chalk/src/selector.scss +91 -91
- package/packages/theme-chalk/src/simplicity.scss +1355 -1355
- package/packages/theme-chalk/src/sizer.scss +36 -36
- package/packages/theme-chalk/src/steps.scss +88 -88
- package/packages/theme-chalk/src/switch.scss +3 -3
- package/packages/theme-chalk/src/table-form.scss +1 -1
- package/packages/theme-chalk/src/tabs.scss +87 -87
- package/packages/theme-chalk/src/tips.scss +7 -7
- package/packages/theme-chalk/src/toolbar.scss +179 -179
- package/packages/theme-chalk/src/tree-group.scss +72 -72
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/theme-chalk/src/upload.scss +168 -168
- package/packages/theme-chalk/src/wxlogin.scss +3 -3
- package/packages/tips/index.js +5 -5
- package/packages/tips/src/main.vue +141 -141
- package/packages/toolbar/index.js +5 -5
- package/packages/toolbar/src/main.vue +430 -430
- package/packages/tree/index.js +5 -5
- package/packages/tree-group/index.js +5 -5
- package/packages/upload/.DS_Store +0 -0
- package/packages/upload/index.js +5 -5
- package/packages/upload/src/main.vue +1347 -1347
- package/packages/upload/src/picture.js +15 -15
- package/packages/wujie/index.js +5 -5
- package/packages/wujie/src/main.vue +145 -145
- package/packages/wxlogin/index.js +5 -5
- package/packages/wxlogin/src/main.vue +128 -128
- package/src/.DS_Store +0 -0
- package/src/config/api.js +291 -291
- package/src/config/image.js +2 -2
- package/src/index.js +163 -163
- package/src/utils/.DS_Store +0 -0
- package/src/utils/bus.js +3 -3
- package/src/utils/date-util.js +312 -312
- package/src/utils/http.js +50 -50
- package/src/utils/rules.js +18 -18
- package/src/utils/store.js +21 -21
- package/src/utils/util.js +3 -2
- package/src/utils/webSocket.js +107 -107
package/lib/flow-group.js
CHANGED
|
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
586
586
|
try {
|
|
587
587
|
// 假设数据是 JSON 格式
|
|
588
588
|
var parsedData = JSON.parse(data);
|
|
589
|
-
info
|
|
590
|
-
info.
|
|
589
|
+
info = _extends({}, info, parsedData);
|
|
590
|
+
// info.time = parsedData.time;
|
|
591
|
+
// info.conversationId = parsedData.conversationId;
|
|
591
592
|
var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
|
|
592
593
|
var match = parsedData.message.match(thinkRegex);
|
|
593
594
|
if (match) {
|
package/lib/flow-list.js
CHANGED
|
@@ -586,8 +586,9 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
586
586
|
try {
|
|
587
587
|
// 假设数据是 JSON 格式
|
|
588
588
|
var parsedData = JSON.parse(data);
|
|
589
|
-
info
|
|
590
|
-
info.
|
|
589
|
+
info = _extends({}, info, parsedData);
|
|
590
|
+
// info.time = parsedData.time;
|
|
591
|
+
// info.conversationId = parsedData.conversationId;
|
|
591
592
|
var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
|
|
592
593
|
var match = parsedData.message.match(thinkRegex);
|
|
593
594
|
if (match) {
|
|
@@ -4442,8 +4443,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4442
4443
|
// ESM COMPAT FLAG
|
|
4443
4444
|
__webpack_require__.r(__webpack_exports__);
|
|
4444
4445
|
|
|
4445
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4446
|
-
var
|
|
4446
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=017a3796&
|
|
4447
|
+
var mainvue_type_template_id_017a3796_render = function () {
|
|
4447
4448
|
var _vm = this
|
|
4448
4449
|
var _h = _vm.$createElement
|
|
4449
4450
|
var _c = _vm._self._c || _h
|
|
@@ -4498,7 +4499,11 @@ var mainvue_type_template_id_64b7e13b_render = function () {
|
|
|
4498
4499
|
display: _vm.display,
|
|
4499
4500
|
numbers: _vm.numbers,
|
|
4500
4501
|
full: _vm.height !== "auto",
|
|
4501
|
-
data: _vm.
|
|
4502
|
+
data: _vm.showDoresult
|
|
4503
|
+
? _vm.returnData(item.type).filter(function (x) {
|
|
4504
|
+
return x.doresult || x.handleInfo
|
|
4505
|
+
})
|
|
4506
|
+
: _vm.returnData(item.type),
|
|
4502
4507
|
},
|
|
4503
4508
|
on: {
|
|
4504
4509
|
"cell-click": _vm.handleCellClick,
|
|
@@ -4647,10 +4652,10 @@ var mainvue_type_template_id_64b7e13b_render = function () {
|
|
|
4647
4652
|
)
|
|
4648
4653
|
}
|
|
4649
4654
|
var staticRenderFns = []
|
|
4650
|
-
|
|
4655
|
+
mainvue_type_template_id_017a3796_render._withStripped = true
|
|
4651
4656
|
|
|
4652
4657
|
|
|
4653
|
-
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4658
|
+
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=017a3796&
|
|
4654
4659
|
|
|
4655
4660
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4656
4661
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -5787,8 +5792,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5787
5792
|
}).catch(function () {});
|
|
5788
5793
|
},
|
|
5789
5794
|
getCircularReadList: function getCircularReadList() {
|
|
5790
|
-
var _this9 = this;
|
|
5791
|
-
|
|
5792
5795
|
var _that = this;
|
|
5793
5796
|
var params = {
|
|
5794
5797
|
url: api["rb" /* pendedhistoryListWithCircularReadJson */],
|
|
@@ -5796,11 +5799,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5796
5799
|
};
|
|
5797
5800
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
5798
5801
|
if (res.status == 'success' || res.rCode == 0) {
|
|
5799
|
-
|
|
5800
|
-
res.data.fyHistoryList = res.data.fyHistoryList.filter(function (x) {
|
|
5801
|
-
return x.doresult || x.handleInfo;
|
|
5802
|
-
});
|
|
5803
|
-
}
|
|
5802
|
+
|
|
5804
5803
|
_that.circularData = res.data.fyHistoryList;
|
|
5805
5804
|
_that.hasCircularReadWithdrawAuthority = res.data.hasCircularReadWithdrawAuthority;
|
|
5806
5805
|
_that.$nextTick(function () {
|
|
@@ -5862,15 +5861,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5862
5861
|
}
|
|
5863
5862
|
},
|
|
5864
5863
|
|
|
5865
|
-
/**
|
|
5866
|
-
* handleFormSubmit
|
|
5867
|
-
* @desc:删除节点点击事件
|
|
5868
|
-
* @param {Object} formData 点击删除的form数据
|
|
5869
|
-
* @author liufan
|
|
5870
|
-
* @date 2022年11月29日
|
|
5864
|
+
/**
|
|
5865
|
+
* handleFormSubmit
|
|
5866
|
+
* @desc:删除节点点击事件
|
|
5867
|
+
* @param {Object} formData 点击删除的form数据
|
|
5868
|
+
* @author liufan
|
|
5869
|
+
* @date 2022年11月29日
|
|
5871
5870
|
**/
|
|
5872
5871
|
handleFormSubmit: function handleFormSubmit(formData) {
|
|
5873
|
-
var
|
|
5872
|
+
var _this9 = this;
|
|
5874
5873
|
|
|
5875
5874
|
this.delLoading = true;
|
|
5876
5875
|
var params = {
|
|
@@ -5882,64 +5881,64 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5882
5881
|
var status = res.status,
|
|
5883
5882
|
message = res.message;
|
|
5884
5883
|
|
|
5885
|
-
|
|
5884
|
+
_this9.delLoading = false;
|
|
5886
5885
|
if (status === 'success') {
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5886
|
+
_this9.$message.success('删除成功');
|
|
5887
|
+
_this9.showDel = false;
|
|
5888
|
+
_this9.handleChange();
|
|
5890
5889
|
} else {
|
|
5891
|
-
|
|
5890
|
+
_this9.$message.error(message || '系统错误,请联系管理员!');
|
|
5892
5891
|
}
|
|
5893
5892
|
}).catch(function (err) {
|
|
5894
|
-
|
|
5893
|
+
_this9.delLoading = false;
|
|
5895
5894
|
if (err.message && err.message !== 'canceled') {
|
|
5896
|
-
|
|
5895
|
+
_this9.$message.error(err.message);
|
|
5897
5896
|
}
|
|
5898
5897
|
});
|
|
5899
5898
|
},
|
|
5900
5899
|
|
|
5901
|
-
/**
|
|
5902
|
-
* del
|
|
5903
|
-
* @desc:展示删除弹窗
|
|
5904
|
-
* @param {String} id 当前点击数据id
|
|
5905
|
-
* @author liufan
|
|
5906
|
-
* @date 2022年11月29日
|
|
5900
|
+
/**
|
|
5901
|
+
* del
|
|
5902
|
+
* @desc:展示删除弹窗
|
|
5903
|
+
* @param {String} id 当前点击数据id
|
|
5904
|
+
* @author liufan
|
|
5905
|
+
* @date 2022年11月29日
|
|
5907
5906
|
**/
|
|
5908
5907
|
del: function del(id) {
|
|
5909
5908
|
this.historyId = id;
|
|
5910
5909
|
this.showDel = true;
|
|
5911
5910
|
},
|
|
5912
5911
|
|
|
5913
|
-
/**
|
|
5914
|
-
* handleCurrentChange
|
|
5915
|
-
* @desc:监听页码变化
|
|
5916
|
-
* @param {String} val 当前页
|
|
5917
|
-
* @author liufan
|
|
5918
|
-
* @date 2022年11月29日
|
|
5912
|
+
/**
|
|
5913
|
+
* handleCurrentChange
|
|
5914
|
+
* @desc:监听页码变化
|
|
5915
|
+
* @param {String} val 当前页
|
|
5916
|
+
* @author liufan
|
|
5917
|
+
* @date 2022年11月29日
|
|
5919
5918
|
**/
|
|
5920
5919
|
handleCurrentChange: function handleCurrentChange(val) {
|
|
5921
5920
|
this.currentPage = val;
|
|
5922
5921
|
this.getPressList();
|
|
5923
5922
|
},
|
|
5924
5923
|
|
|
5925
|
-
/**
|
|
5926
|
-
* handleSizeChange
|
|
5927
|
-
* @desc:监听每页数据显示数量变化
|
|
5928
|
-
* @param {String} val 每页展示数量
|
|
5929
|
-
* @author liufan
|
|
5930
|
-
* @date 2022年11月29日
|
|
5924
|
+
/**
|
|
5925
|
+
* handleSizeChange
|
|
5926
|
+
* @desc:监听每页数据显示数量变化
|
|
5927
|
+
* @param {String} val 每页展示数量
|
|
5928
|
+
* @author liufan
|
|
5929
|
+
* @date 2022年11月29日
|
|
5931
5930
|
**/
|
|
5932
5931
|
handleSizeChange: function handleSizeChange(val) {
|
|
5933
5932
|
this.pageSize = val;
|
|
5934
5933
|
this.getPressList();
|
|
5935
5934
|
},
|
|
5936
5935
|
|
|
5937
|
-
/**
|
|
5938
|
-
* sortChange
|
|
5939
|
-
* @desc:监听排序变化
|
|
5940
|
-
* @param {Object} info 需要排序的字段及排序方式
|
|
5941
|
-
* @author liufan
|
|
5942
|
-
* @date 2022年11月29日
|
|
5936
|
+
/**
|
|
5937
|
+
* sortChange
|
|
5938
|
+
* @desc:监听排序变化
|
|
5939
|
+
* @param {Object} info 需要排序的字段及排序方式
|
|
5940
|
+
* @author liufan
|
|
5941
|
+
* @date 2022年11月29日
|
|
5943
5942
|
**/
|
|
5944
5943
|
sortChange: function sortChange(info) {
|
|
5945
5944
|
var prop = info.prop,
|
|
@@ -5950,14 +5949,14 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5950
5949
|
this.getPressList();
|
|
5951
5950
|
},
|
|
5952
5951
|
|
|
5953
|
-
/**
|
|
5954
|
-
* getPressList
|
|
5955
|
-
* @desc:催办列表数据
|
|
5956
|
-
* @author liufan
|
|
5957
|
-
* @date 2022年11月29日
|
|
5952
|
+
/**
|
|
5953
|
+
* getPressList
|
|
5954
|
+
* @desc:催办列表数据
|
|
5955
|
+
* @author liufan
|
|
5956
|
+
* @date 2022年11月29日
|
|
5958
5957
|
**/
|
|
5959
5958
|
getPressList: function getPressList() {
|
|
5960
|
-
var
|
|
5959
|
+
var _this10 = this;
|
|
5961
5960
|
|
|
5962
5961
|
var historyId = this.historyId,
|
|
5963
5962
|
pageSize = this.pageSize,
|
|
@@ -5973,23 +5972,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5973
5972
|
data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
|
|
5974
5973
|
};
|
|
5975
5974
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5975
|
+
_this10.pressTableList = res.data;
|
|
5976
|
+
_this10.total = res.totalrecords;
|
|
5977
|
+
_this10.pressLoading = false;
|
|
5979
5978
|
}).catch(function (err) {
|
|
5980
|
-
|
|
5979
|
+
_this10.pressLoading = false;
|
|
5981
5980
|
if (err.message && err.message !== 'canceled') {
|
|
5982
|
-
|
|
5981
|
+
_this10.$message.error(err.message);
|
|
5983
5982
|
}
|
|
5984
5983
|
});
|
|
5985
5984
|
},
|
|
5986
5985
|
|
|
5987
|
-
/**
|
|
5988
|
-
* goPress
|
|
5989
|
-
* @desc:催办列表查看
|
|
5990
|
-
* @param {String} id 催办列表id
|
|
5991
|
-
* @author liufan
|
|
5992
|
-
* @date 2022年11月29日
|
|
5986
|
+
/**
|
|
5987
|
+
* goPress
|
|
5988
|
+
* @desc:催办列表查看
|
|
5989
|
+
* @param {String} id 催办列表id
|
|
5990
|
+
* @author liufan
|
|
5991
|
+
* @date 2022年11月29日
|
|
5993
5992
|
**/
|
|
5994
5993
|
goPress: function goPress(id) {
|
|
5995
5994
|
this.historyId = id;
|
|
@@ -5997,23 +5996,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5997
5996
|
this.getPressList();
|
|
5998
5997
|
},
|
|
5999
5998
|
|
|
6000
|
-
/**
|
|
6001
|
-
* showFile
|
|
6002
|
-
* @desc:附件查看
|
|
6003
|
-
* @param {String} ownId 附件id
|
|
6004
|
-
* @author liufan
|
|
6005
|
-
* @date 2022年11月29日
|
|
5999
|
+
/**
|
|
6000
|
+
* showFile
|
|
6001
|
+
* @desc:附件查看
|
|
6002
|
+
* @param {String} ownId 附件id
|
|
6003
|
+
* @author liufan
|
|
6004
|
+
* @date 2022年11月29日
|
|
6006
6005
|
**/
|
|
6007
6006
|
showFile: function showFile(ownId) {
|
|
6008
6007
|
this.wfpendingid = ownId;
|
|
6009
6008
|
this.showFileList = true;
|
|
6010
6009
|
},
|
|
6011
6010
|
|
|
6012
|
-
/**
|
|
6013
|
-
* handleChange
|
|
6014
|
-
* @desc:切换排序方式
|
|
6015
|
-
* @author liufan
|
|
6016
|
-
* @date 2022年11月22日
|
|
6011
|
+
/**
|
|
6012
|
+
* handleChange
|
|
6013
|
+
* @desc:切换排序方式
|
|
6014
|
+
* @author liufan
|
|
6015
|
+
* @date 2022年11月22日
|
|
6017
6016
|
**/
|
|
6018
6017
|
handleChange: function handleChange(key, value) {
|
|
6019
6018
|
if (value) {
|
|
@@ -6024,7 +6023,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6024
6023
|
this.getFlowList();
|
|
6025
6024
|
},
|
|
6026
6025
|
getFyListJson: function getFyListJson(type) {
|
|
6027
|
-
var
|
|
6026
|
+
var _this11 = this;
|
|
6028
6027
|
|
|
6029
6028
|
return _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
|
|
6030
6029
|
var params;
|
|
@@ -6035,21 +6034,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6035
6034
|
params = {
|
|
6036
6035
|
url: api["F" /* fyListJson */],
|
|
6037
6036
|
params: {
|
|
6038
|
-
appRecordId:
|
|
6037
|
+
appRecordId: _this11.businessId,
|
|
6039
6038
|
status: type
|
|
6040
6039
|
}
|
|
6041
6040
|
};
|
|
6042
6041
|
_context3.next = 3;
|
|
6043
6042
|
return util["a" /* default */].ajax(params).then(function (res) {
|
|
6044
|
-
|
|
6045
|
-
res.data = res.data.filter(function (x) {
|
|
6046
|
-
return x.doresult || x.handleInfo;
|
|
6047
|
-
});
|
|
6048
|
-
}
|
|
6043
|
+
|
|
6049
6044
|
if (type == 1) {
|
|
6050
|
-
|
|
6045
|
+
_this11.untreatedReadData = res.data;
|
|
6051
6046
|
} else {
|
|
6052
|
-
|
|
6047
|
+
_this11.processedReadData = res.data;
|
|
6053
6048
|
}
|
|
6054
6049
|
});
|
|
6055
6050
|
|
|
@@ -6058,18 +6053,18 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6058
6053
|
return _context3.stop();
|
|
6059
6054
|
}
|
|
6060
6055
|
}
|
|
6061
|
-
}, _callee3,
|
|
6056
|
+
}, _callee3, _this11);
|
|
6062
6057
|
}))();
|
|
6063
6058
|
},
|
|
6064
6059
|
|
|
6065
|
-
/**
|
|
6066
|
-
* getFlowList
|
|
6067
|
-
* @desc:获取流程列表
|
|
6068
|
-
* @author liufan
|
|
6069
|
-
* @date 2022年11月22日
|
|
6060
|
+
/**
|
|
6061
|
+
* getFlowList
|
|
6062
|
+
* @desc:获取流程列表
|
|
6063
|
+
* @author liufan
|
|
6064
|
+
* @date 2022年11月22日
|
|
6070
6065
|
**/
|
|
6071
6066
|
getFlowList: function getFlowList() {
|
|
6072
|
-
var
|
|
6067
|
+
var _this12 = this;
|
|
6073
6068
|
|
|
6074
6069
|
var params = {
|
|
6075
6070
|
url: api["qb" /* pendedhistoryListJson */],
|
|
@@ -6092,65 +6087,58 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6092
6087
|
modify = _res$data.modify,
|
|
6093
6088
|
taskReadName = _res$data.taskReadName;
|
|
6094
6089
|
|
|
6095
|
-
|
|
6090
|
+
_this12.loading.close();
|
|
6096
6091
|
if (status == 'success') {
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
_this13.flowTableInfo.adjunctCode = adjunctCode;
|
|
6106
|
-
_this13.flowTableInfo.hasAgent = hasAgent;
|
|
6107
|
-
_this13.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
|
|
6108
|
-
_this13.isShort = isShort;
|
|
6109
|
-
_this13.taskReadName = taskReadName;
|
|
6110
|
-
_this13.flowData = wfHistoryList;
|
|
6111
|
-
_this13.flowData.map(function (x) {
|
|
6092
|
+
|
|
6093
|
+
_this12.flowTableInfo.adjunctCode = adjunctCode;
|
|
6094
|
+
_this12.flowTableInfo.hasAgent = hasAgent;
|
|
6095
|
+
_this12.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
|
|
6096
|
+
_this12.isShort = isShort;
|
|
6097
|
+
_this12.taskReadName = taskReadName;
|
|
6098
|
+
_this12.flowData = wfHistoryList;
|
|
6099
|
+
_this12.flowData.map(function (x) {
|
|
6112
6100
|
if (!x.deptid) {
|
|
6113
6101
|
x.deptid = x.deptName;
|
|
6114
6102
|
}
|
|
6115
6103
|
});
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
if (
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6104
|
+
_this12.splitReadingData = fyHistoryList;
|
|
6105
|
+
_this12.modify = modify;
|
|
6106
|
+
_this12.show = true;
|
|
6107
|
+
if (_this12.height == 'auto') {
|
|
6108
|
+
_this12.$nextTick(function () {
|
|
6109
|
+
_this12.content.map(function (x) {
|
|
6110
|
+
_this12[x.type + 'Height'] = _this12.$refs[x.type][0].offsetHeight;
|
|
6123
6111
|
});
|
|
6124
6112
|
});
|
|
6125
6113
|
}
|
|
6126
|
-
if (
|
|
6127
|
-
|
|
6114
|
+
if (_this12.contents.indexOf('circular') != -1) {
|
|
6115
|
+
_this12.getCircularReadList();
|
|
6128
6116
|
} else {
|
|
6129
|
-
|
|
6130
|
-
|
|
6117
|
+
_this12.$nextTick(function () {
|
|
6118
|
+
_this12.getListCount(_this12.flowListCount);
|
|
6131
6119
|
});
|
|
6132
6120
|
}
|
|
6133
6121
|
} else {
|
|
6134
|
-
|
|
6122
|
+
_this12.$message.error(message || '系统错误,请联系管理员!');
|
|
6135
6123
|
}
|
|
6136
6124
|
}).catch(function (err) {
|
|
6137
|
-
|
|
6125
|
+
_this12.loading.close();
|
|
6138
6126
|
if (err.message && err.message !== 'canceled') {
|
|
6139
|
-
|
|
6127
|
+
_this12.$message.error(err.message);
|
|
6140
6128
|
}
|
|
6141
|
-
|
|
6129
|
+
_this12.show = true;
|
|
6142
6130
|
});
|
|
6143
6131
|
},
|
|
6144
6132
|
|
|
6145
|
-
/**
|
|
6146
|
-
* handleClick
|
|
6147
|
-
* @desc:表单点击事件
|
|
6148
|
-
* @param {Object} val 当前点击行数据及按钮
|
|
6149
|
-
* @author liufan
|
|
6150
|
-
* @date 2022年11月10日
|
|
6133
|
+
/**
|
|
6134
|
+
* handleClick
|
|
6135
|
+
* @desc:表单点击事件
|
|
6136
|
+
* @param {Object} val 当前点击行数据及按钮
|
|
6137
|
+
* @author liufan
|
|
6138
|
+
* @date 2022年11月10日
|
|
6151
6139
|
**/
|
|
6152
6140
|
handleClick: function handleClick(val) {
|
|
6153
|
-
var
|
|
6141
|
+
var _this13 = this;
|
|
6154
6142
|
|
|
6155
6143
|
var text = val.handle.text,
|
|
6156
6144
|
_val$row = val.row,
|
|
@@ -6160,7 +6148,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6160
6148
|
if (text === '置为失效') {
|
|
6161
6149
|
if (status == 0) {
|
|
6162
6150
|
this.$confirm('您确定要置为失效吗?').then(function () {
|
|
6163
|
-
|
|
6151
|
+
_this13.loading = util["a" /* default */].loading(_this13.$loading, '提交中...');
|
|
6164
6152
|
var param = {
|
|
6165
6153
|
url: api["m" /* deletePresetInfo */],
|
|
6166
6154
|
headers: { Accept: 'application/json,text/plain' },
|
|
@@ -6171,17 +6159,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6171
6159
|
var status = res.status,
|
|
6172
6160
|
message = res.message;
|
|
6173
6161
|
|
|
6174
|
-
|
|
6162
|
+
_this13.loading.close();
|
|
6175
6163
|
if (status === 'success') {
|
|
6176
|
-
|
|
6177
|
-
|
|
6164
|
+
_this13.$message.success('操作成功');
|
|
6165
|
+
_this13.getListInfo();
|
|
6178
6166
|
} else {
|
|
6179
|
-
|
|
6167
|
+
_this13.$message.error(message || '系统错误,请联系管理员!');
|
|
6180
6168
|
}
|
|
6181
6169
|
}).catch(function (err) {
|
|
6182
|
-
|
|
6170
|
+
_this13.loading.close();
|
|
6183
6171
|
if (err.message && err.message !== 'canceled') {
|
|
6184
|
-
|
|
6172
|
+
_this13.$message.error(err.message);
|
|
6185
6173
|
}
|
|
6186
6174
|
});
|
|
6187
6175
|
}).catch(function (e) {
|
|
@@ -6193,13 +6181,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6193
6181
|
}
|
|
6194
6182
|
},
|
|
6195
6183
|
|
|
6196
|
-
/**
|
|
6197
|
-
* getCodeValue
|
|
6198
|
-
* @desc:获取代码表过滤后的值
|
|
6199
|
-
* @param {String} value 展示数据的代码值
|
|
6200
|
-
* @param {String} type 代码表类型
|
|
6201
|
-
* @author liufan
|
|
6202
|
-
* @date 2022年11月10日
|
|
6184
|
+
/**
|
|
6185
|
+
* getCodeValue
|
|
6186
|
+
* @desc:获取代码表过滤后的值
|
|
6187
|
+
* @param {String} value 展示数据的代码值
|
|
6188
|
+
* @param {String} type 代码表类型
|
|
6189
|
+
* @author liufan
|
|
6190
|
+
* @date 2022年11月10日
|
|
6203
6191
|
**/
|
|
6204
6192
|
getCodeValue: function getCodeValue(value, type) {
|
|
6205
6193
|
var val = this[type].filter(function (item) {
|
|
@@ -6208,15 +6196,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6208
6196
|
return val[0].shortName;
|
|
6209
6197
|
},
|
|
6210
6198
|
|
|
6211
|
-
/**
|
|
6212
|
-
* getSysInfo
|
|
6213
|
-
* @desc:获取代码表
|
|
6214
|
-
* @param {String} code 编码code值
|
|
6215
|
-
* @author liufan
|
|
6216
|
-
* @date 2022年11月10日
|
|
6199
|
+
/**
|
|
6200
|
+
* getSysInfo
|
|
6201
|
+
* @desc:获取代码表
|
|
6202
|
+
* @param {String} code 编码code值
|
|
6203
|
+
* @author liufan
|
|
6204
|
+
* @date 2022年11月10日
|
|
6217
6205
|
**/
|
|
6218
6206
|
getSysInfo: function getSysInfo(code) {
|
|
6219
|
-
var
|
|
6207
|
+
var _this14 = this;
|
|
6220
6208
|
|
|
6221
6209
|
var params = {
|
|
6222
6210
|
url: api["z" /* findCodeValues */],
|
|
@@ -6228,21 +6216,21 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6228
6216
|
data = res.data;
|
|
6229
6217
|
|
|
6230
6218
|
if (status == 'success') {
|
|
6231
|
-
|
|
6219
|
+
_this14[code] = data;
|
|
6232
6220
|
} else {
|
|
6233
|
-
|
|
6221
|
+
_this14.$message.error(message || '系统错误,请联系管理员!');
|
|
6234
6222
|
}
|
|
6235
6223
|
}).catch(function (e) {});
|
|
6236
6224
|
},
|
|
6237
6225
|
|
|
6238
|
-
/**
|
|
6239
|
-
* getListInfo
|
|
6240
|
-
* @desc:获取预设列表数据
|
|
6241
|
-
* @author liufan
|
|
6242
|
-
* @date 2022年11月10日
|
|
6226
|
+
/**
|
|
6227
|
+
* getListInfo
|
|
6228
|
+
* @desc:获取预设列表数据
|
|
6229
|
+
* @author liufan
|
|
6230
|
+
* @date 2022年11月10日
|
|
6243
6231
|
**/
|
|
6244
6232
|
getListInfo: function getListInfo() {
|
|
6245
|
-
var
|
|
6233
|
+
var _this15 = this;
|
|
6246
6234
|
|
|
6247
6235
|
var param = {
|
|
6248
6236
|
url: api["Wb" /* toPresetInfoListIndex */],
|
|
@@ -6257,24 +6245,20 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6257
6245
|
canDelete = _res$data2.canDelete,
|
|
6258
6246
|
currentUserHasPresetInfoAuth = _res$data2.currentUserHasPresetInfoAuth;
|
|
6259
6247
|
|
|
6260
|
-
|
|
6248
|
+
_this15.loading.close();
|
|
6261
6249
|
if (status == 'success') {
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
presetInfoList && (_this16.presetData = presetInfoList);
|
|
6268
|
-
_this16.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
|
|
6269
|
-
_this16.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
|
|
6270
|
-
_this16.canDelete = canDelete;
|
|
6250
|
+
|
|
6251
|
+
presetInfoList && (_this15.presetData = presetInfoList);
|
|
6252
|
+
_this15.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
|
|
6253
|
+
_this15.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
|
|
6254
|
+
_this15.canDelete = canDelete;
|
|
6271
6255
|
} else {
|
|
6272
|
-
|
|
6256
|
+
_this15.$message.error(message || '系统错误,请联系管理员!');
|
|
6273
6257
|
}
|
|
6274
6258
|
}).catch(function (err) {
|
|
6275
|
-
|
|
6259
|
+
_this15.loading.close();
|
|
6276
6260
|
if (err.message && err.message !== 'canceled') {
|
|
6277
|
-
|
|
6261
|
+
_this15.$message.error(err.message);
|
|
6278
6262
|
}
|
|
6279
6263
|
});
|
|
6280
6264
|
}
|
|
@@ -6295,7 +6279,7 @@ var componentNormalizer = __webpack_require__(3);
|
|
|
6295
6279
|
|
|
6296
6280
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
6297
6281
|
src_mainvue_type_script_lang_js_,
|
|
6298
|
-
|
|
6282
|
+
mainvue_type_template_id_017a3796_render,
|
|
6299
6283
|
staticRenderFns,
|
|
6300
6284
|
false,
|
|
6301
6285
|
null,
|