From b18c146ecea72ecdc5aa471a0f3dc9b32dc52a45 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 14 八月 2023 15:11:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/components/flow-design/main.vue | 4 +-
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 5 ++
Source/UBCS-WEB/src/views/work/process/leave/handle.vue | 18 +++++----
Source/UBCS-WEB/src/components/work/BusinessWork.vue | 38 ++++++++++---------
4 files changed, 36 insertions(+), 29 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 9ba08aa..ed137cd 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -242,7 +242,7 @@
datetime: "datetime",
},
tableData: [],
- tableHeight: 'calc(100vh - 330px)',
+ tableHeight: 'calc(100vh - 350px)',
DataVisible: false,
tableHeadData: [],
items: {},
@@ -770,6 +770,7 @@
this.addvisible = false;
addSaveCode(val).then(res => {
this.$nextTick(() => {
+ this.$message.warning("淇濆瓨鎴愬姛");
this.onLoad()
})
})
@@ -779,6 +780,7 @@
this.editvisible = false;
editSaveCode(val).then(res => {
this.$nextTick(() => {
+ this.$message.warning("淇濆瓨鎴愬姛");
this.onLoad()
})
})
@@ -792,6 +794,7 @@
upSaveCode(val).then(res => {
console.log(res)
this.$nextTick(() => {
+ this.$message.warning("淇濆瓨鎴愬姛");
this.onLoad()
})
})
diff --git a/Source/UBCS-WEB/src/components/flow-design/main.vue b/Source/UBCS-WEB/src/components/flow-design/main.vue
index 34560f8..b124cba 100644
--- a/Source/UBCS-WEB/src/components/flow-design/main.vue
+++ b/Source/UBCS-WEB/src/components/flow-design/main.vue
@@ -8,13 +8,13 @@
width="70%"
custom-class="flow-design-dialog">
<wf-design-base ref="bpmn"
- style="height: 60vh;"
+ style="height: 60vh;width:100%"
:options="option"></wf-design-base>
</el-dialog>
<div v-else>
<wf-design-base v-if="visible"
ref="bpmn"
- style="height: 60vh;"
+ style="height: 50vh;width:100%"
:options="option"></wf-design-base>
</div>
</div>
diff --git a/Source/UBCS-WEB/src/components/work/BusinessWork.vue b/Source/UBCS-WEB/src/components/work/BusinessWork.vue
index 503cf32..9e67e9b 100644
--- a/Source/UBCS-WEB/src/components/work/BusinessWork.vue
+++ b/Source/UBCS-WEB/src/components/work/BusinessWork.vue
@@ -104,24 +104,26 @@
},
methods:{
HandlerSave(){
- this.editingRow = null;
- //淇濆瓨
- let datas=this.tableData.map(item=> {
- let newitem = {
- codeClassifyOid: item.codeclsfid,
- templateOid: this.templateId,
- editInProcess: true,
- data: item,
- oid:item.oid,
- ts:item.ts
- }
- return newitem;
- })
- batchUpdateCode(datas).then(res => {
- if(res.data.data.success){
- this.$message.success("淇敼鎴愬姛");
- }
- })
+ if(!validatenull(this.editingRow)) {
+ this.editingRow = null;
+ //淇濆瓨
+ let datas = this.tableData.map(item => {
+ let newitem = {
+ codeClassifyOid: item.codeclsfid,
+ templateOid: this.templateId,
+ editInProcess: true,
+ data: item,
+ oid: item.oid,
+ ts: item.ts
+ }
+ return newitem;
+ })
+ batchUpdateCode(datas).then(res => {
+ if (res.data.data.success) {
+ this.$message.success("淇敼鎴愬姛");
+ }
+ })
+ }
},
//琛ㄦ牸澶存覆鏌�
CrudHeaderRend() {
diff --git a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
index 1d81c3e..813cc12 100644
--- a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
+++ b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -10,14 +10,9 @@
<el-tab-pane label="娴佺▼璺熻釜" name="second">
<avue-crud :data="flowList" :option="option" ref="crud">
</avue-crud>
- <el-card shadow="hover">
- <div slot="header">
- <span>娴佺▼璺熻釜</span>
- </div>
- <el-row class="row-bg">
- <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design>
- </el-row>
- </el-card>
+ <el-row class="row-bg" style="margin-top: 20px">
+ <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design>
+ </el-row>
</el-tab-pane>
</el-tabs>
</el-card>
@@ -233,4 +228,11 @@
::v-deep(.el-upload-dragger .el-icon-upload) {
margin: 15px 0 16px;
}
+.el-tab-pane{
+ height: 75vh;
+ overflow: auto;
+}
+.el-button{
+ margin:0 10px 10px 0;
+}
</style>
--
Gitblit v1.9.3