@indfnd/common-mobile-pro 1.0.25 → 1.0.27

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.
@@ -75765,6 +75765,76 @@ __webpack_require__.r(__webpack_exports__);
75765
75765
  // extracted by mini-css-extract-plugin
75766
75766
 
75767
75767
 
75768
+ /***/ }),
75769
+
75770
+ /***/ 6115:
75771
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75772
+
75773
+ "use strict";
75774
+ __webpack_require__.r(__webpack_exports__);
75775
+ // extracted by mini-css-extract-plugin
75776
+
75777
+
75778
+ /***/ }),
75779
+
75780
+ /***/ 1166:
75781
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75782
+
75783
+ "use strict";
75784
+ __webpack_require__.r(__webpack_exports__);
75785
+ // extracted by mini-css-extract-plugin
75786
+
75787
+
75788
+ /***/ }),
75789
+
75790
+ /***/ 5177:
75791
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75792
+
75793
+ "use strict";
75794
+ __webpack_require__.r(__webpack_exports__);
75795
+ // extracted by mini-css-extract-plugin
75796
+
75797
+
75798
+ /***/ }),
75799
+
75800
+ /***/ 3776:
75801
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75802
+
75803
+ "use strict";
75804
+ __webpack_require__.r(__webpack_exports__);
75805
+ // extracted by mini-css-extract-plugin
75806
+
75807
+
75808
+ /***/ }),
75809
+
75810
+ /***/ 4966:
75811
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75812
+
75813
+ "use strict";
75814
+ __webpack_require__.r(__webpack_exports__);
75815
+ // extracted by mini-css-extract-plugin
75816
+
75817
+
75818
+ /***/ }),
75819
+
75820
+ /***/ 6721:
75821
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75822
+
75823
+ "use strict";
75824
+ __webpack_require__.r(__webpack_exports__);
75825
+ // extracted by mini-css-extract-plugin
75826
+
75827
+
75828
+ /***/ }),
75829
+
75830
+ /***/ 0:
75831
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
75832
+
75833
+ "use strict";
75834
+ __webpack_require__.r(__webpack_exports__);
75835
+ // extracted by mini-css-extract-plugin
75836
+
75837
+
75768
75838
  /***/ }),
75769
75839
 
75770
75840
  /***/ 1040:
@@ -78124,6 +78194,132 @@ if(false) {}
78124
78194
 
78125
78195
  /***/ }),
78126
78196
 
78197
+ /***/ 2488:
78198
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78199
+
78200
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78201
+
78202
+ // load the styles
78203
+ var content = __webpack_require__(6115);
78204
+ if(content.__esModule) content = content.default;
78205
+ if(typeof content === 'string') content = [[module.id, content, '']];
78206
+ if(content.locals) module.exports = content.locals;
78207
+ // add the styles to the DOM
78208
+ var add = (__webpack_require__(534)["default"])
78209
+ var update = add("0767416a", content, false, {});
78210
+ // Hot Module Replacement
78211
+ if(false) {}
78212
+
78213
+ /***/ }),
78214
+
78215
+ /***/ 2511:
78216
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78217
+
78218
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78219
+
78220
+ // load the styles
78221
+ var content = __webpack_require__(1166);
78222
+ if(content.__esModule) content = content.default;
78223
+ if(typeof content === 'string') content = [[module.id, content, '']];
78224
+ if(content.locals) module.exports = content.locals;
78225
+ // add the styles to the DOM
78226
+ var add = (__webpack_require__(534)["default"])
78227
+ var update = add("25452697", content, false, {});
78228
+ // Hot Module Replacement
78229
+ if(false) {}
78230
+
78231
+ /***/ }),
78232
+
78233
+ /***/ 2888:
78234
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78235
+
78236
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78237
+
78238
+ // load the styles
78239
+ var content = __webpack_require__(5177);
78240
+ if(content.__esModule) content = content.default;
78241
+ if(typeof content === 'string') content = [[module.id, content, '']];
78242
+ if(content.locals) module.exports = content.locals;
78243
+ // add the styles to the DOM
78244
+ var add = (__webpack_require__(534)["default"])
78245
+ var update = add("c060b214", content, false, {});
78246
+ // Hot Module Replacement
78247
+ if(false) {}
78248
+
78249
+ /***/ }),
78250
+
78251
+ /***/ 7568:
78252
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78253
+
78254
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78255
+
78256
+ // load the styles
78257
+ var content = __webpack_require__(3776);
78258
+ if(content.__esModule) content = content.default;
78259
+ if(typeof content === 'string') content = [[module.id, content, '']];
78260
+ if(content.locals) module.exports = content.locals;
78261
+ // add the styles to the DOM
78262
+ var add = (__webpack_require__(534)["default"])
78263
+ var update = add("44c842f5", content, false, {});
78264
+ // Hot Module Replacement
78265
+ if(false) {}
78266
+
78267
+ /***/ }),
78268
+
78269
+ /***/ 8619:
78270
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78271
+
78272
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78273
+
78274
+ // load the styles
78275
+ var content = __webpack_require__(4966);
78276
+ if(content.__esModule) content = content.default;
78277
+ if(typeof content === 'string') content = [[module.id, content, '']];
78278
+ if(content.locals) module.exports = content.locals;
78279
+ // add the styles to the DOM
78280
+ var add = (__webpack_require__(534)["default"])
78281
+ var update = add("b42c09d8", content, false, {});
78282
+ // Hot Module Replacement
78283
+ if(false) {}
78284
+
78285
+ /***/ }),
78286
+
78287
+ /***/ 2728:
78288
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78289
+
78290
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78291
+
78292
+ // load the styles
78293
+ var content = __webpack_require__(6721);
78294
+ if(content.__esModule) content = content.default;
78295
+ if(typeof content === 'string') content = [[module.id, content, '']];
78296
+ if(content.locals) module.exports = content.locals;
78297
+ // add the styles to the DOM
78298
+ var add = (__webpack_require__(534)["default"])
78299
+ var update = add("88029d70", content, false, {});
78300
+ // Hot Module Replacement
78301
+ if(false) {}
78302
+
78303
+ /***/ }),
78304
+
78305
+ /***/ 7249:
78306
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78307
+
78308
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78309
+
78310
+ // load the styles
78311
+ var content = __webpack_require__(0);
78312
+ if(content.__esModule) content = content.default;
78313
+ if(typeof content === 'string') content = [[module.id, content, '']];
78314
+ if(content.locals) module.exports = content.locals;
78315
+ // add the styles to the DOM
78316
+ var add = (__webpack_require__(534)["default"])
78317
+ var update = add("8449fb78", content, false, {});
78318
+ // Hot Module Replacement
78319
+ if(false) {}
78320
+
78321
+ /***/ }),
78322
+
78127
78323
  /***/ 3841:
78128
78324
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
78129
78325
 
@@ -172671,6 +172867,1985 @@ var packages_file_box_src_component = (0,packages_componentNormalizer["default"]
172671
172867
 
172672
172868
  /* harmony default export */ const packages_file_box = (packages_file_box_src);
172673
172869
 
172870
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/index.vue?vue&type=template&id=0be776b0&scoped=true
172871
+ var packages_srcvue_type_template_id_0be776b0_scoped_true_render = function render() {
172872
+ var _vm = this,
172873
+ _c = _vm._self._c
172874
+ return _c(
172875
+ "div",
172876
+ { staticClass: "audit-framework" },
172877
+ [
172878
+ _c("LamboLoading", { attrs: { "show-loading": _vm.loading } }, [
172879
+ _vm._v("保存中。。。"),
172880
+ ]),
172881
+ _vm._v(" "),
172882
+ _c(
172883
+ "van-tabs",
172884
+ {
172885
+ attrs: { swipeable: "", sticky: "", "offset-top": "68px" },
172886
+ model: {
172887
+ value: _vm.active,
172888
+ callback: function ($$v) {
172889
+ _vm.active = $$v
172890
+ },
172891
+ expression: "active",
172892
+ },
172893
+ },
172894
+ [
172895
+ _c("van-tab", { attrs: { title: "审批单", name: "auditForm" } }, [
172896
+ _c("div", { staticClass: "audit-framework-title" }, [
172897
+ _vm._v(_vm._s(_vm.auditFormTitle)),
172898
+ ]),
172899
+ _vm._v(" "),
172900
+ _c(
172901
+ "div",
172902
+ { staticClass: "audit-framework-content" },
172903
+ [
172904
+ _vm.isRefresh
172905
+ ? _c(
172906
+ "van-collapse",
172907
+ {
172908
+ model: {
172909
+ value: _vm.collapseActives,
172910
+ callback: function ($$v) {
172911
+ _vm.collapseActives = $$v
172912
+ },
172913
+ expression: "collapseActives",
172914
+ },
172915
+ },
172916
+ [
172917
+ _c(
172918
+ "van-collapse-item",
172919
+ {
172920
+ attrs: {
172921
+ name: "baseInfo",
172922
+ border: false,
172923
+ "is-link": false,
172924
+ },
172925
+ scopedSlots: _vm._u(
172926
+ [
172927
+ {
172928
+ key: "title",
172929
+ fn: function () {
172930
+ return [
172931
+ _c(
172932
+ "span",
172933
+ {
172934
+ staticStyle: {
172935
+ "font-size": "16px",
172936
+ "font-weight": "bold",
172937
+ },
172938
+ },
172939
+ [
172940
+ _vm._v(
172941
+ "\n 基本信息\n "
172942
+ ),
172943
+ ]
172944
+ ),
172945
+ ]
172946
+ },
172947
+ proxy: true,
172948
+ },
172949
+ {
172950
+ key: "value",
172951
+ fn: function () {
172952
+ return [
172953
+ _c("van-switch", {
172954
+ attrs: { size: "16px" },
172955
+ model: {
172956
+ value: _vm.baseInfoChecked,
172957
+ callback: function ($$v) {
172958
+ _vm.baseInfoChecked = $$v
172959
+ },
172960
+ expression: "baseInfoChecked",
172961
+ },
172962
+ }),
172963
+ ]
172964
+ },
172965
+ proxy: true,
172966
+ },
172967
+ ],
172968
+ null,
172969
+ false,
172970
+ 1359112350
172971
+ ),
172972
+ },
172973
+ [
172974
+ _vm._v(" "),
172975
+ _vm._v(" "),
172976
+ _c("LamboMListBox", {
172977
+ attrs: { data: _vm.auditFormBaseInfo },
172978
+ }),
172979
+ ],
172980
+ 1
172981
+ ),
172982
+ _vm._v(" "),
172983
+ _c(
172984
+ "van-collapse-item",
172985
+ {
172986
+ attrs: {
172987
+ name: "auditLog",
172988
+ border: false,
172989
+ "is-link": false,
172990
+ },
172991
+ scopedSlots: _vm._u(
172992
+ [
172993
+ {
172994
+ key: "title",
172995
+ fn: function () {
172996
+ return [
172997
+ _c(
172998
+ "span",
172999
+ {
173000
+ staticStyle: {
173001
+ "font-size": "16px",
173002
+ "font-weight": "bold",
173003
+ },
173004
+ },
173005
+ [_vm._v("审批意见")]
173006
+ ),
173007
+ ]
173008
+ },
173009
+ proxy: true,
173010
+ },
173011
+ {
173012
+ key: "value",
173013
+ fn: function () {
173014
+ return [
173015
+ _c("van-switch", {
173016
+ attrs: { size: "16px" },
173017
+ model: {
173018
+ value: _vm.auditLogChecked,
173019
+ callback: function ($$v) {
173020
+ _vm.auditLogChecked = $$v
173021
+ },
173022
+ expression: "auditLogChecked",
173023
+ },
173024
+ }),
173025
+ ]
173026
+ },
173027
+ proxy: true,
173028
+ },
173029
+ ],
173030
+ null,
173031
+ false,
173032
+ 3411956898
173033
+ ),
173034
+ },
173035
+ [
173036
+ _vm._v(" "),
173037
+ _vm._v(" "),
173038
+ _vm.active == "auditForm"
173039
+ ? _c("LamboMFlowBox", {
173040
+ attrs: {
173041
+ data: _vm.currentFlowData,
173042
+ showType: "modal",
173043
+ },
173044
+ })
173045
+ : _vm._e(),
173046
+ ],
173047
+ 1
173048
+ ),
173049
+ ],
173050
+ 1
173051
+ )
173052
+ : _vm._e(),
173053
+ ],
173054
+ 1
173055
+ ),
173056
+ ]),
173057
+ _vm._v(" "),
173058
+ _c(
173059
+ "van-tab",
173060
+ { attrs: { title: "明细信息", name: "baseInfo" } },
173061
+ [_vm._t("detaileContent")],
173062
+ 2
173063
+ ),
173064
+ _vm._v(" "),
173065
+ _c(
173066
+ "van-tab",
173067
+ { attrs: { title: "流程跟踪", name: "auditLog" } },
173068
+ [
173069
+ _vm.active == "auditLog"
173070
+ ? _c("LamboMFlowBox", {
173071
+ attrs: { data: _vm.allFlowData, showType: "page" },
173072
+ })
173073
+ : _vm._e(),
173074
+ ],
173075
+ 1
173076
+ ),
173077
+ ],
173078
+ 1
173079
+ ),
173080
+ _vm._v(" "),
173081
+ _vm.params.audit
173082
+ ? _c("LamboMAuditBox", {
173083
+ attrs: {
173084
+ commonApi: _vm.params.commonApi,
173085
+ creatPersonData: _vm.creatPersonData,
173086
+ nextNode: _vm.nextNode,
173087
+ dafalutOpinion: _vm.dafalutOpinion,
173088
+ },
173089
+ on: {
173090
+ onSubmit: _vm.params.onSubmit,
173091
+ onReject: _vm.params.onReject,
173092
+ onSave: _vm.savePersonalOpinionData,
173093
+ },
173094
+ })
173095
+ : _vm._e(),
173096
+ ],
173097
+ 1
173098
+ )
173099
+ }
173100
+ var packages_srcvue_type_template_id_0be776b0_scoped_true_staticRenderFns = []
173101
+ packages_srcvue_type_template_id_0be776b0_scoped_true_render._withStripped = true
173102
+
173103
+
173104
+ ;// ./packages/components/audit-framework/src/index.vue?vue&type=template&id=0be776b0&scoped=true
173105
+
173106
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/list-box.vue?vue&type=template&id=4056824f&scoped=true
173107
+ var packages_list_boxvue_type_template_id_4056824f_scoped_true_render = function render() {
173108
+ var _vm = this,
173109
+ _c = _vm._self._c
173110
+ return _c(
173111
+ "div",
173112
+ { staticClass: "list-box" },
173113
+ [
173114
+ _c(
173115
+ "van-cell-group",
173116
+ { attrs: { inset: "" } },
173117
+ [
173118
+ _vm._l(_vm.data, function (item, idx) {
173119
+ return [
173120
+ !item.isShow
173121
+ ? _c("van-cell", {
173122
+ key: idx,
173123
+ class: item.class,
173124
+ style: item.style,
173125
+ attrs: { value: item.value, "is-link": item.isLink },
173126
+ on: {
173127
+ click: function ($event) {
173128
+ item.methodName
173129
+ ? item.methodParam
173130
+ ? _vm.$parent[item.methodName](...item.methodParam)
173131
+ : _vm.$parent[item.methodName]()
173132
+ : _vm.$emit("linkClick")
173133
+ },
173134
+ },
173135
+ scopedSlots: _vm._u(
173136
+ [
173137
+ {
173138
+ key: "title",
173139
+ fn: function () {
173140
+ return [_vm._v(_vm._s(item.title))]
173141
+ },
173142
+ proxy: true,
173143
+ },
173144
+ {
173145
+ key: "default",
173146
+ fn: function () {
173147
+ return [
173148
+ item.isEdit
173149
+ ? _c("span", [
173150
+ _c(
173151
+ "span",
173152
+ {
173153
+ staticClass: "van-cell_bold_value_edit",
173154
+ on: {
173155
+ click: function ($event) {
173156
+ return _vm.$emit(
173157
+ "valueOnChange",
173158
+ item
173159
+ )
173160
+ },
173161
+ },
173162
+ },
173163
+ [_vm._v(_vm._s(item.value))]
173164
+ ),
173165
+ _vm._v(" "),
173166
+ item.isNum || item.isBoldNum
173167
+ ? _c("span", [
173168
+ _vm._v(
173169
+ " " + _vm._s(item.unitName || "元")
173170
+ ),
173171
+ ])
173172
+ : _vm._e(),
173173
+ ])
173174
+ : _c("span", [
173175
+ item.isNum
173176
+ ? _c(
173177
+ "span",
173178
+ { staticClass: "van-cell_num_value" },
173179
+ [_vm._v(_vm._s(item.value))]
173180
+ )
173181
+ : item.isBoldNum
173182
+ ? _c(
173183
+ "span",
173184
+ {
173185
+ staticClass: "van-cell_bold_value",
173186
+ },
173187
+ [_vm._v(_vm._s(item.value))]
173188
+ )
173189
+ : item.isArray
173190
+ ? _c(
173191
+ "span",
173192
+ { staticClass: "van-cell_file" },
173193
+ _vm._l(
173194
+ item.fileList,
173195
+ function (file, idx) {
173196
+ return _c(
173197
+ "div",
173198
+ {
173199
+ key: idx,
173200
+ staticClass:
173201
+ "van-cell_file-name",
173202
+ on: {
173203
+ click: function ($event) {
173204
+ return _vm.clickFile(file)
173205
+ },
173206
+ },
173207
+ },
173208
+ [
173209
+ _vm._v(
173210
+ "\n " +
173211
+ _vm._s(file.fileName) +
173212
+ "\n "
173213
+ ),
173214
+ ]
173215
+ )
173216
+ }
173217
+ ),
173218
+ 0
173219
+ )
173220
+ : _c("span", [
173221
+ _vm._v(_vm._s(item.value)),
173222
+ ]),
173223
+ _vm._v(" "),
173224
+ item.isNum || item.isBoldNum
173225
+ ? _c("span", [
173226
+ _vm._v(
173227
+ " " + _vm._s(item.unitName || "元")
173228
+ ),
173229
+ ])
173230
+ : _vm._e(),
173231
+ ]),
173232
+ ]
173233
+ },
173234
+ proxy: true,
173235
+ },
173236
+ ],
173237
+ null,
173238
+ true
173239
+ ),
173240
+ })
173241
+ : _vm._e(),
173242
+ ]
173243
+ }),
173244
+ _vm._v(" "),
173245
+ _vm.extValue && _vm.extValue != ""
173246
+ ? _c("div", { staticStyle: { height: "5px" } })
173247
+ : _vm._e(),
173248
+ _vm._v(" "),
173249
+ _vm.extValue && _vm.extValue != ""
173250
+ ? _c(
173251
+ "van-row",
173252
+ {
173253
+ staticClass: "ext-wrapper",
173254
+ attrs: { align: "center", wrap: false },
173255
+ },
173256
+ [
173257
+ _c("div", [
173258
+ _c(
173259
+ "span",
173260
+ { staticClass: "ext-wrapper-title" },
173261
+ [
173262
+ _c("van-icon", { attrs: { name: "info-o" } }),
173263
+ _vm._v(
173264
+ "\n " + _vm._s(_vm.extTitle) + "\n "
173265
+ ),
173266
+ ],
173267
+ 1
173268
+ ),
173269
+ _vm._v(" "),
173270
+ _c("span", { staticClass: "ext-wrapper-value" }, [
173271
+ _vm._v(
173272
+ "\n " + _vm._s(_vm.extValue) + "\n "
173273
+ ),
173274
+ ]),
173275
+ ]),
173276
+ ]
173277
+ )
173278
+ : _vm._e(),
173279
+ _vm._v(" "),
173280
+ _c("div", { staticStyle: { height: "5px" } }),
173281
+ _vm._v(" "),
173282
+ _c(
173283
+ "van-row",
173284
+ {
173285
+ staticClass: "cust-ext-wrapper",
173286
+ attrs: { align: "center", wrap: false },
173287
+ },
173288
+ [_vm._t("cust-ext-wrapper")],
173289
+ 2
173290
+ ),
173291
+ _vm._v(" "),
173292
+ _c(
173293
+ "van-row",
173294
+ {
173295
+ staticClass: "cust-ext-wrapper",
173296
+ attrs: { align: "center", wrap: false },
173297
+ },
173298
+ [_vm._t("cust-ext-wrapper1")],
173299
+ 2
173300
+ ),
173301
+ ],
173302
+ 2
173303
+ ),
173304
+ _vm._v(" "),
173305
+ _c("PreviewBox", {
173306
+ attrs: { id: _vm.id, fileId: _vm.fileId },
173307
+ model: {
173308
+ value: _vm.previewShow,
173309
+ callback: function ($$v) {
173310
+ _vm.previewShow = $$v
173311
+ },
173312
+ expression: "previewShow",
173313
+ },
173314
+ }),
173315
+ ],
173316
+ 1
173317
+ )
173318
+ }
173319
+ var packages_list_boxvue_type_template_id_4056824f_scoped_true_staticRenderFns = []
173320
+ packages_list_boxvue_type_template_id_4056824f_scoped_true_render._withStripped = true
173321
+
173322
+
173323
+ ;// ./packages/components/audit-framework/src/components/list-box.vue?vue&type=template&id=4056824f&scoped=true
173324
+
173325
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/list-box.vue?vue&type=script&lang=js
173326
+
173327
+
173328
+ /* harmony default export */ const packages_list_boxvue_type_script_lang_js = ({
173329
+ components: {
173330
+ PreviewBox: packages_preview_box,
173331
+ },
173332
+ emits: ["onLog", "onDetail", "valueOnChange", "linkClick", "onDelete"],
173333
+ props: {
173334
+ busiPk: {
173335
+ type: String,
173336
+ default: "",
173337
+ },
173338
+ isShowCheck: {
173339
+ type: Boolean,
173340
+ default: false,
173341
+ },
173342
+ heardTitle: {
173343
+ type: String,
173344
+ default: "",
173345
+ },
173346
+ heardSubTitle: {
173347
+ type: String,
173348
+ default: "",
173349
+ },
173350
+ status: {
173351
+ type: Boolean,
173352
+ default: false,
173353
+ },
173354
+ nodeName: {
173355
+ type: String,
173356
+ default: "审批中",
173357
+ },
173358
+ maxNode: {
173359
+ type: String,
173360
+ default: "",
173361
+ },
173362
+ curNode: {
173363
+ type: String,
173364
+ default: "",
173365
+ },
173366
+ isAutoStatus: {
173367
+ type: Boolean,
173368
+ default: false,
173369
+ },
173370
+ isShowStatus: {
173371
+ type: Boolean,
173372
+ default: true,
173373
+ },
173374
+ data: {
173375
+ type: Array,
173376
+ default: () => {
173377
+ return [];
173378
+ },
173379
+ },
173380
+ isShowBtn: {
173381
+ type: Boolean,
173382
+ default: true,
173383
+ },
173384
+ isShowOptBtn: {
173385
+ type: Boolean,
173386
+ default: false,
173387
+ },
173388
+ isShowDeleteBtn: {
173389
+ type: Boolean,
173390
+ default: true,
173391
+ },
173392
+ //部分不能查看审批日志的,禁用
173393
+ isShowLog: {
173394
+ type: Boolean,
173395
+ default: true,
173396
+ },
173397
+ isShowExt: {
173398
+ type: Boolean,
173399
+ default: false,
173400
+ },
173401
+ extTitle: {
173402
+ type: String,
173403
+ default: "",
173404
+ },
173405
+ extValue: {
173406
+ type: String,
173407
+ default: "",
173408
+ },
173409
+ iconSize: {
173410
+ type: String,
173411
+ default: "md",
173412
+ },
173413
+ iconId: {
173414
+ type: String,
173415
+ default: "scheme",
173416
+ },
173417
+ heardValue: {
173418
+ type: String,
173419
+ default: "",
173420
+ },
173421
+ heardValueIsNum: {
173422
+ type: Boolean,
173423
+ default: false,
173424
+ },
173425
+ isLink: {
173426
+ type: Boolean,
173427
+ default: false,
173428
+ },
173429
+ methodName: {
173430
+ type: String,
173431
+ default: "",
173432
+ },
173433
+ methodParam: {
173434
+ type: Array,
173435
+ default: () => {
173436
+ return [];
173437
+ },
173438
+ },
173439
+ },
173440
+ data() {
173441
+ return {
173442
+ previewShow: false,
173443
+ id: "",
173444
+ fileId: "",
173445
+ };
173446
+ },
173447
+ created() {},
173448
+ methods: {
173449
+ clickFile(file) {
173450
+ this.fileId = file.fileId;
173451
+ this.id = file.fileId;
173452
+ this.previewShow = true;
173453
+ },
173454
+ },
173455
+ });
173456
+
173457
+ ;// ./packages/components/audit-framework/src/components/list-box.vue?vue&type=script&lang=js
173458
+ /* harmony default export */ const packages_components_list_boxvue_type_script_lang_js = (packages_list_boxvue_type_script_lang_js);
173459
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/list-box.vue?vue&type=style&index=0&id=4056824f&prod&lang=less&scoped=true
173460
+ var packages_list_boxvue_type_style_index_0_id_4056824f_prod_lang_less_scoped_true = __webpack_require__(2888);
173461
+ ;// ./packages/components/audit-framework/src/components/list-box.vue?vue&type=style&index=0&id=4056824f&prod&lang=less&scoped=true
173462
+
173463
+ ;// ./packages/components/audit-framework/src/components/list-box.vue
173464
+
173465
+
173466
+
173467
+ ;
173468
+
173469
+
173470
+ /* normalize component */
173471
+
173472
+ var packages_list_box_component = (0,packages_componentNormalizer["default"])(
173473
+ packages_components_list_boxvue_type_script_lang_js,
173474
+ packages_list_boxvue_type_template_id_4056824f_scoped_true_render,
173475
+ packages_list_boxvue_type_template_id_4056824f_scoped_true_staticRenderFns,
173476
+ false,
173477
+ null,
173478
+ "4056824f",
173479
+ null
173480
+
173481
+ )
173482
+
173483
+ /* harmony default export */ const packages_components_list_box = (packages_list_box_component.exports);
173484
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/audit-box.vue?vue&type=template&id=ef661cfc&scoped=true
173485
+ var packages_audit_boxvue_type_template_id_ef661cfc_scoped_true_render = function render() {
173486
+ var _vm = this,
173487
+ _c = _vm._self._c
173488
+ return _c(
173489
+ "div",
173490
+ [
173491
+ _c("div", { staticStyle: { "margin-bottom": "140px" } }),
173492
+ _vm._v(" "),
173493
+ _c(
173494
+ "van-row",
173495
+ {
173496
+ staticClass: "check-wrapper-opinion",
173497
+ attrs: { align: "center", wrap: false },
173498
+ },
173499
+ [
173500
+ _c(
173501
+ "van-col",
173502
+ { attrs: { span: "21" } },
173503
+ [
173504
+ _c("van-field", {
173505
+ attrs: {
173506
+ type: "input",
173507
+ placeholder: "请输入审批意见",
173508
+ border: true,
173509
+ maxlength: "512",
173510
+ },
173511
+ model: {
173512
+ value: _vm.opinion,
173513
+ callback: function ($$v) {
173514
+ _vm.opinion = $$v
173515
+ },
173516
+ expression: "opinion",
173517
+ },
173518
+ }),
173519
+ ],
173520
+ 1
173521
+ ),
173522
+ _vm._v(" "),
173523
+ _c("van-col", { attrs: { span: "2" } }, [
173524
+ _c("div", {
173525
+ staticClass: "chat-btn",
173526
+ on: {
173527
+ click: function ($event) {
173528
+ _vm.showCheckOpinion = true
173529
+ },
173530
+ },
173531
+ }),
173532
+ ]),
173533
+ ],
173534
+ 1
173535
+ ),
173536
+ _vm._v(" "),
173537
+ _c(
173538
+ "van-row",
173539
+ {
173540
+ staticClass: "check-wrapper",
173541
+ attrs: { align: "center", wrap: false },
173542
+ },
173543
+ [
173544
+ _c(
173545
+ "van-col",
173546
+ { staticClass: "check-col-wrapper", attrs: { span: "24" } },
173547
+ [
173548
+ _c(
173549
+ "span",
173550
+ {
173551
+ class: [
173552
+ "btn",
173553
+ "confirm",
173554
+ { "confirm-disabled": _vm.confirmDisabled },
173555
+ ],
173556
+ on: {
173557
+ click: function ($event) {
173558
+ _vm.showSubmitSheet = true
173559
+ },
173560
+ },
173561
+ },
173562
+ [_vm._v(_vm._s(_vm.confirmText))]
173563
+ ),
173564
+ _vm._v(" "),
173565
+ _c(
173566
+ "span",
173567
+ {
173568
+ class: ["btn", "save", { "save-disabled": _vm.saveDisabled }],
173569
+ on: { click: _vm.forSave },
173570
+ },
173571
+ [_vm._v(_vm._s(_vm.saveText))]
173572
+ ),
173573
+ _vm._v(" "),
173574
+ _c(
173575
+ "span",
173576
+ {
173577
+ class: [
173578
+ "btn",
173579
+ "reject",
173580
+ { "reject-disabled": _vm.rejectDisabled },
173581
+ ],
173582
+ on: {
173583
+ click: function ($event) {
173584
+ _vm.showRejectSheet = true
173585
+ },
173586
+ },
173587
+ },
173588
+ [_vm._v(_vm._s(_vm.rejectText))]
173589
+ ),
173590
+ ]
173591
+ ),
173592
+ ],
173593
+ 1
173594
+ ),
173595
+ _vm._v(" "),
173596
+ _c(
173597
+ "van-popup",
173598
+ {
173599
+ style: { width: "100%", height: "70%" },
173600
+ attrs: {
173601
+ title: "意见维护",
173602
+ round: "",
173603
+ "destroy-on-close": "true",
173604
+ "lazy-render": true,
173605
+ position: "bottom",
173606
+ closeable: true,
173607
+ },
173608
+ model: {
173609
+ value: _vm.showCheckOpinion,
173610
+ callback: function ($$v) {
173611
+ _vm.showCheckOpinion = $$v
173612
+ },
173613
+ expression: "showCheckOpinion",
173614
+ },
173615
+ },
173616
+ [
173617
+ _c("OpinionSheet", {
173618
+ attrs: { commonApi: _vm.commonApi },
173619
+ on: { forOpinionChange: _vm.forOpinionChange },
173620
+ }),
173621
+ ],
173622
+ 1
173623
+ ),
173624
+ _vm._v(" "),
173625
+ _c(
173626
+ "van-popup",
173627
+ {
173628
+ style: { width: "100%", height: "70%" },
173629
+ attrs: {
173630
+ title: "发送",
173631
+ round: "",
173632
+ "destroy-on-close": "true",
173633
+ "lazy-render": true,
173634
+ position: "bottom",
173635
+ closeable: true,
173636
+ },
173637
+ model: {
173638
+ value: _vm.showSubmitSheet,
173639
+ callback: function ($$v) {
173640
+ _vm.showSubmitSheet = $$v
173641
+ },
173642
+ expression: "showSubmitSheet",
173643
+ },
173644
+ },
173645
+ [
173646
+ _c("SubmitSheet", {
173647
+ attrs: { nextNode: _vm.nextNode },
173648
+ on: { forSubmit: _vm.forSubmit },
173649
+ }),
173650
+ ],
173651
+ 1
173652
+ ),
173653
+ _vm._v(" "),
173654
+ _c(
173655
+ "van-popup",
173656
+ {
173657
+ style: { width: "100%", height: "70%" },
173658
+ attrs: {
173659
+ title: "退回",
173660
+ round: "",
173661
+ "destroy-on-close": "true",
173662
+ "lazy-render": true,
173663
+ position: "bottom",
173664
+ closeable: true,
173665
+ },
173666
+ model: {
173667
+ value: _vm.showRejectSheet,
173668
+ callback: function ($$v) {
173669
+ _vm.showRejectSheet = $$v
173670
+ },
173671
+ expression: "showRejectSheet",
173672
+ },
173673
+ },
173674
+ [
173675
+ _c("RejectSheet", {
173676
+ attrs: { creatPersonData: _vm.creatPersonData },
173677
+ on: { forReject: _vm.forReject },
173678
+ }),
173679
+ ],
173680
+ 1
173681
+ ),
173682
+ ],
173683
+ 1
173684
+ )
173685
+ }
173686
+ var packages_audit_boxvue_type_template_id_ef661cfc_scoped_true_staticRenderFns = []
173687
+ packages_audit_boxvue_type_template_id_ef661cfc_scoped_true_render._withStripped = true
173688
+
173689
+
173690
+ ;// ./packages/components/audit-framework/src/components/audit-box.vue?vue&type=template&id=ef661cfc&scoped=true
173691
+
173692
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=template&id=3fcc8019&scoped=true
173693
+ var packages_submit_sheetvue_type_template_id_3fcc8019_scoped_true_render = function render() {
173694
+ var _vm = this,
173695
+ _c = _vm._self._c
173696
+ return _c("div", { staticClass: "submit-sheet" }, [
173697
+ _c("div", { class: ["submit-sheet-item", "top"] }, [
173698
+ _c("div", { staticClass: "submit-sheet-item-title" }, [
173699
+ _vm._v("您即将发给"),
173700
+ ]),
173701
+ _vm._v(" "),
173702
+ _c("div", { staticClass: "submit-sheet-flow" }, [
173703
+ _c("div", { staticClass: "submit-sheet-flow-right" }, [
173704
+ _c("div", { staticClass: "submit-sheet-flow-name" }, [
173705
+ _vm._v("\n " + _vm._s(_vm.nextNodeName) + "\n "),
173706
+ ]),
173707
+ _vm._v(" "),
173708
+ _c("div", { staticClass: "submit-sheet-flow-personcount" }, [
173709
+ _vm._v(_vm._s(_vm.flowCount) + "人"),
173710
+ ]),
173711
+ ]),
173712
+ _vm._v(" "),
173713
+ _c("div", { staticClass: "submit-sheet-flow-left" }, [
173714
+ _vm.flowNodes.length > 0
173715
+ ? _c(
173716
+ "span",
173717
+ _vm._l(_vm.flowNodes, function (item, idx) {
173718
+ return _c(
173719
+ "div",
173720
+ {
173721
+ key: idx,
173722
+ staticClass: "submit-sheet-flow-item",
173723
+ on: {
173724
+ click: function ($event) {
173725
+ return _vm.checkPerson(item)
173726
+ },
173727
+ },
173728
+ },
173729
+ [
173730
+ _c("div", {
173731
+ class: [
173732
+ "submit-sheet-flow-item-icon",
173733
+ _vm.checkedPerson.includes(item.userId)
173734
+ ? "checked"
173735
+ : "noChecked",
173736
+ ],
173737
+ }),
173738
+ _vm._v(" "),
173739
+ _c(
173740
+ "div",
173741
+ {
173742
+ class: [
173743
+ "submit-sheet-flow-item-name",
173744
+ _vm.checkedPerson.includes(item.userId)
173745
+ ? "checked"
173746
+ : "noChecked",
173747
+ ],
173748
+ },
173749
+ [
173750
+ _vm._v(
173751
+ "\n " +
173752
+ _vm._s(item.userName) +
173753
+ "\n "
173754
+ ),
173755
+ ]
173756
+ ),
173757
+ ]
173758
+ )
173759
+ }),
173760
+ 0
173761
+ )
173762
+ : _c("span", [_vm._v("无")]),
173763
+ ]),
173764
+ ]),
173765
+ ]),
173766
+ _vm._v(" "),
173767
+ _c("div", { class: ["submit-sheet-item", "bottom"] }, [
173768
+ _c("div", { staticClass: "submit-sheet-item-title" }, [
173769
+ _vm._v("提醒方式"),
173770
+ ]),
173771
+ _vm._v(" "),
173772
+ _c(
173773
+ "div",
173774
+ { staticClass: "submit-sheet-item-content" },
173775
+ [
173776
+ _c(
173777
+ "van-checkbox-group",
173778
+ {
173779
+ attrs: { direction: "horizontal" },
173780
+ model: {
173781
+ value: _vm.noticeType,
173782
+ callback: function ($$v) {
173783
+ _vm.noticeType = $$v
173784
+ },
173785
+ expression: "noticeType",
173786
+ },
173787
+ },
173788
+ [
173789
+ _c(
173790
+ "van-checkbox",
173791
+ { attrs: { name: "isSendMsgParam", shape: "square" } },
173792
+ [_vm._v("短信提醒")]
173793
+ ),
173794
+ _vm._v(" "),
173795
+ _c(
173796
+ "van-checkbox",
173797
+ { attrs: { name: "isSendTaskParam", shape: "square" } },
173798
+ [_vm._v("系统消息")]
173799
+ ),
173800
+ ],
173801
+ 1
173802
+ ),
173803
+ ],
173804
+ 1
173805
+ ),
173806
+ ]),
173807
+ _vm._v(" "),
173808
+ _c(
173809
+ "div",
173810
+ { staticClass: "submit-sheet-btn", on: { click: _vm.forSubmit } },
173811
+ [_vm._v("发送")]
173812
+ ),
173813
+ ])
173814
+ }
173815
+ var packages_submit_sheetvue_type_template_id_3fcc8019_scoped_true_staticRenderFns = []
173816
+ packages_submit_sheetvue_type_template_id_3fcc8019_scoped_true_render._withStripped = true
173817
+
173818
+
173819
+ ;// ./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=template&id=3fcc8019&scoped=true
173820
+
173821
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=script&lang=js
173822
+
173823
+
173824
+ /* harmony default export */ const packages_submit_sheetvue_type_script_lang_js = ({
173825
+ props: {
173826
+ nextNode: {
173827
+ type: Object,
173828
+ default: () => {
173829
+ return {};
173830
+ },
173831
+ },
173832
+ },
173833
+ watch: {
173834
+ flowNode: {
173835
+ handler() {
173836
+ this.flowNodes = packages_lodash_lodash_default().cloneDeep(this.nextNode.nextNodeData);
173837
+ this.nextNodeName = this.nextNode.nextNodeName;
173838
+ this.checkedPerson = this.flowNodes.map((item) => item.userId);
173839
+ this.flowCount = this.checkedPerson.length;
173840
+ },
173841
+ deep: true,
173842
+ immediate: true,
173843
+ },
173844
+ },
173845
+ data() {
173846
+ return {
173847
+ noticeType: [], // 提醒方式
173848
+ flowCount: 0, // 选中了几个人
173849
+ flowNodes: [], // 下一级流程节点人数
173850
+ checkedPerson: [], // 选中的节点人
173851
+ nextNodeName: "", // 下级流程名称
173852
+ };
173853
+ },
173854
+ methods: {
173855
+ checkPerson(item) {
173856
+ const index = this.checkedPerson.indexOf(item.userId);
173857
+ if (index !== -1) {
173858
+ // 如果存在,删除它
173859
+ this.checkedPerson.splice(index, 1);
173860
+ } else {
173861
+ // 如果不存在,添加它
173862
+ this.checkedPerson.push(item.userId);
173863
+ }
173864
+ this.flowCount = this.checkedPerson.length;
173865
+ },
173866
+ forSubmit() {
173867
+ this.$emit(
173868
+ "forSubmit",
173869
+ {
173870
+ isSendMsgParam: this.noticeType.includes("isSendMsgParam")
173871
+ ? "1"
173872
+ : "0",
173873
+ isSendTaskParam: this.noticeType.includes("isSendTaskParam")
173874
+ ? "1"
173875
+ : "0",
173876
+ },
173877
+ this.checkedPerson
173878
+ );
173879
+ },
173880
+ },
173881
+ });
173882
+
173883
+ ;// ./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=script&lang=js
173884
+ /* harmony default export */ const packages_components_submit_sheetvue_type_script_lang_js = (packages_submit_sheetvue_type_script_lang_js);
173885
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=style&index=0&id=3fcc8019&prod&lang=less&scoped=true
173886
+ var packages_submit_sheetvue_type_style_index_0_id_3fcc8019_prod_lang_less_scoped_true = __webpack_require__(2728);
173887
+ ;// ./packages/components/audit-framework/src/components/submit-sheet.vue?vue&type=style&index=0&id=3fcc8019&prod&lang=less&scoped=true
173888
+
173889
+ ;// ./packages/components/audit-framework/src/components/submit-sheet.vue
173890
+
173891
+
173892
+
173893
+ ;
173894
+
173895
+
173896
+ /* normalize component */
173897
+
173898
+ var packages_submit_sheet_component = (0,packages_componentNormalizer["default"])(
173899
+ packages_components_submit_sheetvue_type_script_lang_js,
173900
+ packages_submit_sheetvue_type_template_id_3fcc8019_scoped_true_render,
173901
+ packages_submit_sheetvue_type_template_id_3fcc8019_scoped_true_staticRenderFns,
173902
+ false,
173903
+ null,
173904
+ "3fcc8019",
173905
+ null
173906
+
173907
+ )
173908
+
173909
+ /* harmony default export */ const packages_submit_sheet = (packages_submit_sheet_component.exports);
173910
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=template&id=02ac45a1&scoped=true
173911
+ var packages_reject_sheetvue_type_template_id_02ac45a1_scoped_true_render = function render() {
173912
+ var _vm = this,
173913
+ _c = _vm._self._c
173914
+ return _c("div", { staticClass: "reject-sheet" }, [
173915
+ _c(
173916
+ "div",
173917
+ { class: ["reject-sheet-item", "top"] },
173918
+ [
173919
+ _c("div", { staticClass: "reject-sheet-item-title" }, [
173920
+ _vm._v("请选择退回环节"),
173921
+ ]),
173922
+ _vm._v(" "),
173923
+ _c("van-picker", {
173924
+ attrs: {
173925
+ "show-toolbar": false,
173926
+ columns: _vm.creatNodes.map((item) => ({
173927
+ text: item.userName,
173928
+ value: item.userId,
173929
+ })),
173930
+ },
173931
+ }),
173932
+ ],
173933
+ 1
173934
+ ),
173935
+ _vm._v(" "),
173936
+ _c("div", { class: ["reject-sheet-item", "bottom"] }, [
173937
+ _c("div", { staticClass: "reject-sheet-item-title" }, [
173938
+ _vm._v("提醒方式"),
173939
+ ]),
173940
+ _vm._v(" "),
173941
+ _c(
173942
+ "div",
173943
+ { staticClass: "reject-sheet-item-content" },
173944
+ [
173945
+ _c(
173946
+ "van-checkbox-group",
173947
+ {
173948
+ attrs: { shape: "square", direction: "horizontal" },
173949
+ model: {
173950
+ value: _vm.noticeType,
173951
+ callback: function ($$v) {
173952
+ _vm.noticeType = $$v
173953
+ },
173954
+ expression: "noticeType",
173955
+ },
173956
+ },
173957
+ [
173958
+ _c(
173959
+ "van-checkbox",
173960
+ { attrs: { name: "isSendMsgParam", shape: "square" } },
173961
+ [_vm._v("短信提醒")]
173962
+ ),
173963
+ _vm._v(" "),
173964
+ _c(
173965
+ "van-checkbox",
173966
+ { attrs: { name: "isSendTaskParam", shape: "square" } },
173967
+ [_vm._v("系统消息")]
173968
+ ),
173969
+ ],
173970
+ 1
173971
+ ),
173972
+ ],
173973
+ 1
173974
+ ),
173975
+ ]),
173976
+ _vm._v(" "),
173977
+ _c(
173978
+ "div",
173979
+ { staticClass: "reject-sheet-btn", on: { click: _vm.onReject } },
173980
+ [_vm._v("确认退回")]
173981
+ ),
173982
+ ])
173983
+ }
173984
+ var packages_reject_sheetvue_type_template_id_02ac45a1_scoped_true_staticRenderFns = []
173985
+ packages_reject_sheetvue_type_template_id_02ac45a1_scoped_true_render._withStripped = true
173986
+
173987
+
173988
+ ;// ./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=template&id=02ac45a1&scoped=true
173989
+
173990
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=script&lang=js
173991
+
173992
+
173993
+ /* harmony default export */ const packages_reject_sheetvue_type_script_lang_js = ({
173994
+ props: {
173995
+ creatPersonData: {
173996
+ type: Array,
173997
+ default: () => {
173998
+ return [];
173999
+ },
174000
+ },
174001
+ },
174002
+ watch: {
174003
+ creatPersonData: {
174004
+ handler() {
174005
+ this.creatNodes = packages_lodash_lodash_default().cloneDeep(this.creatPersonData);
174006
+ },
174007
+ deep: true,
174008
+ immediate: true,
174009
+ },
174010
+ },
174011
+ data() {
174012
+ return {
174013
+ creatNodes: [], // 下一级流程节点人数
174014
+ noticeType: [], // 提醒方式
174015
+ };
174016
+ },
174017
+ methods: {
174018
+ onReject() {
174019
+ this.$emit("forReject", {
174020
+ isSendMsgParam: this.noticeType.includes("isSendMsgParam") ? "1" : "0",
174021
+ isSendTaskParam: this.noticeType.includes("isSendTaskParam")
174022
+ ? "1"
174023
+ : "0",
174024
+ });
174025
+ },
174026
+ },
174027
+ });
174028
+
174029
+ ;// ./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=script&lang=js
174030
+ /* harmony default export */ const packages_components_reject_sheetvue_type_script_lang_js = (packages_reject_sheetvue_type_script_lang_js);
174031
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=style&index=0&id=02ac45a1&prod&lang=less&scoped=true
174032
+ var packages_reject_sheetvue_type_style_index_0_id_02ac45a1_prod_lang_less_scoped_true = __webpack_require__(8619);
174033
+ ;// ./packages/components/audit-framework/src/components/reject-sheet.vue?vue&type=style&index=0&id=02ac45a1&prod&lang=less&scoped=true
174034
+
174035
+ ;// ./packages/components/audit-framework/src/components/reject-sheet.vue
174036
+
174037
+
174038
+
174039
+ ;
174040
+
174041
+
174042
+ /* normalize component */
174043
+
174044
+ var packages_reject_sheet_component = (0,packages_componentNormalizer["default"])(
174045
+ packages_components_reject_sheetvue_type_script_lang_js,
174046
+ packages_reject_sheetvue_type_template_id_02ac45a1_scoped_true_render,
174047
+ packages_reject_sheetvue_type_template_id_02ac45a1_scoped_true_staticRenderFns,
174048
+ false,
174049
+ null,
174050
+ "02ac45a1",
174051
+ null
174052
+
174053
+ )
174054
+
174055
+ /* harmony default export */ const packages_reject_sheet = (packages_reject_sheet_component.exports);
174056
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=template&id=699b1f92&scoped=true
174057
+ var packages_opinion_sheetvue_type_template_id_699b1f92_scoped_true_render = function render() {
174058
+ var _vm = this,
174059
+ _c = _vm._self._c
174060
+ return _c("div", { staticClass: "opinion-sheet" }, [
174061
+ _c("div", { class: ["opinion-sheet-item", "top"] }, [
174062
+ _c(
174063
+ "div",
174064
+ _vm._l(_vm.opinionData, function (item) {
174065
+ return _c("van-cell", {
174066
+ key: item.opinionId,
174067
+ attrs: { title: item.opinionContent },
174068
+ scopedSlots: _vm._u(
174069
+ [
174070
+ {
174071
+ key: "title",
174072
+ fn: function () {
174073
+ return [
174074
+ _c(
174075
+ "span",
174076
+ {
174077
+ on: {
174078
+ click: function ($event) {
174079
+ return _vm.$emit("forOpinionChange", item)
174080
+ },
174081
+ },
174082
+ },
174083
+ [_vm._v(_vm._s(item.opinionContent))]
174084
+ ),
174085
+ ]
174086
+ },
174087
+ proxy: true,
174088
+ },
174089
+ {
174090
+ key: "right-icon",
174091
+ fn: function () {
174092
+ return [
174093
+ item.updateId != null
174094
+ ? _c("van-icon", {
174095
+ attrs: { name: "close", size: "16" },
174096
+ on: {
174097
+ click: function ($event) {
174098
+ return _vm.deleteCommonOpinionDataApi(
174099
+ item.opinionId
174100
+ )
174101
+ },
174102
+ },
174103
+ })
174104
+ : _vm._e(),
174105
+ ]
174106
+ },
174107
+ proxy: true,
174108
+ },
174109
+ ],
174110
+ null,
174111
+ true
174112
+ ),
174113
+ })
174114
+ }),
174115
+ 1
174116
+ ),
174117
+ ]),
174118
+ _vm._v(" "),
174119
+ _c(
174120
+ "div",
174121
+ { class: ["opinion-sheet-item", "bottom"] },
174122
+ [
174123
+ _c(
174124
+ "van-row",
174125
+ { attrs: { wrap: false, align: "center" } },
174126
+ [
174127
+ _c(
174128
+ "van-col",
174129
+ { attrs: { span: "20" } },
174130
+ [
174131
+ _c("van-field", {
174132
+ attrs: {
174133
+ type: "input",
174134
+ placeholder: "请输入意见",
174135
+ border: true,
174136
+ maxlength: "512",
174137
+ },
174138
+ model: {
174139
+ value: _vm.opinion,
174140
+ callback: function ($$v) {
174141
+ _vm.opinion = $$v
174142
+ },
174143
+ expression: "opinion",
174144
+ },
174145
+ }),
174146
+ ],
174147
+ 1
174148
+ ),
174149
+ _vm._v(" "),
174150
+ _c(
174151
+ "van-col",
174152
+ { attrs: { span: "4" } },
174153
+ [
174154
+ _c(
174155
+ "van-button",
174156
+ {
174157
+ attrs: { type: "primary", size: "large", color: "#0982ff" },
174158
+ on: { click: _vm.forCommonOpinionSave },
174159
+ },
174160
+ [_vm._v("添加")]
174161
+ ),
174162
+ ],
174163
+ 1
174164
+ ),
174165
+ ],
174166
+ 1
174167
+ ),
174168
+ ],
174169
+ 1
174170
+ ),
174171
+ ])
174172
+ }
174173
+ var packages_opinion_sheetvue_type_template_id_699b1f92_scoped_true_staticRenderFns = []
174174
+ packages_opinion_sheetvue_type_template_id_699b1f92_scoped_true_render._withStripped = true
174175
+
174176
+
174177
+ ;// ./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=template&id=699b1f92&scoped=true
174178
+
174179
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=script&lang=js
174180
+
174181
+
174182
+ /* harmony default export */ const packages_opinion_sheetvue_type_script_lang_js = ({
174183
+ props: {
174184
+ commonApi: {
174185
+ type: Object,
174186
+ default: () => {},
174187
+ },
174188
+ },
174189
+ data() {
174190
+ return {
174191
+ opinionData: [], // 常用意见数组
174192
+ opinion: "", // 输入的常用意见
174193
+ };
174194
+ },
174195
+ created() {
174196
+ this.getCommonOpinionData();
174197
+ },
174198
+ methods: {
174199
+ // 获取常用意见
174200
+ async getCommonOpinionData() {
174201
+ try {
174202
+ const { data } = await this.commonApi.getCommonOpinionData({
174203
+ opinionType: "",
174204
+ });
174205
+ console.log("获取到的常用意见是", data);
174206
+ this.opinionData = data;
174207
+ } catch (error) {
174208
+ console.error(error);
174209
+ }
174210
+ },
174211
+ // 删除常用意见
174212
+ async deleteCommonOpinionDataApi(opinionId) {
174213
+ try {
174214
+ await this.commonApi.deleteCommonOpinionDataApi({
174215
+ opinionId: opinionId,
174216
+ });
174217
+ this.$toast.success("删除成功");
174218
+ this.getCommonOpinionData();
174219
+ } catch (error) {
174220
+ this.$toast.success("删除失败,请重试");
174221
+ console.error(error);
174222
+ }
174223
+ },
174224
+ // 保存常用意见
174225
+ async forCommonOpinionSave() {
174226
+ try {
174227
+ await this.commonApi.saveCommonOpinionDataApi({
174228
+ opinionContent: this.opinion,
174229
+ });
174230
+ this.$toast.success("添加成功");
174231
+ this.getCommonOpinionData();
174232
+ } catch (error) {
174233
+ this.$toast.success("添加失败,请重试");
174234
+ console.error(error);
174235
+ }
174236
+ },
174237
+ },
174238
+ });
174239
+
174240
+ ;// ./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=script&lang=js
174241
+ /* harmony default export */ const packages_components_opinion_sheetvue_type_script_lang_js = (packages_opinion_sheetvue_type_script_lang_js);
174242
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=style&index=0&id=699b1f92&prod&lang=less&scoped=true
174243
+ var packages_opinion_sheetvue_type_style_index_0_id_699b1f92_prod_lang_less_scoped_true = __webpack_require__(7568);
174244
+ ;// ./packages/components/audit-framework/src/components/opinion-sheet.vue?vue&type=style&index=0&id=699b1f92&prod&lang=less&scoped=true
174245
+
174246
+ ;// ./packages/components/audit-framework/src/components/opinion-sheet.vue
174247
+
174248
+
174249
+
174250
+ ;
174251
+
174252
+
174253
+ /* normalize component */
174254
+
174255
+ var packages_opinion_sheet_component = (0,packages_componentNormalizer["default"])(
174256
+ packages_components_opinion_sheetvue_type_script_lang_js,
174257
+ packages_opinion_sheetvue_type_template_id_699b1f92_scoped_true_render,
174258
+ packages_opinion_sheetvue_type_template_id_699b1f92_scoped_true_staticRenderFns,
174259
+ false,
174260
+ null,
174261
+ "699b1f92",
174262
+ null
174263
+
174264
+ )
174265
+
174266
+ /* harmony default export */ const packages_opinion_sheet = (packages_opinion_sheet_component.exports);
174267
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/audit-box.vue?vue&type=script&lang=js
174268
+
174269
+
174270
+
174271
+
174272
+
174273
+ /* harmony default export */ const packages_audit_boxvue_type_script_lang_js = ({
174274
+ components: {
174275
+ SubmitSheet: packages_submit_sheet,
174276
+ RejectSheet: packages_reject_sheet,
174277
+ OpinionSheet: packages_opinion_sheet,
174278
+ },
174279
+ emits: ["onSubmit", "onSave", "onReject"],
174280
+ props: {
174281
+ audit: {
174282
+ type: Boolean,
174283
+ default: false,
174284
+ },
174285
+ //是否禁用驳回
174286
+ rejectDisabled: {
174287
+ type: Boolean,
174288
+ default: false,
174289
+ },
174290
+ //是否禁用通过
174291
+ confirmDisabled: {
174292
+ type: Boolean,
174293
+ default: false,
174294
+ },
174295
+ //是否禁用保存
174296
+ saveDisabled: {
174297
+ type: Boolean,
174298
+ default: false,
174299
+ },
174300
+ //自定义按钮名字
174301
+ confirmText: {
174302
+ type: String,
174303
+ default: "提交",
174304
+ },
174305
+ saveText: {
174306
+ type: String,
174307
+ default: "保存",
174308
+ },
174309
+ rejectText: {
174310
+ type: String,
174311
+ default: "退回",
174312
+ },
174313
+ opinionApi: {
174314
+ type: Function,
174315
+ require: false,
174316
+ },
174317
+ creatPersonData: {
174318
+ type: Array,
174319
+ default: () => [],
174320
+ },
174321
+ nextNode: {
174322
+ type: Object,
174323
+ default: () => {},
174324
+ },
174325
+ commonApi: {
174326
+ type: Object,
174327
+ default: () => {},
174328
+ },
174329
+ dafalutOpinion: {
174330
+ type: String,
174331
+ default: "",
174332
+ },
174333
+ },
174334
+ data() {
174335
+ return {
174336
+ showCheckOpinion: false,
174337
+ showSubmitSheet: false,
174338
+ showRejectSheet: false,
174339
+ text: "",
174340
+ status: "",
174341
+ type: "",
174342
+ opinion: "",
174343
+ opinionData: [],
174344
+ opinionDataSubmit: [],
174345
+ opinionDataReject: [],
174346
+ };
174347
+ },
174348
+ watch: {
174349
+ dafalutOpinion: {
174350
+ handler(val) {
174351
+ if (val != "") {
174352
+ this.opinion = val;
174353
+ }
174354
+ },
174355
+ },
174356
+ },
174357
+ methods: {
174358
+ forSubmit(noticeType, checkPerson) {
174359
+ if (this.confirmDisabled) {
174360
+ return;
174361
+ }
174362
+ this.showSubmitSheet = false;
174363
+ this.$emit("onSubmit", this.opinion, noticeType, checkPerson);
174364
+ },
174365
+ forSave() {
174366
+ if (this.saveDisabled) {
174367
+ return;
174368
+ }
174369
+ this.$emit("onSave", this.opinion);
174370
+ },
174371
+ forReject(noticeType) {
174372
+ if (this.rejectDisabled) {
174373
+ return;
174374
+ }
174375
+ this.showRejectSheet = false;
174376
+ this.$emit("onReject", this.opinion, noticeType);
174377
+ },
174378
+ forOpinionChange(item) {
174379
+ this.showCheckOpinion = false;
174380
+ this.opinion = item.opinionContent;
174381
+ },
174382
+ },
174383
+ });
174384
+
174385
+ ;// ./packages/components/audit-framework/src/components/audit-box.vue?vue&type=script&lang=js
174386
+ /* harmony default export */ const packages_components_audit_boxvue_type_script_lang_js = (packages_audit_boxvue_type_script_lang_js);
174387
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/audit-box.vue?vue&type=style&index=0&id=ef661cfc&prod&lang=less&scoped=true
174388
+ var packages_audit_boxvue_type_style_index_0_id_ef661cfc_prod_lang_less_scoped_true = __webpack_require__(2488);
174389
+ ;// ./packages/components/audit-framework/src/components/audit-box.vue?vue&type=style&index=0&id=ef661cfc&prod&lang=less&scoped=true
174390
+
174391
+ ;// ./packages/components/audit-framework/src/components/audit-box.vue
174392
+
174393
+
174394
+
174395
+ ;
174396
+
174397
+
174398
+ /* normalize component */
174399
+
174400
+ var packages_audit_box_component = (0,packages_componentNormalizer["default"])(
174401
+ packages_components_audit_boxvue_type_script_lang_js,
174402
+ packages_audit_boxvue_type_template_id_ef661cfc_scoped_true_render,
174403
+ packages_audit_boxvue_type_template_id_ef661cfc_scoped_true_staticRenderFns,
174404
+ false,
174405
+ null,
174406
+ "ef661cfc",
174407
+ null
174408
+
174409
+ )
174410
+
174411
+ /* harmony default export */ const packages_components_audit_box = (packages_audit_box_component.exports);
174412
+ ;// ./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/flow-box.vue?vue&type=template&id=01a2f9cf&scoped=true
174413
+ var packages_flow_boxvue_type_template_id_01a2f9cf_scoped_true_render = function render() {
174414
+ var _vm = this,
174415
+ _c = _vm._self._c
174416
+ return _c(
174417
+ "div",
174418
+ { staticClass: "step-box" },
174419
+ [
174420
+ _vm.showType == "page"
174421
+ ? _c(
174422
+ "van-steps",
174423
+ {
174424
+ attrs: {
174425
+ direction: "vertical",
174426
+ active: _vm.activeIndex,
174427
+ "active-color": "#488aff",
174428
+ },
174429
+ },
174430
+ _vm._l(_vm.logList, function (item) {
174431
+ return _c("van-step", { key: item.key }, [
174432
+ _c("div", { staticClass: "step-item" }, [
174433
+ _c("div", { staticClass: "step-item-top" }, [
174434
+ _c("div", { staticClass: "step-item-title" }, [
174435
+ _vm._v(
174436
+ "\n " +
174437
+ _vm._s(item.flowNodeName) +
174438
+ "\n "
174439
+ ),
174440
+ ]),
174441
+ _vm._v(" "),
174442
+ _c("div", { staticClass: "step-item-time" }, [
174443
+ _vm._v(
174444
+ "\n " +
174445
+ _vm._s(_vm.formatServerTime(item.dealTime)) +
174446
+ "\n "
174447
+ ),
174448
+ ]),
174449
+ ]),
174450
+ _vm._v(" "),
174451
+ item.isShow != "1"
174452
+ ? _c("div", { staticClass: "step-item-content" }, [
174453
+ _c("p", [_vm._v(_vm._s(item.dealOpinion))]),
174454
+ ])
174455
+ : _vm._e(),
174456
+ _vm._v(" "),
174457
+ _c("div", { staticClass: "step-item-bottm" }, [
174458
+ _vm._v(
174459
+ "\n " + _vm._s(item.dealUserName) + "\n "
174460
+ ),
174461
+ ]),
174462
+ ]),
174463
+ ])
174464
+ }),
174465
+ 1
174466
+ )
174467
+ : _vm._e(),
174468
+ _vm._v(" "),
174469
+ _vm.showType == "modal"
174470
+ ? _c(
174471
+ "div",
174472
+ _vm._l(_vm.data, function (item) {
174473
+ return _c("span", { key: item.key }, [
174474
+ _c("div", { staticClass: "auditform-step-item" }, [
174475
+ _c("div", { staticClass: "auditform-step-item-title" }, [
174476
+ _vm._v(
174477
+ "\n " +
174478
+ _vm._s(item.flowNodeName + "意见") +
174479
+ "\n "
174480
+ ),
174481
+ ]),
174482
+ _vm._v(" "),
174483
+ _c("div", { staticClass: "auditform-step-item-content" }, [
174484
+ _c("p", [_vm._v(_vm._s(item.dealOpinion))]),
174485
+ ]),
174486
+ _vm._v(" "),
174487
+ _c("div", { staticClass: "auditform-step-item-bottm" }, [
174488
+ _c("div", [_vm._v(_vm._s(item.dealUserName))]),
174489
+ _vm._v("\n    \n "),
174490
+ _c("div", [
174491
+ _vm._v(
174492
+ _vm._s(_vm.auditFormFormatServerTime(item.dealTime))
174493
+ ),
174494
+ ]),
174495
+ ]),
174496
+ ]),
174497
+ ])
174498
+ }),
174499
+ 0
174500
+ )
174501
+ : _vm._e(),
174502
+ ],
174503
+ 1
174504
+ )
174505
+ }
174506
+ var packages_flow_boxvue_type_template_id_01a2f9cf_scoped_true_staticRenderFns = []
174507
+ packages_flow_boxvue_type_template_id_01a2f9cf_scoped_true_render._withStripped = true
174508
+
174509
+
174510
+ ;// ./packages/components/audit-framework/src/components/flow-box.vue?vue&type=template&id=01a2f9cf&scoped=true
174511
+
174512
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/flow-box.vue?vue&type=script&lang=js
174513
+
174514
+
174515
+
174516
+
174517
+ /* harmony default export */ const packages_flow_boxvue_type_script_lang_js = ({
174518
+ props: {
174519
+ data: {
174520
+ type: Array,
174521
+ default: () => {
174522
+ return [];
174523
+ },
174524
+ },
174525
+ showType: {
174526
+ type: String,
174527
+ default: "modal",
174528
+ },
174529
+ },
174530
+ data() {
174531
+ return {
174532
+ logList: [],
174533
+ activeIndex: 0,
174534
+ };
174535
+ },
174536
+ created() {
174537
+ console.log("走初始化了??");
174538
+ if (this.showType == "page") {
174539
+ this.logList = packages_lodash_lodash_default().cloneDeep(this.data).reverse();
174540
+ this.activeIndex = 0;
174541
+ for (let i = 0; i < this.logList.length; i++) {
174542
+ if (this.logList[i]["dealOpinion"] == null) {
174543
+ this.activeIndex = i;
174544
+ return;
174545
+ }
174546
+ }
174547
+ }
174548
+ },
174549
+ watch: {
174550
+ data: {
174551
+ handler() {
174552
+ if (this.showType == "page") {
174553
+ this.logList = packages_lodash_lodash_default().cloneDeep(this.data).reverse();
174554
+ this.activeIndex = 0;
174555
+ for (let i = 0; i < this.logList.length; i++) {
174556
+ if (this.logList[i]["dealOpinion"] == null) {
174557
+ this.activeIndex = i;
174558
+ return;
174559
+ }
174560
+ }
174561
+ }
174562
+ },
174563
+ deep: true,
174564
+ },
174565
+ },
174566
+ methods: {
174567
+ formatServerTime(timeString) {
174568
+ if (typeof timeString !== "string" || !packages_dayjs_min_default()(timeString).isValid()) {
174569
+ return timeString;
174570
+ }
174571
+ switch (timeString.length) {
174572
+ case 8: {
174573
+ return packages_dayjs_min_default()(timeString, "YYYYMMDD").format("YYYY.MM.DD");
174574
+ }
174575
+ case 14: {
174576
+ return packages_dayjs_min_default()(timeString, "YYYYMMDDHHmmss").format("MM-DD HH:mm");
174577
+ }
174578
+ default: {
174579
+ return timeString;
174580
+ }
174581
+ }
174582
+ },
174583
+ auditFormFormatServerTime(timeString) {
174584
+ if (typeof timeString !== "string" || !packages_dayjs_min_default()(timeString).isValid()) {
174585
+ return timeString;
174586
+ }
174587
+ switch (timeString.length) {
174588
+ case 8: {
174589
+ return packages_dayjs_min_default()(timeString, "YYYYMMDD").format("YYYY.MM.DD");
174590
+ }
174591
+ case 14: {
174592
+ return packages_dayjs_min_default()(timeString, "YYYYMMDDHHmmss").format("YYYY-MM-DD");
174593
+ }
174594
+ default: {
174595
+ return timeString;
174596
+ }
174597
+ }
174598
+ },
174599
+ },
174600
+ });
174601
+
174602
+ ;// ./packages/components/audit-framework/src/components/flow-box.vue?vue&type=script&lang=js
174603
+ /* harmony default export */ const packages_components_flow_boxvue_type_script_lang_js = (packages_flow_boxvue_type_script_lang_js);
174604
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/components/flow-box.vue?vue&type=style&index=0&id=01a2f9cf&prod&scoped=true&lang=less
174605
+ var packages_flow_boxvue_type_style_index_0_id_01a2f9cf_prod_scoped_true_lang_less = __webpack_require__(2511);
174606
+ ;// ./packages/components/audit-framework/src/components/flow-box.vue?vue&type=style&index=0&id=01a2f9cf&prod&scoped=true&lang=less
174607
+
174608
+ ;// ./packages/components/audit-framework/src/components/flow-box.vue
174609
+
174610
+
174611
+
174612
+ ;
174613
+
174614
+
174615
+ /* normalize component */
174616
+
174617
+ var packages_flow_box_component = (0,packages_componentNormalizer["default"])(
174618
+ packages_components_flow_boxvue_type_script_lang_js,
174619
+ packages_flow_boxvue_type_template_id_01a2f9cf_scoped_true_render,
174620
+ packages_flow_boxvue_type_template_id_01a2f9cf_scoped_true_staticRenderFns,
174621
+ false,
174622
+ null,
174623
+ "01a2f9cf",
174624
+ null
174625
+
174626
+ )
174627
+
174628
+ /* harmony default export */ const packages_components_flow_box = (packages_flow_box_component.exports);
174629
+ ;// ./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/index.vue?vue&type=script&lang=js
174630
+
174631
+
174632
+ // 为了不营销之前的组件显示,因此下面部分组件均为复制组件
174633
+
174634
+
174635
+
174636
+ /* harmony default export */ const packages_audit_framework_srcvue_type_script_lang_js = ({
174637
+ name: "LamboMAuditFramework",
174638
+ components: {
174639
+ LamboMListBox: packages_components_list_box,
174640
+ LamboMAuditBox: packages_components_audit_box,
174641
+ LamboMFlowBox: packages_components_flow_box,
174642
+ },
174643
+ props: {
174644
+ params: {
174645
+ type: Object,
174646
+ default: () => {
174647
+ return {};
174648
+ },
174649
+ },
174650
+ },
174651
+ data() {
174652
+ return {
174653
+ isRefresh: true,
174654
+ loading: false,
174655
+ baseInfoChecked: true,
174656
+ auditLogChecked: true,
174657
+ collapseActives: ["baseInfo", "auditLog"], // 折叠面板激活项
174658
+ active: "auditForm", // 当前激活的tab
174659
+ auditFormTitle: "", // 审核单名称
174660
+ auditFormBaseInfo: [], // 审核单内容
174661
+ auditFormLog: [], // 审核日志
174662
+ creatPersonData: [], // 创建人
174663
+ dafalutOpinion: "", // 当前和已保存的个人意见
174664
+ allFlowData: [], // 全流程
174665
+ currentFlowData: [], // 当前流程
174666
+ nextNode: {
174667
+ nextNodeData: [], // 下级审核人
174668
+ nextNodeName: "", // 下级节点名称
174669
+ },
174670
+ };
174671
+ },
174672
+ async mounted() {
174673
+ await this.getFlowCreatPersonData();
174674
+ await this.getFlowNextNodeData();
174675
+ await this.getPersonalOpinionData();
174676
+ await this.getFlows();
174677
+ },
174678
+ watch: {
174679
+ params: {
174680
+ handler() {
174681
+ this.auditFormTitle = packages_lodash_lodash_default().cloneDeep(this.params.auditFormTitle);
174682
+ this.auditFormBaseInfo = packages_lodash_lodash_default().cloneDeep(this.params.auditFormBaseInfo);
174683
+ this.auditFormLog = packages_lodash_lodash_default().cloneDeep(this.params.auditFormLog);
174684
+ },
174685
+ deep: true,
174686
+ immediate: true,
174687
+ },
174688
+ baseInfoChecked: {
174689
+ handler() {
174690
+ this.setCollapseActive();
174691
+ },
174692
+ },
174693
+ auditLogChecked: {
174694
+ handler() {
174695
+ this.setCollapseActive();
174696
+ },
174697
+ },
174698
+ },
174699
+ methods: {
174700
+ setCollapseActive() {
174701
+ this.isRefresh = false;
174702
+ this.collapseActives = [];
174703
+ if (this.baseInfoChecked) {
174704
+ this.collapseActives.push("baseInfo");
174705
+ }
174706
+ if (this.auditLogChecked) {
174707
+ this.collapseActives.push("auditLog");
174708
+ }
174709
+ this.$nextTick(() => {
174710
+ this.isRefresh = true;
174711
+ });
174712
+ },
174713
+ // 新增方法,查询单据创建人
174714
+ async getFlowCreatPersonData() {
174715
+ try {
174716
+ const { data } = await this.params.commonApi.getFlowCreatPersonDataApi({
174717
+ busiPk: this.params.commonParams.busiPk,
174718
+ flowId: this.params.commonParams.flowId,
174719
+ });
174720
+ this.creatPersonData = data;
174721
+ } catch (error) {
174722
+ console.error(error);
174723
+ }
174724
+ },
174725
+ // 新增方法,查询下级审核人
174726
+ async getFlowNextNodeData() {
174727
+ const { data } = await this.params.commonApi.getFlowNextNodeDataApi({
174728
+ busiPk: this.params.commonParams.busiPk,
174729
+ currentStatus: this.params.commonParams.currentStatus,
174730
+ flowId: this.params.commonParams.flowId,
174731
+ organId: this.params.commonParams.organId,
174732
+ });
174733
+ if (data.userTrees && data.userTrees.length > 0) {
174734
+ this.nextNodeData = this.getUpperLevelOfLeafNode(data.userTrees).map(
174735
+ (item) => {
174736
+ return {
174737
+ userId: item.id,
174738
+ userName: item.title,
174739
+ };
174740
+ }
174741
+ );
174742
+ }
174743
+ this.nextNode = {
174744
+ nextNodeData: this.nextNodeData,
174745
+ nextNodeName: data.nextNodeName || "",
174746
+ };
174747
+ },
174748
+ // 新增方法,保存个人意见
174749
+ async savePersonalOpinionData(opinion) {
174750
+ this.loading = true;
174751
+ try {
174752
+ await this.params.commonApi.savePersonalOpinionDataApi({
174753
+ busiPk: this.params.commonParams.busiPk,
174754
+ currentStatus: this.params.commonParams.currentStatus,
174755
+ opinionContent: opinion,
174756
+ });
174757
+ this.$toast.success("保存成功");
174758
+ this.loading = false;
174759
+ } catch (error) {
174760
+ this.$toast.success("保存失败");
174761
+ this.loading = false;
174762
+ console.error(error);
174763
+ }
174764
+ },
174765
+ // 新增方法,查询个人意见
174766
+ async getPersonalOpinionData() {
174767
+ try {
174768
+ const { data } = await this.params.commonApi.getPersonalOpinionDataApi({
174769
+ busiPk: this.params.commonParams.busiPk,
174770
+ currentStatus: this.params.commonParams.currentStatus,
174771
+ });
174772
+ this.dafalutOpinion = data.opinionContent || "";
174773
+ } catch (error) {
174774
+ console.error(error);
174775
+ }
174776
+ },
174777
+ // 查询全流程和截至到当前流程
174778
+ async getFlows() {
174779
+ try {
174780
+ const allFlowData = await this.params.commonApi.getAuditLogData({
174781
+ busiPk: this.params.commonParams.busiPk,
174782
+ flowId: this.params.commonParams.flowId,
174783
+ type: "1",
174784
+ idDelete: "0",
174785
+ });
174786
+ this.allFlowData = allFlowData.data;
174787
+ const currentFlowData = await this.params.commonApi.getAuditLogData({
174788
+ busiPk: this.params.commonParams.busiPk,
174789
+ flowId: this.params.commonParams.flowId,
174790
+ type: "0",
174791
+ idDelete: "0",
174792
+ order: "desc",
174793
+ });
174794
+ this.currentFlowData = currentFlowData.data;
174795
+ } catch (error) {
174796
+ console.error(error);
174797
+ }
174798
+ },
174799
+
174800
+ // 获取最下级叶子节点
174801
+ getUpperLevelOfLeafNode(nodes) {
174802
+ let result = [];
174803
+ nodes.forEach((node) => {
174804
+ if (node.children && node.children.length === 0) {
174805
+ // 找到最底层叶子节点的上一级,记录其 children
174806
+ result.push(node);
174807
+ } else if (node.children && node.children.length > 0) {
174808
+ // 如果当前节点有子节点,则递归查找子节点
174809
+ const parentChildren = this.getUpperLevelOfLeafNode(node.children);
174810
+ result = result.concat(parentChildren);
174811
+ }
174812
+ });
174813
+ return result;
174814
+ },
174815
+ },
174816
+ });
174817
+
174818
+ ;// ./packages/components/audit-framework/src/index.vue?vue&type=script&lang=js
174819
+ /* harmony default export */ const packages_components_audit_framework_srcvue_type_script_lang_js = (packages_audit_framework_srcvue_type_script_lang_js);
174820
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-3.use[1]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-3.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./packages/components/audit-framework/src/index.vue?vue&type=style&index=0&id=0be776b0&prod&lang=less&scoped=true
174821
+ var packages_srcvue_type_style_index_0_id_0be776b0_prod_lang_less_scoped_true = __webpack_require__(7249);
174822
+ ;// ./packages/components/audit-framework/src/index.vue?vue&type=style&index=0&id=0be776b0&prod&lang=less&scoped=true
174823
+
174824
+ ;// ./packages/components/audit-framework/src/index.vue
174825
+
174826
+
174827
+
174828
+ ;
174829
+
174830
+
174831
+ /* normalize component */
174832
+
174833
+ var packages_audit_framework_src_component = (0,packages_componentNormalizer["default"])(
174834
+ packages_components_audit_framework_srcvue_type_script_lang_js,
174835
+ packages_srcvue_type_template_id_0be776b0_scoped_true_render,
174836
+ packages_srcvue_type_template_id_0be776b0_scoped_true_staticRenderFns,
174837
+ false,
174838
+ null,
174839
+ "0be776b0",
174840
+ null
174841
+
174842
+ )
174843
+
174844
+ /* harmony default export */ const packages_audit_framework_src = (packages_audit_framework_src_component.exports);
174845
+ ;// ./packages/components/audit-framework/index.js
174846
+
174847
+ /* harmony default export */ const packages_audit_framework = (packages_audit_framework_src);
174848
+
172674
174849
  // EXTERNAL MODULE: ./node_modules/ag-grid-community/dist/ag-grid-community.auto.esm.js
172675
174850
  var packages_ag_grid_community_auto_esm = __webpack_require__(4436);
172676
174851
  ;// ./node_modules/ag-grid-enterprise/dist/ag-grid-enterprise.auto.esm.js
@@ -257046,6 +259221,7 @@ const packages_getThemeVarByKey = (themeKey = 'default',varKey) => {
257046
259221
 
257047
259222
 
257048
259223
 
259224
+
257049
259225
  const packages_components = {
257050
259226
  // 基础组件
257051
259227
  SchemaForm: packages_schema_form,
@@ -257072,6 +259248,7 @@ const packages_components = {
257072
259248
  LamboActionSheet: packages_packages_action_sheet,
257073
259249
  LamboSingleSelect: packages_single_select,
257074
259250
  LamboMultiSelect: packages_multi_select,
259251
+ LamboMAuditFramework: packages_audit_framework,
257075
259252
  LamboTreeSelect: packages_packages_tree_select,
257076
259253
  // 展示组件
257077
259254
  LamboButtonGroup: packages_button_group["default"],