style:业务申请模块样式修改
Showing
2 changed files
with
59 additions
and
63 deletions
... | @@ -4,25 +4,25 @@ | ... | @@ -4,25 +4,25 @@ |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm"> | 5 | <el-form :model="queryForm" ref="queryForm"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="8"> | 7 | <el-col :span="7"> |
8 | <el-form-item label="宗地代码"> | 8 | <el-form-item label="宗地代码"> |
9 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width300px"> | 9 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> |
10 | </el-input> | 10 | </el-input> |
11 | </el-form-item> | 11 | </el-form-item> |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="8"> | 13 | <el-col :span="7"> |
14 | <el-form-item label="不动产单元号"> | 14 | <el-form-item label="不动产单元号"> |
15 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width300px"> | 15 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="8"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="坐落"> | 20 | <el-form-item label="坐落"> |
21 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px"> | 21 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> |
22 | </el-input> | 22 | </el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6" class="btnColRight"> | 25 | <el-col :span="4" class="btnColRight"> |
26 | <el-form-item> | 26 | <el-form-item> |
27 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 27 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
28 | <el-button type="primary" @click="handleSearch">查询</el-button> | 28 | <el-button type="primary" @click="handleSearch">查询</el-button> |
... | @@ -79,7 +79,7 @@ | ... | @@ -79,7 +79,7 @@ |
79 | }, | 79 | }, |
80 | methods: { | 80 | methods: { |
81 | queryClick () { | 81 | queryClick () { |
82 | console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx); | 82 | console.log("申请业务单一流向状态", this.sqywInfo.sqywdylx); |
83 | this.$startLoading(); | 83 | this.$startLoading(); |
84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
85 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 85 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -126,40 +126,40 @@ | ... | @@ -126,40 +126,40 @@ |
126 | }); | 126 | }); |
127 | this.bdcdysz = val; | 127 | this.bdcdysz = val; |
128 | }, | 128 | }, |
129 | select(selection, row){ | 129 | select (selection, row) { |
130 | if(this.sqywInfo.sqywdylx=="1"){ | 130 | if (this.sqywInfo.sqywdylx == "1") { |
131 | // 清除 所有勾选项 | 131 | // 清除 所有勾选项 |
132 | this.$refs.table.clearSelection() | 132 | this.$refs.table.clearSelection() |
133 | // 当表格数据都没有被勾选的时候 就返回 | 133 | // 当表格数据都没有被勾选的时候 就返回 |
134 | // 主要用于将当前勾选的表格状态清除 | 134 | // 主要用于将当前勾选的表格状态清除 |
135 | if(selection.length == 0) return | 135 | if (selection.length == 0) return |
136 | this.$refs.table.toggleRowSelection(row, true); | 136 | this.$refs.table.toggleRowSelection(row, true); |
137 | } | 137 | } |
138 | }, | 138 | }, |
139 | 139 | ||
140 | handleRowClick(row){ | 140 | handleRowClick (row) { |
141 | // 如果状态是1,那就是单选 | 141 | // 如果状态是1,那就是单选 |
142 | if(this.sqywInfo.sqywdylx=="1"){ | 142 | if (this.sqywInfo.sqywdylx == "1") { |
143 | const bdcdysz = this.bdcdysz | 143 | const bdcdysz = this.bdcdysz |
144 | this.$refs.table.clearSelection() | 144 | this.$refs.table.clearSelection() |
145 | if( bdcdysz.length == 1 ) { | 145 | if (bdcdysz.length == 1) { |
146 | bdcdysz.forEach(item => { | 146 | bdcdysz.forEach(item => { |
147 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | 147 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 |
148 | if (item == row) { | 148 | if (item == row) { |
149 | this.$refs.table.toggleRowSelection(row, false); | 149 | this.$refs.table.toggleRowSelection(row, false); |
150 | } | 150 | } |
151 | // 不然就让当前的一行勾选 | 151 | // 不然就让当前的一行勾选 |
152 | else { | 152 | else { |
153 | this.$refs.table.toggleRowSelection(row, true); | 153 | this.$refs.table.toggleRowSelection(row, true); |
154 | } | 154 | } |
155 | }) | 155 | }) |
156 | } | 156 | } |
157 | else { | 157 | else { |
158 | this.$refs.table.toggleRowSelection(row, true); | 158 | this.$refs.table.toggleRowSelection(row, true); |
159 | } | 159 | } |
160 | }else{ | 160 | } else { |
161 | this.$refs.table.toggleRowSelection(row); | 161 | this.$refs.table.toggleRowSelection(row); |
162 | } | 162 | } |
163 | }, | 163 | }, |
164 | 164 | ||
165 | }, | 165 | }, | ... | ... |
... | @@ -34,14 +34,14 @@ | ... | @@ -34,14 +34,14 @@ |
34 | <div v-if="selectType == 'amend'" class="right-situation el-card"> | 34 | <div v-if="selectType == 'amend'" class="right-situation el-card"> |
35 | <div class="right-title">登记簿补录</div> | 35 | <div class="right-title">登记簿补录</div> |
36 | <ul> | 36 | <ul> |
37 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | 37 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" |
38 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> | 38 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> |
39 | <dt>{{ item.nodename }}</dt> | 39 | <dt>{{ item.nodename }}</dt> |
40 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> | 40 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> |
41 | <i class="el-icon-star-off"></i> | 41 | <i class="el-icon-star-off"></i> |
42 | </p> | 42 | </p> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> |
45 | </div> | 45 | </div> |
46 | <!-- 业务申请 --> | 46 | <!-- 业务申请 --> |
47 | <template v-if="selectType == 'apply'"> | 47 | <template v-if="selectType == 'apply'"> |
... | @@ -80,7 +80,7 @@ | ... | @@ -80,7 +80,7 @@ |
80 | </div> | 80 | </div> |
81 | </template> | 81 | </template> |
82 | <script> | 82 | <script> |
83 | import { getCollectBiz, getleftMenu, getNextNode,getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 83 | import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
84 | export default { | 84 | export default { |
85 | data () { | 85 | data () { |
86 | return { | 86 | return { |
... | @@ -127,20 +127,20 @@ | ... | @@ -127,20 +127,20 @@ |
127 | }, | 127 | }, |
128 | //申请业务类型菜单事件 | 128 | //申请业务类型菜单事件 |
129 | sqywlxClick (item) { | 129 | sqywlxClick (item) { |
130 | console.log("item",item); | 130 | console.log("item", item); |
131 | this.btnDisabled = true; | 131 | this.btnDisabled = true; |
132 | this.selectType = item.type; | 132 | this.selectType = item.type; |
133 | console.log("this.sqywQllxList",this.sqywQllxList); | 133 | console.log("this.sqywQllxList", this.sqywQllxList); |
134 | this.sqywQllxList.forEach(item => { | 134 | this.sqywQllxList.forEach(item => { |
135 | if (item.check) item.check = false; | 135 | if (item.check) item.check = false; |
136 | }); | 136 | }); |
137 | if(this.selectType == 'amend'){ | 137 | if (this.selectType == 'amend') { |
138 | this.getRepairBiz(); | 138 | this.getRepairBiz(); |
139 | } | 139 | } |
140 | }, | 140 | }, |
141 | //权利类型菜单事件 | 141 | //权利类型菜单事件 |
142 | qllxClick (index) { | 142 | qllxClick (index) { |
143 | console.log("业务",index); | 143 | console.log("业务", index); |
144 | this.btnDisabled = true; | 144 | this.btnDisabled = true; |
145 | this.sqywQllxList.forEach(item => { | 145 | this.sqywQllxList.forEach(item => { |
146 | if (item.check) item.check = false; | 146 | if (item.check) item.check = false; |
... | @@ -153,7 +153,6 @@ | ... | @@ -153,7 +153,6 @@ |
153 | }, | 153 | }, |
154 | //选择申请业务事件 | 154 | //选择申请业务事件 |
155 | selectSqywClick (data, index) { | 155 | selectSqywClick (data, index) { |
156 | console.log("选择",data,index); | ||
157 | data.forEach(item => { | 156 | data.forEach(item => { |
158 | item.selected = false; | 157 | item.selected = false; |
159 | }); | 158 | }); |
... | @@ -184,16 +183,14 @@ | ... | @@ -184,16 +183,14 @@ |
184 | }) | 183 | }) |
185 | }, | 184 | }, |
186 | 185 | ||
187 | //获取下个节点类型数据 | 186 | //获取下个节点类型数据 |
188 | getRepairBiz () { | 187 | getRepairBiz () { |
189 | getRepairBiz().then(res => { | 188 | getRepairBiz().then(res => { |
190 | if (res) { | 189 | if (res) { |
191 | console.log("res",res); | 190 | console.log("res", res); |
192 | this.djqxList = res.result; | 191 | this.djqxList = res.result; |
193 | 192 | } | |
194 | }; | 193 | }) |
195 | }) | ||
196 | |||
197 | }, | 194 | }, |
198 | //双击事件 | 195 | //双击事件 |
199 | dblclick (data, index, item) { | 196 | dblclick (data, index, item) { |
... | @@ -207,7 +204,6 @@ | ... | @@ -207,7 +204,6 @@ |
207 | }, | 204 | }, |
208 | //收藏操作 | 205 | //收藏操作 |
209 | handleCollection (item) { | 206 | handleCollection (item) { |
210 | console.log("item收藏",item); | ||
211 | let that = this | 207 | let that = this |
212 | if (item.userCollect == '2') { | 208 | if (item.userCollect == '2') { |
213 | addCollectBiz(item.bsmSqyw).then(res => { | 209 | addCollectBiz(item.bsmSqyw).then(res => { |
... | @@ -283,10 +279,10 @@ | ... | @@ -283,10 +279,10 @@ |
283 | this.openDialog() | 279 | this.openDialog() |
284 | }, | 280 | }, |
285 | openDialog () { | 281 | openDialog () { |
286 | console.log("this.selectParam",this.selectParam); | 282 | console.log("this.selectParam", this.selectParam); |
287 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | 283 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; |
288 | 284 | ||
289 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") | 285 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") |
290 | }, | 286 | }, |
291 | loadView (view) { | 287 | loadView (view) { |
292 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 288 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | ... | ... |
-
Please register or sign in to post a comment