saas-tenant-approve-app 0.2.21 → 0.2.24
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/tips.common.js +49 -19
- package/lib/tips.common.js.map +1 -1
- package/lib/tips.css +1 -1
- package/lib/tips.umd.js +49 -19
- package/lib/tips.umd.js.map +1 -1
- package/lib/tips.umd.min.js +1 -1
- package/lib/tips.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/approveLineAll.vue +37 -11
package/lib/tips.common.js
CHANGED
|
@@ -14485,8 +14485,8 @@ var component = normalizeComponent(
|
|
|
14485
14485
|
)
|
|
14486
14486
|
|
|
14487
14487
|
/* harmony default export */ var approveLine = (component.exports);
|
|
14488
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/approveLineAll.vue?vue&type=template&id=
|
|
14489
|
-
var
|
|
14488
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/approveLineAll.vue?vue&type=template&id=57ccfe4a&scoped=true
|
|
14489
|
+
var approveLineAllvue_type_template_id_57ccfe4a_scoped_true_render = function render() {
|
|
14490
14490
|
var _vm = this,
|
|
14491
14491
|
_c = _vm._self._c;
|
|
14492
14492
|
return _c('div', {
|
|
@@ -14573,6 +14573,10 @@ var approveLineAllvue_type_template_id_79c4d0e4_scoped_true_render = function re
|
|
|
14573
14573
|
"type": "primary"
|
|
14574
14574
|
}
|
|
14575
14575
|
}, [_vm._v("依次")]) : _vm._e(), _vm.ableEdit(step) && _vm.data.editApprover && step.unApprovedFlag ? _c('van-button', {
|
|
14576
|
+
staticStyle: {
|
|
14577
|
+
"position": "relative",
|
|
14578
|
+
"top": "-4px"
|
|
14579
|
+
},
|
|
14576
14580
|
attrs: {
|
|
14577
14581
|
"icon": "plus",
|
|
14578
14582
|
"size": "mini",
|
|
@@ -14687,7 +14691,7 @@ var approveLineAllvue_type_template_id_79c4d0e4_scoped_true_render = function re
|
|
|
14687
14691
|
}
|
|
14688
14692
|
}, [_vm._v("同意 ")])], 1)], 1)], 1) : _vm._e()], 1);
|
|
14689
14693
|
};
|
|
14690
|
-
var
|
|
14694
|
+
var approveLineAllvue_type_template_id_57ccfe4a_scoped_true_staticRenderFns = [];
|
|
14691
14695
|
|
|
14692
14696
|
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
14693
14697
|
var lib = __webpack_require__(9122);
|
|
@@ -15332,11 +15336,16 @@ approveMobileTree.prototype = {
|
|
|
15332
15336
|
},
|
|
15333
15337
|
async getProjectNodes() {
|
|
15334
15338
|
let that = this;
|
|
15339
|
+
let formDataList = [{
|
|
15340
|
+
lable: "部门主要负责人",
|
|
15341
|
+
value: that.data.mainDeptLeader ? "是" : "否"
|
|
15342
|
+
}];
|
|
15335
15343
|
projectCustomNodes(that.SAAS_TENANT_API, {
|
|
15336
15344
|
outApprove: true,
|
|
15337
15345
|
uid: that.data.uid,
|
|
15338
15346
|
id: that.data.id,
|
|
15339
|
-
aprId: that.data.aprId
|
|
15347
|
+
aprId: that.data.aprId,
|
|
15348
|
+
formDataList: formDataList
|
|
15340
15349
|
}).then(async res => {
|
|
15341
15350
|
if (res.status == 200 && res.result && res.result.data) {
|
|
15342
15351
|
let approveList = res.result.data.map(async (item, index) => {
|
|
@@ -15435,14 +15444,26 @@ approveMobileTree.prototype = {
|
|
|
15435
15444
|
if (me.approveList && me.approveList.length > 0) {
|
|
15436
15445
|
var node = me.approveList.find(item => item.id == step.nodeId);
|
|
15437
15446
|
let defaultKey = [];
|
|
15438
|
-
if (
|
|
15439
|
-
|
|
15440
|
-
|
|
15441
|
-
|
|
15442
|
-
|
|
15443
|
-
|
|
15444
|
-
|
|
15445
|
-
|
|
15447
|
+
if (node.nodeType == 'copy') {
|
|
15448
|
+
if (step.copyerDtoList && step.copyerDtoList.length) {
|
|
15449
|
+
defaultKey = step.copyerDtoList.map(item => {
|
|
15450
|
+
return {
|
|
15451
|
+
key: item.userId,
|
|
15452
|
+
name: item.name,
|
|
15453
|
+
type: "USER"
|
|
15454
|
+
};
|
|
15455
|
+
});
|
|
15456
|
+
}
|
|
15457
|
+
} else {
|
|
15458
|
+
if (step.approverDtoList && step.approverDtoList.length) {
|
|
15459
|
+
defaultKey = step.approverDtoList.map(item => {
|
|
15460
|
+
return {
|
|
15461
|
+
key: item.userId,
|
|
15462
|
+
name: item.name,
|
|
15463
|
+
type: "USER"
|
|
15464
|
+
};
|
|
15465
|
+
});
|
|
15466
|
+
}
|
|
15446
15467
|
}
|
|
15447
15468
|
let myTree2 = new approveMobileTree({
|
|
15448
15469
|
unitType: "user",
|
|
@@ -15483,7 +15504,11 @@ approveMobileTree.prototype = {
|
|
|
15483
15504
|
});
|
|
15484
15505
|
console.log("userList", userList);
|
|
15485
15506
|
//添加人员到节点中
|
|
15486
|
-
|
|
15507
|
+
if (node.nodeType == 'copy') {
|
|
15508
|
+
step.copyerDtoList = userList;
|
|
15509
|
+
} else {
|
|
15510
|
+
step.approverDtoList = userList;
|
|
15511
|
+
}
|
|
15487
15512
|
//删除相同节点人员
|
|
15488
15513
|
me.optionalList = me.optionalList.filter(it => !it.nodeId == node.id);
|
|
15489
15514
|
//保存修改人员
|
|
@@ -15603,12 +15628,17 @@ approveMobileTree.prototype = {
|
|
|
15603
15628
|
});
|
|
15604
15629
|
}
|
|
15605
15630
|
let optional = res.optional && res.optional.length > 0 ? res.optional : that.optionalList && that.optionalList.length > 0 ? JSON.stringify(that.optionalList) : null;
|
|
15631
|
+
let formDataList = [{
|
|
15632
|
+
lable: "部门主要负责人",
|
|
15633
|
+
value: that.data.mainDeptLeader ? "是" : "否"
|
|
15634
|
+
}];
|
|
15606
15635
|
let parm = Object.assign({
|
|
15607
15636
|
uid: this.data.uid,
|
|
15608
15637
|
id: this.data.id,
|
|
15609
15638
|
result: this.input == "" ? "同意" : this.input,
|
|
15610
15639
|
sign: "",
|
|
15611
|
-
optional: optional
|
|
15640
|
+
optional: optional,
|
|
15641
|
+
formDataList: formDataList
|
|
15612
15642
|
}, res);
|
|
15613
15643
|
console.log(parm);
|
|
15614
15644
|
if (!that.ifBtn) return;
|
|
@@ -15674,10 +15704,10 @@ approveMobileTree.prototype = {
|
|
|
15674
15704
|
});
|
|
15675
15705
|
;// CONCATENATED MODULE: ./src/components/approveLineAll.vue?vue&type=script&lang=js
|
|
15676
15706
|
/* harmony default export */ var components_approveLineAllvue_type_script_lang_js = (approveLineAllvue_type_script_lang_js);
|
|
15677
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/approveLineAll.vue?vue&type=style&index=0&id=
|
|
15707
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/approveLineAll.vue?vue&type=style&index=0&id=57ccfe4a&prod&scoped=true&lang=css
|
|
15678
15708
|
// extracted by mini-css-extract-plugin
|
|
15679
15709
|
|
|
15680
|
-
;// CONCATENATED MODULE: ./src/components/approveLineAll.vue?vue&type=style&index=0&id=
|
|
15710
|
+
;// CONCATENATED MODULE: ./src/components/approveLineAll.vue?vue&type=style&index=0&id=57ccfe4a&prod&scoped=true&lang=css
|
|
15681
15711
|
|
|
15682
15712
|
;// CONCATENATED MODULE: ./src/components/approveLineAll.vue
|
|
15683
15713
|
|
|
@@ -15690,11 +15720,11 @@ approveMobileTree.prototype = {
|
|
|
15690
15720
|
|
|
15691
15721
|
var approveLineAll_component = normalizeComponent(
|
|
15692
15722
|
components_approveLineAllvue_type_script_lang_js,
|
|
15693
|
-
|
|
15694
|
-
|
|
15723
|
+
approveLineAllvue_type_template_id_57ccfe4a_scoped_true_render,
|
|
15724
|
+
approveLineAllvue_type_template_id_57ccfe4a_scoped_true_staticRenderFns,
|
|
15695
15725
|
false,
|
|
15696
15726
|
null,
|
|
15697
|
-
"
|
|
15727
|
+
"57ccfe4a",
|
|
15698
15728
|
null
|
|
15699
15729
|
|
|
15700
15730
|
)
|