ef071829 by 任超

style:申请

1 parent 3e63cbf9
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
26 name: 'index', 26 name: 'index',
27 data () { 27 data () {
28 return { 28 return {
29 btnShow:false, 29 btnShow: false,
30 title: '提示', 30 title: '提示',
31 cancelText: '取消', 31 cancelText: '取消',
32 confirmText: '确认', 32 confirmText: '确认',
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
38 titleStyle: 'center', 38 titleStyle: 'center',
39 width: "75%", 39 width: "75%",
40 height: "auto", 40 height: "auto",
41 formData: "",//父组件传递的参数 负责传给子组件 41 formData: undefined,//父组件传递的参数 负责传给子组件
42 contentHeight: "", 42 contentHeight: "",
43 iconClass: "", 43 iconClass: "",
44 key: 0 44 key: 0
......
1 import { mapGetters } from 'vuex'
2 export default { 1 export default {
3 data () { 2 data () {
4 return { 3 return {
...@@ -11,9 +10,6 @@ export default { ...@@ -11,9 +10,6 @@ export default {
11 created () { 10 created () {
12 this.fetchData() 11 this.fetchData()
13 }, 12 },
14 computed: {
15 ...mapGetters(['dictData'])
16 },
17 methods: { 13 methods: {
18 handleSizeChange (val) { 14 handleSizeChange (val) {
19 this.pageData.currentPage = 1 15 this.pageData.currentPage = 1
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
56 </div> 56 </div>
57 </div> 57 </div>
58 </div> 58 </div>
59 <fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" />
59 </div> 60 </div>
60 </template> 61 </template>
61 62
...@@ -74,10 +75,15 @@ import { ...@@ -74,10 +75,15 @@ import {
74 } from "@/api/fqsq.js" 75 } from "@/api/fqsq.js"
75 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" 76 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
76 import { getForm } from "./flowform.js" 77 import { getForm } from "./flowform.js"
78 import fqsqDialog from "@/views/ywbl/ywsq/slectBdc.vue"
77 import { queueDjywmc } from '@/views/ywbl/ywsq/slectBdcdata.js'; 79 import { queueDjywmc } from '@/views/ywbl/ywsq/slectBdcdata.js';
78 export default { 80 export default {
81 components: {
82 fqsqDialog
83 },
79 data () { 84 data () {
80 return { 85 return {
86 isDialog: false,
81 // 流程图 87 // 流程图
82 imgSrc: '', 88 imgSrc: '',
83 // 折叠 89 // 折叠
...@@ -151,11 +157,8 @@ export default { ...@@ -151,11 +157,8 @@ export default {
151 let that = this; 157 let that = this;
152 switch (item.value) { 158 switch (item.value) {
153 case "B0": 159 case "B0":
154 let type = queueDjywmc(this.$route.query.sqywbm) 160 // let type = queueDjywmc(this.$route.query.sqywbm)
155 this.$popup({ 161 this.isDialog = true
156 title: '查询权利信息',
157 editItem: 'ywbl/ywsq/components/houseOwnership',
158 })
159 break; 162 break;
160 case "B1": 163 case "B1":
161 getWorkFlowImage(this.bsmSlsq).then(res => { 164 getWorkFlowImage(this.bsmSlsq).then(res => {
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 3 <div class="from-clues-header">
5 <el-tabs v-model="activeName" @tab-click="handleTabClick"> 4 <el-tabs v-model="activeName" @tab-click="handleTabClick">
6 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> 5 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
...@@ -42,7 +41,6 @@ ...@@ -42,7 +41,6 @@
42 </el-row> 41 </el-row>
43 </el-form> 42 </el-form>
44 </div> 43 </div>
45 <!-- 表格 -->
46 <div class="from-clues-content"> 44 <div class="from-clues-content">
47 <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" 45 <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
48 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 46 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
...@@ -60,10 +58,13 @@ ...@@ -60,10 +58,13 @@
60 import { mapGetters } from 'vuex' 58 import { mapGetters } from 'vuex'
61 import { datas, sendThis } from "../javascript/houseOwnership.js"; 59 import { datas, sendThis } from "../javascript/houseOwnership.js";
62 import table from "@/utils/mixin/table"; 60 import table from "@/utils/mixin/table";
63 import jump from "../components/mixin/jump"; 61 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
64 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js"; 62 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js";
65 export default { 63 export default {
66 mixins: [table, jump], 64 mixins: [table, jump],
65 props: {
66 djywbm: { type: String, default: '' }
67 },
67 data () { 68 data () {
68 return { 69 return {
69 activeName: 'zrz', 70 activeName: 'zrz',
...@@ -86,7 +87,7 @@ export default { ...@@ -86,7 +87,7 @@ export default {
86 sendThis(this) 87 sendThis(this)
87 }, 88 },
88 computed: { 89 computed: {
89 ...mapGetters(['dictData', 'bsmSqyw', 'djqxObj', 'djywbm']), 90 ...mapGetters(['dictData', 'bsmSqyw', 'djqxObj']),
90 }, 91 },
91 methods: { 92 methods: {
92 closeDialog () { 93 closeDialog () {
......
1 <template> 1 <template>
2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue"> 2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue">
3 <component :is="editItem" @closeDialog="closeDialog" :key="key" /> 3 <component :is="editItem" @closeDialog="closeDialog" :djywbm="djywbm" :key="key" />
4 </dialogBox> 4 </dialogBox>
5 </template> 5 </template>
6 <script> 6 <script>
7 import { mapGetters } from 'vuex'
8 import { queueDjywmc } from './slectBdcdata.js' 7 import { queueDjywmc } from './slectBdcdata.js'
9 export default { 8 export default {
10 props: { 9 props: {
11 value: { type: Boolean, default: true } 10 value: { type: Boolean, default: true },
11 djywbm: { type: String, default: '' }
12 }, 12 },
13 data () { 13 data () {
14 return { 14 return {
15 key: 0, 15 key: 0,
16 editItem: '', 16 editItem: '',
17 myValue: this.value 17 myValue: this.value,
18 } 18 }
19 }, 19 },
20 computed: {
21 ...mapGetters(['djywbm'])
22 },
23 watch: { 20 watch: {
24 value (val) { 21 value (val) {
25 this.myValue = val 22 this.myValue = val
26 this.key++ 23 this.key++
27 }, 24 },
28 djywbm (val) { 25 'djywbm' (val) {
26 console.log(val);
29 let dd = queueDjywmc(val) 27 let dd = queueDjywmc(val)
30 this.editItem = this.loadView(dd) 28 this.editItem = this.loadView(dd)
31 } 29 }
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
66 </div> 66 </div>
67 </div> 67 </div>
68 <fqsqDialog v-model="isDialog" /> 68 <fqsqDialog v-model="isDialog" :djywbm="djywbm" />
69 </div> 69 </div>
70 </template> 70 </template>
71 <script> 71 <script>
...@@ -85,6 +85,7 @@ export default { ...@@ -85,6 +85,7 @@ export default {
85 djqxList: [], 85 djqxList: [],
86 isDialog: false, 86 isDialog: false,
87 btnDisabled: true, 87 btnDisabled: true,
88 djywbm: ''
88 } 89 }
89 }, 90 },
90 components: { 91 components: {
...@@ -126,7 +127,7 @@ export default { ...@@ -126,7 +127,7 @@ export default {
126 if (item.sffqlc == '1') { 127 if (item.sffqlc == '1') {
127 this.btnDisabled = false 128 this.btnDisabled = false
128 this.$store.dispatch('ywbl/setBsmSqyw', item.parentid) 129 this.$store.dispatch('ywbl/setBsmSqyw', item.parentid)
129 this.$store.dispatch('ywbl/setDjywbm', item.djywbm) 130 this.djywbm = item.djywbm
130 } 131 }
131 }, 132 },
132 handleList (list, obj) { 133 handleList (list, obj) {
...@@ -197,7 +198,7 @@ export default { ...@@ -197,7 +198,7 @@ export default {
197 if (item.sffqlc == '1') { 198 if (item.sffqlc == '1') {
198 this.btnDisabled = false 199 this.btnDisabled = false
199 this.$store.dispatch('ywbl/setBsmSqyw', item.bsmSqyw) 200 this.$store.dispatch('ywbl/setBsmSqyw', item.bsmSqyw)
200 this.$store.dispatch('ywbl/setDjywbm', item.djywbm) 201 this.djywbm = item.djywbm
201 } else { 202 } else {
202 this.getNextNode(item.bsmSqyw, false) 203 this.getNextNode(item.bsmSqyw, false)
203 } 204 }
......