986a1de3 by 田浩浩

11111

1 parent c3614e79
...@@ -28,7 +28,7 @@ export function sendBackTask (data) { ...@@ -28,7 +28,7 @@ export function sendBackTask (data) {
28 // 获取左侧列表 28 // 获取左侧列表
29 export function leftMenu (data) { 29 export function leftMenu (data) {
30 return request({ 30 return request({
31 url: '/ywbl/tdsyqlr/leftMenu', 31 url: '/ywbl/jsydsyqlr/leftMenu',
32 method: 'post', 32 method: 'post',
33 data 33 data
34 }) 34 })
......
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 2
3
3 // 初始化内容 4 // 初始化内容
4 export function Init (data) { 5 export function Init(data) {
6 let apiUrl = "";
7 switch (data.get("djlx")) {
8 case "100":
9 apiUrl = "/ywbl/jsydsyqlr/fristInit";
10 break;
11 case "200":
12 apiUrl = "/ywbl/jsydsyqlr/transferInit";
13 break;
14 case "300":
15 apiUrl = "/ywbl/jsydsyqlr/changeInit";
16 break;
17 case "400":
18 apiUrl = "/ywbl/jsydsyqlr/logoutInit";
19 break;
20 case "500":
21 apiUrl = "/ywbl/jsydsyqlr/riviseInit";
22 break;
23 case "901":
24 apiUrl = "/ywbl/jsydsyqlr/renewalInit";
25 break;
26 case "902":
27 apiUrl = "/ywbl/jsydsyqlr/replaceInit";
28 break;
29 }
5 return request({ 30 return request({
6 url: '/ywbl/tdsyqlr/Init', 31 url: apiUrl,
7 method: 'post', 32 method: 'post',
8 data 33 data
9 }) 34 })
10 } 35 }
36 // 初始化内容
37 export function saveData(data) {
38 return request({
39 url: '/ywbl/jsydsyqlr/saveData',
40 method: 'post',
41 data
42 })
43 }
44
45 // // 初始化内容
46 // export function Init (data) {
47 // return request({
48 // url: '/ywbl/tdsyqlr/Init',
49 // method: 'post',
50 // data
51 // })
52 // }
11 53
12 // 首次登记保存 54 // 首次登记保存
13 export function fristReg (data) { 55 export function fristReg (data) {
14 return request({ 56 return request({
15 url: '/ywbl/tdsyqlr/fristReg', 57 url: '/ywbl/jsydsyqlr/fristReg',
16 method: 'post', 58 method: 'post',
17 data 59 data
18 }) 60 })
...@@ -21,7 +63,7 @@ export function fristReg (data) { ...@@ -21,7 +63,7 @@ export function fristReg (data) {
21 // 转移登记保存 63 // 转移登记保存
22 export function transferReg (data) { 64 export function transferReg (data) {
23 return request({ 65 return request({
24 url: '/ywbl/tdsyqlr/transferReg', 66 url: '/ywbl/jsydsyqlr/transferReg',
25 method: 'post', 67 method: 'post',
26 data 68 data
27 }) 69 })
...@@ -31,7 +73,7 @@ export function transferReg (data) { ...@@ -31,7 +73,7 @@ export function transferReg (data) {
31 // 变更登记保存 73 // 变更登记保存
32 export function changeReg (data) { 74 export function changeReg (data) {
33 return request({ 75 return request({
34 url: '/ywbl/tdsyqlr/changeReg', 76 url: '/ywbl/jsydsyqlr/changeReg',
35 method: 'post', 77 method: 'post',
36 data 78 data
37 }) 79 })
...@@ -41,7 +83,7 @@ export function changeReg (data) { ...@@ -41,7 +83,7 @@ export function changeReg (data) {
41 // 注销登记保存 83 // 注销登记保存
42 export function logoutReg (data) { 84 export function logoutReg (data) {
43 return request({ 85 return request({
44 url: '/ywbl/tdsyqlr/logoutReg', 86 url: '/ywbl/jsydsyqlr/logoutReg',
45 method: 'post', 87 method: 'post',
46 data 88 data
47 }) 89 })
......
...@@ -11,35 +11,29 @@ ...@@ -11,35 +11,29 @@
11 <el-row :gutter="10"> 11 <el-row :gutter="10">
12 <el-col :span="8"> 12 <el-col :span="8">
13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:"> 13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
14 <el-input disabled v-model="ruleForm.ywh"></el-input> 14 <el-input disabled v-model="ruleForm.slywxx.ywh"></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 :class="flag ? 'marginBot0' : ''" label="受理人员:"> 18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
19 <el-input disabled v-model="ruleForm.slry"></el-input> 19 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="8"> 22 <el-col :span="8">
23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:"> 23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
24 <el-input disabled v-model="ruleForm.slsj"></el-input> 24 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 </el-row> 27 </el-row>
28 <el-row :gutter="10"> 28 <el-row :gutter="10">
29 <el-col :span="8"> 29 <el-col :span="8">
30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> 30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
31 <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> 31 <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
32 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
33 </el-option>
34 </el-select>
35 </el-form-item> 32 </el-form-item>
36 </el-col> 33 </el-col>
37 <el-col :span="8"> 34 <el-col :span="8">
38 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> 35 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
39 <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> 36 <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
40 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
41 </el-option>
42 </el-select>
43 </el-form-item> 37 </el-form-item>
44 </el-col> 38 </el-col>
45 <el-col :span="8"> 39 <el-col :span="8">
...@@ -55,67 +49,67 @@ ...@@ -55,67 +49,67 @@
55 <el-row :gutter="10"> 49 <el-row :gutter="10">
56 <el-col :span="8"> 50 <el-col :span="8">
57 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> 51 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:">
58 <el-input disabled v-model="ruleForm.zddm"></el-input> 52 <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input>
59 </el-form-item> 53 </el-form-item>
60 </el-col> 54 </el-col>
61 <el-col :span="8"> 55 <el-col :span="8">
62 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> 56 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
63 <el-input disabled v-model="ruleForm.bdcdyh"></el-input> 57 <el-input disabled v-model="ruleForm.zdjbxx.bdcdyh"></el-input>
64 </el-form-item> 58 </el-form-item>
65 </el-col> 59 </el-col>
66 <el-col :span="8"> 60 <el-col :span="8">
67 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> 61 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:">
68 <el-input disabled v-model="ruleForm.qlxzmc"></el-input> 62 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
69 </el-form-item> 63 </el-form-item>
70 </el-col> 64 </el-col>
71 </el-row> 65 </el-row>
72 <el-row :gutter="10"> 66 <el-row :gutter="10">
73 <el-col :span="8"> 67 <el-col :span="8">
74 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> 68 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:">
75 <el-input disabled v-model="ruleForm.zdmj"></el-input> 69 <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
76 </el-form-item> 70 </el-form-item>
77 </el-col> 71 </el-col>
78 <el-col :span="8"> 72 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> 73 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
80 <el-input disabled v-model="ruleForm.ghytmc"></el-input> 74 <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
81 </el-form-item> 75 </el-form-item>
82 </el-col> 76 </el-col>
83 <el-col :span="8"> 77 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:">
85 <el-input disabled v-model="ruleForm.qlsdfsmc"></el-input> 79 <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
86 </el-form-item> 80 </el-form-item>
87 </el-col> 81 </el-col>
88 </el-row> 82 </el-row>
89 <el-row :gutter="10"> 83 <el-row :gutter="10">
90 <el-col :span="8"> 84 <el-col :span="8">
91 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:">
92 <el-input disabled v-model="ruleForm.qdjg"></el-input> 86 <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input>
93 </el-form-item> 87 </el-form-item>
94 </el-col> 88 </el-col>
95 89
96 <el-col :span="16"> 90 <el-col :span="16">
97 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> 91 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
98 <el-input disabled v-model="ruleForm.zl"></el-input> 92 <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input>
99 </el-form-item> 93 </el-form-item>
100 </el-col> 94 </el-col>
101 </el-row> 95 </el-row>
102 <el-row :gutter="10"> 96 <el-row :gutter="10">
103 <el-col :span="8"> 97 <el-col :span="8">
104 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:"> 98 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:">
105 <el-input disabled v-model="ruleForm.tdsyqx"></el-input> 99 <el-input disabled v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
106 </el-form-item> 100 </el-form-item>
107 </el-col> 101 </el-col>
108 102
109 <el-col :span="16"> 103 <el-col :span="16">
110 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:"> 104 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:">
111 <el-input disabled v-model="ruleForm.syqqzsj"></el-input> 105 <el-input disabled v-model="ruleForm.jsydsyq.syqqzsj"></el-input>
112 </el-form-item> 106 </el-form-item>
113 </el-col> 107 </el-col>
114 </el-row> 108 </el-row>
115 <el-row :gutter="10"> 109 <el-row :gutter="10">
116 <el-col> 110 <el-col>
117 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> 111 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
118 <el-input type="textarea" v-model="ruleForm.fj" :disabled="$route.query.viewtype==1"></el-input> 112 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input>
119 </el-form-item> 113 </el-form-item>
120 </el-col> 114 </el-col>
121 </el-row> 115 </el-row>
...@@ -126,7 +120,7 @@ ...@@ -126,7 +120,7 @@
126 <el-row :gutter="10"> 120 <el-row :gutter="10">
127 <el-col :span="14"> 121 <el-col :span="14">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 122 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
129 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.gyfs"> 123 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
130 <el-radio label="1">单独所有</el-radio> 124 <el-radio label="1">单独所有</el-radio>
131 <el-radio label="2">共同共有</el-radio> 125 <el-radio label="2">共同共有</el-radio>
132 <el-radio label="3">按份所有</el-radio> 126 <el-radio label="3">按份所有</el-radio>
...@@ -135,7 +129,7 @@ ...@@ -135,7 +129,7 @@
135 </el-col> 129 </el-col>
136 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 130 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
137 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 131 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
138 <el-radio-group v-model="ruleForm.sffbcz"> 132 <el-radio-group v-model="ruleForm.slywxx.sffbcz">
139 <el-radio label="1"></el-radio> 133 <el-radio label="1"></el-radio>
140 <el-radio label="0"></el-radio> 134 <el-radio label="0"></el-radio>
141 </el-radio-group> 135 </el-radio-group>
...@@ -150,8 +144,8 @@ ...@@ -150,8 +144,8 @@
150 </el-form-item> 144 </el-form-item>
151 </el-col> 145 </el-col>
152 </el-row> 146 </el-row>
153 <InformationTable :tableData="ruleForm.qlrxx" @upDateQlrxxList="upDateQlrxxList" 147 <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
154 :viewtype="$route.query.viewtype" :gyfs="ruleForm.gyfs" /> 148 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
155 <div class="slxx_title title-block"> 149 <div class="slxx_title title-block">
156 登记原因 150 登记原因
157 <div class="triangle"></div> 151 <div class="triangle"></div>
...@@ -159,7 +153,7 @@ ...@@ -159,7 +153,7 @@
159 <el-row :gutter="10"> 153 <el-row :gutter="10">
160 <el-col> 154 <el-col>
161 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 155 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
162 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.djyy"> 156 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy">
163 </el-input> 157 </el-input>
164 </el-form-item> 158 </el-form-item>
165 </el-col> 159 </el-col>
...@@ -175,21 +169,17 @@ ...@@ -175,21 +169,17 @@
175 </template> 169 </template>
176 <script> 170 <script>
177 import { mapGetters } from "vuex" 171 import { mapGetters } from "vuex"
178 import { Init, fristReg } from "@/api/jsydsyqFlow.js" 172 import { Init, saveData } from "@/api/jsydsyqFlow.js"
179 import InformationTable from "@/views/workflow/components/InformationTable" 173 import InformationTable from "@/views/workflow/components/InformationTable"
180 export default { 174 export default {
181 created () { 175 created () {
182 this.propsParam = this.$attrs; 176 this.propsParam = this.$attrs;
183 var formdata = new FormData(); 177 var formdata = new FormData();
184 formdata.append("bsmSldy", this.propsParam.bsmSldy); 178 formdata.append("bsmSldy", this.propsParam.bsmSldy);
179 formdata.append("djlx", this.propsParam.djlx);
185 Init(formdata).then((res) => { 180 Init(formdata).then((res) => {
186 if (res.code === 200 && res.result) { 181 if (res.code === 200 && res.result) {
187 this.ruleForm = { 182 this.ruleForm = res.result;
188 ...res.result,
189 ...res.result.zdjbxxdatas,
190 ...res.result.qlxxdatas,
191 ...res.result.jsydsyqdatas
192 }
193 this.$store.dispatch('slxx/setQlrxxOld', { 183 this.$store.dispatch('slxx/setQlrxxOld', {
194 qlrxx: this.ruleForm.qlrxx, 184 qlrxx: this.ruleForm.qlrxx,
195 fj: this.ruleForm.fj, 185 fj: this.ruleForm.fj,
...@@ -252,7 +242,7 @@ export default { ...@@ -252,7 +242,7 @@ export default {
252 }); 242 });
253 }, 243 },
254 onSubmit () { 244 onSubmit () {
255 fristReg(this.ruleForm).then((res) => { 245 saveData(this.ruleForm).then((res) => {
256 if (res.code === 200 && res.result) { 246 if (res.code === 200 && res.result) {
257 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 247 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
258 } 248 }
......