iZaiZaiA 2 éve
szülő
commit
834aed8cfa

+ 1 - 1
src/views/data-fill/components/ListItem.vue

@@ -128,7 +128,7 @@ import notableform from '~src/assets/view/notableform.svg';
 import HTableForm from "~src/plugins/HTableForm"
 import wbsApi from "~api/data-fill/wbs"
 import HcUpload from "./HcUpload.vue"
-import {utilsText, isType, toParse, formValidate,deepClone} from "vue-utils-plus"
+import {utilsText, isType, formValidate,deepClone} from "vue-utils-plus"
 
 //初始
 const props = defineProps({

+ 5 - 2
src/views/data-fill/wbs.vue

@@ -32,9 +32,10 @@
             </template>
             <HcDrawer :show="isDrawer" :scrollbar="false" actionSize="lg" to-id="wbs-node-tree-card-target" @close="drawerClose">
                 <!--清表列表-->
-                <el-scrollbar ref="ListItemScrollRef">
+                <el-scrollbar ref="ListItemScrollRef" v-if="ListItemDatas.length > 0">
                     <ListItem ref="ListItemsRef" :datas="ListItemDatas" :status="NodeStatus" :classify="authBtnTabKey" @offsetTop="ListItemOffsetTop" @renew="getTableDataAll"/>
                 </el-scrollbar>
+                <HcStatus text="暂无表单" v-else/>
                 <!--底部按钮区域-->
                 <template #action>
                     <HcTooltip keys="wbs_save" v-if="NodeStatus !== '3'">
@@ -132,9 +133,11 @@
                         <HcNewSwitch :datas="wbsTypeTab" :keys="wbsTypeTabKey" @change="wbsTypeTabChange"/>
                     </template>
                     <!--清表列表-->
-                    <el-scrollbar ref="ListItemScrollRef" v-loading="ListItemLoading">
+                    <el-scrollbar ref="ListItemScrollRef" v-loading="ListItemLoading" v-if="ListItemDatas.length > 0">
                         <ListItem ref="ListItemRef" :datas="ListItemDatas" :status="NodeStatus" :classify="authBtnTabKey" @offsetTop="ListItemOffsetTop" @renew="getTableDataAll"/>
                     </el-scrollbar>
+                    <HcStatus text="暂无表单" v-else/>
+
                     <!--底部按钮区域-->
                     <template #action>
                         <HcTooltip keys="wbs_save" v-if="NodeStatus !== '3'">