a8fcec62 by 任超
2 parents 6b1380e3 6b3cb24b
...@@ -42,3 +42,30 @@ export function Init (data) { ...@@ -42,3 +42,30 @@ export function Init (data) {
42 data 42 data
43 }) 43 })
44 } 44 }
45
46 // 材料目录明细初始化
47 export function clmlInit (data) {
48 return request({
49 url: '/zhcx/clml/Init',
50 method: 'post',
51 data
52 })
53 }
54
55 // 材料目录明细移动
56 export function move (data) {
57 return request({
58 url: '/zhcx/clml/move',
59 method: 'post',
60 data
61 })
62 }
63
64 // 材料目录明细保存
65 export function save (data) {
66 return request({
67 url: '/zhcx/clml/save',
68 method: 'post',
69 data
70 })
71 }
......
...@@ -64,3 +64,23 @@ export function startBusinessFlow (data) { ...@@ -64,3 +64,23 @@ export function startBusinessFlow (data) {
64 data 64 data
65 }) 65 })
66 } 66 }
67 /*
68 已办箱列表查询接口
69 */
70 export function searchTaskDone (data) {
71 return request({
72 url: '/workBox/search/searchTaskDone',
73 method: 'post',
74 data
75 })
76 }
77 /*
78 业务办理-选择权利信息-根据条件进行列表查询
79 */
80 export function selectQlxx (data) {
81 return request({
82 url: '/ywbl/ywsq/selectQlxx',
83 method: 'post',
84 data
85 })
86 }
......
...@@ -53,12 +53,12 @@ class data extends filter { ...@@ -53,12 +53,12 @@ class data extends filter {
53 width:'220' 53 width:'220'
54 }, 54 },
55 { 55 {
56 prop: "qlr", 56 prop: "qlrmc",
57 label: "权利人", 57 label: "权利人",
58 width:'70' 58 width:'70'
59 }, 59 },
60 { 60 {
61 prop: "ywr", 61 prop: "ywrmc",
62 label: "义务人", 62 label: "义务人",
63 width:'70' 63 width:'70'
64 }, 64 },
......
...@@ -77,16 +77,23 @@ ...@@ -77,16 +77,23 @@
77 </div> 77 </div>
78 </div> 78 </div>
79 </div> 79 </div>
80 <clxxAddDialog v-model="isDialog"/> 80 <clxxAddDialog v-model="isDialog" />
81 </div> 81 </div>
82 </template> 82 </template>
83 <script> 83 <script>
84 import clxxAddDialog from "./clxxAddDialog.vue" 84 import clxxAddDialog from "./clxxAddDialog.vue";
85 import { upward, down } from "@/utils/operation";
86 import { clmlInit, move, save } from "@/api/fqsq.js";
87
85 export default { 88 export default {
86 components: {clxxAddDialog}, 89 components: { clxxAddDialog },
90 props: {
91 id: "",
92 unitData: Array,
93 },
87 data() { 94 data() {
88 return { 95 return {
89 isDialog:false, 96 isDialog: false,
90 menuList: [ 97 menuList: [
91 { 98 {
92 id: "1", 99 id: "1",
...@@ -184,7 +191,9 @@ export default { ...@@ -184,7 +191,9 @@ export default {
184 }, 191 },
185 }, 192 },
186 ], 193 ],
187 tableData: [ 194 key: 0,
195 tableData: [],
196 tableData1: [
188 { 197 {
189 sfbx: "必选", 198 sfbx: "必选",
190 clmc: "不动产登记申请书", 199 clmc: "不动产登记申请书",
...@@ -284,13 +293,58 @@ export default { ...@@ -284,13 +293,58 @@ export default {
284 iclass: "itemIcon el-icon-caret-bottom", 293 iclass: "itemIcon el-icon-caret-bottom",
285 }; 294 };
286 }, 295 },
296 watch: {
297 unitData: {
298 handler(newName, oldName) {
299 if (newName && newName.length > 0) {
300 this.clmlmxInit();
301 }
302 },
303 immediate: true,
304 },
305 },
287 methods: { 306 methods: {
288 // 左侧菜单点击 307 // 左侧菜单点击
289 menuClick(item) { 308 menuClick(item) {
290 this.checkedId = item.id; 309 this.checkedId = item.id;
291 }, 310 },
292 // 添加材料目录 311 // 添加材料目录
293 handleAdd() {}, 312 handleAdd() {
313 this.isDialog = true;
314 },
315 // 上移
316 moveUpward(index, row) {
317 upward(index, this.tableData);
318 },
319 // 下移
320 moveDown(index, row) {
321 down(index, this.tableData);
322 },
323 // 材料目录明细初始化
324 clmlmxInit() {
325 var formdata = new FormData();
326 formdata.append("bsmSldy", this.unitData[0].bsmSldy);
327 formdata.append("bsmSlsq", this.id);
328 clmlInit(formdata).then((res) => {
329 if (res.result.result) {
330 this.tableData = res.result.result;
331 }
332 });
333 },
334 // 新增弹窗保存
335 addSave(data){
336 let obj = [...this.tableData];
337 obj.push({
338 bsmSlsq:this.id,
339 xh: this.tableData.length + 1,
340 isrequired:'0',
341 sjmc:data.clmc,
342 sjlx:data.cllx
343 })
344 save(obj).then(res => {
345 console.log('22222',res);
346 })
347 },
294 // 材料目录关闭收起 348 // 材料目录关闭收起
295 iconClick() { 349 iconClick() {
296 this.menuOpen = !this.menuOpen; 350 this.menuOpen = !this.menuOpen;
......
1 <template> 1 <template>
2 <dialogBox title="新建材料信息" width="60%"> 2 <dialogBox
3 3 title="新建材料信息"
4 width="40%"
5 v-model="myValue"
6 :isButton="false"
7 >
8 <el-form :model="ruleForm" ref="ruleForm" label-width="120px">
9 <el-row>
10 <el-col :span="24">
11 <el-form-item label="材料类型">
12 <el-input v-model="ruleForm.cllx"></el-input>
13 </el-form-item>
14 </el-col>
15 </el-row>
16 <el-row :gutter="20">
17 <el-col :span="24">
18 <el-form-item label="材料名称">
19 <el-input v-model="ruleForm.clmc"></el-input>
20 </el-form-item>
21 </el-col>
22 </el-row>
23 </el-form>
24 <div class="submit-button" style="padding-bottom: 20px">
25 <el-button type="primary" @click="onSave">保存</el-button>
26 <el-button @click="closeDialog">取消</el-button>
27 </div>
4 </dialogBox> 28 </dialogBox>
5 </template> 29 </template>
6 30
7 <script> 31 <script>
32
8 export default { 33 export default {
9 props: { 34 props: {
10 35 value: { type: Boolean, default: false },
11 }, 36 },
12 37 data() {
13 data () { 38 return {
14 return {} 39 myValue: this.value,
40 ruleForm: {
41 cllx: "",
42 clmc: "",
43 },
44 };
15 }, 45 },
16 methods: {} 46 watch: {
17 } 47 value(val) {
48 this.myValue = val;
49 },
50 },
51 methods: {
52 closeDialog() {
53 this.$emit("input", false);
54 },
55 onSave() {
56 this.$parent.addSave(this.ruleForm);
57 this.$emit("input", false);
58 },
59 },
60 };
18 </script> 61 </script>
19 <style scoped lang="scss"> 62 <style scoped lang="scss">
63 .submit-button {
64 text-align: center;
65 height: 52px;
66 padding-top: 10px;
67 background-color: #fff;
68 }
20 </style> 69 </style>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
43 <div class="splitScreen-con" v-if='index == 0'> 43 <div class="splitScreen-con" v-if='index == 0'>
44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> 44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" />
45 </div> 45 </div>
46 <component :is="editItem" v-else :key="key" /> 46 <component :is="editItem" v-else :key="key" :unitData="unitData" :id="id" />
47 </el-tab-pane> 47 </el-tab-pane>
48 </el-tabs> 48 </el-tabs>
49 </div> 49 </div>
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
57 import { mapGetters } from 'vuex' 57 import { mapGetters } from 'vuex'
58 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
59 import { datas, sendThis } from "./ybxdata"; 59 import { datas, sendThis } from "./ybxdata";
60 import { searchTaskDone} from "@/api/ywbl.js"
60 export default { 61 export default {
61 name: "ybx", 62 name: "ybx",
62 components: {}, 63 components: {},
...@@ -81,28 +82,29 @@ export default { ...@@ -81,28 +82,29 @@ export default {
81 total: 2, 82 total: 2,
82 }, 83 },
83 tableData: { 84 tableData: {
85 total: 0,
84 columns: datas.columns(), 86 columns: datas.columns(),
85 data: [ 87 data: [],
86 {
87 ywly: "办事大厅",
88 lczt: "进行中",
89 ywh: "20200409146",
90 sqywmc: "预告买卖登记||首次登记",
91 qlr: "张三",
92 ywr: "绿地开发商",
93 zl: "C区沙尾金地名轩塔楼1栋101",
94 slsj: "2022-5-12",
95 slry: "窗口人员1",
96 zcsj: "2016-10-01 10:00:00",
97 },
98
99 ],
100 }, 88 },
101 }; 89 };
102 }, 90 },
103 methods: { 91 methods: {
104 // 初始化数据 92 init (e) {
105 fetchData () { }, 93 this.fetchData()
94 },
95 // 列表渲染接口
96 fetchData () {
97 searchTaskDone({ ...this.queryForm, ...this.pageData }).then(res => {
98 if (res.code === 200) {
99 let { total, records } = res.result
100 this.pageData.total = total;
101 this.tableData.data = records
102 }
103 })
104 },
105 queryClick () {
106 this.fetchData()
107 },
106 handleSort (name, sort) { 108 handleSort (name, sort) {
107 console.log(name, sort); 109 console.log(name, sort);
108 }, 110 },
......
...@@ -16,12 +16,21 @@ class data extends filter { ...@@ -16,12 +16,21 @@ class data extends filter {
16 width: '50' 16 width: '50'
17 }, 17 },
18 { 18 {
19 prop: "ywly", 19 prop: "ywlymc",
20 label: "业务来源", 20 label: "业务来源",
21 }, 21 },
22 { 22 {
23 prop: "lczt",
24 label: "流程状态", 23 label: "流程状态",
24 render: (h, scope) => {
25 switch (scope.row.lczt) {
26 case '1':
27 return <span>进行中</span>
28 case '2':
29 return <span>已结束</span>
30 case '3':
31 return <span>进行中</span>
32 }
33 }
25 }, 34 },
26 { 35 {
27 prop: "ywh", 36 prop: "ywh",
...@@ -32,11 +41,11 @@ class data extends filter { ...@@ -32,11 +41,11 @@ class data extends filter {
32 label: "申请业务名称", 41 label: "申请业务名称",
33 }, 42 },
34 { 43 {
35 prop: "qlr", 44 prop: "qlrmc",
36 label: "权利人", 45 label: "权利人",
37 }, 46 },
38 { 47 {
39 prop: "ywr", 48 prop: "ywrmc",
40 label: "义务人", 49 label: "义务人",
41 }, 50 },
42 { 51 {
......
...@@ -43,7 +43,7 @@ class data extends filter { ...@@ -43,7 +43,7 @@ class data extends filter {
43 label: "不动产权证号", 43 label: "不动产权证号",
44 }, 44 },
45 { 45 {
46 prop: "qlr", 46 prop: "qlrmc",
47 label: "权利人", 47 label: "权利人",
48 }, 48 },
49 { 49 {
...@@ -55,7 +55,7 @@ class data extends filter { ...@@ -55,7 +55,7 @@ class data extends filter {
55 label: "面积", 55 label: "面积",
56 }, 56 },
57 { 57 {
58 prop: "yt", 58 prop: "ytmc",
59 label: "用途", 59 label: "用途",
60 }, 60 },
61 { 61 {
......
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
52 </div> 52 </div>
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封等级 55 //查封登记
56 import { datas, sendThis } from "./cfdj.js"; 56 import { datas, sendThis } from "./cfdj.js";
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 58 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
59 export default { 59 export default {
60 props: { 60 props: {
61 bsmSqyw: { type: String, default: '' }, 61 bsmSqyw: { type: String, default: '' },
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
68 bdcdyh: "", 68 bdcdyh: "",
69 ywh: "", 69 ywh: "",
70 bdcqzh: "", 70 bdcqzh: "",
71 sqywbm: "A03100", 71 sqywbm: "B39800",
72 }, 72 },
73 qllxs: [], 73 qllxs: [],
74 tableData: { 74 tableData: {
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
94 }, 94 },
95 fetchData () { 95 fetchData () {
96 if (this.bsmSqyw) { 96 if (this.bsmSqyw) {
97 selectScBdcdy({ ...this.queryForm, ...this.pageData }) 97 selectQlxx({ ...this.queryForm, ...this.pageData })
98 .then((res) => { 98 .then((res) => {
99 if (res.code === 200) { 99 if (res.code === 200) {
100 let { total, records } = res.result; 100 let { total, records } = res.result;
...@@ -104,21 +104,30 @@ export default { ...@@ -104,21 +104,30 @@ export default {
104 }) 104 })
105 } 105 }
106 }, 106 },
107 submitForm () { 107 submitForm() {
108 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据'); 109 this.$message.error("请至少选择一条数据");
110 return 110 return;
111 } 111 }
112 this.saveloding = true 112 this.saveloding = true;
113 startBusinessFlow({ 113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw, 114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz 115 bdcdysz: this.bdcdysz,
116 }).then(res => { 116 }).then((res) => {
117 this.saveloding = false 117 this.saveloding = false;
118 this.$emit("closeDialog") 118 if (res.code == 200) {
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) 119 this.$emit("closeDialog");
120 window.open(href, '_blank'); 120 const { href } = this.$router.resolve(
121 }) 121 "/fqsq?bsmSlsq=" +
122 res.result.bsmSlsq +
123 "&bestepid=" +
124 res.result.bestepid
125 );
126 window.open(href, "_blank");
127 } else {
128 this.$message.error(res.message);
129 }
130 });
122 }, 131 },
123 handleSelectionChange (val) { 132 handleSelectionChange (val) {
124 this.bdcdysz = val 133 this.bdcdysz = val
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
22 this.myValue = val 22 this.myValue = val
23 }, 23 },
24 djywbm (val) { 24 djywbm (val) {
25 let itemObj = { 'A03100': 'scdj', default: 'scdj' } 25 let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' }
26 this.editItem = this.loadView(itemObj[val]) 26 this.editItem = this.loadView(itemObj[val])
27 }, 27 },
28 }, 28 },
......
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter {
8 constructor() {
9 super()
10 }
11 columns () {
12 return [
13 {
14 type: 'selection',
15 label: '全选'
16 },
17 {
18 label: '序号',
19 type: 'index',
20 width: '50',
21 render: (h, scope) => {
22 return (
23 <div>
24 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
25 </div>
26 )
27 }
28 },
29 {
30 prop: "status",
31 label: "状态",
32 },
33 {
34 prop: "qllxmc",
35 label: "权利类型",
36 },
37 {
38 prop: "bdcdyh",
39 label: "不动产单元号",
40 },
41 {
42 prop: "bdcqzh",
43 label: "不动产权证号",
44 },
45 {
46 prop: "qlrmc",
47 label: "权利人",
48 },
49 {
50 prop: "zjh",
51 label: "证件号",
52 },
53 {
54 prop: "mj",
55 label: "面积",
56 },
57 {
58 prop: "ytmc",
59 label: "用途",
60 },
61 {
62 prop: "zl",
63 label: "坐落",
64 },
65 ]
66 }
67
68
69 }
70 let datas = new data()
71 export {
72 datas,
73 sendThis
74 }
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row>
7 <el-col :span="10">
8 <el-form-item label="权利类型">
9 <el-select
10 v-model="queryForm.qllx"
11 filterable
12 clearable
13 placeholder="请选择权利类型"
14 class="width300px"
15 >
16 <el-option
17 v-for="item in qllxs"
18 :key="item.value"
19 :label="item.label"
20 :value="item.value"
21 >
22 </el-option>
23 </el-select>
24 </el-form-item>
25 </el-col>
26 <el-col :span="10">
27 <el-form-item label="不动产单元号">
28 <el-input
29 placeholder="请输入不动产单元号"
30 v-model="queryForm.bdcdyh"
31 clearable
32 class="width300px"
33 >
34 </el-input>
35 </el-form-item>
36 </el-col>
37 </el-row>
38 <el-row>
39 <el-col :span="10">
40 <el-form-item label="业务号">
41 <el-input
42 placeholder="请输入业务号"
43 v-model="queryForm.ywh"
44 clearable
45 class="width300px"
46 >
47 </el-input>
48 </el-form-item>
49 </el-col>
50 <el-col :span="10">
51 <el-form-item label="不动产权证号">
52 <el-input
53 placeholder="请输入不动产权证号"
54 v-model="queryForm.bdcqzh"
55 clearable
56 class="width300px"
57 >
58 </el-input>
59 </el-form-item>
60 </el-col>
61 <el-col :span="2" class="btnCol">
62 <el-form-item>
63 <el-button type="primary" @click="queryClick()">查询</el-button>
64 </el-form-item>
65 </el-col>
66 </el-row>
67 </el-form>
68 </div>
69 <!-- 表格 -->
70 <div class="from-clues-content">
71 <lb-table
72 :page-size="pageData.pageSize"
73 :heightNum="400"
74 :current-page.sync="pageData.currentPage"
75 :total="tableData.total"
76 @size-change="handleSizeChange"
77 @p-current-change="handleCurrentChange"
78 @selection-change="handleSelectionChange"
79 :column="tableData.columns"
80 :data="tableData.data"
81 >
82 </lb-table>
83 </div>
84 <div class="submit_button">
85 <el-button @click="closeDialog">取消</el-button>
86 <el-button type="primary" plain @click="submitForm" :loading="saveloding"
87 >发起申请</el-button
88 >
89 </div>
90 </div>
91 </template>
92 <script>
93 //抵押权首次登记
94 import { datas, sendThis } from "./scdy.js";
95 import table from "@/utils/mixin/table";
96 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
97 export default {
98 props: {
99 bsmSqyw: { type: String, default: "" },
100 djqxObj: { type: Object, default: "" },
101 },
102 mixins: [table],
103 data() {
104 return {
105 queryForm: {
106 qllx: "",
107 bdcdyh: "",
108 ywh: "",
109 bdcqzh: "",
110 sqywbm: "A37100",
111 },
112 qllxs: [],
113 tableData: {
114 total: 0,
115 columns: datas.columns(),
116 data: [],
117 },
118 bdcdysz: [],
119 saveloding: false,
120 };
121 },
122 watch: {
123 bsmSqyw(val) {
124 this.fetchData();
125 },
126 },
127 mounted() {
128 sendThis(this);
129 },
130 methods: {
131 closeDialog() {
132 this.$emit("closeDialog");
133 },
134 fetchData() {
135 if (this.bsmSqyw) {
136 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
137 if (res.code === 200) {
138 let { total, records } = res.result;
139 this.tableData.total = total;
140 this.tableData.data = records;
141 }
142 });
143 }
144 },
145 submitForm() {
146 if (this.bdcdysz.length == 0) {
147 this.$message.error("请至少选择一条数据");
148 return;
149 }
150 this.saveloding = true;
151 startBusinessFlow({
152 bsmSqyw: this.bsmSqyw,
153 bdcdysz: this.bdcdysz,
154 djqxbm: this.djqxObj.djqxbm,
155 djqxmc: this.djqxObj.djqxmc,
156 }).then((res) => {
157 this.saveloding = false;
158 if (res.code == 200) {
159 this.$emit("closeDialog");
160 const { href } = this.$router.resolve(
161 "/fqsq?bsmSlsq=" +
162 res.result.bsmSlsq +
163 "&bestepid=" +
164 res.result.bestepid
165 );
166 window.open(href, "_blank");
167 } else {
168 this.$message.error(res.message);
169 }
170 });
171 },
172 handleSelectionChange(val) {
173 this.bdcdysz = val;
174 },
175 queryClick() {
176 this.fetchData();
177 },
178 },
179 };
180 </script>
181 <style scoped lang="scss">
182 @import "~@/styles/mixin.scss";
183 @import "~@/styles/public.scss";
184 </style>
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
179 this.$set(item, 'select', true) 179 this.$set(item, 'select', true)
180 if (item.sffqlc == '1') { 180 if (item.sffqlc == '1') {
181 this.btnDisabled = false 181 this.btnDisabled = false
182 this.bsmSqyw = item.parentid 182 this.bsmSqyw = item.bsmSqyw
183 this.djywbm = item.djywbm 183 this.djywbm = item.djywbm
184 } else { 184 } else {
185 this.getNextNode(item.bsmSqyw) 185 this.getNextNode(item.bsmSqyw)
......