hookehuyr

电子签名功能联调

...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 * @Description: 电子签名控件 6 * @Description: 电子签名控件
7 --> 7 -->
8 <template> 8 <template>
9 - <div class="sign-page"> 9 + <div v-if="HideShow" class="sign-page">
10 <div class="label"> 10 <div class="label">
11 {{ item.component_props.label }}{{ valid 11 {{ item.component_props.label }}{{ valid
12 }}<span v-if="item.component_props.required">&nbsp;*</span> 12 }}<span v-if="item.component_props.required">&nbsp;*</span>
...@@ -71,6 +71,10 @@ import { getEtag } from "@/utils/qetag.js"; // 生成hash值 ...@@ -71,6 +71,10 @@ import { getEtag } from "@/utils/qetag.js"; // 生成hash值
71 const props = defineProps({ 71 const props = defineProps({
72 item: Object, 72 item: Object,
73 }); 73 });
74 +// 隐藏显示
75 +const HideShow = computed(() => {
76 + return !props.item.component_props.disabled
77 +})
74 const $route = useRoute(); 78 const $route = useRoute();
75 const emit = defineEmits(["active"]); 79 const emit = defineEmits(["active"]);
76 80
......