0bfaa513 by 任超

style:申请业务

1 parent 49ca7812
...@@ -116,7 +116,6 @@ export default { ...@@ -116,7 +116,6 @@ export default {
116 }, 116 },
117 }, 117 },
118 methods: { 118 methods: {
119
120 // 单选 119 // 单选
121 singleElection (row) { 120 singleElection (row) {
122 this.selected = this.data.indexOf(row); 121 this.selected = this.data.indexOf(row);
......
...@@ -116,7 +116,6 @@ export default { ...@@ -116,7 +116,6 @@ export default {
116 }, 116 },
117 }, 117 },
118 methods: { 118 methods: {
119
120 // 单选 119 // 单选
121 singleElection (row) { 120 singleElection (row) {
122 this.selected = this.data.indexOf(row); 121 this.selected = this.data.indexOf(row);
......
1 import store from '@/store' 1 import store from '@/store'
2 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 2 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
3 export default class filter { 3 export default class filter {
4 selected (row) {
5 if (row.djblzt == 1) { // 正在办理不能申请
6 return false //不可选择
7 } else {
8 return true //可选择
9 }
10 }
4 // 业务来源 11 // 业务来源
5 busSource (val) { 12 busSource (val) {
6 let status = { 1: '办事大厅', 2: '微信小程序' } 13 let status = { 1: '办事大厅', 2: '微信小程序' }
......
...@@ -54,7 +54,7 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; ...@@ -54,7 +54,7 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
54 export default { 54 export default {
55 props: { 55 props: {
56 isJump: { type: Boolean, default: false }, 56 isJump: { type: Boolean, default: false },
57 sqywInfo: { type: Object, default: () => {} }, 57 sqywInfo: { type: Object, default: () => { } },
58 }, 58 },
59 mixins: [table, jump], 59 mixins: [table, jump],
60 data () { 60 data () {
...@@ -76,11 +76,6 @@ export default { ...@@ -76,11 +76,6 @@ export default {
76 sendThis(this); 76 sendThis(this);
77 }, 77 },
78 methods: { 78 methods: {
79 //点击行选中或取消复选框
80 handleRowClick (row, column, event) {
81 //通过ref绑定后这里使用$refs.table来操作bom元素
82 this.$refs.table.toggleRowSelection(row);
83 },
84 closeDialog () { 79 closeDialog () {
85 this.$emit("closeDialog") 80 this.$emit("closeDialog")
86 }, 81 },
...@@ -104,8 +99,8 @@ export default { ...@@ -104,8 +99,8 @@ export default {
104 startBusinessFlow({ 99 startBusinessFlow({
105 bsmSqyw: this.bsmSqyw, 100 bsmSqyw: this.bsmSqyw,
106 bdcdysz: this.bdcdysz, 101 bdcdysz: this.bdcdysz,
107 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 102 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
108 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 103 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
109 }).then((res) => { 104 }).then((res) => {
110 if (res.code == 200) { 105 if (res.code == 200) {
111 this.$message({ 106 this.$message({
......
...@@ -63,9 +63,9 @@ export default { ...@@ -63,9 +63,9 @@ export default {
63 mixins: [table, jump], 63 mixins: [table, jump],
64 props: { 64 props: {
65 isJump: { type: Boolean, default: false }, 65 isJump: { type: Boolean, default: false },
66 sqywInfo: { type: Object, default: () => {} }, 66 sqywInfo: { type: Object, default: () => { } },
67 }, 67 },
68 data() { 68 data () {
69 return { 69 return {
70 queryForm: defaultParameters.defaultParameters(), 70 queryForm: defaultParameters.defaultParameters(),
71 qllxs: [], 71 qllxs: [],
...@@ -77,19 +77,14 @@ export default { ...@@ -77,19 +77,14 @@ export default {
77 bdcdysz: [], 77 bdcdysz: [],
78 }; 78 };
79 }, 79 },
80 mounted() { 80 mounted () {
81 sendThis(this); 81 sendThis(this);
82 }, 82 },
83 methods: { 83 methods: {
84 //点击行选中或取消复选框 84 closeDialog () {
85 handleRowClick(row, column, event) {
86 //通过ref绑定后这里使用$refs.table来操作bom元素
87 this.$refs.table.toggleRowSelection(row);
88 },
89 closeDialog() {
90 this.$emit("closeDialog"); 85 this.$emit("closeDialog");
91 }, 86 },
92 queryClick() { 87 queryClick () {
93 this.queryForm.sqywbm = this.sqywInfo.djywbm; 88 this.queryForm.sqywbm = this.sqywInfo.djywbm;
94 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { 89 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
95 if (res.code === 200) { 90 if (res.code === 200) {
...@@ -99,7 +94,7 @@ export default { ...@@ -99,7 +94,7 @@ export default {
99 } 94 }
100 }); 95 });
101 }, 96 },
102 submitFormClick() { 97 submitFormClick () {
103 if (this.bdcdysz.length == 0) { 98 if (this.bdcdysz.length == 0) {
104 this.$message.error("请至少选择一条数据"); 99 this.$message.error("请至少选择一条数据");
105 return; 100 return;
...@@ -126,7 +121,7 @@ export default { ...@@ -126,7 +121,7 @@ export default {
126 } 121 }
127 }); 122 });
128 }, 123 },
129 handleSelectionChange(val) { 124 handleSelectionChange (val) {
130 val.forEach((item, index) => { 125 val.forEach((item, index) => {
131 item.bsmSsql = item.bsmQlxx; 126 item.bsmSsql = item.bsmQlxx;
132 item.ybdcqzsh = item.bdcqzh; 127 item.ybdcqzsh = item.bdcqzh;
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
78 mixins: [table, jump], 78 mixins: [table, jump],
79 props: { 79 props: {
80 isJump: { type: Boolean, default: false }, 80 isJump: { type: Boolean, default: false },
81 sqywInfo: { type: Object, default: () => {} }, 81 sqywInfo: { type: Object, default: () => { } },
82 }, 82 },
83 data () { 83 data () {
84 return { 84 return {
...@@ -105,11 +105,6 @@ export default { ...@@ -105,11 +105,6 @@ export default {
105 sendThis(this) 105 sendThis(this)
106 }, 106 },
107 methods: { 107 methods: {
108 //点击行选中或取消复选框
109 handleRowClick (row, column, event) {
110 //通过ref绑定后这里使用$refs.table来操作bom元素
111 this.$refs.table.toggleRowSelection(row);
112 },
113 closeDialog () { 108 closeDialog () {
114 this.$emit("closeDialog"); 109 this.$emit("closeDialog");
115 }, 110 },
...@@ -162,8 +157,8 @@ export default { ...@@ -162,8 +157,8 @@ export default {
162 bsmSqyw: this.bsmSqyw, 157 bsmSqyw: this.bsmSqyw,
163 fwlx: this.activeName, 158 fwlx: this.activeName,
164 bdcdysz: this.bdcdysz, 159 bdcdysz: this.bdcdysz,
165 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 160 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
166 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 161 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
167 }).then((res) => { 162 }).then((res) => {
168 if (res.code == 200) { 163 if (res.code == 200) {
169 this.$message({ 164 this.$message({
...@@ -206,8 +201,8 @@ export default { ...@@ -206,8 +201,8 @@ export default {
206 formData: { 201 formData: {
207 bsm: item.bsm, 202 bsm: item.bsm,
208 bsmSqyw: this.bsmSqyw, 203 bsmSqyw: this.bsmSqyw,
209 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 204 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
210 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 205 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
211 } 206 }
212 }) 207 })
213 } 208 }
...@@ -217,5 +212,4 @@ export default { ...@@ -217,5 +212,4 @@ export default {
217 <style scoped lang="scss"> 212 <style scoped lang="scss">
218 @import "~@/styles/mixin.scss"; 213 @import "~@/styles/mixin.scss";
219 @import "~@/styles/public.scss"; 214 @import "~@/styles/public.scss";
220
221 </style> 215 </style>
......
1 export default { 1 export default {
2 methods: { 2 methods: {
3 //点击行选中或取消复选框
4 handleRowClick (row, column, event) {
5 row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row))
6 },
3 jump (data, type) { 7 jump (data, type) {
4 this.$emit("closeDialog"); 8 this.$emit("closeDialog");
5 const { href } = this.$router.resolve( 9 const { href } = this.$router.resolve(
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
49 mixins: [table, jump], 49 mixins: [table, jump],
50 props: { 50 props: {
51 isJump: { type: Boolean, default: false }, 51 isJump: { type: Boolean, default: false },
52 sqywInfo: { type: Object, default: () => {} }, 52 sqywInfo: { type: Object, default: () => { } },
53 }, 53 },
54 data () { 54 data () {
55 return { 55 return {
...@@ -70,11 +70,6 @@ export default { ...@@ -70,11 +70,6 @@ export default {
70 sendThis(this); 70 sendThis(this);
71 }, 71 },
72 methods: { 72 methods: {
73 //点击行选中或取消复选框
74 handleRowClick (row, column, event) {
75 //通过ref绑定后这里使用$refs.table来操作bom元素
76 this.$refs.table.toggleRowSelection(row);
77 },
78 closeDialog () { 73 closeDialog () {
79 this.$emit("closeDialog"); 74 this.$emit("closeDialog");
80 }, 75 },
...@@ -96,8 +91,8 @@ export default { ...@@ -96,8 +91,8 @@ export default {
96 startBusinessFlow({ 91 startBusinessFlow({
97 bsmSqyw: this.bsmSqyw, 92 bsmSqyw: this.bsmSqyw,
98 bdcdysz: this.bdcdysz, 93 bdcdysz: this.bdcdysz,
99 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 94 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
100 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 95 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
101 }).then((res) => { 96 }).then((res) => {
102 if (res.code == 200) { 97 if (res.code == 200) {
103 this.$message({ 98 this.$message({
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
49 mixins: [table, jump], 49 mixins: [table, jump],
50 props: { 50 props: {
51 isJump: { type: Boolean, default: false }, 51 isJump: { type: Boolean, default: false },
52 sqywInfo: { type: Object, default: () => {} }, 52 sqywInfo: { type: Object, default: () => { } },
53 }, 53 },
54 data () { 54 data () {
55 return { 55 return {
...@@ -67,11 +67,6 @@ export default { ...@@ -67,11 +67,6 @@ export default {
67 sendThis(this); 67 sendThis(this);
68 }, 68 },
69 methods: { 69 methods: {
70 //点击行选中或取消复选框
71 handleRowClick (row, column, event) {
72 //通过ref绑定后这里使用$refs.table来操作bom元素
73 this.$refs.table.toggleRowSelection(row);
74 },
75 closeDialog () { 70 closeDialog () {
76 this.$emit("closeDialog"); 71 this.$emit("closeDialog");
77 }, 72 },
...@@ -93,8 +88,8 @@ export default { ...@@ -93,8 +88,8 @@ export default {
93 startBusinessFlow({ 88 startBusinessFlow({
94 bsmSqyw: this.sqywInfo.parentid, 89 bsmSqyw: this.sqywInfo.parentid,
95 bdcdysz: this.bdcdysz, 90 bdcdysz: this.bdcdysz,
96 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 91 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
97 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 92 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
98 }).then((res) => { 93 }).then((res) => {
99 if (res.code == 200) { 94 if (res.code == 200) {
100 this.$message({ 95 this.$message({
......
...@@ -64,9 +64,9 @@ export default { ...@@ -64,9 +64,9 @@ export default {
64 mixins: [table, jump], 64 mixins: [table, jump],
65 props: { 65 props: {
66 isJump: { type: Boolean, default: false }, 66 isJump: { type: Boolean, default: false },
67 sqywInfo: { type: Object, default: () => {} }, 67 sqywInfo: { type: Object, default: () => { } },
68 }, 68 },
69 data() { 69 data () {
70 return { 70 return {
71 queryForm: defaultParameters.defaultParameters(), 71 queryForm: defaultParameters.defaultParameters(),
72 qllxData: [], 72 qllxData: [],
...@@ -82,10 +82,10 @@ export default { ...@@ -82,10 +82,10 @@ export default {
82 : this.sqywInfo.parentid, 82 : this.sqywInfo.parentid,
83 }; 83 };
84 }, 84 },
85 mounted() { 85 mounted () {
86 sendThis(this); 86 sendThis(this);
87 }, 87 },
88 created() { 88 created () {
89 //初始化权利类型下拉框内容 89 //初始化权利类型下拉框内容
90 getQllxByBsmSqyw(this.bsmSqyw).then((res) => { 90 getQllxByBsmSqyw(this.bsmSqyw).then((res) => {
91 if (res.code === 200) { 91 if (res.code === 200) {
...@@ -94,16 +94,11 @@ export default { ...@@ -94,16 +94,11 @@ export default {
94 }); 94 });
95 }, 95 },
96 methods: { 96 methods: {
97 //点击行选中或取消复选框 97 closeDialog () {
98 handleRowClick(row, column, event) {
99 //通过ref绑定后这里使用$refs.table来操作bom元素
100 this.$refs.table.toggleRowSelection(row);
101 },
102 closeDialog() {
103 this.$emit("closeDialog"); 98 this.$emit("closeDialog");
104 }, 99 },
105 //默认加载表格信息 100 //默认加载表格信息
106 queryClick() { 101 queryClick () {
107 this.queryForm.bsmSqyw = this.bsmSqyw; 102 this.queryForm.bsmSqyw = this.bsmSqyw;
108 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 103 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
109 if (res.code === 200) { 104 if (res.code === 200) {
...@@ -113,7 +108,7 @@ export default { ...@@ -113,7 +108,7 @@ export default {
113 } 108 }
114 }); 109 });
115 }, 110 },
116 submitForm() { 111 submitForm () {
117 if (this.bdcdysz.length == 0) { 112 if (this.bdcdysz.length == 0) {
118 this.$alert("请至少选择一条数据"); 113 this.$alert("请至少选择一条数据");
119 return; 114 return;
...@@ -140,7 +135,7 @@ export default { ...@@ -140,7 +135,7 @@ export default {
140 } 135 }
141 }); 136 });
142 }, 137 },
143 handleSelectionChange(val) { 138 handleSelectionChange (val) {
144 val.forEach((item, index) => { 139 val.forEach((item, index) => {
145 item.bsmSsql = item.bsmQlxx; 140 item.bsmSsql = item.bsmQlxx;
146 item.ybdcqzsh = item.bdcqzh; 141 item.ybdcqzsh = item.bdcqzh;
......
...@@ -7,34 +7,19 @@ ...@@ -7,34 +7,19 @@
7 <el-row> 7 <el-row>
8 <el-col :span="8"> 8 <el-col :span="8">
9 <el-form-item label="自然幢号"> 9 <el-form-item label="自然幢号">
10 <el-input 10 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width200px">
11 placeholder="请输入自然幢号"
12 v-model="queryForm.zrzh"
13 clearable
14 class="width200px"
15 >
16 </el-input> 11 </el-input>
17 </el-form-item> 12 </el-form-item>
18 </el-col> 13 </el-col>
19 <el-col :span="8"> 14 <el-col :span="8">
20 <el-form-item label="不动产单元号"> 15 <el-form-item label="不动产单元号">
21 <el-input 16 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
22 placeholder="请输入不动产单元号"
23 v-model="queryForm.bdcdyh"
24 clearable
25 class="width200px"
26 >
27 </el-input> 17 </el-input>
28 </el-form-item> 18 </el-form-item>
29 </el-col> 19 </el-col>
30 <el-col :span="6"> 20 <el-col :span="6">
31 <el-form-item label="项目名称"> 21 <el-form-item label="项目名称">
32 <el-input 22 <el-input placeholder="" v-model="queryForm.xmmc" clearable class="width200px">
33 placeholder=""
34 v-model="queryForm.xmmc"
35 clearable
36 class="width200px"
37 >
38 </el-input> 23 </el-input>
39 </el-form-item> 24 </el-form-item>
40 </el-col> 25 </el-col>
...@@ -48,19 +33,10 @@ ...@@ -48,19 +33,10 @@
48 </div> 33 </div>
49 <!-- 表格 --> 34 <!-- 表格 -->
50 <div class="from-clues-content"> 35 <div class="from-clues-content">
51 <lb-table 36 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
52 ref="table" 37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
53 @row-click="handleRowClick" 38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
54 :page-size="pageData.pageSize" 39 :data="tableData.data">
55 :heightNum="400"
56 :current-page.sync="pageData.currentPage"
57 :total="tableData.total"
58 @size-change="handleSizeChange"
59 @p-current-change="handleCurrentChange"
60 @selection-change="handleSelectionChange"
61 :column="tableData.columns"
62 :data="tableData.data"
63 >
64 </lb-table> 40 </lb-table>
65 </div> 41 </div>
66 <div class="submit_button"> 42 <div class="submit_button">
...@@ -79,10 +55,10 @@ export default { ...@@ -79,10 +55,10 @@ export default {
79 mixins: [table, jump], 55 mixins: [table, jump],
80 props: { 56 props: {
81 isJump: { type: Boolean, default: false }, 57 isJump: { type: Boolean, default: false },
82 sqywInfo: { type: Object, default: () => {} }, 58 sqywInfo: { type: Object, default: () => { } },
83 59
84 }, 60 },
85 data() { 61 data () {
86 return { 62 return {
87 queryForm: defaultParameters.defaultParameters(), 63 queryForm: defaultParameters.defaultParameters(),
88 tableData: { 64 tableData: {
...@@ -93,19 +69,14 @@ export default { ...@@ -93,19 +69,14 @@ export default {
93 bdcdysz: [], 69 bdcdysz: [],
94 }; 70 };
95 }, 71 },
96 mounted() { 72 mounted () {
97 sendThis(this); 73 sendThis(this);
98 }, 74 },
99 methods: { 75 methods: {
100 //点击行选中或取消复选框 76 closeDialog () {
101 handleRowClick(row, column, event) {
102 //通过ref绑定后这里使用$refs.table来操作bom元素
103 this.$refs.table.toggleRowSelection(row);
104 },
105 closeDialog() {
106 this.$emit("closeDialog"); 77 this.$emit("closeDialog");
107 }, 78 },
108 queryClick() { 79 queryClick () {
109 selectAllHInfo({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectAllHInfo({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 81 if (res.code === 200) {
111 let { total, records } = res.result; 82 let { total, records } = res.result;
...@@ -114,7 +85,7 @@ export default { ...@@ -114,7 +85,7 @@ export default {
114 } 85 }
115 }); 86 });
116 }, 87 },
117 submitForm() { 88 submitForm () {
118 if (this.bdcdysz.length == 0) { 89 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 90 this.$message.error("请至少选择一条数据");
120 return; 91 return;
...@@ -122,8 +93,8 @@ export default { ...@@ -122,8 +93,8 @@ export default {
122 startBusinessFlow({ 93 startBusinessFlow({
123 bsmSqyw: this.sqywInfo.bsmSqyw, 94 bsmSqyw: this.sqywInfo.bsmSqyw,
124 bdcdysz: this.bdcdysz, 95 bdcdysz: this.bdcdysz,
125 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 96 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
126 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 97 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
127 }).then((res) => { 98 }).then((res) => {
128 if (res.code == 200) { 99 if (res.code == 200) {
129 this.$message({ 100 this.$message({
...@@ -141,7 +112,7 @@ export default { ...@@ -141,7 +112,7 @@ export default {
141 } 112 }
142 }); 113 });
143 }, 114 },
144 handleSelectionChange(val) { 115 handleSelectionChange (val) {
145 val.forEach((item, index) => { 116 val.forEach((item, index) => {
146 item.bsmSsql = item.bsmQlxx; 117 item.bsmSsql = item.bsmQlxx;
147 item.ybdcqzsh = item.bdcqzh; 118 item.ybdcqzsh = item.bdcqzh;
......
...@@ -55,9 +55,9 @@ export default { ...@@ -55,9 +55,9 @@ export default {
55 mixins: [table, jump], 55 mixins: [table, jump],
56 props: { 56 props: {
57 isJump: { type: Boolean, default: false }, 57 isJump: { type: Boolean, default: false },
58 sqywInfo: { type: Object, default: () => {} }, 58 sqywInfo: { type: Object, default: () => { } },
59 }, 59 },
60 data() { 60 data () {
61 return { 61 return {
62 queryForm: defaultParameters.defaultParameters(), 62 queryForm: defaultParameters.defaultParameters(),
63 tableData: { 63 tableData: {
...@@ -68,19 +68,14 @@ export default { ...@@ -68,19 +68,14 @@ export default {
68 bdcdysz: [], 68 bdcdysz: [],
69 }; 69 };
70 }, 70 },
71 mounted() { 71 mounted () {
72 sendThis(this); 72 sendThis(this);
73 }, 73 },
74 methods: { 74 methods: {
75 //点击行选中或取消复选框 75 closeDialog () {
76 handleRowClick(row, column, event) {
77 //通过ref绑定后这里使用$refs.table来操作bom元素
78 this.$refs.table.toggleRowSelection(row);
79 },
80 closeDialog() {
81 this.$emit("closeDialog"); 76 this.$emit("closeDialog");
82 }, 77 },
83 queryClick() { 78 queryClick () {
84 this.queryForm.sqywbm = this.sqywInfo.djywbm; 79 this.queryForm.sqywbm = this.sqywInfo.djywbm;
85 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
86 if (res.code === 200) { 81 if (res.code === 200) {
...@@ -90,7 +85,7 @@ export default { ...@@ -90,7 +85,7 @@ export default {
90 } 85 }
91 }); 86 });
92 }, 87 },
93 submitForm() { 88 submitForm () {
94 if (this.bdcdysz.length == 0) { 89 if (this.bdcdysz.length == 0) {
95 this.$message.error("请至少选择一条数据"); 90 this.$message.error("请至少选择一条数据");
96 return; 91 return;
...@@ -117,7 +112,7 @@ export default { ...@@ -117,7 +112,7 @@ export default {
117 } 112 }
118 }); 113 });
119 }, 114 },
120 handleSelectionChange(val) { 115 handleSelectionChange (val) {
121 val.forEach((item, index) => { 116 val.forEach((item, index) => {
122 item.bsmSsql = item.bsmQlxx; 117 item.bsmSsql = item.bsmQlxx;
123 item.ybdcqzsh = item.bdcqzh; 118 item.ybdcqzsh = item.bdcqzh;
......
...@@ -63,9 +63,9 @@ export default { ...@@ -63,9 +63,9 @@ export default {
63 mixins: [table, jump], 63 mixins: [table, jump],
64 props: { 64 props: {
65 isJump: { type: Boolean, default: false }, 65 isJump: { type: Boolean, default: false },
66 sqywInfo: { type: Object, default: () => {} }, 66 sqywInfo: { type: Object, default: () => { } },
67 }, 67 },
68 data() { 68 data () {
69 return { 69 return {
70 queryForm: defaultParameters.defaultParameters(), 70 queryForm: defaultParameters.defaultParameters(),
71 tableData: { 71 tableData: {
...@@ -76,19 +76,14 @@ export default { ...@@ -76,19 +76,14 @@ export default {
76 bdcdysz: [], 76 bdcdysz: [],
77 }; 77 };
78 }, 78 },
79 mounted() { 79 mounted () {
80 sendThis(this); 80 sendThis(this);
81 }, 81 },
82 methods: { 82 methods: {
83 //点击行选中或取消复选框 83 closeDialog () {
84 handleRowClick(row, column, event) {
85 //通过ref绑定后这里使用$refs.table来操作bom元素
86 this.$refs.table.toggleRowSelection(row);
87 },
88 closeDialog() {
89 this.$emit("closeDialog"); 84 this.$emit("closeDialog");
90 }, 85 },
91 queryClick() { 86 queryClick () {
92 this.queryForm.sqywbm = this.sqywInfo.djywbm; 87 this.queryForm.sqywbm = this.sqywInfo.djywbm;
93 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 88 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
94 if (res.code === 200) { 89 if (res.code === 200) {
...@@ -98,7 +93,7 @@ export default { ...@@ -98,7 +93,7 @@ export default {
98 } 93 }
99 }); 94 });
100 }, 95 },
101 submitForm() { 96 submitForm () {
102 if (this.bdcdysz.length == 0) { 97 if (this.bdcdysz.length == 0) {
103 this.$message.error("请至少选择一条数据"); 98 this.$message.error("请至少选择一条数据");
104 return; 99 return;
...@@ -125,14 +120,14 @@ export default { ...@@ -125,14 +120,14 @@ export default {
125 } 120 }
126 }); 121 });
127 }, 122 },
128 handleSelectionChange(val) { 123 handleSelectionChange (val) {
129 val.forEach((item, index) => { 124 val.forEach((item, index) => {
130 item.bsmSsql = item.bsmQlxx; 125 item.bsmSsql = item.bsmQlxx;
131 item.ybdcqzsh = item.bdcqzh; 126 item.ybdcqzsh = item.bdcqzh;
132 }); 127 });
133 this.bdcdysz = val; 128 this.bdcdysz = val;
134 }, 129 },
135 openBook(row) { 130 openBook (row) {
136 var param = { 131 var param = {
137 bdcdyid: row.bdcdyid, 132 bdcdyid: row.bdcdyid,
138 qllx: row.qllx, 133 qllx: row.qllx,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row> 6 <el-row>
7 <el-col :span="10"> 7 <el-col :span="10">
8 <el-form-item label="不动产单元号"> 8 <el-form-item label="不动产单元号2">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> 9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
...@@ -49,9 +49,9 @@ export default { ...@@ -49,9 +49,9 @@ export default {
49 mixins: [table, jump], 49 mixins: [table, jump],
50 props: { 50 props: {
51 isJump: { type: Boolean, default: false }, 51 isJump: { type: Boolean, default: false },
52 sqywInfo: { type: Object, default: () => {} }, 52 sqywInfo: { type: Object, default: () => { } },
53 }, 53 },
54 data() { 54 data () {
55 return { 55 return {
56 queryForm: defaultParameters.defaultParameters(), 56 queryForm: defaultParameters.defaultParameters(),
57 tableData: { 57 tableData: {
...@@ -66,19 +66,14 @@ export default { ...@@ -66,19 +66,14 @@ export default {
66 : this.sqywInfo.parentid, 66 : this.sqywInfo.parentid,
67 }; 67 };
68 }, 68 },
69 mounted() { 69 mounted () {
70 sendThis(this); 70 sendThis(this);
71 }, 71 },
72 methods: { 72 methods: {
73 //点击行选中或取消复选框 73 closeDialog () {
74 handleRowClick(row, column, event) {
75 //通过ref绑定后这里使用$refs.table来操作bom元素
76 this.$refs.table.toggleRowSelection(row);
77 },
78 closeDialog() {
79 this.$emit("closeDialog"); 74 this.$emit("closeDialog");
80 }, 75 },
81 queryClick() { 76 queryClick () {
82 this.queryForm.sqywbm = this.sqywInfo.djywbm; 77 this.queryForm.sqywbm = this.sqywInfo.djywbm;
83 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 78 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
84 if (res.code === 200) { 79 if (res.code === 200) {
...@@ -88,7 +83,7 @@ export default { ...@@ -88,7 +83,7 @@ export default {
88 } 83 }
89 }); 84 });
90 }, 85 },
91 submitForm() { 86 submitForm () {
92 if (this.bdcdysz.length == 0) { 87 if (this.bdcdysz.length == 0) {
93 this.$alert("请至少选择一条数据"); 88 this.$alert("请至少选择一条数据");
94 return; 89 return;
...@@ -115,7 +110,7 @@ export default { ...@@ -115,7 +110,7 @@ export default {
115 } 110 }
116 }); 111 });
117 }, 112 },
118 handleSelectionChange(val) { 113 handleSelectionChange (val) {
119 this.bdcdysz = val; 114 this.bdcdysz = val;
120 }, 115 },
121 }, 116 },
......
...@@ -7,34 +7,19 @@ ...@@ -7,34 +7,19 @@
7 <el-row> 7 <el-row>
8 <el-col :span="8"> 8 <el-col :span="8">
9 <el-form-item label="不动产权证号"> 9 <el-form-item label="不动产权证号">
10 <el-input 10 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
11 placeholder="请输入不动产权证号"
12 v-model="queryForm.bdcqzh"
13 clearable
14 class="width200px"
15 >
16 </el-input> 11 </el-input>
17 </el-form-item> 12 </el-form-item>
18 </el-col> 13 </el-col>
19 <el-col :span="8"> 14 <el-col :span="8">
20 <el-form-item label="不动产单元号"> 15 <el-form-item label="不动产单元号">
21 <el-input 16 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
22 placeholder="请输入不动产单元号"
23 v-model="queryForm.bdcdyh"
24 clearable
25 class="width200px"
26 >
27 </el-input> 17 </el-input>
28 </el-form-item> 18 </el-form-item>
29 </el-col> 19 </el-col>
30 <el-col :span="6"> 20 <el-col :span="6">
31 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
32 <el-input 22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
33 placeholder=""
34 v-model="queryForm.zl"
35 clearable
36 class="width200px"
37 >
38 </el-input> 23 </el-input>
39 </el-form-item> 24 </el-form-item>
40 </el-col> 25 </el-col>
...@@ -48,19 +33,10 @@ ...@@ -48,19 +33,10 @@
48 </div> 33 </div>
49 <!-- 表格 --> 34 <!-- 表格 -->
50 <div class="from-clues-content"> 35 <div class="from-clues-content">
51 <lb-table 36 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
52 ref="table" 37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
53 @row-click="handleRowClick" 38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
54 :page-size="pageData.pageSize" 39 :data="tableData.data">
55 :heightNum="400"
56 :current-page.sync="pageData.currentPage"
57 :total="tableData.total"
58 @size-change="handleSizeChange"
59 @p-current-change="handleCurrentChange"
60 @selection-change="handleSelectionChange"
61 :column="tableData.columns"
62 :data="tableData.data"
63 >
64 </lb-table> 40 </lb-table>
65 </div> 41 </div>
66 <div class="submit_button"> 42 <div class="submit_button">
...@@ -79,9 +55,9 @@ export default { ...@@ -79,9 +55,9 @@ export default {
79 mixins: [table, jump], 55 mixins: [table, jump],
80 props: { 56 props: {
81 isJump: { type: Boolean, default: false }, 57 isJump: { type: Boolean, default: false },
82 sqywInfo: { type: Object, default: () => {} }, 58 sqywInfo: { type: Object, default: () => { } },
83 }, 59 },
84 data() { 60 data () {
85 return { 61 return {
86 queryForm: defaultParameters.defaultParameters(), 62 queryForm: defaultParameters.defaultParameters(),
87 tableData: { 63 tableData: {
...@@ -92,19 +68,14 @@ export default { ...@@ -92,19 +68,14 @@ export default {
92 bdcdysz: [], 68 bdcdysz: [],
93 }; 69 };
94 }, 70 },
95 mounted() { 71 mounted () {
96 sendThis(this); 72 sendThis(this);
97 }, 73 },
98 methods: { 74 methods: {
99 //点击行选中或取消复选框 75 closeDialog () {
100 handleRowClick(row, column, event) {
101 //通过ref绑定后这里使用$refs.table来操作bom元素
102 this.$refs.table.toggleRowSelection(row);
103 },
104 closeDialog() {
105 this.$emit("closeDialog"); 76 this.$emit("closeDialog");
106 }, 77 },
107 queryClick() { 78 queryClick () {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 79 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 81 if (res.code === 200) {
...@@ -114,7 +85,7 @@ export default { ...@@ -114,7 +85,7 @@ export default {
114 } 85 }
115 }); 86 });
116 }, 87 },
117 submitForm() { 88 submitForm () {
118 if (this.bdcdysz.length == 0) { 89 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 90 this.$message.error("请至少选择一条数据");
120 return; 91 return;
...@@ -122,8 +93,8 @@ export default { ...@@ -122,8 +93,8 @@ export default {
122 startBusinessFlow({ 93 startBusinessFlow({
123 bsmSqyw: this.sqywInfo.bsmSqyw, 94 bsmSqyw: this.sqywInfo.bsmSqyw,
124 bdcdysz: this.bdcdysz, 95 bdcdysz: this.bdcdysz,
125 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 96 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
126 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 97 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
127 }).then((res) => { 98 }).then((res) => {
128 if (res.code == 200) { 99 if (res.code == 200) {
129 this.$message({ 100 this.$message({
...@@ -141,7 +112,7 @@ export default { ...@@ -141,7 +112,7 @@ export default {
141 } 112 }
142 }); 113 });
143 }, 114 },
144 handleSelectionChange(val) { 115 handleSelectionChange (val) {
145 val.forEach((item, index) => { 116 val.forEach((item, index) => {
146 item.bsmSsql = item.bsmQlxx; 117 item.bsmSsql = item.bsmQlxx;
147 item.ybdcqzsh = item.bdcqzh; 118 item.ybdcqzsh = item.bdcqzh;
......
...@@ -7,34 +7,19 @@ ...@@ -7,34 +7,19 @@
7 <el-row> 7 <el-row>
8 <el-col :span="8"> 8 <el-col :span="8">
9 <el-form-item label="不动产权证号"> 9 <el-form-item label="不动产权证号">
10 <el-input 10 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
11 placeholder="请输入不动产权证号"
12 v-model="queryForm.bdcqzh"
13 clearable
14 class="width200px"
15 >
16 </el-input> 11 </el-input>
17 </el-form-item> 12 </el-form-item>
18 </el-col> 13 </el-col>
19 <el-col :span="8"> 14 <el-col :span="8">
20 <el-form-item label="不动产单元号"> 15 <el-form-item label="不动产单元号">
21 <el-input 16 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
22 placeholder="请输入不动产单元号"
23 v-model="queryForm.bdcdyh"
24 clearable
25 class="width200px"
26 >
27 </el-input> 17 </el-input>
28 </el-form-item> 18 </el-form-item>
29 </el-col> 19 </el-col>
30 <el-col :span="6"> 20 <el-col :span="6">
31 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
32 <el-input 22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
33 placeholder=""
34 v-model="queryForm.zl"
35 clearable
36 class="width200px"
37 >
38 </el-input> 23 </el-input>
39 </el-form-item> 24 </el-form-item>
40 </el-col> 25 </el-col>
...@@ -48,19 +33,10 @@ ...@@ -48,19 +33,10 @@
48 </div> 33 </div>
49 <!-- 表格 --> 34 <!-- 表格 -->
50 <div class="from-clues-content"> 35 <div class="from-clues-content">
51 <lb-table 36 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
52 ref="table" 37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
53 @row-click="handleRowClick" 38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
54 :page-size="pageData.pageSize" 39 :data="tableData.data">
55 :heightNum="400"
56 :current-page.sync="pageData.currentPage"
57 :total="tableData.total"
58 @size-change="handleSizeChange"
59 @p-current-change="handleCurrentChange"
60 @selection-change="handleSelectionChange"
61 :column="tableData.columns"
62 :data="tableData.data"
63 >
64 </lb-table> 40 </lb-table>
65 </div> 41 </div>
66 <div class="submit_button"> 42 <div class="submit_button">
...@@ -79,9 +55,9 @@ export default { ...@@ -79,9 +55,9 @@ export default {
79 mixins: [table, jump], 55 mixins: [table, jump],
80 props: { 56 props: {
81 isJump: { type: Boolean, default: false }, 57 isJump: { type: Boolean, default: false },
82 sqywInfo: { type: Object, default: () => {} }, 58 sqywInfo: { type: Object, default: () => { } },
83 }, 59 },
84 data() { 60 data () {
85 return { 61 return {
86 queryForm: defaultParameters.defaultParameters(), 62 queryForm: defaultParameters.defaultParameters(),
87 tableData: { 63 tableData: {
...@@ -92,19 +68,14 @@ export default { ...@@ -92,19 +68,14 @@ export default {
92 bdcdysz: [], 68 bdcdysz: [],
93 }; 69 };
94 }, 70 },
95 mounted() { 71 mounted () {
96 sendThis(this); 72 sendThis(this);
97 }, 73 },
98 methods: { 74 methods: {
99 //点击行选中或取消复选框 75 closeDialog () {
100 handleRowClick(row, column, event) {
101 //通过ref绑定后这里使用$refs.table来操作bom元素
102 this.$refs.table.toggleRowSelection(row);
103 },
104 closeDialog() {
105 this.$emit("closeDialog"); 76 this.$emit("closeDialog");
106 }, 77 },
107 queryClick() { 78 queryClick () {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 79 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 81 if (res.code === 200) {
...@@ -114,7 +85,7 @@ export default { ...@@ -114,7 +85,7 @@ export default {
114 } 85 }
115 }); 86 });
116 }, 87 },
117 submitForm() { 88 submitForm () {
118 if (this.bdcdysz.length == 0) { 89 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 90 this.$message.error("请至少选择一条数据");
120 return; 91 return;
...@@ -122,8 +93,8 @@ export default { ...@@ -122,8 +93,8 @@ export default {
122 startBusinessFlow({ 93 startBusinessFlow({
123 bsmSqyw: this.sqywInfo.bsmSqyw, 94 bsmSqyw: this.sqywInfo.bsmSqyw,
124 bdcdysz: this.bdcdysz, 95 bdcdysz: this.bdcdysz,
125 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 96 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
126 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 97 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
127 }).then((res) => { 98 }).then((res) => {
128 if (res.code == 200) { 99 if (res.code == 200) {
129 this.$message({ 100 this.$message({
...@@ -141,7 +112,7 @@ export default { ...@@ -141,7 +112,7 @@ export default {
141 } 112 }
142 }); 113 });
143 }, 114 },
144 handleSelectionChange(val) { 115 handleSelectionChange (val) {
145 val.forEach((item, index) => { 116 val.forEach((item, index) => {
146 item.bsmSsql = item.bsmQlxx; 117 item.bsmSsql = item.bsmQlxx;
147 item.ybdcqzsh = item.bdcqzh; 118 item.ybdcqzsh = item.bdcqzh;
......
...@@ -7,34 +7,19 @@ ...@@ -7,34 +7,19 @@
7 <el-row> 7 <el-row>
8 <el-col :span="8"> 8 <el-col :span="8">
9 <el-form-item label="不动产权证号"> 9 <el-form-item label="不动产权证号">
10 <el-input 10 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
11 placeholder="请输入不动产权证号"
12 v-model="queryForm.bdcqzh"
13 clearable
14 class="width200px"
15 >
16 </el-input> 11 </el-input>
17 </el-form-item> 12 </el-form-item>
18 </el-col> 13 </el-col>
19 <el-col :span="8"> 14 <el-col :span="8">
20 <el-form-item label="不动产单元号"> 15 <el-form-item label="不动产单元号">
21 <el-input 16 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
22 placeholder="请输入不动产单元号"
23 v-model="queryForm.bdcdyh"
24 clearable
25 class="width200px"
26 >
27 </el-input> 17 </el-input>
28 </el-form-item> 18 </el-form-item>
29 </el-col> 19 </el-col>
30 <el-col :span="6"> 20 <el-col :span="6">
31 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
32 <el-input 22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
33 placeholder=""
34 v-model="queryForm.zl"
35 clearable
36 class="width200px"
37 >
38 </el-input> 23 </el-input>
39 </el-form-item> 24 </el-form-item>
40 </el-col> 25 </el-col>
...@@ -48,19 +33,10 @@ ...@@ -48,19 +33,10 @@
48 </div> 33 </div>
49 <!-- 表格 --> 34 <!-- 表格 -->
50 <div class="from-clues-content"> 35 <div class="from-clues-content">
51 <lb-table 36 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
52 ref="table" 37 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
53 @row-click="handleRowClick" 38 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
54 :page-size="pageData.pageSize" 39 :data="tableData.data">
55 :heightNum="400"
56 :current-page.sync="pageData.currentPage"
57 :total="tableData.total"
58 @size-change="handleSizeChange"
59 @p-current-change="handleCurrentChange"
60 @selection-change="handleSelectionChange"
61 :column="tableData.columns"
62 :data="tableData.data"
63 >
64 </lb-table> 40 </lb-table>
65 </div> 41 </div>
66 <div class="submit_button"> 42 <div class="submit_button">
...@@ -79,9 +55,9 @@ export default { ...@@ -79,9 +55,9 @@ export default {
79 mixins: [table, jump], 55 mixins: [table, jump],
80 props: { 56 props: {
81 isJump: { type: Boolean, default: false }, 57 isJump: { type: Boolean, default: false },
82 sqywInfo: { type: Object, default: () => {} }, 58 sqywInfo: { type: Object, default: () => { } },
83 }, 59 },
84 data() { 60 data () {
85 return { 61 return {
86 queryForm: defaultParameters.defaultParameters(), 62 queryForm: defaultParameters.defaultParameters(),
87 tableData: { 63 tableData: {
...@@ -92,19 +68,14 @@ export default { ...@@ -92,19 +68,14 @@ export default {
92 bdcdysz: [], 68 bdcdysz: [],
93 }; 69 };
94 }, 70 },
95 mounted() { 71 mounted () {
96 sendThis(this); 72 sendThis(this);
97 }, 73 },
98 methods: { 74 methods: {
99 //点击行选中或取消复选框 75 closeDialog () {
100 handleRowClick(row, column, event) {
101 //通过ref绑定后这里使用$refs.table来操作bom元素
102 this.$refs.table.toggleRowSelection(row);
103 },
104 closeDialog() {
105 this.$emit("closeDialog"); 76 this.$emit("closeDialog");
106 }, 77 },
107 queryClick() { 78 queryClick () {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 79 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 81 if (res.code === 200) {
...@@ -114,7 +85,7 @@ export default { ...@@ -114,7 +85,7 @@ export default {
114 } 85 }
115 }); 86 });
116 }, 87 },
117 submitForm() { 88 submitForm () {
118 if (this.bdcdysz.length == 0) { 89 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 90 this.$message.error("请至少选择一条数据");
120 return; 91 return;
...@@ -122,8 +93,8 @@ export default { ...@@ -122,8 +93,8 @@ export default {
122 startBusinessFlow({ 93 startBusinessFlow({
123 bsmSqyw: this.sqywInfo.bsmSqyw, 94 bsmSqyw: this.sqywInfo.bsmSqyw,
124 bdcdysz: this.bdcdysz, 95 bdcdysz: this.bdcdysz,
125 djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", 96 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
126 djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", 97 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
127 }).then((res) => { 98 }).then((res) => {
128 if (res.code == 200) { 99 if (res.code == 200) {
129 this.$message({ 100 this.$message({
...@@ -141,7 +112,7 @@ export default { ...@@ -141,7 +112,7 @@ export default {
141 } 112 }
142 }); 113 });
143 }, 114 },
144 handleSelectionChange(val) { 115 handleSelectionChange (val) {
145 val.forEach((item, index) => { 116 val.forEach((item, index) => {
146 item.bsmSsql = item.bsmQlxx; 117 item.bsmSsql = item.bsmQlxx;
147 item.ybdcqzsh = item.bdcqzh; 118 item.ybdcqzsh = item.bdcqzh;
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -14,6 +14,7 @@ class data extends filter { ...@@ -14,6 +14,7 @@ class data extends filter {
14 type: 'selection', 14 type: 'selection',
15 label: '全选', 15 label: '全选',
16 width: '30', 16 width: '30',
17 selectable: this.selected
17 }, 18 },
18 { 19 {
19 label: '序号', 20 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,7 @@ class data extends filter { ...@@ -12,7 +12,7 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 }, 16 },
17 { 17 {
18 label: '序号', 18 label: '序号',
......
...@@ -8,11 +8,12 @@ class data extends filter { ...@@ -8,11 +8,12 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 columns() { 11 columns () {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,7 @@ class data extends filter { ...@@ -12,7 +12,7 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 selectable: this.selected
16 }, 16 },
17 { 17 {
18 label: '序号', 18 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......
...@@ -12,7 +12,8 @@ class data extends filter { ...@@ -12,7 +12,8 @@ class data extends filter {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
15 label: '全选' 15 label: '全选',
16 selectable: this.selected
16 }, 17 },
17 { 18 {
18 label: '序号', 19 label: '序号',
......