0f132bd5 by 任超

style:业务申请

1 parent 1eb36385
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 </div> 47 </div>
48 <div class="submit_button"> 48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button> 49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 50 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
51 </div> 51 </div>
52 </div> 52 </div>
53 </template> 53 </template>
...@@ -101,7 +101,6 @@ export default { ...@@ -101,7 +101,6 @@ export default {
101 this.$message.error("请至少选择一条数据"); 101 this.$message.error("请至少选择一条数据");
102 return; 102 return;
103 } 103 }
104 this.saveloding = true;
105 if (!this.isJump) { 104 if (!this.isJump) {
106 startBusinessFlow({ 105 startBusinessFlow({
107 bsmSqyw: Cookies.get("bsmSqyw"), 106 bsmSqyw: Cookies.get("bsmSqyw"),
...@@ -109,7 +108,6 @@ export default { ...@@ -109,7 +108,6 @@ export default {
109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
111 }).then((res) => { 110 }).then((res) => {
112 this.saveloding = false;
113 if (res.code == 200) { 111 if (res.code == 200) {
114 this.$message({ 112 this.$message({
115 showClose: true, 113 showClose: true,
...@@ -118,7 +116,7 @@ export default { ...@@ -118,7 +116,7 @@ export default {
118 }) 116 })
119 this.jump(res.result, this.djywbm) 117 this.jump(res.result, this.djywbm)
120 } else { 118 } else {
121 this.$message.error(res.message); 119 this.$message.error(res.message)
122 } 120 }
123 }) 121 })
124 } else { 122 } else {
...@@ -126,7 +124,6 @@ export default { ...@@ -126,7 +124,6 @@ export default {
126 bsmSlsq: this.$route.query.bsmSlsq, 124 bsmSlsq: this.$route.query.bsmSlsq,
127 bdcdysz: this.bdcdysz 125 bdcdysz: this.bdcdysz
128 }).then(res => { 126 }).then(res => {
129 this.saveloding = false;
130 if (res.code == 200) { 127 if (res.code == 200) {
131 this.$message({ 128 this.$message({
132 showClose: true, 129 showClose: true,
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 </div> 48 </div>
49 <div class="submit_button"> 49 <div class="submit_button">
50 <el-button @click="closeDialog">取消</el-button> 50 <el-button @click="closeDialog">取消</el-button>
51 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 51 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
52 </div> 52 </div>
53 </div> 53 </div>
54 </template> 54 </template>
...@@ -74,8 +74,7 @@ export default { ...@@ -74,8 +74,7 @@ export default {
74 columns: datas.columns(), 74 columns: datas.columns(),
75 data: [], 75 data: [],
76 }, 76 },
77 bdcdysz: [], 77 bdcdysz: []
78 saveloding: false
79 }; 78 };
80 }, 79 },
81 mounted () { 80 mounted () {
...@@ -101,14 +100,12 @@ export default { ...@@ -101,14 +100,12 @@ export default {
101 this.$message.error("请至少选择一条数据"); 100 this.$message.error("请至少选择一条数据");
102 return; 101 return;
103 } 102 }
104 this.saveloding = true;
105 startBusinessFlow({ 103 startBusinessFlow({
106 bsmSqyw: Cookies.get("bsmSqyw"), 104 bsmSqyw: Cookies.get("bsmSqyw"),
107 bdcdysz: this.bdcdysz, 105 bdcdysz: this.bdcdysz,
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 106 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 107 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
110 }).then((res) => { 108 }).then((res) => {
111 this.saveloding = false;
112 if (res.code == 200) { 109 if (res.code == 200) {
113 this.jump(res.result) 110 this.jump(res.result)
114 } else { 111 } else {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 </div> 47 </div>
48 <div class="submit_button"> 48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button> 49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 50 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
51 </div> 51 </div>
52 </div> 52 </div>
53 </template> 53 </template>
...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js"; ...@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js";
58 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
59 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
60 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
61 import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js"; 61 import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
62 export default { 62 export default {
63 props: { 63 props: {
64 isJump: { type: Boolean, default: false }, 64 isJump: { type: Boolean, default: false },
...@@ -74,8 +74,7 @@ export default { ...@@ -74,8 +74,7 @@ export default {
74 columns: datas.columns(), 74 columns: datas.columns(),
75 data: [], 75 data: [],
76 }, 76 },
77 bdcdysz: [], 77 bdcdysz: []
78 saveloding: false
79 }; 78 };
80 }, 79 },
81 mounted () { 80 mounted () {
...@@ -101,7 +100,6 @@ export default { ...@@ -101,7 +100,6 @@ export default {
101 this.$message.error("请至少选择一条数据"); 100 this.$message.error("请至少选择一条数据");
102 return; 101 return;
103 } 102 }
104 this.saveloding = true;
105 if (!this.isJump) { 103 if (!this.isJump) {
106 startBusinessFlow({ 104 startBusinessFlow({
107 bsmSqyw: Cookies.get("bsmSqyw"), 105 bsmSqyw: Cookies.get("bsmSqyw"),
...@@ -109,7 +107,6 @@ export default { ...@@ -109,7 +107,6 @@ export default {
109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 107 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 108 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
111 }).then((res) => { 109 }).then((res) => {
112 this.saveloding = false;
113 if (res.code == 200) { 110 if (res.code == 200) {
114 this.$message({ 111 this.$message({
115 showClose: true, 112 showClose: true,
...@@ -118,7 +115,7 @@ export default { ...@@ -118,7 +115,7 @@ export default {
118 }) 115 })
119 this.jump(res.result, this.djywbm) 116 this.jump(res.result, this.djywbm)
120 } else { 117 } else {
121 this.$message.error(res.message); 118 this.$message.error(res.message)
122 } 119 }
123 }) 120 })
124 } else { 121 } else {
...@@ -126,7 +123,6 @@ export default { ...@@ -126,7 +123,6 @@ export default {
126 bsmSlsq: this.$route.query.bsmSlsq, 123 bsmSlsq: this.$route.query.bsmSlsq,
127 bdcdysz: this.bdcdysz 124 bdcdysz: this.bdcdysz
128 }).then(res => { 125 }).then(res => {
129 this.saveloding = false;
130 if (res.code == 200) { 126 if (res.code == 200) {
131 this.$message({ 127 this.$message({
132 showClose: true, 128 showClose: true,
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 </div> 49 </div>
50 <div class="submit_button"> 50 <div class="submit_button">
51 <el-button @click="closeDialog">取消</el-button> 51 <el-button @click="closeDialog">取消</el-button>
52 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 52 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
53 </div> 53 </div>
54 </div> 54 </div>
55 </template> 55 </template>
...@@ -76,8 +76,7 @@ export default { ...@@ -76,8 +76,7 @@ export default {
76 columns: datas.columns(), 76 columns: datas.columns(),
77 data: [], 77 data: [],
78 }, 78 },
79 bdcdysz: [], 79 bdcdysz: []
80 saveloding: false,
81 }; 80 };
82 }, 81 },
83 mounted () { 82 mounted () {
...@@ -102,14 +101,12 @@ export default { ...@@ -102,14 +101,12 @@ export default {
102 this.$message.error("请至少选择一条数据"); 101 this.$message.error("请至少选择一条数据");
103 return; 102 return;
104 } 103 }
105 this.saveloding = true;
106 startBusinessFlow({ 104 startBusinessFlow({
107 bsmSqyw: Cookies.get("bsmSqyw"), 105 bsmSqyw: Cookies.get("bsmSqyw"),
108 bdcdysz: this.bdcdysz, 106 bdcdysz: this.bdcdysz,
109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 107 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 108 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
111 }).then((res) => { 109 }).then((res) => {
112 this.saveloding = false;
113 if (res.code == 200) { 110 if (res.code == 200) {
114 this.$message({ 111 this.$message({
115 showClose: true, 112 showClose: true,
......
...@@ -45,7 +45,7 @@ import Cookies from 'js-cookie' ...@@ -45,7 +45,7 @@ import Cookies from 'js-cookie'
45 import { datas, sendThis } from "../javascript/fwsyq.js"; 45 import { datas, sendThis } from "../javascript/fwsyq.js";
46 import table from "@/utils/mixin/table"; 46 import table from "@/utils/mixin/table";
47 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 47 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
48 import { selectScBdcdy, startBusinessFlow, choiceBdcdy,selectOtherH } from "@/api/ywbl.js"; 48 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH } from "@/api/ywbl.js";
49 import { selectZrz, selectH } from "@/api/selectQlxx.js"; 49 import { selectZrz, selectH } from "@/api/selectQlxx.js";
50 export default { 50 export default {
51 mixins: [table, jump], 51 mixins: [table, jump],
...@@ -79,18 +79,18 @@ export default { ...@@ -79,18 +79,18 @@ export default {
79 this.$emit("closeDialog"); 79 this.$emit("closeDialog");
80 }, 80 },
81 fetchData () { 81 fetchData () {
82 if(!this.isJump){ 82 if (!this.isJump) {
83 //从业务办理进入 83 //从业务办理进入
84 this.queryForm.sqywbm = this.djywbm; 84 this.queryForm.sqywbm = this.djywbm;
85 this.queryForm.fwfl = this.activeName; 85 this.queryForm.fwfl = this.activeName;
86 if(this.activeName=="zrz"){ 86 if (this.activeName == "zrz") {
87 selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => { 87 selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
88 if (res.code === 200) { 88 if (res.code === 200) {
89 this.tableData.total = res.result.total; 89 this.tableData.total = res.result.total;
90 this.tableData.data = res.result.records; 90 this.tableData.data = res.result.records;
91 } 91 }
92 }); 92 });
93 }else{ 93 } else {
94 selectH({ ...this.queryForm, ...this.pageData }).then((res) => { 94 selectH({ ...this.queryForm, ...this.pageData }).then((res) => {
95 if (res.code === 200) { 95 if (res.code === 200) {
96 this.tableData.total = res.result.total; 96 this.tableData.total = res.result.total;
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
99 }) 99 })
100 } 100 }
101 101
102 }else{ 102 } else {
103 //从办理框架选择不动产单元进入 103 //从办理框架选择不动产单元进入
104 //房屋首次办理选择不动产需找出对应自然幢下未选择的户 104 //房屋首次办理选择不动产需找出对应自然幢下未选择的户
105 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; 105 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq;
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </div> 33 </div>
34 <div class="submit_button"> 34 <div class="submit_button">
35 <el-button @click="closeDialog">取消</el-button> 35 <el-button @click="closeDialog">取消</el-button>
36 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 36 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
37 </div> 37 </div>
38 </div> 38 </div>
39 </template> 39 </template>
...@@ -62,13 +62,12 @@ export default { ...@@ -62,13 +62,12 @@ export default {
62 columns: datas.columns(), 62 columns: datas.columns(),
63 data: [], 63 data: [],
64 }, 64 },
65 bdcdysz: [], 65 bdcdysz: []
66 saveloding: false,
67 }; 66 };
68 }, 67 },
69 mounted () { 68 mounted () {
70 sendThis(this); 69 sendThis(this);
71 console.log(Cookies.get("bsmSqyw")) ; 70 console.log(Cookies.get("bsmSqyw"));
72 }, 71 },
73 methods: { 72 methods: {
74 closeDialog () { 73 closeDialog () {
...@@ -90,14 +89,12 @@ export default { ...@@ -90,14 +89,12 @@ export default {
90 this.$message.error("请至少选择一条数据"); 89 this.$message.error("请至少选择一条数据");
91 return; 90 return;
92 } 91 }
93 this.saveloding = true;
94 startBusinessFlow({ 92 startBusinessFlow({
95 bsmSqyw: Cookies.get("bsmSqyw"), 93 bsmSqyw: Cookies.get("bsmSqyw"),
96 bdcdysz: this.bdcdysz, 94 bdcdysz: this.bdcdysz,
97 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 95 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
98 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 96 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
99 }).then((res) => { 97 }).then((res) => {
100 this.saveloding = false;
101 if (res.code == 200) { 98 if (res.code == 200) {
102 this.$message({ 99 this.$message({
103 showClose: true, 100 showClose: true,
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 </div> 47 </div>
48 <div class="submit_button"> 48 <div class="submit_button">
49 <el-button @click="closeDialog">取消</el-button> 49 <el-button @click="closeDialog">取消</el-button>
50 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 50 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
51 </div> 51 </div>
52 </div> 52 </div>
53 </template> 53 </template>
...@@ -75,8 +75,7 @@ export default { ...@@ -75,8 +75,7 @@ export default {
75 columns: datas.columns(), 75 columns: datas.columns(),
76 data: [], 76 data: [],
77 }, 77 },
78 bdcdysz: [], 78 bdcdysz: []
79 saveloding: false,
80 }; 79 };
81 }, 80 },
82 mounted () { 81 mounted () {
...@@ -101,14 +100,12 @@ export default { ...@@ -101,14 +100,12 @@ export default {
101 this.$message.error("请至少选择一条数据"); 100 this.$message.error("请至少选择一条数据");
102 return; 101 return;
103 } 102 }
104 this.saveloding = true;
105 startBusinessFlow({ 103 startBusinessFlow({
106 bsmSqyw: Cookies.get("bsmSqyw"), 104 bsmSqyw: Cookies.get("bsmSqyw"),
107 bdcdysz: this.bdcdysz, 105 bdcdysz: this.bdcdysz,
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '', 106 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '', 107 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
110 }).then((res) => { 108 }).then((res) => {
111 this.saveloding = false;
112 if (res.code == 200) { 109 if (res.code == 200) {
113 this.$message({ 110 this.$message({
114 showClose: true, 111 showClose: true,
...@@ -132,8 +129,8 @@ export default { ...@@ -132,8 +129,8 @@ export default {
132 }) 129 })
133 this.bdcdysz = val; 130 this.bdcdysz = val;
134 }, 131 },
135 openBook(row){ 132 openBook (row) {
136 var param={bdcdyid:row.bdcdyid,qllx:row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx}; 133 var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
137 this.$popup({ 134 this.$popup({
138 titleStyle: "left", 135 titleStyle: "left",
139 title: "登记簿详情", // 弹窗标题 136 title: "登记簿详情", // 弹窗标题
......