3b6cfb0a by 任超

chore:工作流接口开始整理

1 parent 81f8b88e
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from '../config'
3 // 初始化内容 3 // 初始化内容
4 export function Init(data) { 4 export function Init(data) {
5 let apiUrl = ""; 5 let apiUrl = "";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
5 label-width="120px"> 5 label-width="120px">
6 <div class="slxx_con"> 6 <div class="slxx_con">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -131,16 +131,16 @@ ...@@ -131,16 +131,16 @@
131 <div class="triangle"></div> 131 <div class="triangle"></div>
132 </div> 132 </div>
133 <el-row :gutter="10"> 133 <el-row :gutter="10">
134 <el-col :span="14" v-if="ruleForm.qlxx"> 134 <el-col :span="14" v-if="ruleForm.qlxx">
135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
136 <el-radio-group :disabled="$route.query.viewtype==1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs"> 136 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs">
137 <el-radio label="0">单独所有</el-radio> 137 <el-radio label="0">单独所有</el-radio>
138 <el-radio label="1">共同共有</el-radio> 138 <el-radio label="1">共同共有</el-radio>
139 <el-radio label="2">按份所有</el-radio> 139 <el-radio label="2">按份所有</el-radio>
140 <el-radio label="3">其它共有</el-radio> 140 <el-radio label="3">其它共有</el-radio>
141 </el-radio-group> 141 </el-radio-group>
142 </el-form-item> 142 </el-form-item>
143 </el-col> 143 </el-col>
144 <el-col :span="5"> 144 <el-col :span="5">
145 <el-form-item :class="flag ? 'marginBot0' : ''" label="发证方式:"> 145 <el-form-item :class="flag ? 'marginBot0' : ''" label="发证方式:">
146 <el-radio-group v-model="ruleForm.slywxx.fzfs"> 146 <el-radio-group v-model="ruleForm.slywxx.fzfs">
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
150 </el-form-item> 150 </el-form-item>
151 </el-col> 151 </el-col>
152 152
153 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> 153 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'">
154 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 154 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
155 <el-radio-group v-model="ruleForm.slywxx.sffbcz"> 155 <el-radio-group v-model="ruleForm.slywxx.sffbcz">
156 <el-radio label="1"></el-radio> 156 <el-radio label="1"></el-radio>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
158 </el-radio-group> 158 </el-radio-group>
159 </el-form-item> 159 </el-form-item>
160 </el-col> 160 </el-col>
161 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> 161 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'">
162 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> 162 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
163 <el-select v-model="ruleForm.slywxx.czr" placeholder="持证人"> 163 <el-select v-model="ruleForm.slywxx.czr" placeholder="持证人">
164 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 164 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -168,15 +168,15 @@ ...@@ -168,15 +168,15 @@
168 </el-col> 168 </el-col>
169 </el-row> 169 </el-row>
170 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 170 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
171 :gyfs="ruleForm.qlxx.gyfs" /> 171 :gyfs="ruleForm.qlxx.gyfs" />
172 172
173 <div v-if="ruleForm.ywrList.length>0"> 173 <div v-if="ruleForm.ywrList.length > 0">
174 <div class="slxx_title title-block"> 174 <div class="slxx_title title-block">
175 义务人信息 175 义务人信息
176 <div class="triangle"></div> 176 <div class="triangle"></div>
177 </div> 177 </div>
178 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" 178 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList"
179 :gyfs="ruleForm.qlxx.gyfs" /> 179 :gyfs="ruleForm.qlxx.gyfs" />
180 </div> 180 </div>
181 <div class="slxx_title title-block"> 181 <div class="slxx_title title-block">
182 登记原因 182 登记原因
...@@ -185,8 +185,8 @@ ...@@ -185,8 +185,8 @@
185 <el-row :gutter="10"> 185 <el-row :gutter="10">
186 <el-col> 186 <el-col>
187 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 187 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" 188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
189 v-model="ruleForm.fdcq2.djyy"> 189 v-model="ruleForm.fdcq2.djyy">
190 </el-input> 190 </el-input>
191 </el-form-item> 191 </el-form-item>
192 </el-col> 192 </el-col>
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
202 </template> 202 </template>
203 <script> 203 <script>
204 import InformationTable from "@/views/workflow/components/InformationTable"; 204 import InformationTable from "@/views/workflow/components/InformationTable";
205 import {Init, saveBatchData} from "@/api/fwsyqFlow.js"; 205 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
206 import { mapGetters } from "vuex"; 206 import { mapGetters } from "vuex";
207 export default { 207 export default {
208 created () { 208 created () {
...@@ -237,9 +237,9 @@ export default { ...@@ -237,9 +237,9 @@ export default {
237 methods: { 237 methods: {
238 // 更新权利人信息 238 // 更新权利人信息
239 upDateQlrxxList (val) { 239 upDateQlrxxList (val) {
240 this.ruleForm.qlrList = _.cloneDeep(val); 240 this.ruleForm.qlrList = _.cloneDeep(val);
241 }, 241 },
242 showCZInfo() { 242 showCZInfo () {
243 console.log(this.ruleForm.slywxx.gyfs); 243 console.log(this.ruleForm.slywxx.gyfs);
244 }, 244 },
245 // 更新权利人信息 245 // 更新权利人信息
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
136 <el-row :gutter="10"> 136 <el-row :gutter="10">
137 <el-col :span="14" v-if="ruleForm.qlxx"> 137 <el-col :span="14" v-if="ruleForm.qlxx">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 138 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
139 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 139 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
140 <el-radio label="0">单独所有</el-radio> 140 <el-radio label="0">单独所有</el-radio>
141 <el-radio label="1">共同共有</el-radio> 141 <el-radio label="1">共同共有</el-radio>
142 <el-radio label="2">按份所有</el-radio> 142 <el-radio label="2">按份所有</el-radio>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
144 </el-radio-group> 144 </el-radio-group>
145 </el-form-item> 145 </el-form-item>
146 </el-col> 146 </el-col>
147 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> 147 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'">
148 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 148 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
149 <el-radio-group v-model="ruleForm.sffbcz"> 149 <el-radio-group v-model="ruleForm.sffbcz">
150 <el-radio label="1"></el-radio> 150 <el-radio label="1"></el-radio>
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
152 </el-radio-group> 152 </el-radio-group>
153 </el-form-item> 153 </el-form-item>
154 </el-col> 154 </el-col>
155 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> 155 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'">
156 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> 156 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
157 <el-select v-model="ruleForm.czr" placeholder="持证人"> 157 <el-select v-model="ruleForm.czr" placeholder="持证人">
158 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 158 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
162 </el-col> 162 </el-col>
163 </el-row> 163 </el-row>
164 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 164 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
165 :gyfs="ruleForm.qlxx.gyfs" /> 165 :gyfs="ruleForm.qlxx.gyfs" />
166 <div class="slxx_title title-block"> 166 <div class="slxx_title title-block">
167 登记原因 167 登记原因
168 <div class="triangle"></div> 168 <div class="triangle"></div>
...@@ -170,8 +170,8 @@ ...@@ -170,8 +170,8 @@
170 <el-row :gutter="10"> 170 <el-row :gutter="10">
171 <el-col> 171 <el-col>
172 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 172 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
173 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" 173 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
174 v-model="ruleForm.fdcq2.djyy"> 174 v-model="ruleForm.fdcq2.djyy">
175 </el-input> 175 </el-input>
176 </el-form-item> 176 </el-form-item>
177 </el-col> 177 </el-col>
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
187 </template> 187 </template>
188 <script> 188 <script>
189 import InformationTable from "@/views/workflow/components/InformationTable"; 189 import InformationTable from "@/views/workflow/components/InformationTable";
190 import {Init, saveBatchData} from "@/api/fwsyqFlow.js"; 190 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
191 import { mapGetters } from "vuex"; 191 import { mapGetters } from "vuex";
192 import SERVER from "@/api/config"; 192 import SERVER from "@/api/config";
193 export default { 193 export default {
...@@ -254,18 +254,18 @@ export default { ...@@ -254,18 +254,18 @@ export default {
254 }; 254 };
255 }, 255 },
256 methods: { 256 methods: {
257 dataSelectClick(){ 257 dataSelectClick () {
258 this.$popup("房屋信息比对",SERVER.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", 258 this.$popup("房屋信息比对", SERVER.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
259 { 259 {
260 formData: { 260 formData: {
261 bsmSldy: this.propsParam.bsmSldy, 261 bsmSldy: this.propsParam.bsmSldy,
262 qllx: this.propsParam.qllx 262 qllx: this.propsParam.qllx
263 } 263 }
264 }); 264 });
265 }, 265 },
266 // 更新权利人信息 266 // 更新权利人信息
267 upDateQlrxxList (val) { 267 upDateQlrxxList (val) {
268 this.ruleForm.qlrList = _.cloneDeep(val); 268 this.ruleForm.qlrList = _.cloneDeep(val);
269 }, 269 },
270 // 更新权利人信息 270 // 更新权利人信息
271 upDateYwrxxList (val) { 271 upDateYwrxxList (val) {
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
126 <el-row :gutter="10"> 126 <el-row :gutter="10">
127 <el-col :span="14"> 127 <el-col :span="14">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 128 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
129 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.gyfs"> 129 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.gyfs">
130 <el-radio label="1">单独所有</el-radio> 130 <el-radio label="1">单独所有</el-radio>
131 <el-radio label="2">共同共有</el-radio> 131 <el-radio label="2">共同共有</el-radio>
132 <el-radio label="3">按份所有</el-radio> 132 <el-radio label="3">按份所有</el-radio>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
158 <el-row :gutter="10"> 158 <el-row :gutter="10">
159 <el-col> 159 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
161 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.djyy"> 161 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" v-model="ruleForm.djyy">
162 </el-input> 162 </el-input>
163 </el-form-item> 163 </el-form-item>
164 </el-col> 164 </el-col>
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
174 </template> 174 </template>
175 <script> 175 <script>
176 import InformationTable from "@/views/workflow/components/InformationTable"; 176 import InformationTable from "@/views/workflow/components/InformationTable";
177 import { Init } from "@/api/fwsyqFlow.js"; 177 import { Init } from "@/api/workflow/fwsyqFlow.js";
178 import { mapGetters } from "vuex"; 178 import { mapGetters } from "vuex";
179 export default { 179 export default {
180 async created () { 180 async created () {
......