7f417239 by renchao@pashanhoo.com

style:登记导航栏样式修改

1 parent 5743a556
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-08 15:19:43
5 -->
1 <template> 6 <template>
2 <section class="app-main"> 7 <section class="app-main">
3 <transition name="fade-transform" mode="out-in"> 8 <transition name="fade-transform" mode="out-in">
...@@ -6,26 +11,25 @@ ...@@ -6,26 +11,25 @@
6 </section> 11 </section>
7 </template> 12 </template>
8 <script> 13 <script>
9 export default { 14 export default {
10 name: 'AppMain', 15 name: 'AppMain',
11 computed: { 16 computed: {
12 key () { 17 key () {
13 return this.$route.path 18 return this.$route.path
19 },
14 }, 20 },
15 }, 21 }
16 }
17 </script> 22 </script>
18 23
19 <style lang="scss" scoped> 24 <style lang="scss" scoped>
20 .hasTagsView { 25 .hasTagsView {
21 .app-main { 26 .app-main {
22 height: calc(100% - 41px); 27 height: calc(100% - 50px);
23 overflow-x: auto; 28 overflow-x: auto;
24 padding: 5px; 29 padding: 5px;
25 box-sizing: border-box; 30 box-sizing: border-box;
26 background-color: #EDF1F7; 31 background-color: #edf1f7;
27 box-sizing: border-box; 32 box-sizing: border-box;
28 33 }
29 } 34 }
30 }
31 </style> 35 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> 44 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button>
45 </div> 45 </div>
46 <div class="text" v-else> 46 <div class="text" v-else>
47 <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印({{ item.szcs 47 <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印1{{ item.szcs
48 }}</el-button> 48 }}</el-button>
49 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> 49 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button>
50 </div> 50 </div>
......
...@@ -12,7 +12,6 @@ import { ...@@ -12,7 +12,6 @@ import {
12 getNextLinkInfo, 12 getNextLinkInfo,
13 } from "@/api/fqsq.js"; 13 } from "@/api/fqsq.js";
14 import { mapGetters } from 'vuex' 14 import { mapGetters } from 'vuex'
15 import { log } from "bpmn-js-token-simulation";
16 export default { 15 export default {
17 data () { 16 data () {
18 return { 17 return {
...@@ -37,7 +36,8 @@ export default { ...@@ -37,7 +36,8 @@ export default {
37 isRefresh: { 36 isRefresh: {
38 handler (newVal, oldVal) { 37 handler (newVal, oldVal) {
39 if (newVal) this.loadBdcdylist() 38 if (newVal) this.loadBdcdylist()
40 } 39 },
40 immediate: true
41 } 41 }
42 }, 42 },
43 mounted () { 43 mounted () {
......
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
101 import { datas, sendThis } from "./dbxdata"; 101 import { datas, sendThis } from "./dbxdata";
102 import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl"; 102 import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl";
103 import { judgeUserTaskPermission } from "@/api/fqsq"; 103 import { judgeUserTaskPermission } from "@/api/fqsq";
104 import { log } from 'bpmn-js-token-simulation';
104 export default { 105 export default {
105 name: "dbx", 106 name: "dbx",
106 components: { searchBox }, 107 components: { searchBox },
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 </el-form> 56 </el-form>
57 </div> 57 </div>
58 <div class="from-clues-content"> 58 <div class="from-clues-content">
59 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" 59 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="400"
60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange" 60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange"
61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns" 61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns"
62 :data="zrztableData.data"> 62 :data="zrztableData.data">
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 </el-form> 107 </el-form>
108 </div> 108 </div>
109 <div class="from-clues-content loadingtext"> 109 <div class="from-clues-content loadingtext">
110 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 110 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="400"
111 :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" 111 :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange"
112 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" 112 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns"
113 :data="dztableData.data"> 113 :data="dztableData.data">
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
8 methods: { 8 methods: {
9 //点击行选中或取消复选框 9 //点击行选中或取消复选框
10 handleRowClick (row, column, event) { 10 handleRowClick (row, column, event) {
11 (this.$refs.table.toggleRowSelection(row)) 11 this.$refs.table.toggleRowSelection(row)
12 }, 12 },
13 jump (data, type) { 13 jump (data, type) {
14 const { href } = Router.resolve( 14 const { href } = Router.resolve(
......
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
106 if (!this.isJump) { 106 if (!this.isJump) {
107 this.jump(res.result, this.sqywInfo.djywbm); 107 this.jump(res.result, this.sqywInfo.djywbm);
108 } else { 108 } else {
109 this.$popupCacel()
109 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
110 } 111 }
111 } else { 112 } else {
......
...@@ -8,49 +8,49 @@ ...@@ -8,49 +8,49 @@
8 @updateDialog="updateDialog" /> 8 @updateDialog="updateDialog" />
9 </template> 9 </template>
10 <script> 10 <script>
11 import { queueDjywmc } from "./slectBdcdata.js"; 11 import { queueDjywmc } from "./slectBdcdata.js";
12 export default { 12 export default {
13 props: { 13 props: {
14 formData: { 14 formData: {
15 type: Object, 15 type: Object,
16 default: () => { } 16 default: () => { }
17 } 17 }
18 },
19 data () {
20 return {
21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 }, 18 },
40 updateDialog () { 19 data () {
41 this.$popupCacel() 20 return {
42 this.$emit("updateDialog", true); 21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 },
40 updateDialog () {
41 this.$popupCacel()
42 this.$emit("updateDialog", true);
43 }
43 } 44 }
44 } 45 }
45 }
46 </script> 46 </script>
47 <style scoped lang="scss"> 47 <style scoped lang="scss">
48 @import "~@/styles/mixin.scss"; 48 @import "~@/styles/mixin.scss";
49 @import "~@/styles/public.scss"; 49 @import "~@/styles/public.scss";
50 50
51 /deep/.submit_button { 51 /deep/.submit_button {
52 text-align: center; 52 text-align: center;
53 padding: 10px; 53 padding: 10px;
54 margin: 10px; 54 margin: 10px;
55 } 55 }
56 </style> 56 </style>
......