fangq 4 lat temu
rodzic
commit
7c3b29af8b

+ 1 - 1
src/api/bank/autodata.js

@@ -2,7 +2,7 @@ import request from '@/router/axios';
 
 export const getList = (current, size, params) => {
   return request({
-    url: '/api/bank/autodata/list',
+    url: '/api/bank/autodata/page',
     method: 'get',
     params: {
       ...params,

+ 5 - 1
src/components/initiated/init-checklist.vue

@@ -62,8 +62,12 @@
         <el-tag size="small " type="success" plain v-if="row.isChecked">已核對</el-tag>
         <el-tag size="small " type="danger" plain v-if="!row.isChecked">未核對</el-tag>
       </template>
+
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 4 - 1
src/components/initiated/init-checkwarehouse.vue

@@ -52,7 +52,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 4 - 1
src/components/initiated/init-keypwd.vue

@@ -61,7 +61,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 4 - 1
src/components/initiated/init-sealhandover.vue

@@ -62,7 +62,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
       <template slot="isTurnIn" slot-scope="{row, index}">

+ 4 - 1
src/components/initiated/init-tellertrunk.vue

@@ -48,7 +48,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 5 - 3
src/styles/login.scss

@@ -27,6 +27,7 @@
   min-height: 464px;
   align-items: center;
   display: flex;
+  box-shadow: 4px 4px 4px #888888;
 }
 
 .login-left {
@@ -72,7 +73,7 @@
   border-bottom-right-radius: 5px;
   color: #fff;
   background-color: #fff;
-  width: 50%;
+  width: 494px;
   float: left;
   box-sizing: border-box;
 }
@@ -81,6 +82,7 @@
   margin: 0 auto;
   width: 65%;
   box-sizing: border-box;
+  font-family: Microsoft JhengHei;
 }
 
 .login-main > h3 {
@@ -94,7 +96,7 @@
 .login-title {
   color: #333;
   margin-bottom: 40px;
-  font-weight: 500;
+  font-weight: bold;
   font-size: 22px;
   text-align: center;
   letter-spacing: 4px;
@@ -119,7 +121,7 @@
   background: none;
   font-size: 18px;
   letter-spacing: 2px;
-  font-weight: 300;
+  font-weight: bold;
   color: #409EFF;
   cursor: pointer;
   margin-top: 30px;

+ 25 - 4
src/views/bank/autodata.vue

@@ -123,7 +123,9 @@
         let table = this.getItemById(value);
         let option = opStr2opObj(table.columns);
         option.viewBtn = true;
-        option.column.forEach(item => {
+        option.searchMenuSpan = 6;
+        option.column.forEach((item, index) => {
+          item.search = index < 4 && item.type != 'title';
           if (item.dicUrl){
             item.dicFormatter = (res) => {
               res.data.forEach(item => {item.disabled = item.isSealed == 1;})
@@ -141,14 +143,12 @@
       getItemById(id){
         for (let i = 0; i < this.tableList.length; i++) {
           let item = this.tableList[i];
-          console.log(i)
           if (item.id == id){
             return item;
           }
         }
       },
       beforeSave(row){
-        debugger
         let  keys = Object.keys(row);
         let form = {}
         let n = 1;
@@ -235,6 +235,7 @@
           });
       },
       beforeOpen(done, type) {
+        console.log(this.form)
         if (["edit", "view"].includes(type)) {
           /*getDetail(this.form.id).then(res => {
             this.form = res.data.data;
@@ -246,8 +247,27 @@
         this.query = {};
         this.onLoad(this.page);
       },
+
+      initSearchParams(params){
+        let keys = Object.keys(params);
+        let resultParams = {};
+        keys.forEach(key => {
+          this.option.column.forEach((item, index) => {
+            if (item.prop == key){
+              let obj = {};
+              let value = params[''+key];
+              let length = key.length + 5 + value.length;
+              obj[''+key] = params[''+key];
+              resultParams['params' + (index+1)] = JSON.stringify(obj).substring(0,length);
+            }
+          })
+        })
+        return resultParams;
+      },
+
       searchChange(params, done) {
-        this.query = params;
+        this.query = this.initSearchParams(params);
+        // this.query = params;
         this.page.currentPage = 1;
         this.onLoad(this.page, params);
         done();
@@ -281,6 +301,7 @@
               let value = row['' + key];
               if (value != ''){
                 let item = JSON.parse(value);
+                item.key = key;
                 Object.assign(form, item);
               }
             }

+ 0 - 1
src/views/bank/autostruct.vue

@@ -163,7 +163,6 @@
         });
       },
       rowUpdate(row, index, done, loading) {
-        debugger
         update(row).then(() => {
           this.onLoad(this.page);
           this.$message({

+ 5 - 2
src/views/bank/checklist.vue

@@ -62,8 +62,12 @@
         <el-tag size="small " type="success" plain v-if="row.isChecked">已核對</el-tag>
         <el-tag size="small " type="danger" plain v-if="!row.isChecked">未核對</el-tag>
       </template>
+
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>
@@ -676,7 +680,6 @@
         }
         if (["edit", "view"].includes(type)) {
           this.form.isChecked = this.form.isChecked == 1;
-          debugger
           /*getDetail(this.form.id).then(res => {
             this.form = res.data.data;
           });*/

+ 4 - 1
src/views/bank/checkwarehouse.vue

@@ -52,7 +52,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 4 - 1
src/views/bank/keypwd.vue

@@ -61,7 +61,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>

+ 1 - 1
src/views/bank/returns.vue

@@ -661,7 +661,7 @@
         }else if (row.status == '完成'){
           row.status = '3';
         }
-
+debugger
         /*let userInfoStr = localStorage.getItem("saber-userInfo");
         let userInfo = JSON.parse(userInfoStr);
         row.bankConfirmNo = userInfo.content.user_ehr;

+ 4 - 1
src/views/bank/sealhandover.vue

@@ -62,7 +62,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
       <template slot="isTurnIn" slot-scope="{row, index}">

+ 4 - 1
src/views/bank/tellertrunk.vue

@@ -48,7 +48,10 @@
       </template>
 
       <template slot="titleForm" slot-scope="{row, index}">
-        <div v-html="title" style="white-space: pre-line;font-size: 8px;"></div>
+        <div v-html="title" style="white-space: pre-line;color: red;font-width: bold;"></div>
+      </template>
+      <template slot="titleLabel" slot-scope="{row, index}">
+        <span style="color: red;font-width: bold;">注意事項:</span>
       </template>
 
     </avue-crud>