Browse Source

变更入参

zhengnaiwen_citu 1 month ago
parent
commit
57f12fe0e1

+ 5 - 5
src/components/Dialog/index.vue

@@ -5,13 +5,13 @@
     v-model="show"
     persistent
     v-bind="$attrs"
-    :fullscreen="showDrawer"
+    :fullscreen="fullscreen"
     :max-width="dialogWidth"
     :width="dialogWidth"
   >
     <div class="d-flex" style="width: 100%;height: 100%" ref="print">
-      <v-card class="d-flex flex-column" style="width: 100%;" :style="!showDrawer ? 'max-height: 90vh' : ''">
-        <v-card-title :class="{'drawer': showDrawer}" class="justify-space-between">
+      <v-card class="d-flex flex-column" style="width: 100%;" :style="!fullscreen ? 'max-height: 90vh' : ''">
+        <v-card-title :class="{'drawer': fullscreen}" class="justify-space-between">
           <span class="text-h5">
             {{ title }}
           </span>
@@ -22,7 +22,7 @@
               </v-icon>
             </v-btn>
             <v-btn icon @click="handleClose">
-              <v-icon :color="showDrawer ? '#fff' : '#000'">
+              <v-icon :color="fullscreen ? '#fff' : '#000'">
                 mdi-close
               </v-icon>
             </v-btn>
@@ -101,7 +101,7 @@ export default {
       type: Boolean,
       default: true
     },
-    showDrawer: {
+    fullscreen: {
       type: Boolean,
       default: false
     },

+ 1 - 1
src/views/dataGovernance/dataProcess/index.vue

@@ -25,7 +25,7 @@
         <v-btn color="error" text  @click="onDelete(item)">删除</v-btn>
       </template>
     </m-table>
-    <m-dialog :title="title" :visible.sync="show" showDrawer :footer="false">
+    <m-dialog :title="title" :visible.sync="show" fullscreen :footer="false">
       <edit-page v-if="show" ref="edit" :item-data="itemData" @success="show = false; init()"></edit-page>
     </m-dialog>
   </div>

+ 0 - 1
src/views/dataGovernance/dataResource/components/Structure/index.vue

@@ -180,7 +180,6 @@ export default {
         }
       ],
       result: {},
-      showDrawer: false,
       ExcelHeight: 0,
       ExcelWidth: 0,
       showExcel: false,

+ 1 - 1
src/views/dataOrigin/unstructuredData/manualCollection/components/imageImportEdit.vue

@@ -1,5 +1,5 @@
 <template>
-  <m-dialog title="名片解析" :visible.sync="show" :showDrawer="id !== null" :footer="false" @close="handleClose">
+  <m-dialog title="名片解析" :visible.sync="show" :fullscreen="id !== null" :footer="false" @close="handleClose">
     <div class="fullBox box-1" :class="{ 'box-2': id }">
       <v-card class="upload-card d-flex flex-column align-center justify-center overflow-hidden" elevation="5">
         <template v-if="file">