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,21 +108,23 @@
<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>
<div v-if="propsParam.djlx == '400'">
<div class="slxx_title title-block">
解封信息
<div class="triangle"></div>
解封信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
......@@ -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,8 +174,8 @@ export default {
created () {
this.propsParam = this.$attrs;
var formdata = new FormData();
if(this.propsParam.djlx == '400'){
this.isJfOperation = true;
if (this.propsParam.djlx == '400') {
this.isJfOperation = true;
}
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
......@@ -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
......
......@@ -78,12 +78,12 @@
<el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
<el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
</el-form-item>
</el-col>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="用途:">
<el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="16">
......@@ -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,21 +153,23 @@
<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>
<div v-if="propsParam.djlx == '400'">
<div class="slxx_title title-block">
解封信息
<div class="triangle"></div>
解封信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
......@@ -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
......
......@@ -28,12 +28,12 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
<el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
<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="登记类型:">
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -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,14 +147,15 @@
</el-row>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div v-if="ruleForm.ywrList.length>0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div> </div>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
<div v-if="ruleForm.ywrList.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
</div>
<div class="slxx_title title-block">
登记原因
<div class="triangle"></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 () {
......@@ -187,8 +189,8 @@ export default {
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
this.ruleForm = res.result;
if (res.code === 200 ) {
this.ruleForm = res.result;
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, '提示');
}
})
......@@ -231,16 +233,16 @@ export default {
methods: {
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新义务人信息
// 更新义务人信息
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
......
......@@ -25,15 +25,15 @@
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
<el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
<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="登记类型:">
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
<el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -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;
......@@ -179,7 +185,7 @@ export default {
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
this.ruleForm = res.result;
}
});
},
......@@ -198,14 +204,14 @@ export default {
};
},
methods: {
// 更新权利人信息
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
this.ruleForm.qlrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
......@@ -219,26 +225,26 @@ export default {
}
});
},
compare(){
this.$popup({
titleStyle: "left",
title: "土地变化情况比对", // 弹窗标题
editItem: "registerBook/jsydsyq", // 弹窗内容
formData: this.propsParam,
width: "1220px",
height: "790px",
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel: () => {
console.log("取消回调");
},
confirm: () => {
console.log("确认回调");
},
});
}
compare () {
this.$popup({
titleStyle: "left",
title: "土地变化情况比对", // 弹窗标题
editItem: "registerBook/jsydsyq", // 弹窗内容
formData: this.propsParam,
width: "1220px",
height: "790px",
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel: () => {
console.log("取消回调");
},
confirm: () => {
console.log("确认回调");
},
});
}
},
};
</script>
<style scoped lang='scss'>
......