liuyanpeng vor 3 Jahren
Ursprung
Commit
d9b3557b0a
5 geänderte Dateien mit 7 neuen und 17 gelöschten Zeilen
  1. 1 1
      package.json
  2. 1 12
      src/customer/printTemp/index.vue
  3. 4 0
      src/index.js
  4. 1 1
      src/print/CommonTable.vue
  5. 0 3
      src/print/PrintCard.vue

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "client-base-v4",
   "description": "Leanwo Prodog Client",
-  "version": "3.0.27",
+  "version": "3.0.29",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "cross-env webpack serve --config ./webpack.dev.js",

+ 1 - 12
src/customer/printTemp/index.vue

@@ -1,9 +1,5 @@
 <template>
-  <a-page-header
-    title="打印模板编辑"
-    @back="goBack"
-  />
-  <a-divider />
+  <Navbar title="模板编辑" :is-go-back="true" />
   <a-steps :current="step">
     <a-step title="选择模版" />
     <a-step title="编辑模版" />
@@ -31,12 +27,5 @@ const store = useStore();
 const step = computed(()=>store.state.downloadStore.step);
 
 
-const goBack = () =>{
-  router.go(-1);
-};
-
-onMounted(() =>{
-  console.log(CreateJPEG);
-});
 </script>
 <style scoped></style>

+ 4 - 0
src/index.js

@@ -66,6 +66,8 @@ import ReportApprove from './workflow/ReportApprove.vue';
 import ExcelReport from './client/ExcelReport.vue';
 import DateExcelReport from './client/DateExcelReport.vue';
 import DelegationReport from './client/DelegationReport.vue';
+import PrintTemp from '../src/customer/printTemp/index.vue';
+import PrintCard from '../src/print/PrintCard.vue';
 
 
 
@@ -125,4 +127,6 @@ export {
   ExcelReport,
   DateExcelReport,
   DelegationReport,
+  PrintTemp,
+  PrintCard,
 };

+ 1 - 1
src/print/CommonTable.vue

@@ -9,7 +9,7 @@
         :loading="isLoading"
         :data-source="dataSource"
         :columns="columns"
-        :scroll="{ y: 360 }"
+        :scroll="{ y: 350 }"
         :pagination="pagination"
         :row-key="(record) => record.id"
         :row-selection="

+ 0 - 3
src/print/PrintCard.vue

@@ -543,9 +543,6 @@ const init = () => {
 </script>
 
 <style scoped>
-.printDiv {
-  padding: 24px;
-}
 .commonStyle {
   margin-right: 16px;
   width: 160px;