5c0e7abb by 任超

chore:工作流文件夹整理

1 parent 3b6cfb0a
import request from '@/utils/request'
import SERVER from './config'
import SERVER from '../config'
//批量初始化
export function BatchInit (data) {
......
import request from '@/utils/request'
import SERVER from './config'
import SERVER from '../config'
// 初始化内容
export function Init (data) {
......
import request from '@/utils/request'
import SERVER from './config'
import SERVER from '../config'
// 初始化内容
export function Init (data) {
......
......@@ -37,7 +37,7 @@
</template>
<script>
import PhotoZoom from '@/components/PhotoZoom'
import { sjClmxUpload, sjClmxDelete } from '@/api/jsydsyqFlow'
import { sjClmxUpload, sjClmxDelete } from '@/api/workflow/jsydsyqFlow'
import publicPicture from '@/components/publicPicture/index.vue'
export default {
name: 'PreviewImage',
......
import { getWorkFlowImage } from "@/api/jsydsyqFlow.js";
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
import { popupDialog } from "@/utils/popup.js";
import {
leftMenu,
......
......@@ -85,7 +85,7 @@ import { mapGetters } from "vuex"
import NoticeBar from '@/components/NoticeBar/index'
import { deleteFlow, unClaimTask } from "@/api/ywbl.js";
import ProcessViewer from './components/processViewer.vue'
import { getWorkFlowImage } from "@/api/jsydsyqFlow.js";
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
import { getForm } from "./flowform.js";
import fqsqDialog from "@/views/ywbl/ywsq/slectBdc.vue";
import { queueDjywmc } from "@/views/ywbl/ywsq/slectBdcdata.js";
......
......@@ -75,7 +75,7 @@ import {
completeTask,
getStepFormInfo
} from "@/api/fqsq.js"
import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"
import { getForm } from "./flowform.js"
export default {
data () {
......
......@@ -74,7 +74,7 @@ import {
import publicFlow from "./mixin/public.js"
import { popupDialog } from "@/utils/popup.js";
import NoticeBar from '@/components/NoticeBar/index'
import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"
export default {
mixins: [publicFlow],
components: {
......
......@@ -81,14 +81,15 @@
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled type="date" placeholder="选择日期"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || isJfOperation"
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100"
:disabled="$route.query.viewtype || isJfOperation" type="date" placeholder="选择日期"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -107,14 +108,16 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || isJfOperation"></el-input>
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || isJfOperation">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || isJfOperation"></el-input>
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy"
:disabled="$route.query.viewtype || isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -152,7 +155,7 @@
</template>
<script>
import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
import { BatchInit, batchSaveData } from "@/api/cfdjFlow.js";
import { BatchInit, batchSaveData } from "@/api/workflow/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -171,7 +174,7 @@ export default {
created () {
this.propsParam = this.$attrs;
var formdata = new FormData();
if(this.propsParam.djlx == '400'){
if (this.propsParam.djlx == '400') {
this.isJfOperation = true;
}
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
......@@ -209,7 +212,7 @@ export default {
}
});
},
changeCflx(e){
changeCflx (e) {
let cflxItem = {}
cflxItem = this.dictData['A32'].find((item) => {
return item.dcode == e
......@@ -222,5 +225,4 @@ export default {
<style scoped lang='scss'>
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
\ No newline at end of file
......
......@@ -126,14 +126,15 @@
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" disabled type="date" placeholder="选择日期"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || ableEdit"
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100"
:disabled="$route.query.viewtype || ableEdit" type="date" placeholder="选择日期" value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -152,14 +153,16 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit"></el-input>
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || ableEdit"></el-input>
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy"
:disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -197,7 +200,7 @@
</template>
<script>
import sqrViewTable from "@/views/workflow/components/sqrViewTable";
import { BatchInit, saveData } from "@/api/cfdjFlow.js";
import { BatchInit, saveData } from "@/api/workflow/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -252,7 +255,7 @@ export default {
}
});
},
changeCflx(e){
changeCflx (e) {
let cflxItem = {}
cflxItem = this.dictData['A32'].find((item) => {
return item.dcode == e
......
<template>
<!-- 受理信息 -->
<div class="slxx">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="140px"
>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
label-width="140px">
<div class="slxx_con">
<div class="slxx_title title-block">
受理信息
......@@ -33,29 +27,17 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="权利类型:"
prop="qllx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="qllx">
<el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="登记类型:"
prop="djlx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="djlx">
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="登记情形:"
prop="djqx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="djqx">
<el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
</el-form-item>
</el-col>
......@@ -84,10 +66,7 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="不动产权证号:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:">
<el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
</el-form-item>
</el-col>
......@@ -104,10 +83,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="不动产单元号:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
<el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input>
</el-form-item>
</el-col>
......@@ -134,11 +110,7 @@
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="是否存在禁止或者限制转让抵押不动产的约定:"
label-width="350px"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
......@@ -148,38 +120,26 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8" v-show="ruleForm.diyaq.dyfs==1">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="被担保主债权数额:"
>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
<el-form-item :class="flag ? 'marginBot0' : ''" label="被担保主债权数额:">
<el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input>
</el-form-item>
</el-col>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs==2">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="最高债权额:"
>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
<el-form-item :class="flag ? 'marginBot0' : ''" label="最高债权额:">
<el-input v-model="ruleForm.diyaq.zgzqse"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="债务履行起始时间:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxqssj" type="date">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="债务履行结束时间:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="债务履行结束时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxjssj" type="date">
</el-date-picker>
</el-form-item>
......@@ -196,15 +156,15 @@
</el-row>
<el-row>
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="最高债权确定事实和数额:" >
<el-form-item :class="flag ? 'marginBot0' : ''" label="最高债权确定事实和数额:">
<el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row >
<el-row>
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype==1"></el-input>
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -216,10 +176,7 @@
<el-row :gutter="10">
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group
:disabled="$route.query.viewtype == 1"
v-model="ruleForm.slywxx.gyfs"
>
<el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -228,10 +185,7 @@
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="是否分别持证:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
<el-radio-group v-model="ruleForm.slywxx.sffbcz">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
......@@ -241,32 +195,20 @@
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人">
<el-option
v-for="item in czrOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<InformationTable
:tableData="ruleForm.qlrList"
@upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype"
:gyfs="ruleForm.slywxx.gyfs"
/>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
</div>
<InformationTable
:tableData="ruleForm.ywrList"
@upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype"
/>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
<div class="slxx_title title-block">
登记原因
......@@ -275,7 +217,8 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.diyaq.djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
v-model="ruleForm.diyaq.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -292,10 +235,10 @@
</template>
<script>
import InformationTable from "@/views/workflow/components/InformationTable";
import { Init, saveData } from "@/api/diyaqFlow.js";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import { mapGetters } from "vuex";
export default {
async created() {
async created () {
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
......@@ -304,7 +247,7 @@ export default {
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
this.ruleForm.diyaq.sfczjzhxz="0";
this.ruleForm.diyaq.sfczjzhxz = "0";
}
});
},
......@@ -312,7 +255,7 @@ export default {
computed: {
...mapGetters(["dictData", "flag"]),
},
data() {
data () {
return {
disabled: true,
czrOptions: [],
......@@ -328,21 +271,7 @@ export default {
};
},
methods: {
// list(bsmSldy) {
// Init({
// bsmSldy: bsmSldy.split(","),
// }).then((res) => {
// if (res.code === 200 && res.result) {
// this.ruleForm = {
// ...res.result,
// ...res.result.zdjbxxdatas,
// ...res.result.qlxxdatas,
// ...res.result.jsydsyqdatas,
// };
// }
// });
// },
onSubmitClick() {
onSubmitClick () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......@@ -361,11 +290,11 @@ export default {
},
// 更新权利人信息
upDateQlrxxList(val) {
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新义务人信息
upDateYwrxxList(val) {
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
},
......
<template>
<!-- 受理信息 -->
<div class="slxx">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="140px"
>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
label-width="140px">
<div class="slxx_con">
<div class="slxx_title title-block">
受理信息
......@@ -33,29 +27,17 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="权利类型:"
prop="qllx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="qllx">
<el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="登记类型:"
prop="djlx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="djlx">
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="登记情形:"
prop="djqx"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="djqx">
<el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
</el-form-item>
</el-col>
......@@ -84,10 +66,7 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="不动产权证号:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:">
<el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
</el-form-item>
</el-col>
......@@ -104,10 +83,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="不动产单元号:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
<el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input>
</el-form-item>
</el-col>
......@@ -134,11 +110,7 @@
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="是否存在禁止或者限制转让抵押不动产的约定:"
label-width="350px"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
......@@ -148,38 +120,26 @@
</el-row>
<el-row :gutter="10">
<el-col :span="8" v-show="ruleForm.diyaq.dyfs==1">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="被担保主债权数额:"
>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
<el-form-item :class="flag ? 'marginBot0' : ''" label="被担保主债权数额:">
<el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input>
</el-form-item>
</el-col>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs==2">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="最高债权额:"
>
<el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
<el-form-item :class="flag ? 'marginBot0' : ''" label="最高债权额:">
<el-input v-model="ruleForm.diyaq.zgzqse"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="债务履行起始时间:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="债务履行起始时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxqssj" type="date">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="债务履行结束时间:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="债务履行结束时间:">
<el-date-picker v-model="ruleForm.diyaq.zwlxjssj" type="date">
</el-date-picker>
</el-form-item>
......@@ -201,10 +161,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row >
<el-row>
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype==1"></el-input>
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -216,10 +176,7 @@
<el-row :gutter="10">
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group
:disabled="$route.query.viewtype == 1"
v-model="ruleForm.slywxx.gyfs"
>
<el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -228,10 +185,7 @@
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item
:class="flag ? 'marginBot0' : ''"
label="是否分别持证:"
>
<el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
<el-radio-group v-model="ruleForm.slywxx.sffbcz">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
......@@ -241,32 +195,20 @@
<el-col :span="5" v-show="ruleForm.gyfs == '2'">
<el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人">
<el-option
v-for="item in czrOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<InformationTable
:tableData="ruleForm.qlrList"
@upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype"
:gyfs="ruleForm.slywxx.gyfs"
/>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
抵押人信息
<div class="triangle"></div>
</div>
<InformationTable
:tableData="ruleForm.ywrList"
@upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype"
/>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
<div class="slxx_title title-block">
登记原因
......@@ -275,7 +217,8 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.diyaq.djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
v-model="ruleForm.diyaq.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -292,10 +235,10 @@
</template>
<script>
import InformationTable from "@/views/workflow/components/InformationTable";
import { Init, saveData } from "@/api/diyaqFlow.js";
import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
import { mapGetters } from "vuex";
export default {
async created() {
async created () {
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
......@@ -304,7 +247,7 @@ export default {
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
this.ruleForm.diyaq.sfczjzhxz="0";
this.ruleForm.diyaq.sfczjzhxz = "0";
}
});
},
......@@ -312,7 +255,7 @@ export default {
computed: {
...mapGetters(["dictData", "flag"]),
},
data() {
data () {
return {
disabled: true,
czrOptions: [],
......@@ -328,21 +271,7 @@ export default {
};
},
methods: {
// list(bsmSldy) {
// Init({
// bsmSldy: bsmSldy.split(","),
// }).then((res) => {
// if (res.code === 200 && res.result) {
// this.ruleForm = {
// ...res.result,
// ...res.result.zdjbxxdatas,
// ...res.result.qlxxdatas,
// ...res.result.jsydsyqdatas,
// };
// }
// });
// },
onSubmitClick() {
onSubmitClick () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......@@ -359,17 +288,16 @@ export default {
}
});
},
// 更新权利人信息
upDateQlrxxList(val) {
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新义务人信息
upDateYwrxxList(val) {
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
},
};
}
}
}
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
......
......@@ -109,7 +109,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input>
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -120,7 +120,7 @@
<el-row :gutter="10">
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group :disabled="$route.query.viewtype==0" v-model="ruleForm.slywxx.gyfs">
<el-radio-group :disabled="$route.query.viewtype == 0" v-model="ruleForm.slywxx.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
......@@ -147,10 +147,11 @@
</el-row>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div v-if="ruleForm.ywrList.length>0">
<div v-if="ruleForm.ywrList.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div> </div>
<div class="triangle"></div>
</div>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
</div>
......@@ -162,7 +163,8 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
v-model="ruleForm.jsydsyq.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -178,7 +180,7 @@
</template>
<script>
import { mapGetters } from "vuex"
import { Init, saveData } from "@/api/jsydsyqFlow.js"
import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"
import InformationTable from "@/views/workflow/components/InformationTable"
export default {
created () {
......@@ -188,7 +190,7 @@ export default {
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
this.ruleForm = res.result;
if (res.code === 200 ) {
if (res.code === 200) {
this.$store.dispatch('slxx/setQlrxxOld', {
qlrxx: this.ruleForm.qlrxx,
fj: this.ruleForm.fj,
......@@ -196,7 +198,7 @@ export default {
djyy: this.ruleForm.djyy
})
}
else{
else {
this.$alert(res.message, '提示');
}
})
......
......@@ -44,7 +44,9 @@
</el-row>
<div class="slxx_title title-block">
不动产单元情况
<div><el-button @click="compare">变化情况对比+</el-button></div>
<div>
<el-button @click="compare">变化情况对比+</el-button>
</div>
</div>
<el-row :gutter="10">
<el-col :span="8">
......@@ -109,7 +111,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input>
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -117,11 +119,13 @@
权利人信息
<div class="triangle"></div>
</div> -->
<el-divider content-position="left" ><i style="background-color:#3498db;font-size:16px;color:#fff !important;border-radius: 5px 5px 5px 0px;margin-bottom:10px;" class="el-icon-edit-outline">权利人信息</i></el-divider>
<el-divider content-position="left"><i
style="background-color:#3498db;font-size:16px;color:#fff !important;border-radius: 5px 5px 5px 0px;margin-bottom:10px;"
class="el-icon-edit-outline">权利人信息</i></el-divider>
<el-row :gutter="10">
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
<el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
<el-radio label="1">单独所有</el-radio>
<el-radio label="2">共同共有</el-radio>
<el-radio label="3">按份所有</el-radio>
......@@ -145,7 +149,8 @@
</el-form-item>
</el-col>
</el-row>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList' :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList'
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -153,7 +158,8 @@
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
v-model="ruleForm.jsydsyq.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -168,9 +174,9 @@
</div>
</template>
<script>
import InformationTable from "@/views/workflow/components/InformationTable";
import { Init, saveData } from "@/api/jsydsyqFlow.js";
import { mapGetters } from "vuex";
import InformationTable from "@/views/workflow/components/InformationTable";
import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
export default {
async created () {
this.propsParam = this.$attrs;
......@@ -219,7 +225,7 @@ export default {
}
});
},
compare(){
compare () {
this.$popup({
titleStyle: "left",
title: "土地变化情况比对", // 弹窗标题
......