fb1876fa by liangyifan

申请

1 parent 1328387d
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 /* 2
3 业务办理-获取收藏业务集合 3
4 */ 4 // 转出
5 export function completeTask (data) {
6 return request({
7 url: '/business/workFlow/completeTask',
8 method: 'post',
9 data
10 })
11 }
12 // 获取左侧列表
13 export function leftMenu (data) {
14 return request({
15 url: '/ywbl/tdsyqlr/leftMenu',
16 method: 'post',
17 data
18 })
19 }
20
21 // 受理信息返显接口
5 export function Init (data) { 22 export function Init (data) {
6 return request({ 23 return request({
7 url: '/ywbl/tdsyqlr/Init', 24 url: '/ywbl/tdsyqlr/Init',
8 method: 'post', 25 method: 'post',
9 data 26 data
10 }) 27 })
11 }
...\ No newline at end of file ...\ No newline at end of file
28 }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="业务来源"> 8 <el-form-item label="业务来源">
9 <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> 9 <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源">
10 <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 10 <el-option v-for="item in dictData['ywly']" :key="item.value" :label="item.label" :value="item.value">
11 </el-option> 11 </el-option>
12 </el-select> 12 </el-select>
13 </el-form-item> 13 </el-form-item>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 <el-col :span="5"> 15 <el-col :span="5">
16 <el-form-item label="权利类型"> 16 <el-form-item label="权利类型">
17 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> 17 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
18 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 18 <el-option v-for="item in dictData['A8']" :key="item.value" :label="item.label" :value="item.value">
19 </el-option> 19 </el-option>
20 </el-select> 20 </el-select>
21 </el-form-item> 21 </el-form-item>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 <el-col :span="5"> 23 <el-col :span="5">
24 <el-form-item label="登记类型"> 24 <el-form-item label="登记类型">
25 <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> 25 <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型">
26 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 26 <el-option v-for="item in dictData['A21']" :key="item.value" :label="item.label" :value="item.value">
27 </el-option> 27 </el-option>
28 </el-select> 28 </el-select>
29 </el-form-item> 29 </el-form-item>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="业务来源"> 8 <el-form-item label="业务来源">
9 <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> 9 <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源">
10 <el-option v-for="item in ywlys" :key="item.value" :label="item.label" :value="item.value"> 10 <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode">
11 </el-option> 11 </el-option>
12 </el-select> 12 </el-select>
13 </el-form-item> 13 </el-form-item>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 <el-col :span="5"> 15 <el-col :span="5">
16 <el-form-item label="权利类型"> 16 <el-form-item label="权利类型">
17 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> 17 <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
18 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> 18 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
19 </el-option> 19 </el-option>
20 </el-select> 20 </el-select>
21 </el-form-item> 21 </el-form-item>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 <el-col :span="5"> 23 <el-col :span="5">
24 <el-form-item label="登记类型"> 24 <el-form-item label="登记类型">
25 <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> 25 <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型">
26 <el-option v-for="item in djlxs" :key="item.value" :label="item.label" :value="item.value"> 26 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
27 </el-option> 27 </el-option>
28 </el-select> 28 </el-select>
29 </el-form-item> 29 </el-form-item>
...@@ -58,17 +58,29 @@ ...@@ -58,17 +58,29 @@
58 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
59 import { datas, sendThis } from "./dbxdata"; 59 import { datas, sendThis } from "./dbxdata";
60 import { searchTaskToDo } from "@/api/ywbl.js" 60 import { searchTaskToDo } from "@/api/ywbl.js"
61 import { mapGetters } from 'vuex'
61 export default { 62 export default {
62 name: "dbx", 63 name: "dbx",
63 components: {}, 64 components: {},
64 mixins: [table], 65 mixins: [table],
66 computed: {
67 ...mapGetters(['dictData']),
68 },
65 mounted () { 69 mounted () {
66 sendThis(this); 70 sendThis(this);
71 let that = this
72 document.addEventListener('visibilitychange', function() {
73 var isHidden = document.hidden;
74 if (isHidden) {//切离该页面时执行
75 //页面切换时,处理逻辑
76 } else {//切换到该页面时执行
77 console.log('让我看看')
78 that.fetchData()
79 }
80 });
67 }, 81 },
68 data () { 82 data () {
69 return { 83 return {
70 qllxs: [],
71 djlxs: [],
72 queryForm: { 84 queryForm: {
73 ywly: "", 85 ywly: "",
74 qllx: "", 86 qllx: "",
...@@ -81,8 +93,6 @@ export default { ...@@ -81,8 +93,6 @@ export default {
81 total: 0, 93 total: 0,
82 }, 94 },
83 95
84 ywlys: datas.ywlys(),
85
86 tableData: { 96 tableData: {
87 columns: datas.columns(), 97 columns: datas.columns(),
88 data: [], 98 data: [],
......
...@@ -85,14 +85,6 @@ class data extends filter { ...@@ -85,14 +85,6 @@ class data extends filter {
85 ] 85 ]
86 } 86 }
87 87
88 ywlys(){
89 return[
90 { value: 1, label: "办事大厅" },
91 { value: 2, label: "微信小程序" },
92 { value: 3, label: "法院端" },
93 { value: 4, label: "银行端" },
94 ]
95 }
96 88
97 } 89 }
98 let datas = new data() 90 let datas = new data()
......
...@@ -6,17 +6,17 @@ ...@@ -6,17 +6,17 @@
6 <el-row :gutter="10"> 6 <el-row :gutter="10">
7 <el-col :span="8"> 7 <el-col :span="8">
8 <el-form-item label="业务号:" prop="ywh"> 8 <el-form-item label="业务号:" prop="ywh">
9 <el-input v-model="ruleForm.ywh"></el-input> 9 <el-input readonly v-model="ruleForm.ywh"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12 <el-col :span="8">
13 <el-form-item label="受理人员:" prop="slry"> 13 <el-form-item label="受理人员:" prop="slry">
14 <el-input v-model="ruleForm.slry"></el-input> 14 <el-input readonly v-model="ruleForm.slry"></el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="8"> 17 <el-col :span="8">
18 <el-form-item label="使用权结束时间:" prop="slsj"> 18 <el-form-item label="使用权结束时间:" prop="slsj">
19 <el-date-picker v-model="ruleForm.slsj" type="datetime" placeholder="选择结束时间" value-format="yyyy-MM-dd"> 19 <el-date-picker readonly v-model="ruleForm.slsj" type="datetime" placeholder="选择结束时间" value-format="yyyy-MM-dd">
20 </el-date-picker> 20 </el-date-picker>
21 </el-form-item> 21 </el-form-item>
22 </el-col> 22 </el-col>
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
24 <el-row :gutter="10"> 24 <el-row :gutter="10">
25 <el-col :span="8"> 25 <el-col :span="8">
26 <el-form-item label="权利类型:" prop="qllx"> 26 <el-form-item label="权利类型:" prop="qllx">
27 <el-select v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> 27 <el-select v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型">
28 <el-option v-for="item in qllxOption" :key="item.value" :label="item.label" :value="item.value"> 28 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
29 </el-option> 29 </el-option>
30 </el-select> 30 </el-select>
31 </el-form-item> 31 </el-form-item>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 <el-col :span="8"> 33 <el-col :span="8">
34 <el-form-item label="登记类型:" prop="djlx"> 34 <el-form-item label="登记类型:" prop="djlx">
35 <el-select v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> 35 <el-select v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型">
36 <el-option v-for="item in djlxOption" :key="item.value" :label="item.label" :value="item.value"> 36 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
37 </el-option> 37 </el-option>
38 </el-select> 38 </el-select>
39 </el-form-item> 39 </el-form-item>
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
51 <el-row :gutter="10"> 51 <el-row :gutter="10">
52 <el-col :span="8"> 52 <el-col :span="8">
53 <el-form-item label="宗地代码:" prop="zddm"> 53 <el-form-item label="宗地代码:" prop="zddm">
54 <el-input v-model="ruleForm.zddm"></el-input> 54 <el-input readonly v-model="ruleForm.zddm"></el-input>
55 </el-form-item> 55 </el-form-item>
56 </el-col> 56 </el-col>
57 <el-col :span="8"> 57 <el-col :span="8">
58 <el-form-item label="不动产单元号:" prop="bdcdyh"> 58 <el-form-item label="不动产单元号:" prop="bdcdyh">
59 <el-input v-model="ruleForm.bdcdyh"></el-input> 59 <el-input readonly v-model="ruleForm.bdcdyh"></el-input>
60 </el-form-item> 60 </el-form-item>
61 </el-col> 61 </el-col>
62 <el-col :span="8"> 62 <el-col :span="8">
...@@ -71,12 +71,12 @@ ...@@ -71,12 +71,12 @@
71 <el-row :gutter="10"> 71 <el-row :gutter="10">
72 <el-col :span="8"> 72 <el-col :span="8">
73 <el-form-item label="宗地面积:" prop="zdmj"> 73 <el-form-item label="宗地面积:" prop="zdmj">
74 <el-input v-model="ruleForm.zdmj"></el-input> 74 <el-input readonly v-model="ruleForm.zdmj"></el-input>
75 </el-form-item> 75 </el-form-item>
76 </el-col> 76 </el-col>
77 <el-col :span="16"> 77 <el-col :span="16">
78 <el-form-item label="坐落:" prop="zl"> 78 <el-form-item label="坐落:" prop="zl">
79 <el-input style="width: 100%" v-model="ruleForm.zl"></el-input> 79 <el-input readonly style="width: 100%" v-model="ruleForm.zl"></el-input>
80 </el-form-item> 80 </el-form-item>
81 </el-col> 81 </el-col>
82 </el-row> 82 </el-row>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
99 </el-col> 99 </el-col>
100 <el-col :span="8"> 100 <el-col :span="8">
101 <el-form-item label="取得价格:" prop="qdjg"> 101 <el-form-item label="取得价格:" prop="qdjg">
102 <el-input v-model="ruleForm.qdjg"></el-input> 102 <el-input readonly v-model="ruleForm.qdjg"></el-input>
103 </el-form-item> 103 </el-form-item>
104 </el-col> 104 </el-col>
105 </el-row> 105 </el-row>
...@@ -165,6 +165,8 @@ ...@@ -165,6 +165,8 @@
165 </template> 165 </template>
166 <script> 166 <script>
167 import InformationTable from './InformationTable' 167 import InformationTable from './InformationTable'
168 import { Init } from "@/api/fqsq.js"
169 import { mapGetters } from 'vuex'
168 export default { 170 export default {
169 /**注册组件*/ 171 /**注册组件*/
170 components: { InformationTable }, 172 components: { InformationTable },
...@@ -174,8 +176,12 @@ export default { ...@@ -174,8 +176,12 @@ export default {
174 default: false 176 default: false
175 } 177 }
176 }, 178 },
179 computed: {
180 ...mapGetters(['dictData']),
181 },
177 data () { 182 data () {
178 return { 183 return {
184 readonly: true,
179 flag: this.flag, 185 flag: this.flag,
180 flagTop: this.flag ? 'top' : '', 186 flagTop: this.flag ? 'top' : '',
181 qllxOption: [], 187 qllxOption: [],
...@@ -213,8 +219,19 @@ export default { ...@@ -213,8 +219,19 @@ export default {
213 } 219 }
214 }; 220 };
215 }, 221 },
216
217 methods: { 222 methods: {
223 list(bsmSldy){
224 var formdata=new FormData();
225 //可以通过append()方法来追加数据
226 formdata.append("bsmSldy",bsmSldy);
227 Init(formdata).then(res => {
228 if (res.code === 200) {
229 console.log(res,1111)
230
231 this.ruleForm = res.result
232 }
233 })
234 },
218 onSubmit () { }, 235 onSubmit () { },
219 }, 236 },
220 } 237 }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 </li> 9 </li>
10 </ul> 10 </ul>
11 <ul> 11 <ul>
12 <li @click="operation(index)" v-for="(item, index) in headerleftList.slice(-4)" :key="index"> 12 <li @click="operation(index,item)" v-for="(item, index) in headerleftList.slice(-4)" :key="index">
13 <svg-icon class="icon" :icon-class="item.icon" /> 13 <svg-icon class="icon" :icon-class="item.icon" />
14 <span class="iconName">{{ item.name }}</span> 14 <span class="iconName">{{ item.name }}</span>
15 </li> 15 </li>
...@@ -28,13 +28,11 @@ ...@@ -28,13 +28,11 @@
28 this.isShowdrawer = !this.isShowdrawer;}"> 28 this.isShowdrawer = !this.isShowdrawer;}">
29 </div> 29 </div>
30 <ul v-if='this.isShowdrawer'> 30 <ul v-if='this.isShowdrawer'>
31 <p>受理单元列表(3)</p> 31 <p>受理单元列表({{unitData.length}})</p>
32 <li>610100102104GB00004W00000000</li> 32 <div v-for='(item,index) in unitData' :key='index'>
33 <div class="xian"></div> 33 <li @click='unitClick(item)'>{{item.bdcdyh}}</li>
34 <li>610100102104GB00004W00000000</li> 34 <div class="xian"></div>
35 <div class="xian"></div> 35 </div>
36 <li>610100102104GB00004W00000000</li>
37 <div class="xian"></div>
38 </ul> 36 </ul>
39 </div> 37 </div>
40 <div class="tabsList-right" > 38 <div class="tabsList-right" >
...@@ -44,24 +42,49 @@ ...@@ -44,24 +42,49 @@
44 </div> 42 </div>
45 <el-tabs v-model="activeName"> 43 <el-tabs v-model="activeName">
46 <el-tab-pane :label="item.name" :name="index + 1 + ''" v-for="(item, index) in tabList" :key="index"> 44 <el-tab-pane :label="item.name" :name="index + 1 + ''" v-for="(item, index) in tabList" :key="index">
47 <div class="splitScreen-con"> 45 <div class="splitScreen-con" v-if='index==0'>
48 <component :is="editItem" :flag="flag" :key="key" /> 46 <component ref='slxx' :is="editItem" :flag="flag" :key="key" />
49 </div> 47 </div>
50 </el-tab-pane> 48 </el-tab-pane>
51 </el-tabs></div> 49 </el-tabs></div>
52 50
53 </div> 51 </div>
54 52
55 53 <dialogBox title="查询权利信息" @submitForm="submitForm" :saveloding="saveloding" saveButton="确认转出" width="45%"
54 height='30%' @closeDialog="closeDialog" v-model="myValue">
55 <div class="from-clues">
56 <!-- 表单部分 -->
57 <div class="from-clues-header">
58 <el-form :model="queryForm" ref="queryForm" label-width="120px">
59 <el-form-item label="下一环节名称:">
60 代码审查
61 </el-form-item>
62 <el-form-item label="下一环节办理人:">
63 赵小千
64 </el-form-item>
65 <el-form-item label="审批意见:">
66 <el-input type="textarea" v-model="queryForm.shyj"></el-input>
67 </el-form-item>
68 </el-form>
69 </div>
70
71 </div>
72 </dialogBox>
56 </div> 73 </div>
57 </template> 74 </template>
58 <script> 75 <script>
59 import { Init } from "@/api/fqsq.js" 76 import { leftMenu,completeTask } from "@/api/fqsq.js"
60 export default { 77 export default {
61 /**注册组件*/ 78 /**注册组件*/
62 components: {}, 79 components: {},
63 data () { 80 data () {
64 return { 81 return {
82 myValue:false,
83 saveloding:false,
84 queryForm:{
85 shyj:"",
86 bsmSlsq:"",
87 },
65 isShowdrawer: true, 88 isShowdrawer: true,
66 key: 0, 89 key: 0,
67 flag: false, 90 flag: false,
...@@ -131,7 +154,8 @@ export default { ...@@ -131,7 +154,8 @@ export default {
131 ], 154 ],
132 tabList: [], 155 tabList: [],
133 editItem: '', 156 editItem: '',
134 issplitScreen: false 157 issplitScreen: false,
158 unitData:[],
135 }; 159 };
136 }, 160 },
137 watch: { 161 watch: {
...@@ -144,20 +168,38 @@ export default { ...@@ -144,20 +168,38 @@ export default {
144 } 168 }
145 }, 169 },
146 created () { 170 created () {
171
147 this.tabList = [...this.tabList1] 172 this.tabList = [...this.tabList1]
148 this.list() 173
174 },
175 mounted(){
176 if(this.$route.query.bsmSlsq){
177 this.list(this.$route.query.bsmSlsq)
178 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq
179 }
149 }, 180 },
150 methods: { 181 methods: {
151 list(){ 182 // 获取左侧列表
183 list(id){
184 let that = this
152 var formdata=new FormData(); 185 var formdata=new FormData();
153 //可以通过append()方法来追加数据 186 formdata.append("bsmSlsq",id);
154 formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39"); 187 leftMenu(formdata).then(res => {
155 Init(formdata).then(res => {
156 if (res.code === 200) { 188 if (res.code === 200) {
157 console.log(res,1111) 189 this.unitData = res.result
190 setTimeout(() => {
191 that.$refs.slxx[0].list(that.unitData[0].bsmSldy)
192 }, 300);
158 } 193 }
159 }) 194 })
160 }, 195 },
196 // 左侧列表点击调用接口
197 unitClick(item){
198
199 this.$nextTick(()=>{
200 this.$refs.slxx[0].list(item.bsmSldy)
201 })
202 },
161 operation (index, item) { 203 operation (index, item) {
162 if (item.icon == 'fqsq5') { 204 if (item.icon == 'fqsq5') {
163 this.key++ 205 this.key++
...@@ -168,14 +210,35 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39"); ...@@ -168,14 +210,35 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39");
168 } else { 210 } else {
169 this.tabList = [...this.tabList1] 211 this.tabList = [...this.tabList1]
170 } 212 }
213 }else if(item.icon=='fqsq9'){
214 this.myValue = true
171 } 215 }
172 // if (index == 3) { 216 // if (index == 3) {
173 // window.close() 217 // window.close()
174 // } 218 // }
175 }, 219 },
220 submitForm () {
221
222
223 completeTask(this.queryForm).then(res => {
224 console.log(res)
225 if (res.code === 200) {
226 console.log(res,555)
227 window.opener = null;
228 window.open("about:blank", "_self");
229 window.close();
230 this.$emit('input', false)
231
232 }
233 })
234 },
235 closeDialog () {
236 this.$emit("input", false);
237 },
176 loadView (view) { 238 loadView (view) {
177 return r => require.ensure([], () => r(require(`./components/${view}.vue`))) 239 return r => require.ensure([], () => r(require(`./components/${view}.vue`)))
178 }, 240 },
241
179 }, 242 },
180 } 243 }
181 </script> 244 </script>
...@@ -206,7 +269,7 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39"); ...@@ -206,7 +269,7 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39");
206 padding: 0; 269 padding: 0;
207 box-sizing: border-box; 270 box-sizing: border-box;
208 background-color: #ffffff; 271 background-color: #ffffff;
209 272 overflow: hidden;
210 273
211 274
212 .splitScreen { 275 .splitScreen {
...@@ -315,8 +378,9 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39"); ...@@ -315,8 +378,9 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39");
315 min-width: 50%; 378 min-width: 50%;
316 border-right: 1px solid #EBEEF5; 379 border-right: 1px solid #EBEEF5;
317 } 380 }
318 width: 100%;
319 background-color: #ffffff; 381 background-color: #ffffff;
382 width: 100%;
383 height: 100%;
320 z-index: 100; 384 z-index: 100;
321 @include flex; 385 @include flex;
322 } 386 }
...@@ -329,6 +393,8 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39"); ...@@ -329,6 +393,8 @@ formdata.append("bsmSldy","bf2bbedc18dce9ff1143be9f1496da39");
329 393
330 /deep/.el-tabs { 394 /deep/.el-tabs {
331 width: 100%; 395 width: 100%;
396 height: 90vh;
397 overflow-y: scroll;
332 } 398 }
333 } 399 }
334 </style> 400 </style>
...\ No newline at end of file ...\ No newline at end of file
......