@lambo-design/workflow-approve 1.0.0-beta.30 → 1.0.0-beta.31
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/package.json +1 -1
- package/src/components/history.vue +5 -1
- package/src/portrait.vue +7 -1
package/package.json
CHANGED
|
@@ -149,6 +149,10 @@ export default {
|
|
|
149
149
|
type: Boolean,
|
|
150
150
|
default: false
|
|
151
151
|
},
|
|
152
|
+
pushButton: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
default: true
|
|
155
|
+
},
|
|
152
156
|
handleName: {
|
|
153
157
|
type: String,
|
|
154
158
|
default: "审批"
|
|
@@ -337,7 +341,7 @@ export default {
|
|
|
337
341
|
}
|
|
338
342
|
},
|
|
339
343
|
mounted() {
|
|
340
|
-
this.displayPushButton = this.donePage;
|
|
344
|
+
this.displayPushButton = this.donePage && this.pushButton;
|
|
341
345
|
this.itemList = this.list;
|
|
342
346
|
if (this.itemList.length > 0) {
|
|
343
347
|
this.displayedList = this.itemList.slice(0, 2);
|
package/src/portrait.vue
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class="box" v-show="historyShow">
|
|
102
102
|
<Card class="process-history" :style="processHistoryHeight" dis-hover :bordered="false"
|
|
103
103
|
v-if="handleButtons && handleButtons.includes('auditHistory')">
|
|
104
|
-
<processHistory :portrait-width="portraitWidth" :list="processHistory" :done-page="isDetail"
|
|
104
|
+
<processHistory :portrait-width="portraitWidth" :list="processHistory" :done-page="isDetail" :push-button="pushButton"
|
|
105
105
|
:smart-flow-server-context="smartFlowServerContext"></processHistory>
|
|
106
106
|
</Card>
|
|
107
107
|
</div>
|
|
@@ -377,6 +377,12 @@ export default {
|
|
|
377
377
|
required: false,
|
|
378
378
|
default: '',
|
|
379
379
|
},
|
|
380
|
+
//详情页催办按钮
|
|
381
|
+
pushButton: {
|
|
382
|
+
type: Boolean,
|
|
383
|
+
required: false,
|
|
384
|
+
default: true,
|
|
385
|
+
},
|
|
380
386
|
//业务表单保存方法
|
|
381
387
|
businessFormSave: {
|
|
382
388
|
type: Function,
|