2dbc523c by 蔡俊立
2 parents c16cfc43 96142a2c
...@@ -224,9 +224,9 @@ export default { ...@@ -224,9 +224,9 @@ export default {
224 } 224 }
225 225
226 &.active { 226 &.active {
227 background-color: #42b983; 227 background-color: #0794FF;
228 color: #fff; 228 color: #fff;
229 border-color: #42b983; 229 border-color: #0794FF;
230 230
231 &::before { 231 &::before {
232 content: ''; 232 content: '';
......
...@@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js'; ...@@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js';
3 let loading 3 let loading
4 4
5 // loading开始 方法 5 // loading开始 方法
6 function startLoading (target, loadingText = '正在加载中...') { 6 function startLoading (loadingText = '正在加载中...') {
7 loading = Loading.service({ 7 loading = Loading.service({
8 text: loadingText, 8 text: loadingText,
9 spinner: 'el-icon-loading', 9 spinner: 'el-icon-loading',
10 background: 'rgba(255, 255, 255, 0.5)', 10 background: 'rgba(255, 255, 255, 0.5)',
11 target: target ? '#' + target : 'body' 11 target: document.querySelector('.loadingtext')
12 }) 12 })
13 } 13 }
14 14
......
...@@ -2,24 +2,46 @@ ...@@ -2,24 +2,46 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> 5 <el-form
6 :model="queryForm"
7 ref="queryForm"
8 @submit.native.prevent
9 label-width="70px"
10 >
6 <el-row> 11 <el-row>
7 <el-col :span="5"> 12 <el-col :span="5">
8 <el-form-item label="查询编号"> 13 <el-form-item label="查询编号">
9 <el-input placeholder="请输入编号" v-model="queryForm.cxbh" class="width100" clearable @clear="queryClick()"> 14 <el-input
15 placeholder="请输入编号"
16 v-model="queryForm.cxbh"
17 class="width100"
18 clearable
19 @clear="queryClick()"
20 >
10 </el-input> 21 </el-input>
11 </el-form-item> 22 </el-form-item>
12 </el-col> 23 </el-col>
13 <el-col :span="5"> 24 <el-col :span="5">
14 <el-form-item label="申请人"> 25 <el-form-item label="申请人">
15 <el-input placeholder="请输入申请人" v-model="queryForm.sqr" class="width100" @clear="queryClick()" clearable> 26 <el-input
27 placeholder="请输入申请人"
28 v-model="queryForm.sqr"
29 class="width100"
30 @clear="queryClick()"
31 clearable
32 >
16 </el-input> 33 </el-input>
17 </el-form-item> 34 </el-form-item>
18 </el-col> 35 </el-col>
19 36
20 <el-col :span="14" class="btnColRight"> 37 <el-col :span="14" class="btnColRight">
21 <el-form-item> 38 <el-form-item>
22 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 39 <el-button
40 type="primary"
41 native-type="submit"
42 @click="queryClick()"
43 >查询</el-button
44 >
23 <el-button @click="moreQueryClick()">高级查询</el-button> 45 <el-button @click="moreQueryClick()">高级查询</el-button>
24 </el-form-item> 46 </el-form-item>
25 </el-col> 47 </el-col>
...@@ -27,10 +49,19 @@ ...@@ -27,10 +49,19 @@
27 </el-form> 49 </el-form>
28 </div> 50 </div>
29 <!-- 表格 --> 51 <!-- 表格 -->
30 <div class="from-clues-content"> 52 <div class="from-clues-content" id="divcontentid">
31 <lb-table :page-size="pageData.size" id="dydjb" border @sort-change="handleSort" 53 <lb-table
32 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" 54 :page-size="pageData.size"
33 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 55 id="dydjb"
56 border
57 @sort-change="handleSort"
58 :current-page.sync="pageData.current"
59 :total="tableData.total"
60 @size-change="handleSizeChange"
61 @p-current-change="handleCurrentChange"
62 :column="tableData.columns"
63 :data="tableData.data"
64 >
34 </lb-table> 65 </lb-table>
35 </div> 66 </div>
36 </div> 67 </div>
...@@ -44,13 +75,13 @@ import { getJtfcPage } from "@/api/jtfc"; ...@@ -44,13 +75,13 @@ import { getJtfcPage } from "@/api/jtfc";
44 export default { 75 export default {
45 name: "dydjb", 76 name: "dydjb",
46 mixins: [table], 77 mixins: [table],
47 mounted () { 78 mounted() {
48 sendThis(this); 79 sendThis(this);
49 }, 80 },
50 computed: { 81 computed: {
51 ...mapGetters(["dictData"]), 82 ...mapGetters(["dictData"]),
52 }, 83 },
53 data () { 84 data() {
54 return { 85 return {
55 queryForm: { 86 queryForm: {
56 cxbh: "", 87 cxbh: "",
...@@ -64,36 +95,37 @@ export default { ...@@ -64,36 +95,37 @@ export default {
64 }; 95 };
65 }, 96 },
66 methods: { 97 methods: {
98 //查询
99 queryClick() {
100 this.fetchData();
101 },
67 // 初始化数据 102 // 初始化数据
68 fetchData () { 103 fetchData() {
69 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#dydjb' }).then((res) => { 104 this.$startLoading("divcontentid");
70 let { records, total } = res.result; 105 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
71 this.tableData.data = records; 106 this.$endLoading();
72 this.tableData.total = total; 107 if (res.code === 200) {
108 let { records, total } = res.result;
109 this.tableData.data = records;
110 this.tableData.total = total;
111 }
73 }); 112 });
74 }, 113 },
75 handleSort (name, sort) { 114 dydjbClick(scope) {
76 console.log(name, sort);
77 },
78
79 dydjbClick (scope) {
80 // var sqcxBsm = scope.row.bsmSqcx;
81 this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { 115 this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
82 btnShow: true,
83 height: "800px", 116 height: "800px",
84 formData: { 117 formData: {
85 sqcxdata: scope.row, 118 sqcxdata: scope.row,
86 }, 119 },
87 cancel: function () { }, //取消事件的回调 120 cancel: function () {}, //取消事件的回调
88 confirm: function () { 121 confirm: function () {},
89 } 122 });
90 })
91 }, 123 },
92 queryClick () { 124 handleSort(name, sort) {
93 this.fetchData(); 125 console.log(name, sort);
94 } 126 },
95 } 127 },
96 } 128 };
97 </script> 129 </script>
98 <style scoped lang="scss"> 130 <style scoped lang="scss">
99 @import "~@/styles/public.scss"; 131 @import "~@/styles/public.scss";
......
...@@ -130,7 +130,6 @@ export default { ...@@ -130,7 +130,6 @@ export default {
130 } 130 }
131 }, 131 },
132 queryChick () { 132 queryChick () {
133 debugger;
134 this.addJtfc.djSqcxDO = { ...this.ruleForm } 133 this.addJtfc.djSqcxDO = { ...this.ruleForm }
135 // this.$message({ 134 // this.$message({
136 // type: 'success', 135 // type: 'success',
......
...@@ -2,32 +2,59 @@ ...@@ -2,32 +2,59 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 家庭房产 --> 3 <!-- 家庭房产 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px"> 5 <el-form
6 :model="queryForm"
7 @submit.native.prevent
8 ref="queryForm"
9 label-width="70px"
10 >
6 <el-row> 11 <el-row>
7 <el-col :span="5"> 12 <el-col :span="5">
8 <el-form-item label="查询编号"> 13 <el-form-item label="查询编号">
9 <el-input placeholder="请输入查询编号" @clear="queryClick()" v-model="queryForm.cxbh" clearable class="width100"> 14 <el-input
15 placeholder="请输入查询编号"
16 @clear="queryClick()"
17 v-model="queryForm.cxbh"
18 clearable
19 class="width100"
20 >
10 </el-input> 21 </el-input>
11 </el-form-item> 22 </el-form-item>
12 </el-col> 23 </el-col>
13 <el-col :span="5"> 24 <el-col :span="5">
14 <el-form-item label="申请人"> 25 <el-form-item label="申请人">
15 <el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" clearable class="width100"> 26 <el-input
27 placeholder="请输入申请人"
28 @clear="queryClick()"
29 v-model="queryForm.sqr"
30 clearable
31 class="width100"
32 >
16 </el-input> 33 </el-input>
17 </el-form-item> 34 </el-form-item>
18 </el-col> 35 </el-col>
19 <el-col :span="14" class="btnColRight"> 36 <el-col :span="14" class="btnColRight">
20 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 37 <el-button type="primary" native-type="submit" @click="queryClick()"
38 >查询</el-button
39 >
21 <el-button type="primary" @click="handleAdd">新增</el-button> 40 <el-button type="primary" @click="handleAdd">新增</el-button>
22 </el-col> 41 </el-col>
23 </el-row> 42 </el-row>
24 </el-form> 43 </el-form>
25 </div> 44 </div>
26 <!-- 表格 --> 45 <!-- 表格 -->
27 <div class="from-clues-content"> 46 <div class="from-clues-content" id="divcontentid">
28 <lb-table :page-size="pageData.size" border id="jtfc" :current-page.sync="pageData.current" 47 <lb-table
29 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 48 :page-size="pageData.size"
30 :column="tableData.columns" :data="tableData.data"> 49 border
50 id="jtfc"
51 :current-page.sync="pageData.current"
52 :total="tableData.total"
53 @size-change="handleSizeChange"
54 @p-current-change="handleCurrentChange"
55 :column="tableData.columns"
56 :data="tableData.data"
57 >
31 </lb-table> 58 </lb-table>
32 </div> 59 </div>
33 <addjtfc v-model="isDialog" /> 60 <addjtfc v-model="isDialog" />
...@@ -42,10 +69,10 @@ export default { ...@@ -42,10 +69,10 @@ export default {
42 name: "jtfc", 69 name: "jtfc",
43 components: { addjtfc }, 70 components: { addjtfc },
44 mixins: [table], 71 mixins: [table],
45 mounted () { 72 mounted() {
46 sendThis(this); 73 sendThis(this);
47 }, 74 },
48 data () { 75 data() {
49 return { 76 return {
50 isDialog: false, 77 isDialog: false,
51 sqrOption: [], 78 sqrOption: [],
...@@ -59,29 +86,33 @@ export default { ...@@ -59,29 +86,33 @@ export default {
59 columns: datas.columns(), 86 columns: datas.columns(),
60 data: [], 87 data: [],
61 }, 88 },
62
63 }; 89 };
64 }, 90 },
65 methods: { 91 methods: {
66 queryClick () { 92 //查询
93 queryClick() {
67 this.fetchData(); 94 this.fetchData();
68 }, 95 },
69 // 初始化数据 96 // 初始化数据
70 fetchData () { 97 fetchData() {
71 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#jtfc' }).then((res) => { 98 this.$startLoading("divcontentid");
72 let { records, total } = res.result; 99 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
73 this.tableData.data = records; 100 this.$endLoading();
74 this.tableData.total = total; 101 if (res.code === 200) {
102 let { records, total } = res.result;
103 this.tableData.data = records;
104 this.tableData.total = total;
105 }
75 }); 106 });
76 }, 107 },
77 handleSort (name, sort) { 108 handleSort(name, sort) {
78 console.log(name, sort); 109 console.log(name, sort);
79 }, 110 },
80 handleAdd () { 111 handleAdd() {
81 this.isDialog = true; 112 this.isDialog = true;
82 } 113 },
83 } 114 },
84 } 115 };
85 </script> 116 </script>
86 <style scoped lang="scss"> 117 <style scoped lang="scss">
87 @import "~@/styles/public.scss"; 118 @import "~@/styles/public.scss";
......
...@@ -2,23 +2,45 @@ ...@@ -2,23 +2,45 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> 5 <el-form
6 :model="queryForm"
7 ref="queryForm"
8 @submit.native.prevent
9 label-width="70px"
10 >
6 <el-row> 11 <el-row>
7 <el-col :span="5"> 12 <el-col :span="5">
8 <el-form-item label="查询编号"> 13 <el-form-item label="查询编号">
9 <el-input placeholder="请输入编号" @clear="queryClick()" v-model="queryForm.cxbh" class="width100" clearable> 14 <el-input
15 placeholder="请输入编号"
16 @clear="queryClick()"
17 v-model="queryForm.cxbh"
18 class="width100"
19 clearable
20 >
10 </el-input> 21 </el-input>
11 </el-form-item> 22 </el-form-item>
12 </el-col> 23 </el-col>
13 <el-col :span="5"> 24 <el-col :span="5">
14 <el-form-item label="申请人"> 25 <el-form-item label="申请人">
15 <el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" class="width100" clearable> 26 <el-input
27 placeholder="请输入申请人"
28 @clear="queryClick()"
29 v-model="queryForm.sqr"
30 class="width100"
31 clearable
32 >
16 </el-input> 33 </el-input>
17 </el-form-item> 34 </el-form-item>
18 </el-col> 35 </el-col>
19 <el-col :span="14" class="btnColRight"> 36 <el-col :span="14" class="btnColRight">
20 <el-form-item> 37 <el-form-item>
21 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 38 <el-button
39 type="primary"
40 native-type="submit"
41 @click="queryClick()"
42 >查询</el-button
43 >
22 <el-button @click="moreQueryClick()">高级查询</el-button> 44 <el-button @click="moreQueryClick()">高级查询</el-button>
23 </el-form-item> 45 </el-form-item>
24 </el-col> 46 </el-col>
...@@ -26,10 +48,19 @@ ...@@ -26,10 +48,19 @@
26 </el-form> 48 </el-form>
27 </div> 49 </div>
28 <!-- 表格 --> 50 <!-- 表格 -->
29 <div class="from-clues-content"> 51 <div class="from-clues-content" id="divcontentid">
30 <lb-table :page-size="pageData.size" border id="sqcxjl" @sort-change="handleSort" 52 <lb-table
31 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" 53 :page-size="pageData.size"
32 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 54 border
55 id="sqcxjl"
56 @sort-change="handleSort"
57 :current-page.sync="pageData.current"
58 :total="tableData.total"
59 @size-change="handleSizeChange"
60 @p-current-change="handleCurrentChange"
61 :column="tableData.columns"
62 :data="tableData.data"
63 >
33 </lb-table> 64 </lb-table>
34 </div> 65 </div>
35 </div> 66 </div>
...@@ -41,10 +72,10 @@ import { getJtfcPage } from "@/api/jtfc"; ...@@ -41,10 +72,10 @@ import { getJtfcPage } from "@/api/jtfc";
41 export default { 72 export default {
42 name: "sqcxjl", 73 name: "sqcxjl",
43 mixins: [table], 74 mixins: [table],
44 mounted () { 75 mounted() {
45 sendThis(this); 76 sendThis(this);
46 }, 77 },
47 data () { 78 data() {
48 return { 79 return {
49 queryForm: { 80 queryForm: {
50 cxbh: "", 81 cxbh: "",
...@@ -58,41 +89,38 @@ export default { ...@@ -58,41 +89,38 @@ export default {
58 }; 89 };
59 }, 90 },
60 methods: { 91 methods: {
61 queryClick () { 92 queryClick() {
62 this.fetchData(); 93 this.fetchData();
63 }, 94 },
64 // 初始化数据 95 // 初始化数据
65 fetchData () { 96 fetchData() {
66 97 this.$startLoading("divcontentid");
67 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#sqcxjl' }).then((res) => { 98 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
68 let { records, total } = res.result; 99 this.$endLoading();
69 this.tableData.data = records; 100 if (res.code === 200) {
70 this.tableData.total = total; 101 let { records, total } = res.result;
102 this.tableData.data = records;
103 this.tableData.total = total;
104 }
71 }); 105 });
72 }, 106 },
73 handleSort (name, sort) { 107 handleSort(name, sort) {
74 console.log(name, sort); 108 console.log(name, sort);
75 }, 109 },
76 // 查看 110 // 查看
77 handleViewClick (scope) { 111 handleViewClick(scope) {
78 var sqcxBsm = scope.row.bsmSqcx; 112 var sqcxBsm = scope.row.bsmSqcx;
79 this.$popup({ 113 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
80 title: "申请查询记录", 114 height: "800px",
81 width: "85%",
82 btnShow: true,
83 editItem: "sqcx/sqcxjl/components/sqcxjlInfo", // 弹窗内容
84 height: "700px",
85 formData: { 115 formData: {
86 sqcxBsm: sqcxBsm, 116 sqcxBsm: sqcxBsm,
87 }, 117 },
88 cancel: function () { }, //取消事件的回调 118 cancel: function () {}, //取消事件的回调
89 confirm: function () { 119 confirm: function () {},
90 // that.loadBdcdylist(); 120 });
91 }, //确认事件的回调 121 },
92 }) 122 },
93 } 123 };
94 }
95 }
96 </script> 124 </script>
97 <style scoped lang="scss"> 125 <style scoped lang="scss">
98 @import "~@/styles/public.scss"; 126 @import "~@/styles/public.scss";
......
...@@ -55,10 +55,11 @@ ...@@ -55,10 +55,11 @@
55 </el-row> 55 </el-row>
56 </el-form> 56 </el-form>
57 </div> 57 </div>
58 <div class="from-clues-content" id="dbx"> 58 <div class="from-clues-content">
59 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.currentPage" 59 <lb-table :page-size="pageData.size" class="loadingtext" border @sort-change="handleSort"
60 :heightNum="300" :total="tableData.total" @size-change="handleSizeChange" 60 :current-page.sync="pageData.currentPage" :heightNum="300" :total="tableData.total"
61 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
62 :data="tableData.data">
62 </lb-table> 63 </lb-table>
63 </div> 64 </div>
64 <searchBox v-model="isSearch" @getSearch="getSearch" /> 65 <searchBox v-model="isSearch" @getSearch="getSearch" />
...@@ -70,7 +71,7 @@ import searchBox from '../components/search.vue' ...@@ -70,7 +71,7 @@ import searchBox from '../components/search.vue'
70 import table from "@/utils/mixin/table" 71 import table from "@/utils/mixin/table"
71 import searchMin from "../components/mixin/index" 72 import searchMin from "../components/mixin/index"
72 import { datas, sendThis } from "./dbxdata" 73 import { datas, sendThis } from "./dbxdata"
73 import { searchTaskToDo, deleteFlow ,claimTask} from "@/api/ywbl.js" 74 import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl.js"
74 export default { 75 export default {
75 name: "dbx", 76 name: "dbx",
76 components: { searchBox }, 77 components: { searchBox },
...@@ -95,26 +96,12 @@ export default { ...@@ -95,26 +96,12 @@ export default {
95 }, 96 },
96 mounted () { 97 mounted () {
97 sendThis(this); 98 sendThis(this);
98 window.addEventListener('visibilitychange', this.init, true) 99 this.queryClick()
99 }, 100 },
100 destroyed () {
101 window.removeEventListener('visibilitychange', this.init, true)
102 },
103 created () { },
104 methods: { 101 methods: {
105 init (e) {
106 var isHidden = document.hidden;
107 if (isHidden) {//切离该页面时执行
108 //页面切换时,处理逻辑
109 } else {//切换到该页面时执行
110 if (window.location.hash == '#/ywbl/dbx') {
111 this.fetchData()
112 }
113 }
114 },
115 // 列表渲染接口 102 // 列表渲染接口
116 fetchData () { 103 queryClick () {
117 this.$startLoading('dbx') 104 this.$startLoading()
118 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { 105 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
119 if (res.code === 200) { 106 if (res.code === 200) {
120 this.$endLoading() 107 this.$endLoading()
...@@ -132,9 +119,6 @@ export default { ...@@ -132,9 +119,6 @@ export default {
132 } 119 }
133 }) 120 })
134 }, 121 },
135 queryClick () {
136 this.fetchData()
137 },
138 handelItem (index) { 122 handelItem (index) {
139 console.log(index); 123 console.log(index);
140 this.searchList.splice(index, 1) 124 this.searchList.splice(index, 1)
...@@ -142,7 +126,7 @@ export default { ...@@ -142,7 +126,7 @@ export default {
142 handleSort (val) { 126 handleSort (val) {
143 this.queryForm.sortField = val.prop 127 this.queryForm.sortField = val.prop
144 this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' 128 this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc'
145 this.fetchData() 129 this.queryClick()
146 }, 130 },
147 del (item) { 131 del (item) {
148 let formdata = new FormData(); 132 let formdata = new FormData();
...@@ -159,7 +143,7 @@ export default { ...@@ -159,7 +143,7 @@ export default {
159 type: 'success', 143 type: 'success',
160 message: '删除成功!' 144 message: '删除成功!'
161 }); 145 });
162 this.fetchData() 146 this.queryClick()
163 } else { 147 } else {
164 this.$message.error(res.message); 148 this.$message.error(res.message);
165 } 149 }
...@@ -174,9 +158,8 @@ export default { ...@@ -174,9 +158,8 @@ export default {
174 ywhClick (item) { 158 ywhClick (item) {
175 const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm); 159 const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
176 window.open(href, '_blank'); 160 window.open(href, '_blank');
177
178 //从待办箱进入的调取任务领取接口 161 //从待办箱进入的调取任务领取接口
179 claimTask(item.bsmSlsq,item.bestepid) 162 claimTask(item.bsmSlsq, item.bestepid)
180 } 163 }
181 } 164 }
182 } 165 }
......
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
33 </el-col> 33 </el-col>
34 <el-col :span="5"> 34 <el-col :span="5">
35 <el-form-item label="业务号"> 35 <el-form-item label="业务号">
36 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick()" clearable class="width200px"> 36 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick" clearable class="width200px">
37 </el-input> 37 </el-input>
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 40
41 <el-col :span="4" class="btnColRight"> 41 <el-col :span="4" class="btnColRight">
42 <el-form-item> 42 <el-form-item>
43 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 43 <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
44 <el-button @click="moreQueryClick()">高级查询</el-button> 44 <el-button @click="moreQueryClick()">高级查询</el-button>
45 </el-form-item> 45 </el-form-item>
46 </el-col> 46 </el-col>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 </div> 60 </div>
61 <!-- 表格 --> 61 <!-- 表格 -->
62 <div class="from-clues-content"> 62 <div class="from-clues-content">
63 <lb-table :page-size="pageData.size" id="ybxLoading" :heightNum="300" @sort-change="handleSort" border 63 <lb-table :page-size="pageData.size" class="loadingtext" :heightNum="300" @sort-change="handleSort" border
64 :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" 64 :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange"
65 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 65 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
66 </lb-table> 66 </lb-table>
...@@ -81,6 +81,7 @@ export default { ...@@ -81,6 +81,7 @@ export default {
81 mixins: [table, searchMin], 81 mixins: [table, searchMin],
82 mounted () { 82 mounted () {
83 sendThis(this); 83 sendThis(this);
84 this.queryClick()
84 }, 85 },
85 computed: { 86 computed: {
86 ...mapGetters(['dictData']) 87 ...mapGetters(['dictData'])
...@@ -106,13 +107,12 @@ export default { ...@@ -106,13 +107,12 @@ export default {
106 }; 107 };
107 }, 108 },
108 methods: { 109 methods: {
109 init (e) {
110 this.fetchData()
111 },
112 // 列表渲染接口 110 // 列表渲染接口
113 fetchData () { 111 queryClick () {
112 this.$startLoading()
114 searchTaskDone({ ...this.queryForm, ...this.pageData }, { 'target': '#ybxLoading' }).then(res => { 113 searchTaskDone({ ...this.queryForm, ...this.pageData }, { 'target': '#ybxLoading' }).then(res => {
115 if (res.code === 200) { 114 if (res.code === 200) {
115 this.$endLoading()
116 let { total, records } = res.result 116 let { total, records } = res.result
117 this.pageData.total = total; 117 this.pageData.total = total;
118 records.forEach(item => { 118 records.forEach(item => {
...@@ -125,13 +125,10 @@ export default { ...@@ -125,13 +125,10 @@ export default {
125 } 125 }
126 }) 126 })
127 }, 127 },
128 queryClick () {
129 this.fetchData()
130 },
131 handleSort (val) { 128 handleSort (val) {
132 this.queryForm.sortField = val.prop 129 this.queryForm.sortField = val.prop
133 this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc' 130 this.queryForm.sortOrder = val.order == "ascending" ? 'asc' : 'desc'
134 this.fetchData() 131 this.queryClick()
135 }, 132 },
136 ywhClick (item) { 133 ywhClick (item) {
137 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); 134 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1');
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import Cookies from 'js-cookie'
57 import { datas, sendThis } from "../javascript/bdcql.js"; 56 import { datas, sendThis } from "../javascript/bdcql.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 57 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
...@@ -63,7 +62,12 @@ export default { ...@@ -63,7 +62,12 @@ export default {
63 mixins: [table, jump], 62 mixins: [table, jump],
64 props: { 63 props: {
65 isJump: { type: Boolean, default: false }, 64 isJump: { type: Boolean, default: false },
66 djywbm: { type: String, default: '' } 65 djywbm: { type: String, default: '' },
66 djqxObj: {
67 type: Object,
68 default: {}
69 },
70 bsmSqyw: { type: String, default: '' },
67 }, 71 },
68 data () { 72 data () {
69 return { 73 return {
...@@ -103,10 +107,10 @@ export default { ...@@ -103,10 +107,10 @@ export default {
103 } 107 }
104 if (!this.isJump) { 108 if (!this.isJump) {
105 startBusinessFlow({ 109 startBusinessFlow({
106 bsmSqyw: Cookies.get("bsmSqyw"), 110 bsmSqyw: this.bsmSqyw,
107 bdcdysz: this.bdcdysz, 111 bdcdysz: this.bdcdysz,
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 112 djqxbm: this.djqxObj?.djqxbm,
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 113 djqxmc: this.djqxObj?.djqxmc
110 }).then((res) => { 114 }).then((res) => {
111 if (res.code == 200) { 115 if (res.code == 200) {
112 this.$message({ 116 this.$message({
...@@ -146,7 +150,7 @@ export default { ...@@ -146,7 +150,7 @@ export default {
146 }) 150 })
147 this.bdcdysz = val 151 this.bdcdysz = val
148 } 152 }
149 }, 153 }
150 }; 154 };
151 </script> 155 </script>
152 <style scoped lang="scss"> 156 <style scoped lang="scss">
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
53 </div> 53 </div>
54 </template> 54 </template>
55 <script> 55 <script>
56 import Cookies from 'js-cookie'
57 import { datas, sendThis } from "../javascript/bdcqlMain.js"; 56 import { datas, sendThis } from "../javascript/bdcqlMain.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 57 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
...@@ -63,7 +62,12 @@ export default { ...@@ -63,7 +62,12 @@ export default {
63 mixins: [table, jump], 62 mixins: [table, jump],
64 props: { 63 props: {
65 isJump: { type: Boolean, default: false }, 64 isJump: { type: Boolean, default: false },
66 djywbm: { type: String, default: '' } 65 djywbm: { type: String, default: '' },
66 djqxObj: {
67 type: Object,
68 default: {}
69 },
70 bsmSqyw: { type: String, default: '' }
67 }, 71 },
68 data () { 72 data () {
69 return { 73 return {
...@@ -101,10 +105,10 @@ export default { ...@@ -101,10 +105,10 @@ export default {
101 return; 105 return;
102 } 106 }
103 startBusinessFlow({ 107 startBusinessFlow({
104 bsmSqyw: Cookies.get("bsmSqyw"), 108 bsmSqyw: this.bsmSqyw,
105 bdcdysz: this.bdcdysz, 109 bdcdysz: this.bdcdysz,
106 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 110 djqxbm: this.djqxObj?.djqxbm,
107 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 111 djqxmc: this.djqxObj?.djqxmc
108 }).then((res) => { 112 }).then((res) => {
109 if (res.code == 200) { 113 if (res.code == 200) {
110 this.jump(res.result) 114 this.jump(res.result)
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import Cookies from 'js-cookie'
57 import { datas, sendThis } from "../javascript/cfdj.js"; 56 import { datas, sendThis } from "../javascript/cfdj.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 57 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
...@@ -62,7 +61,12 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; ...@@ -62,7 +61,12 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
62 export default { 61 export default {
63 props: { 62 props: {
64 isJump: { type: Boolean, default: false }, 63 isJump: { type: Boolean, default: false },
65 djywbm: { type: String, default: '' } 64 djywbm: { type: String, default: '' },
65 djqxObj: {
66 type: Object,
67 default: {}
68 },
69 bsmSqyw: { type: String, default: '' },
66 }, 70 },
67 mixins: [table, jump], 71 mixins: [table, jump],
68 data () { 72 data () {
...@@ -102,10 +106,10 @@ export default { ...@@ -102,10 +106,10 @@ export default {
102 } 106 }
103 if (!this.isJump) { 107 if (!this.isJump) {
104 startBusinessFlow({ 108 startBusinessFlow({
105 bsmSqyw: Cookies.get("bsmSqyw"), 109 bsmSqyw: this.bsmSqyw,
106 bdcdysz: this.bdcdysz, 110 bdcdysz: this.bdcdysz,
107 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 111 djqxbm: this.djqxObj?.djqxbm,
108 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 112 djqxmc: this.djqxObj?.djqxmc
109 }).then((res) => { 113 }).then((res) => {
110 if (res.code == 200) { 114 if (res.code == 200) {
111 this.$message({ 115 this.$message({
......
...@@ -65,7 +65,12 @@ export default { ...@@ -65,7 +65,12 @@ export default {
65 mixins: [table, jump], 65 mixins: [table, jump],
66 props: { 66 props: {
67 isJump: { type: Boolean, default: false }, 67 isJump: { type: Boolean, default: false },
68 djywbm: { type: String, default: '' } 68 djywbm: { type: String, default: '' },
69 djqxObj: {
70 type: Object,
71 default: {}
72 },
73 bsmSqyw: { type: String, default: '' },
69 }, 74 },
70 data () { 75 data () {
71 return { 76 return {
...@@ -94,7 +99,7 @@ export default { ...@@ -94,7 +99,7 @@ export default {
94 this.tableData.total = total; 99 this.tableData.total = total;
95 this.tableData.data = records; 100 this.tableData.data = records;
96 } 101 }
97 }); 102 })
98 }, 103 },
99 submitForm () { 104 submitForm () {
100 if (this.bdcdysz.length == 0) { 105 if (this.bdcdysz.length == 0) {
...@@ -102,10 +107,10 @@ export default { ...@@ -102,10 +107,10 @@ export default {
102 return; 107 return;
103 } 108 }
104 startBusinessFlow({ 109 startBusinessFlow({
105 bsmSqyw: Cookies.get("bsmSqyw"), 110 bsmSqyw: this.bsmSqyw,
106 bdcdysz: this.bdcdysz, 111 bdcdysz: this.bdcdysz,
107 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 112 djqxbm: this.djqxObj?.djqxbm,
108 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 113 djqxmc: this.djqxObj?.djqxmc
109 }).then((res) => { 114 }).then((res) => {
110 if (res.code == 200) { 115 if (res.code == 200) {
111 this.$message({ 116 this.$message({
...@@ -129,8 +134,7 @@ export default { ...@@ -129,8 +134,7 @@ export default {
129 item.ybdcqzsh = item.bdcqzh 134 item.ybdcqzsh = item.bdcqzh
130 }) 135 })
131 this.bdcdysz = val; 136 this.bdcdysz = val;
132 }, 137 }
133
134 } 138 }
135 } 139 }
136 </script> 140 </script>
......
...@@ -13,19 +13,19 @@ ...@@ -13,19 +13,19 @@
13 </el-input> 13 </el-input>
14 </el-form-item> 14 </el-form-item>
15 </el-col> 15 </el-col>
16 <el-col :span="7"> 16 <el-col :span="7">
17 <el-form-item label="土地证号"> 17 <el-form-item label="土地证号">
18 <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable> 18 <el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable>
19 </el-input> 19 </el-input>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="7"> 22 <el-col :span="7">
23 <el-form-item label="土地坐落"> 23 <el-form-item label="土地坐落">
24 <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable> 24 <el-input placeholder="土地坐落" v-model="queryForm.zl" clearable>
25 </el-input> 25 </el-input>
26 </el-form-item> 26 </el-form-item>
27 </el-col> 27 </el-col>
28 28
29 </el-row> 29 </el-row>
30 <el-row> 30 <el-row>
31 <el-col :span="7"> 31 <el-col :span="7">
...@@ -34,18 +34,18 @@ ...@@ -34,18 +34,18 @@
34 </el-input> 34 </el-input>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 <el-col :span="7"> 37 <el-col :span="7">
38 <el-form-item label="项目名称"> 38 <el-form-item label="项目名称">
39 <el-input v-model="queryForm.xmmc"></el-input> 39 <el-input v-model="queryForm.xmmc"></el-input>
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 <el-col :span="7"> 42 <el-col :span="7">
43 <el-form-item label="建筑物名称"> 43 <el-form-item label="建筑物名称">
44 <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable> 44 <el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable>
45 </el-input> 45 </el-input>
46 </el-form-item> 46 </el-form-item>
47 </el-col> 47 </el-col>
48 48
49 <el-col :span="3" class="btnColRight"> 49 <el-col :span="3" class="btnColRight">
50 <el-form-item> 50 <el-form-item>
51 <el-button type="primary" @click="fetchData()">查询</el-button> 51 <el-button type="primary" @click="fetchData()">查询</el-button>
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
68 </template> 68 </template>
69 <script> 69 <script>
70 //国有建设用地使用权/房屋使用权 70 //国有建设用地使用权/房屋使用权
71 import Cookies from 'js-cookie'
72 import { datas, sendThis } from "../javascript/fwsyq.js"; 71 import { datas, sendThis } from "../javascript/fwsyq.js";
73 import table from "@/utils/mixin/table"; 72 import table from "@/utils/mixin/table";
74 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 73 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
...@@ -78,7 +77,12 @@ export default { ...@@ -78,7 +77,12 @@ export default {
78 mixins: [table, jump], 77 mixins: [table, jump],
79 props: { 78 props: {
80 isJump: { type: Boolean, default: false }, 79 isJump: { type: Boolean, default: false },
81 djywbm: { type: String, default: '' } 80 djywbm: { type: String, default: '' },
81 djqxObj: {
82 type: Object,
83 default: {}
84 },
85 bsmSqyw: { type: String, default: '' },
82 }, 86 },
83 data () { 87 data () {
84 return { 88 return {
...@@ -150,11 +154,11 @@ export default { ...@@ -150,11 +154,11 @@ export default {
150 } 154 }
151 if (!this.isJump) { 155 if (!this.isJump) {
152 startBusinessFlow({ 156 startBusinessFlow({
153 bsmSqyw: Cookies.get("bsmSqyw"), 157 bsmSqyw: this.bsmSqyw,
154 fwlx: this.activeName, 158 fwlx: this.activeName,
155 bdcdysz: this.bdcdysz, 159 bdcdysz: this.bdcdysz,
156 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 160 djqxbm: this.djqxObj?.djqxbm,
157 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 161 djqxmc: this.djqxObj?.djqxmc
158 }).then((res) => { 162 }).then((res) => {
159 if (res.code == 200) { 163 if (res.code == 200) {
160 this.$message({ 164 this.$message({
...@@ -189,14 +193,11 @@ export default { ...@@ -189,14 +193,11 @@ export default {
189 this.bdcdysz = val 193 this.bdcdysz = val
190 }, 194 },
191 handleLpbClick (item) { 195 handleLpbClick (item) {
192 console.log(item, 'eeeeeeeeeeeeee');
193 this.$popup('楼盘表', 'components/bjlp/index', { 196 this.$popup('楼盘表', 'components/bjlp/index', {
194 width: '85%', 197 width: '85%',
195 formData: { 198 formData: {
196 bsm: item.bsm 199 bsm: item.bsm
197 }, 200 }
198 cancel: function () { }, //取消事件的回调
199 confirm: function () { }, //确认事件的回调
200 }) 201 })
201 } 202 }
202 } 203 }
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
39 </template> 39 </template>
40 <script> 40 <script>
41 //首次登记 41 //首次登记
42 import Cookies from 'js-cookie'
43 import { datas, sendThis } from "../javascript/jsydsyq100.js"; 42 import { datas, sendThis } from "../javascript/jsydsyq100.js";
44 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 43 import { defaultParameters } from "../javascript/publicDefaultPar.js";
45 import table from "@/utils/mixin/table"; 44 import table from "@/utils/mixin/table";
...@@ -50,7 +49,12 @@ export default { ...@@ -50,7 +49,12 @@ export default {
50 mixins: [table, jump], 49 mixins: [table, jump],
51 props: { 50 props: {
52 isJump: { type: Boolean, default: false }, 51 isJump: { type: Boolean, default: false },
53 djywbm: { type: String, default: '' } 52 djywbm: { type: String, default: '' },
53 djqxObj: {
54 type: Object,
55 default: {}
56 },
57 bsmSqyw: { type: String, default: '' },
54 }, 58 },
55 data () { 59 data () {
56 return { 60 return {
...@@ -75,7 +79,6 @@ export default { ...@@ -75,7 +79,6 @@ export default {
75 }, 79 },
76 fetchData () { 80 fetchData () {
77 this.queryForm.sqywbm = this.djywbm; 81 this.queryForm.sqywbm = this.djywbm;
78
79 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 82 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
80 if (res.code === 200) { 83 if (res.code === 200) {
81 let { total, records } = res.result; 84 let { total, records } = res.result;
...@@ -90,10 +93,10 @@ export default { ...@@ -90,10 +93,10 @@ export default {
90 return; 93 return;
91 } 94 }
92 startBusinessFlow({ 95 startBusinessFlow({
93 bsmSqyw: Cookies.get("bsmSqyw"), 96 bsmSqyw: this.bsmSqyw,
94 bdcdysz: this.bdcdysz, 97 bdcdysz: this.bdcdysz,
95 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 98 djqxbm: this.djqxObj?.djqxbm,
96 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 99 djqxmc: this.djqxObj?.djqxmc
97 }).then((res) => { 100 }).then((res) => {
98 if (res.code == 200) { 101 if (res.code == 200) {
99 this.$message({ 102 this.$message({
...@@ -109,11 +112,11 @@ export default { ...@@ -109,11 +112,11 @@ export default {
109 } else { 112 } else {
110 this.$message.error(res.message); 113 this.$message.error(res.message);
111 } 114 }
112 }); 115 })
113 }, 116 },
114 handleSelectionChange (val) { 117 handleSelectionChange (val) {
115 this.bdcdysz = val; 118 this.bdcdysz = val;
116 }, 119 }
117 } 120 }
118 } 121 }
119 </script> 122 </script>
...@@ -121,3 +124,4 @@ export default { ...@@ -121,3 +124,4 @@ export default {
121 @import "~@/styles/mixin.scss"; 124 @import "~@/styles/mixin.scss";
122 @import "~@/styles/public.scss"; 125 @import "~@/styles/public.scss";
123 </style> 126 </style>
127
......
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //首次登记 55 //首次登记
56 import Cookies from 'js-cookie'
57 import { datas, sendThis } from "../javascript/jsydsyq200.js"; 56 import { datas, sendThis } from "../javascript/jsydsyq200.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 57 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
...@@ -64,7 +63,12 @@ export default { ...@@ -64,7 +63,12 @@ export default {
64 mixins: [table, jump], 63 mixins: [table, jump],
65 props: { 64 props: {
66 isJump: { type: Boolean, default: false }, 65 isJump: { type: Boolean, default: false },
67 djywbm: { type: String, default: '' } 66 djywbm: { type: String, default: '' },
67 djqxObj: {
68 type: Object,
69 default: {}
70 },
71 bsmSqyw: { type: String, default: '' },
68 }, 72 },
69 data () { 73 data () {
70 return { 74 return {
...@@ -93,7 +97,7 @@ export default { ...@@ -93,7 +97,7 @@ export default {
93 this.tableData.total = total; 97 this.tableData.total = total;
94 this.tableData.data = records; 98 this.tableData.data = records;
95 } 99 }
96 }); 100 })
97 }, 101 },
98 submitForm () { 102 submitForm () {
99 if (this.bdcdysz.length == 0) { 103 if (this.bdcdysz.length == 0) {
...@@ -101,10 +105,10 @@ export default { ...@@ -101,10 +105,10 @@ export default {
101 return; 105 return;
102 } 106 }
103 startBusinessFlow({ 107 startBusinessFlow({
104 bsmSqyw: Cookies.get("bsmSqyw"), 108 bsmSqyw: this.bsmSqyw,
105 bdcdysz: this.bdcdysz, 109 bdcdysz: this.bdcdysz,
106 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 110 djqxbm: this.djqxObj?.djqxbm,
107 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 111 djqxmc: this.djqxObj?.djqxmc
108 }).then((res) => { 112 }).then((res) => {
109 if (res.code == 200) { 113 if (res.code == 200) {
110 this.$message({ 114 this.$message({
...@@ -120,7 +124,7 @@ export default { ...@@ -120,7 +124,7 @@ export default {
120 } else { 124 } else {
121 this.$message.error(res.message); 125 this.$message.error(res.message);
122 } 126 }
123 }); 127 })
124 }, 128 },
125 handleSelectionChange (val) { 129 handleSelectionChange (val) {
126 val.forEach((item, index) => { 130 val.forEach((item, index) => {
...@@ -131,22 +135,9 @@ export default { ...@@ -131,22 +135,9 @@ export default {
131 }, 135 },
132 openBook (row) { 136 openBook (row) {
133 var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; 137 var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
134 this.$popup({ 138 this.$popup('登记簿详情', 'registerBook/djbFrame', {
135 titleStyle: "left", 139 formData: param
136 title: "登记簿详情", // 弹窗标题 140 })
137 editItem: "registerBook/djbFrame", // 弹窗内容
138 formData: param,
139 width: "1220px",
140 height: "790px",
141 // cancelText: '取消摆烂', // 右边按钮文本
142 // confirmText: '确定点击', //左边按钮文本
143 cancel: () => {
144 console.log("取消回调");
145 },
146 confirm: () => {
147 console.log("确认回调");
148 },
149 });
150 } 141 }
151 } 142 }
152 } 143 }
......
1 <template> 1 <template>
2 <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue"> 2 <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue">
3 <component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" id="slectBdc" @updateDialog="updateDialog" 3 <component :is="editItem" @closeDialog="closeDialog" v-bind="$attrs" :isJump="isJump" id="slectBdc"
4 :djywbm="djywbm" :key="key" /> 4 @updateDialog="updateDialog" :djywbm="djywbm" :key="key" />
5 </dialogBox> 5 </dialogBox>
6 </template> 6 </template>
7 <script> 7 <script>
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
16 return { 16 return {
17 key: 0, 17 key: 0,
18 editItem: '', 18 editItem: '',
19 myValue: this.value, 19 myValue: this.value
20 } 20 }
21 }, 21 },
22 watch: { 22 watch: {
...@@ -24,12 +24,12 @@ export default { ...@@ -24,12 +24,12 @@ export default {
24 this.myValue = val 24 this.myValue = val
25 this.key++ 25 this.key++
26 if (this.$route.query.sqywbm) { 26 if (this.$route.query.sqywbm) {
27 let dd = queueDjywmc(this.$route.query.sqywbm, { 'target': '#slectBdc' }) 27 let dd = queueDjywmc(this.$route.query.sqywbm)
28 this.editItem = this.loadView(dd) 28 this.editItem = this.loadView(dd)
29 } 29 }
30 }, 30 },
31 'djywbm' (val) { 31 'djywbm' (val) {
32 let dd = queueDjywmc(val, { 'target': '#slectBdc' }) 32 let dd = queueDjywmc(val)
33 this.editItem = this.loadView(dd) 33 this.editItem = this.loadView(dd)
34 } 34 }
35 }, 35 },
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
66 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 66 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
67 </div> 67 </div>
68 </div> 68 </div>
69 <fqsqDialog v-model="isDialog" :djywbm="djywbm"/> 69 <fqsqDialog v-model="isDialog" :djqxObj="djqxObj" :bsmSqyw="bsmSqyw" :djywbm="djywbm" />
70 </div> 70 </div>
71 </template> 71 </template>
72 <script> 72 <script>
...@@ -87,7 +87,13 @@ export default { ...@@ -87,7 +87,13 @@ export default {
87 djqxList: [], 87 djqxList: [],
88 isDialog: false, 88 isDialog: false,
89 btnDisabled: true, 89 btnDisabled: true,
90 djywbm: '' 90 djywbm: '',
91
92 djqxObj: {
93 djqxbm: '',
94 djqxmc: ''
95 },
96 bsmSqyw: ''
91 } 97 }
92 }, 98 },
93 components: { 99 components: {
...@@ -122,13 +128,12 @@ export default { ...@@ -122,13 +128,12 @@ export default {
122 this.$set(item, 'cselect', false) 128 this.$set(item, 'cselect', false)
123 }) 129 })
124 item.cselect = true 130 item.cselect = true
125 Cookies.set("djqxObj", JSON.stringify({ 131 this.djqxObj.djqxbm = item.nodecode
126 'djqxbm': item.nodecode, 132 this.djqxObj.djqxmc = item.djqxmc
127 'djqxmc': item.nodename 133
128 }))
129 if (item.sffqlc == '1') { 134 if (item.sffqlc == '1') {
130 this.btnDisabled = false 135 this.btnDisabled = false
131 Cookies.set("bsmSqyw", item.bsmSqyw) 136 this.bsmSqyw = item.bsmSqyw
132 this.djywbm = item.djywbm 137 this.djywbm = item.djywbm
133 console.log(this.djywbm, 'this.djywbm'); 138 console.log(this.djywbm, 'this.djywbm');
134 } 139 }
......
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
118 handleLpbClick (item) { 118 handleLpbClick (item) {
119 this.$popup('楼盘表', 'components/bjlp/index', { 119 this.$popup('楼盘表', 'components/bjlp/index', {
120 width: '90%', 120 width: '90%',
121 height: "90%", 121 height: "92%",
122 formData: { 122 formData: {
123 bsm: '' 123 bsm: ''
124 } 124 }
......
...@@ -99,36 +99,23 @@ export default { ...@@ -99,36 +99,23 @@ export default {
99 99
100 //打开楼盘表 100 //打开楼盘表
101 openlpbClick (scope) { 101 openlpbClick (scope) {
102 debugger; 102 // var zrzbsm = scope.row.bsm;
103 var zrzbsm = scope.row.bsm; 103 this.$popup('楼盘表', 'components/bjlp/index', {
104 104 width: '90%',
105 let that = this; 105 height: "92%",
106 this.$popup({
107 title: "楼盘表",
108 width: "50%",
109 btnShow: true,
110 editItem: "xxxxxxxxxx",
111 height: "600px",
112 formData: { 106 formData: {
113 bsmSlsq: this.bsmSlsq, 107 bsm: ''
114 dataList: this.unitData, 108 }
115 }, 109 })
116 cancel: function () { }, //取消事件的回调 110 // getLpb({ zrzbsm: zrzbsm })
117 confirm: function () { 111 // .then((res) => {
118 that.loadBdcdylist(); 112 // if (res.code == 200) {
119 }, //确认事件的回调 113 // var lpbdata = res.result;
120 }); 114 // }
121 115 // })
122 116 // .catch((error) => {
123 getLpb({ zrzbsm: zrzbsm }) 117 // console.log(error);
124 .then((res) => { 118 // });
125 if (res.code == 200) {
126 var lpbdata = res.result;
127 }
128 })
129 .catch((error) => {
130 console.log(error);
131 });
132 }, 119 },
133 }, 120 },
134 }; 121 };
......