feat:工作流api文件夹整理
Showing
6 changed files
with
71 additions
and
69 deletions
| ... | @@ -28,12 +28,12 @@ | ... | @@ -28,12 +28,12 @@ |
| 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-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input> | 31 | <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input> |
| 32 | </el-form-item> | 32 | </el-form-item> |
| 33 | </el-col> | 33 | </el-col> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> | 35 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> |
| 36 | <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input> | 36 | <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="8"> | 39 | <el-col :span="8"> |
| ... | @@ -122,7 +122,7 @@ | ... | @@ -122,7 +122,7 @@ |
| 122 | <el-row :gutter="10"> | 122 | <el-row :gutter="10"> |
| 123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
| 124 | <el-form-item :class="flag ? 'marginBot0' : ''" label="水域滩涂类型:"> | 124 | <el-form-item :class="flag ? 'marginBot0' : ''" label="水域滩涂类型:"> |
| 125 | <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> | 125 | <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> |
| 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 127 | </el-option> | 127 | </el-option> |
| 128 | </el-select> | 128 | </el-select> |
| ... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
| 130 | </el-col> | 130 | </el-col> |
| 131 | <el-col :span="8"> | 131 | <el-col :span="8"> |
| 132 | <el-form-item :class="flag ? 'marginBot0' : ''" label="养殖业方式:"> | 132 | <el-form-item :class="flag ? 'marginBot0' : ''" label="养殖业方式:"> |
| 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> | 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> |
| 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 135 | </el-option> | 135 | </el-option> |
| 136 | </el-select> | 136 | </el-select> |
| ... | @@ -150,7 +150,7 @@ | ... | @@ -150,7 +150,7 @@ |
| 150 | </el-col> | 150 | </el-col> |
| 151 | <el-col :span="8"> | 151 | <el-col :span="8"> |
| 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="用地用海分类:"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="用地用海分类:"> |
| 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> | 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> |
| 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 155 | </el-option> | 155 | </el-option> |
| 156 | </el-select> | 156 | </el-select> |
| ... | @@ -165,7 +165,7 @@ | ... | @@ -165,7 +165,7 @@ |
| 165 | <el-row :gutter="10"> | 165 | <el-row :gutter="10"> |
| 166 | <el-col> | 166 | <el-col> |
| 167 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> | 167 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> |
| 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> | 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input> |
| 169 | </el-form-item> | 169 | </el-form-item> |
| 170 | </el-col> | 170 | </el-col> |
| 171 | </el-row> | 171 | </el-row> |
| ... | @@ -176,7 +176,7 @@ | ... | @@ -176,7 +176,7 @@ |
| 176 | <el-row :gutter="10"> | 176 | <el-row :gutter="10"> |
| 177 | <el-col :span="14"> | 177 | <el-col :span="14"> |
| 178 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 178 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 179 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> | 179 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> |
| 180 | <el-radio label="0">单独所有</el-radio> | 180 | <el-radio label="0">单独所有</el-radio> |
| 181 | <el-radio label="1">共同共有</el-radio> | 181 | <el-radio label="1">共同共有</el-radio> |
| 182 | <el-radio label="2">按份所有</el-radio> | 182 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -207,8 +207,8 @@ | ... | @@ -207,8 +207,8 @@ |
| 207 | 家庭成员 | 207 | 家庭成员 |
| 208 | <div class="triangle"></div> | 208 | <div class="triangle"></div> |
| 209 | </div> | 209 | </div> |
| 210 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" | 210 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" |
| 211 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 211 | :gyfs="ruleForm.slywxx.gyfs" /> |
| 212 | <div class="slxx_title title-block"> | 212 | <div class="slxx_title title-block"> |
| 213 | 登记原因 | 213 | 登记原因 |
| 214 | <div class="triangle"></div> | 214 | <div class="triangle"></div> |
| ... | @@ -216,7 +216,8 @@ | ... | @@ -216,7 +216,8 @@ |
| 216 | <el-row :gutter="10"> | 216 | <el-row :gutter="10"> |
| 217 | <el-col> | 217 | <el-col> |
| 218 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 218 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
| 219 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.nydsyq.djyy"> | 219 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
| 220 | v-model="ruleForm.nydsyq.djyy"> | ||
| 220 | </el-input> | 221 | </el-input> |
| 221 | </el-form-item> | 222 | </el-form-item> |
| 222 | </el-col> | 223 | </el-col> |
| ... | @@ -232,7 +233,7 @@ | ... | @@ -232,7 +233,7 @@ |
| 232 | </template> | 233 | </template> |
| 233 | <script> | 234 | <script> |
| 234 | import { mapGetters } from "vuex" | 235 | import { mapGetters } from "vuex" |
| 235 | import { Init, saveData } from "@/api/nydsyqFlow.js" | 236 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" |
| 236 | import InformationTable from "@/views/workflow/components/InformationTable" | 237 | import InformationTable from "@/views/workflow/components/InformationTable" |
| 237 | import JtcyTable from "@/views/workflow/components/JtcyTable" | 238 | import JtcyTable from "@/views/workflow/components/JtcyTable" |
| 238 | export default { | 239 | export default { |
| ... | @@ -242,20 +243,20 @@ export default { | ... | @@ -242,20 +243,20 @@ export default { |
| 242 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 243 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| 243 | formdata.append("djlx", this.propsParam.djlx); | 244 | formdata.append("djlx", this.propsParam.djlx); |
| 244 | Init(formdata).then((res) => { | 245 | Init(formdata).then((res) => { |
| 245 | this.ruleForm = res.result; | 246 | this.ruleForm = res.result; |
| 246 | if (res.code === 200 ) { | 247 | if (res.code === 200) { |
| 247 | } | 248 | } |
| 248 | else{ | 249 | else { |
| 249 | this.$alert(res.message, '提示'); | 250 | this.$alert(res.message, '提示'); |
| 250 | } | 251 | } |
| 251 | }) | 252 | }) |
| 252 | }, | 253 | }, |
| 253 | components: { InformationTable,JtcyTable }, | 254 | components: { InformationTable, JtcyTable }, |
| 254 | computed: { | 255 | computed: { |
| 255 | ...mapGetters(["dictData", "flag"]) | 256 | ...mapGetters(["dictData", "flag"]) |
| 256 | }, | 257 | }, |
| 257 | watch: { | 258 | watch: { |
| 258 | 259 | ||
| 259 | }, | 260 | }, |
| 260 | data () { | 261 | data () { |
| 261 | return { | 262 | return { |
| ... | @@ -271,7 +272,7 @@ export default { | ... | @@ -271,7 +272,7 @@ export default { |
| 271 | onSubmit () { | 272 | onSubmit () { |
| 272 | saveData(this.ruleForm).then((res) => { | 273 | saveData(this.ruleForm).then((res) => { |
| 273 | if (res.code === 200) { | 274 | if (res.code === 200) { |
| 274 | this.$message({ | 275 | this.$message({ |
| 275 | showClose: true, | 276 | showClose: true, |
| 276 | message: "保存成功!", | 277 | message: "保存成功!", |
| 277 | type: "success", | 278 | type: "success", |
| ... | @@ -292,7 +293,7 @@ export default { | ... | @@ -292,7 +293,7 @@ export default { |
| 292 | this.ruleForm.jtcyList = _.cloneDeep(val) | 293 | this.ruleForm.jtcyList = _.cloneDeep(val) |
| 293 | }, | 294 | }, |
| 294 | //水域滩涂类型变化事件 | 295 | //水域滩涂类型变化事件 |
| 295 | changeSyttlx(e){ | 296 | changeSyttlx (e) { |
| 296 | let itemLx = {} | 297 | let itemLx = {} |
| 297 | itemLx = this.dictData['A23'].find((item) => { | 298 | itemLx = this.dictData['A23'].find((item) => { |
| 298 | return item.dcode == e | 299 | return item.dcode == e |
| ... | @@ -300,7 +301,7 @@ export default { | ... | @@ -300,7 +301,7 @@ export default { |
| 300 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; | 301 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; |
| 301 | }, | 302 | }, |
| 302 | //养殖业方式变化事件 | 303 | //养殖业方式变化事件 |
| 303 | changeYzyfs(e){ | 304 | changeYzyfs (e) { |
| 304 | let itemLx = {} | 305 | let itemLx = {} |
| 305 | itemLx = this.dictData['A24'].find((item) => { | 306 | itemLx = this.dictData['A24'].find((item) => { |
| 306 | return item.dcode == e | 307 | return item.dcode == e |
| ... | @@ -308,7 +309,7 @@ export default { | ... | @@ -308,7 +309,7 @@ export default { |
| 308 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; | 309 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; |
| 309 | }, | 310 | }, |
| 310 | //用地用海变化事件 | 311 | //用地用海变化事件 |
| 311 | changeYdyhfl(e){ | 312 | changeYdyhfl (e) { |
| 312 | let itemLx = {} | 313 | let itemLx = {} |
| 313 | itemLx = this.dictData['A51'].find((item) => { | 314 | itemLx = this.dictData['A51'].find((item) => { |
| 314 | return item.dcode == e | 315 | return item.dcode == e | ... | ... |
| ... | @@ -28,12 +28,12 @@ | ... | @@ -28,12 +28,12 @@ |
| 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-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input> | 31 | <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input> |
| 32 | </el-form-item> | 32 | </el-form-item> |
| 33 | </el-col> | 33 | </el-col> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> | 35 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> |
| 36 | <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input> | 36 | <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="8"> | 39 | <el-col :span="8"> |
| ... | @@ -122,7 +122,7 @@ | ... | @@ -122,7 +122,7 @@ |
| 122 | <el-row :gutter="10"> | 122 | <el-row :gutter="10"> |
| 123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
| 124 | <el-form-item :class="flag ? 'marginBot0' : ''" label="水域滩涂类型:"> | 124 | <el-form-item :class="flag ? 'marginBot0' : ''" label="水域滩涂类型:"> |
| 125 | <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> | 125 | <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> |
| 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 127 | </el-option> | 127 | </el-option> |
| 128 | </el-select> | 128 | </el-select> |
| ... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
| 130 | </el-col> | 130 | </el-col> |
| 131 | <el-col :span="8"> | 131 | <el-col :span="8"> |
| 132 | <el-form-item :class="flag ? 'marginBot0' : ''" label="养殖业方式:"> | 132 | <el-form-item :class="flag ? 'marginBot0' : ''" label="养殖业方式:"> |
| 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> | 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> |
| 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 135 | </el-option> | 135 | </el-option> |
| 136 | </el-select> | 136 | </el-select> |
| ... | @@ -150,7 +150,7 @@ | ... | @@ -150,7 +150,7 @@ |
| 150 | </el-col> | 150 | </el-col> |
| 151 | <el-col :span="8"> | 151 | <el-col :span="8"> |
| 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="用地用海分类:"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="用地用海分类:"> |
| 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> | 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> |
| 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 155 | </el-option> | 155 | </el-option> |
| 156 | </el-select> | 156 | </el-select> |
| ... | @@ -165,7 +165,7 @@ | ... | @@ -165,7 +165,7 @@ |
| 165 | <el-row :gutter="10"> | 165 | <el-row :gutter="10"> |
| 166 | <el-col> | 166 | <el-col> |
| 167 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> | 167 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> |
| 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> | 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input> |
| 169 | </el-form-item> | 169 | </el-form-item> |
| 170 | </el-col> | 170 | </el-col> |
| 171 | </el-row> | 171 | </el-row> |
| ... | @@ -176,7 +176,7 @@ | ... | @@ -176,7 +176,7 @@ |
| 176 | <el-row :gutter="10"> | 176 | <el-row :gutter="10"> |
| 177 | <el-col :span="14"> | 177 | <el-col :span="14"> |
| 178 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 178 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
| 179 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> | 179 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> |
| 180 | <el-radio label="0">单独所有</el-radio> | 180 | <el-radio label="0">单独所有</el-radio> |
| 181 | <el-radio label="1">共同共有</el-radio> | 181 | <el-radio label="1">共同共有</el-radio> |
| 182 | <el-radio label="2">按份所有</el-radio> | 182 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -213,8 +213,8 @@ | ... | @@ -213,8 +213,8 @@ |
| 213 | 家庭成员 | 213 | 家庭成员 |
| 214 | <div class="triangle"></div> | 214 | <div class="triangle"></div> |
| 215 | </div> | 215 | </div> |
| 216 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" | 216 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" |
| 217 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 217 | :gyfs="ruleForm.slywxx.gyfs" /> |
| 218 | <div class="slxx_title title-block"> | 218 | <div class="slxx_title title-block"> |
| 219 | 登记原因 | 219 | 登记原因 |
| 220 | <div class="triangle"></div> | 220 | <div class="triangle"></div> |
| ... | @@ -222,7 +222,8 @@ | ... | @@ -222,7 +222,8 @@ |
| 222 | <el-row :gutter="10"> | 222 | <el-row :gutter="10"> |
| 223 | <el-col> | 223 | <el-col> |
| 224 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 224 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
| 225 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.nydsyq.djyy"> | 225 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
| 226 | v-model="ruleForm.nydsyq.djyy"> | ||
| 226 | </el-input> | 227 | </el-input> |
| 227 | </el-form-item> | 228 | </el-form-item> |
| 228 | </el-col> | 229 | </el-col> |
| ... | @@ -238,7 +239,7 @@ | ... | @@ -238,7 +239,7 @@ |
| 238 | </template> | 239 | </template> |
| 239 | <script> | 240 | <script> |
| 240 | import { mapGetters } from "vuex" | 241 | import { mapGetters } from "vuex" |
| 241 | import { Init, saveData } from "@/api/nydsyqFlow.js" | 242 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" |
| 242 | import InformationTable from "@/views/workflow/components/InformationTable" | 243 | import InformationTable from "@/views/workflow/components/InformationTable" |
| 243 | import JtcyTable from "@/views/workflow/components/JtcyTable" | 244 | import JtcyTable from "@/views/workflow/components/JtcyTable" |
| 244 | export default { | 245 | export default { |
| ... | @@ -248,20 +249,20 @@ export default { | ... | @@ -248,20 +249,20 @@ export default { |
| 248 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 249 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| 249 | formdata.append("djlx", this.propsParam.djlx); | 250 | formdata.append("djlx", this.propsParam.djlx); |
| 250 | Init(formdata).then((res) => { | 251 | Init(formdata).then((res) => { |
| 251 | this.ruleForm = res.result; | 252 | this.ruleForm = res.result; |
| 252 | if (res.code === 200 ) { | 253 | if (res.code === 200) { |
| 253 | } | 254 | } |
| 254 | else{ | 255 | else { |
| 255 | this.$alert(res.message, '提示'); | 256 | this.$alert(res.message, '提示'); |
| 256 | } | 257 | } |
| 257 | }) | 258 | }) |
| 258 | }, | 259 | }, |
| 259 | components: { InformationTable,JtcyTable }, | 260 | components: { InformationTable, JtcyTable }, |
| 260 | computed: { | 261 | computed: { |
| 261 | ...mapGetters(["dictData", "flag"]) | 262 | ...mapGetters(["dictData", "flag"]) |
| 262 | }, | 263 | }, |
| 263 | watch: { | 264 | watch: { |
| 264 | 265 | ||
| 265 | }, | 266 | }, |
| 266 | data () { | 267 | data () { |
| 267 | return { | 268 | return { |
| ... | @@ -277,7 +278,7 @@ export default { | ... | @@ -277,7 +278,7 @@ export default { |
| 277 | onSubmit () { | 278 | onSubmit () { |
| 278 | saveData(this.ruleForm).then((res) => { | 279 | saveData(this.ruleForm).then((res) => { |
| 279 | if (res.code === 200) { | 280 | if (res.code === 200) { |
| 280 | this.$message({ | 281 | this.$message({ |
| 281 | showClose: true, | 282 | showClose: true, |
| 282 | message: "保存成功!", | 283 | message: "保存成功!", |
| 283 | type: "success", | 284 | type: "success", |
| ... | @@ -304,7 +305,7 @@ export default { | ... | @@ -304,7 +305,7 @@ export default { |
| 304 | this.ruleForm.jtcyList = _.cloneDeep(val) | 305 | this.ruleForm.jtcyList = _.cloneDeep(val) |
| 305 | }, | 306 | }, |
| 306 | //水域滩涂类型变化事件 | 307 | //水域滩涂类型变化事件 |
| 307 | changeSyttlx(e){ | 308 | changeSyttlx (e) { |
| 308 | let itemLx = {} | 309 | let itemLx = {} |
| 309 | itemLx = this.dictData['A23'].find((item) => { | 310 | itemLx = this.dictData['A23'].find((item) => { |
| 310 | return item.dcode == e | 311 | return item.dcode == e |
| ... | @@ -312,7 +313,7 @@ export default { | ... | @@ -312,7 +313,7 @@ export default { |
| 312 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; | 313 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; |
| 313 | }, | 314 | }, |
| 314 | //养殖业方式变化事件 | 315 | //养殖业方式变化事件 |
| 315 | changeYzyfs(e){ | 316 | changeYzyfs (e) { |
| 316 | let itemLx = {} | 317 | let itemLx = {} |
| 317 | itemLx = this.dictData['A24'].find((item) => { | 318 | itemLx = this.dictData['A24'].find((item) => { |
| 318 | return item.dcode == e | 319 | return item.dcode == e |
| ... | @@ -320,7 +321,7 @@ export default { | ... | @@ -320,7 +321,7 @@ export default { |
| 320 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; | 321 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; |
| 321 | }, | 322 | }, |
| 322 | //用地用海变化事件 | 323 | //用地用海变化事件 |
| 323 | changeYdyhfl(e){ | 324 | changeYdyhfl (e) { |
| 324 | let itemLx = {} | 325 | let itemLx = {} |
| 325 | itemLx = this.dictData['A51'].find((item) => { | 326 | itemLx = this.dictData['A51'].find((item) => { |
| 326 | return item.dcode == e | 327 | return item.dcode == e | ... | ... |
| ... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
| 58 | </el-form-item> | 58 | </el-form-item> |
| 59 | </el-col> | 59 | </el-col> |
| 60 | </el-row> | 60 | </el-row> |
| 61 | <el-row :gutter="10" > | 61 | <el-row :gutter="10"> |
| 62 | <el-col :span="8"> | 62 | <el-col :span="8"> |
| 63 | <el-form-item :class="flag ? 'marginBot0' : ''" label="规划用途:"> | 63 | <el-form-item :class="flag ? 'marginBot0' : ''" label="规划用途:"> |
| 64 | <el-input disabled v-model="ruleForm.ygdj.ghyt"></el-input> | 64 | <el-input disabled v-model="ruleForm.ygdj.ghyt"></el-input> |
| ... | @@ -92,7 +92,7 @@ | ... | @@ -92,7 +92,7 @@ |
| 92 | </el-form-item> | 92 | </el-form-item> |
| 93 | </el-col> | 93 | </el-col> |
| 94 | </el-row> | 94 | </el-row> |
| 95 | <el-row :gutter="10" > | 95 | <el-row :gutter="10"> |
| 96 | <el-col :span="8"> | 96 | <el-col :span="8"> |
| 97 | <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> | 97 | <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> |
| 98 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> | 98 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> |
| ... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
| 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" v-model="ruleForm.slywxx.gyfs"> | 136 | <el-radio-group :disabled="$route.query.viewtype == 1" 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> |
| ... | @@ -149,15 +149,15 @@ | ... | @@ -149,15 +149,15 @@ |
| 149 | <div class="triangle"></div> | 149 | <div class="triangle"></div> |
| 150 | </div> | 150 | </div> |
| 151 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | 151 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" |
| 152 | :gyfs="ruleForm.qlxx.gyfs" /> | 152 | :gyfs="ruleForm.qlxx.gyfs" /> |
| 153 | <div class="slxx_title title-block"> | 153 | <div class="slxx_title title-block"> |
| 154 | 登记原因 | 154 | 登记原因 |
| 155 | <div class="triangle"></div> | 155 | <div class="triangle"></div> |
| 156 | </div> | 156 | </div> |
| 157 | <el-row :gutter="10"> | 157 | <el-row :gutter="10"> |
| 158 | <el-col> | 158 | <el-col> |
| 159 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 159 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
| 160 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" | 160 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
| 161 | v-model="ruleForm.ygdj.djyy"> | 161 | v-model="ruleForm.ygdj.djyy"> |
| 162 | </el-input> | 162 | </el-input> |
| 163 | </el-form-item> | 163 | </el-form-item> |
| ... | @@ -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, saveData } from "@/api/ygdjFlow.js"; | 177 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; |
| 178 | import { mapGetters } from "vuex"; | 178 | import { mapGetters } from "vuex"; |
| 179 | export default { | 179 | export default { |
| 180 | async created () { | 180 | async created () { |
| ... | @@ -207,9 +207,9 @@ export default { | ... | @@ -207,9 +207,9 @@ export default { |
| 207 | methods: { | 207 | methods: { |
| 208 | // 更新权利人信息 | 208 | // 更新权利人信息 |
| 209 | upDateQlrxxList (val) { | 209 | upDateQlrxxList (val) { |
| 210 | this.ruleForm.qlrList = _.cloneDeep(val); | 210 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 211 | }, | 211 | }, |
| 212 | // 更新权利人信息 | 212 | // 更新权利人信息 |
| 213 | upDateYwrxxList (val) { | 213 | upDateYwrxxList (val) { |
| 214 | this.ruleForm.ywrList = _.cloneDeep(val); | 214 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 215 | }, | 215 | }, | ... | ... |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | <div class="triangle"></div> | 47 | <div class="triangle"></div> |
| 48 | </div> | 48 | </div> |
| 49 | 49 | ||
| 50 | <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>--> | 50 | <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>--> |
| 51 | 51 | ||
| 52 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 52 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
| 53 | <el-col :span="8"> | 53 | <el-col :span="8"> |
| ... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
| 95 | </el-form-item> | 95 | </el-form-item> |
| 96 | </el-col> | 96 | </el-col> |
| 97 | </el-row> | 97 | </el-row> |
| 98 | <el-row :gutter="10" > | 98 | <el-row :gutter="10"> |
| 99 | <el-col :span="8"> | 99 | <el-col :span="8"> |
| 100 | <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> | 100 | <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> |
| 101 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> | 101 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> |
| ... | @@ -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> |
| ... | @@ -146,22 +146,22 @@ | ... | @@ -146,22 +146,22 @@ |
| 146 | </el-col> | 146 | </el-col> |
| 147 | </el-row> | 147 | </el-row> |
| 148 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" | 148 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" |
| 149 | :gyfs="ruleForm.qlxx.gyfs" /> | 149 | :gyfs="ruleForm.qlxx.gyfs" /> |
| 150 | <div class="slxx_title title-block"> | 150 | <div class="slxx_title title-block"> |
| 151 | 义务人信息 | 151 | 义务人信息 |
| 152 | <div class="triangle"></div> | 152 | <div class="triangle"></div> |
| 153 | </div> | 153 | </div> |
| 154 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | 154 | <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" |
| 155 | :gyfs="ruleForm.qlxx.gyfs" /> | 155 | :gyfs="ruleForm.qlxx.gyfs" /> |
| 156 | <div class="slxx_title title-block"> | 156 | <div class="slxx_title title-block"> |
| 157 | 登记原因 | 157 | 登记原因 |
| 158 | <div class="triangle"></div> | 158 | <div class="triangle"></div> |
| 159 | </div> | 159 | </div> |
| 160 | <el-row :gutter="10"> | 160 | <el-row :gutter="10"> |
| 161 | <el-col> | 161 | <el-col> |
| 162 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | 162 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> |
| 163 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" | 163 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
| 164 | v-model="ruleForm.ygdj.djyy"> | 164 | v-model="ruleForm.ygdj.djyy"> |
| 165 | </el-input> | 165 | </el-input> |
| 166 | </el-form-item> | 166 | </el-form-item> |
| 167 | </el-col> | 167 | </el-col> |
| ... | @@ -177,7 +177,7 @@ | ... | @@ -177,7 +177,7 @@ |
| 177 | </template> | 177 | </template> |
| 178 | <script> | 178 | <script> |
| 179 | import InformationTable from "@/views/workflow/components/InformationTable"; | 179 | import InformationTable from "@/views/workflow/components/InformationTable"; |
| 180 | import { Init, saveData } from "@/api/ygdjFlow.js"; | 180 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; |
| 181 | import { mapGetters } from "vuex"; | 181 | import { mapGetters } from "vuex"; |
| 182 | export default { | 182 | export default { |
| 183 | async created () { | 183 | async created () { |
| ... | @@ -207,18 +207,18 @@ export default { | ... | @@ -207,18 +207,18 @@ export default { |
| 207 | }; | 207 | }; |
| 208 | }, | 208 | }, |
| 209 | methods: { | 209 | methods: { |
| 210 | onClick(){ | 210 | onClick () { |
| 211 | this.$popup("房屋信息比对","ywbl/ygdj/slxxCompareDetai", | 211 | this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai", |
| 212 | { | 212 | { |
| 213 | formData: { | 213 | formData: { |
| 214 | bsmSldy: this.propsParam.bsmSldy, | 214 | bsmSldy: this.propsParam.bsmSldy, |
| 215 | qllx: this.propsParam.qllx | 215 | qllx: this.propsParam.qllx |
| 216 | } | 216 | } |
| 217 | }); | 217 | }); |
| 218 | }, | 218 | }, |
| 219 | // 更新权利人信息 | 219 | // 更新权利人信息 |
| 220 | upDateQlrxxList (val) { | 220 | upDateQlrxxList (val) { |
| 221 | this.ruleForm.qlrList = _.cloneDeep(val); | 221 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 222 | }, | 222 | }, |
| 223 | // 更新权利人信息 | 223 | // 更新权利人信息 |
| 224 | upDateYwrxxList (val) { | 224 | upDateYwrxxList (val) { | ... | ... |
-
Please register or sign in to post a comment