diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue
index f902ce1..71eebe7 100644
--- a/src/components/DetailComponent/ApprovalDetail.vue
+++ b/src/components/DetailComponent/ApprovalDetail.vue
@@ -30,7 +30,7 @@
form = e" style="margin-left: 15px">
-
@@ -164,6 +164,11 @@ const props = defineProps({
type: Boolean,
default: false
},
+ //是否开始打印
+ isOpenPrint: {
+ type: Boolean,
+ default: false
+ },
value: {
type: String,
default: ''
diff --git a/src/components/DetailComponent/FileComponent.vue b/src/components/DetailComponent/FileComponent.vue
index 1ae961f..14b5e32 100644
--- a/src/components/DetailComponent/FileComponent.vue
+++ b/src/components/DetailComponent/FileComponent.vue
@@ -2,7 +2,8 @@
-
+
@@ -52,7 +53,12 @@ const props = defineProps({
fullscreen: {
type: Boolean,
default: false
- }
+ },
+ //是否开始打印
+ isOpenPrint: {
+ type: Boolean,
+ default: false
+ },
})
const emit = defineEmits(['update:value'])
const tableConfig = reactive({
@@ -196,5 +202,10 @@ watch(() => props.processViewer, (newVal) => {
:deep(.el-table--fit ) {
height: 160px !important;
}
+@media print {
+ //#printTable{
+ // width: 400px!important;
+ //}
+}
diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue
index e30bae9..65efaca 100644
--- a/src/components/steps/index.vue
+++ b/src/components/steps/index.vue
@@ -1,7 +1,9 @@
-
-
-
+
+
+
+ 打印
+
baseForm = e" label-position="left" label-width="left" style="margin-left: 15px">
@@ -11,7 +13,6 @@
:title="item.title"
:class="stepClass(index)"
@click="handleStep(item.key, index)"
-
>
{
})
const localStepSuccess = ref([])
-
+const handlePrint=(print)=>{
+ emits('openPrint',print)
+}
// 格式化详情步骤条
const formatProcedure = (data) => {
let arr = []
@@ -578,4 +610,5 @@ watchEffect(() => {
:deep(.el-step__head.is-success) {
border-color: #A8abb2;
}
+
diff --git a/src/views/workflow/common/OperationRender.vue b/src/views/workflow/common/OperationRender.vue
index 391b5c5..48376aa 100644
--- a/src/views/workflow/common/OperationRender.vue
+++ b/src/views/workflow/common/OperationRender.vue
@@ -1,8 +1,8 @@
-
- 打印
-
-
+
+
+
+
{
switch (props.state) {