3ebd1af9 by yangwei

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 163fb101 821394aa
Showing 122 changed files with 1898 additions and 483 deletions
......@@ -17,6 +17,11 @@ export function getAllDict () {
method: 'post'
})
}
/**
* @description: getQlxxDictList
* @param {*} data
* @author: renchao
*/
export function getQlxxDictList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList',
......
......@@ -2,7 +2,7 @@
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-07-17 13:22:05
* @LastEditTime: 2023-07-21 10:30:53
*/
import axios from 'axios'
import Router from '@/router'
......@@ -84,7 +84,7 @@ service.interceptors.response.use(
} else {
// 对响应错误做点什么
Message({
message: error,
message: error.response.data.message,
type: 'error',
duration: 5 * 1000,
customClass: 'messageIndex'
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:41:57
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<div class="title">请选择要退回到的环节:</div>
<el-form ref="queryForm" label-width="90px">
<ul style="margin-bottom: 15px">
<li
v-for="(item, index) in dataList"
class="listDetail"
:key="index"
@click="changeSelectItem(item)">
<p class="icon">
<el-radio
v-model="selectActivity"
:label="item.activityId"
@change="changeSelectItem(item)"></el-radio>
</p>
<p>{{ item.activityName }}</p>
<p v-for="(child, childIndex) in item.userInfos" :key="childIndex">
{{ child.name }}
</p>
</li>
</ul>
<div class="title">退回意见:</div>
<el-form-item>
<el-input
class="textArea"
type="textarea"
v-model="outstepopinion"
placeholder="请输入退回意见"></el-input>
</el-form-item>
<el-form-item>
<el-button style="float:right" @click="cancelBack">取消</el-button>
<el-button type="primary" @click="onSubmit" style="float:right">退回</el-button>
</el-form-item>
</el-form>
</div>
</div>
</template>
<script>
import { getTaskBackNode, sendBackTask } from "@/api/workFlow.js"
import { popupCacel } from "@/utils/popup.js";
export default {
props: {
formData: {
type: Object,
default: {},
},
},
data () {
return {
selectActivity: "",
dataList: [],
outstepopinion: "",
selectItem: {},
};
},
created () {
this.getBackNode();
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.selectItem.outstepopinion = this.outstepopinion;
sendBackTask({
bsmSlsq: this.formData.bsmSlsq,
backNodeList: [this.selectItem],
}).then((res) => {
this.$message.success("退回成功");
setTimeout(() => {
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit("input", false);
}, 1000);
});
},
/**
* @description: changeSelectItem
* @param {*} item
* @author: renchao
*/
changeSelectItem (item) {
this.selectItem = item;
this.selectActivity = item.activityId;
},
//获取可回退环节信息
/**
* @description: 获取可回退环节信息
* @author: renchao
*/
getBackNode () {
getTaskBackNode(this.formData).then((res) => {
if (res.code == 200) {
this.dataList = res.result;
if (res.result) {
this.selectActivity = res.result[0].activityId;
this.selectItem = res.result[0];
}
}
});
},
/**
* @description: cancelBack
* @author: renchao
*/
cancelBack () {
popupCacel();
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.listDetail {
display: flex;
align-items: center;
width: 100%;
p {
line-height: 30px;
height: 30px;
@include flex-center;
flex: 1;
width: 100%;
border: 1px solid rgb(233, 235, 237);
margin-top: -1px;
margin-left: -1px;
}
.icon {
flex: 0 0 60px;
}
}
.title {
margin-bottom: 10px;
}
.textArea {
/deep/.el-textarea__inner {
min-height: 90px !important;
}
}
/deep/.el-radio .el-radio__label {
display: none;
}
</style>
......@@ -4,82 +4,109 @@
* @LastEditTime: 2023-05-17 10:42:01
-->
<template>
<dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog"
v-model="value">
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-form ref="queryForm" label-width="180px" v-if="this.formData.obj">
<el-form-item label="下一环节名称:">
{{this.tableData.taskName}}
{{ this.formData.obj.taskName }}
</el-form-item>
<el-form-item label="下一环节办理人:">
{{this.usernames}}
{{ this.formData.obj.usernames.join(",") }}
</el-form-item>
</el-form>
<el-form ref="queryForm" label-width="180px" v-else>
<el-form-item label="">
此环节为流程最后环节,转出后流程将结束
</el-form-item>
</el-form>
<div class="invalid-reson">转出原因:</div>
<el-input
v-model="shyj"
placeholder="请输入转出原因"
type="textarea"
:rows="4"
></el-input>
<el-button style="float: right" @click="cancelBack">取消转出</el-button>
<el-button type="primary" @click="submitForm" style="float: right"
>确定转出</el-button
>
</div>
</div>
</dialogBox>
</template>
<script>
import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"
export default {
components: {
},
import { completeTask, getNextLinkInfo } from "@/api/workFlow.js";
import { popupCacel } from "@/utils/popup.js";
export default {
components: {},
props: {
value: { type: Boolean, default: false },
queryForm: { type: Object, default: false }
formData: {
type: Object,
default: {},
},
},
data () {
data() {
return {
tableData: {},
usernames: '',
}
queryForm: {},
shyj: "",
};
},
methods: {
/**
* @description: tablelistFn
* @author: renchao
*/
tablelistFn () {
getNextLinkInfo(this.queryForm).then(res => {
if (res.code === 200) {
this.tableData = res.result
if (res.result.usernames) {
this.usernames = String(res.result.usernames)
}
}
})
mounted() {
// this.queryForm= this.queryForm.obj
console.log("formDataformDataformData", this.formData);
},
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
completeTask(this.queryForm).then(res => {
submitForm() {
this.queryForm = {
bsmSlsq: this.formData.bsmSlsq,
shyj: this.shyj,
stepform: JSON.stringify(this.formData.tabList),
};
console.log("this.queryForm", this.queryForm);
completeTask(this.queryForm).then((res) => {
if (res.code === 200) {
this.$message.success('转件成功')
this.$message.success("转件成功");
// setTimeout(() => {
// window.opener = null;
// window.open("about:blank", "_self");
// window.close();
// this.$emit("input", false);
// }, 1000);
popupCacel();
setTimeout(() => {
window.opener = null;
window.open("about:blank", "_self");
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit('input', false)
this.$emit("input", false);
}, 1000);
}else{
this.$message.error(res.message);
}
})
});
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
cancelBack() {
popupCacel();
},
}
}
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/mixin.scss";
.el-button {
margin-top: 20px;
margin-right: 10px;
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-25 15:52:42
* @LastEditTime: 2023-07-21 09:48:32
-->
<template>
<!-- 受理信息 -->
......@@ -353,10 +353,6 @@
import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
import selectTable from "@/components/selectTable/index.vue";
import tdytTable from "@/views/workflow/components/tdytTable";
// import the component
// import Treeselect from '@riophae/vue-treeselect'
// // import the styles
// import '@riophae/vue-treeselect/dist/vue-treeselect.css'
export default {
components: { qlrCommonTable, tdytTable, selectTable },
computed: {
......@@ -436,7 +432,11 @@
disabled: true,
czrOptions: [],
ssQlxxList: [],
ruleForm: {},
ruleForm: {
fdcq2: {
ftjzmj: ''
}
},
ableOperation: false,
//传递参数\
rules: {
......
......@@ -403,7 +403,7 @@ export default {
djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
},
};
},
......
......@@ -325,103 +325,25 @@ export default {
* @author: renchao
*/
sendToNext (obj) {
const h = this.$createElement;
this.$msgbox({
title: "您确定转出吗?",
message: h("div", { style: "margin: auto" }, [
h("span", null, "下个环节名称:"),
h("i", { style: "color: teal" }, obj.taskName),
h("div", null, ""),
h("span", null, "下个环节经办人: "),
h("i", { style: "color: teal" }, obj.usernames.join(",")),
]),
showCancelButton: true,
beforeClose: (action, instance, done) => {
if (action === "confirm") {
instance.confirmButtonLoading = true;
instance.confirmButtonText = "执行中...";
completeTask({
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:obj,
bsmSlsq: this.bsmSlsq,
shyj: "this.bestepid",
stepform: JSON.stringify(this.tabList),
}).then((res) => {
if (res.code === 200) {
instance.confirmButtonLoading = false;
this.$message.success("转件成功");
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit("input", false);
} else {
instance.confirmButtonLoading = false;
instance.confirmButtonText = "确定";
this.$message.error(res.message);
}
});
} else {
done();
}
},
}).then((action) => {
this.$message({
type: "info",
message: "action: " + action,
});
});
tabList: this.tabList
}, '800px', true)
},
//转出最后一个流程
/**
* @description: sendToEnd
* @description: 转出最后一个流程
* @author: renchao
*/
sendToEnd () {
let that = this
const h = this.$createElement;
this.$msgbox({
title: "您确定转出吗?",
message: "此环节为流程最后环节,转出后流程将结束",
showCancelButton: true,
beforeClose: (action, instance, done) => {
if (action === "confirm") {
instance.confirmButtonLoading = true;
instance.confirmButtonText = "执行中...";
completeTask({
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:"",
bsmSlsq: this.bsmSlsq,
shyj: "this.bestepid",
stepform: JSON.stringify(this.tabList),
}).then((res) => {
if (res.code === 200) {
instance.confirmButtonLoading = false;
that.$message.success("转件成功");
localStorage.setItem('transfer', true)
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
that.$emit("input", false);
} else {
instance.confirmButtonLoading = false;
instance.confirmButtonText = "确定";
this.$message.error(res.message);
}
})
} else {
done();
}
},
}).then((action) => {
this.$message({
type: "info",
message: "action: " + action
})
})
tabList: this.tabList
}, '800px', true)
},
//批量操作
/**
* @description: 批量操作
......
......@@ -154,18 +154,10 @@
}
})
}
});
});
}
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
......
......@@ -27,6 +27,10 @@
}
},
methods: {
/**
* @description: pushRecord
* @author: renchao
*/
pushRecord () {
this.$startLoading()
push(this.formData).then((res) => {
......
......@@ -65,6 +65,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
list({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -76,6 +80,11 @@
}
});
},
/**
* @description: openDialog
* @param {*} scroll
* @author: renchao
*/
openDialog (scroll) {
const h = this.$createElement;
this.$msgbox({
......@@ -97,6 +106,11 @@
}
}).then(action => { });
},
/**
* @description: detail
* @param {*} row
* @author: renchao
*/
detail (row) {
detail(row.bsm).then((res) => {
this.$endLoading()
......
......@@ -130,6 +130,10 @@ export default {
}
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.activeStep = 0;
......@@ -142,6 +146,10 @@ export default {
}
},
//加载详细信息
/**
* @description: 加载详细信息
* @author: renchao
*/
loadData () {
this.$startLoading();
getFwmxInfo({ sqcxBsm: this.sqcxBsm }).then((res) => {
......@@ -156,6 +164,10 @@ export default {
});
},
//查询结果
/**
* @description: 查询结果
* @author: renchao
*/
queryChick () {
this.$startLoading();
this.activeStep = 1;
......@@ -172,6 +184,10 @@ export default {
});
},
//重置
/**
* @description: 重置
* @author: renchao
*/
resetClick () {
this.form.djSqcxDO = { ycqrgx: "1", cxyt: "",bdcqzh: "" };
this.form.sqrList = _.cloneDeep([this.newData]);
......@@ -180,8 +196,17 @@ export default {
this.form.dyjlList = [];
this.isSearch = false;
},
/**
* @description: handleRead
* @author: renchao
*/
handleRead (scope) { },
//添加申请人或权利人
/**
* @description: 添加申请人或权利人
* @param {*} type
* @author: renchao
*/
add (type) {
if (type == "sqr") {
this.form.sqrList.push(_.cloneDeep(this.newData));
......@@ -190,6 +215,13 @@ export default {
}
},
//移除申请人或权利人
/**
* @description: 移除申请人或权利人
* @param {*} index
* @param {*} row
* @param {*} type
* @author: renchao
*/
remove (index, row, type) {
if (type == "sqr") {
this.form.sqrList.splice(index, 1);
......@@ -198,6 +230,11 @@ export default {
}
},
//电话号码校验
/**
* @description: 电话号码校验
* @param {*} row
* @author: renchao
*/
teltest (row) {
const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/;
if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) {
......
......@@ -74,9 +74,18 @@ export default {
}
},
methods: {
/**
* @description: setResult
* @param {*} data
* @author: renchao
*/
setResult(data){
this.resultData = data
},
/**
* @description: getDetailInfo
* @author: renchao
*/
getDetailInfo(){
this.$startLoading();
getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
......
......@@ -78,6 +78,10 @@ export default {
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -89,14 +93,29 @@ export default {
}
});
},
/**
* @description: dydjbClick
* @param {*} scope
* @author: renchao
*/
dydjbClick (scope) {
this.$popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
bsmSqcx: scope.row.bsmSqcx,
})
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
/**
* @description: openAddDialog
* @author: renchao
*/
openAddDialog () {
this.isDialog = true
this.sqcxBsm = ''
......
......@@ -324,9 +324,18 @@
},
methods: {
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData (val) {
return store.getters.dictData[val]
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.form = {
......@@ -338,6 +347,10 @@
}
},
//加载详细信息
/**
* @description: 加载详细信息
* @author: renchao
*/
loadData () {
this.$startLoading();
getJtfcInfo({ sqcxBsm: this.formData.sqcxBsm }).then((res) => {
......@@ -350,6 +363,10 @@
});
},
//查询结果
/**
* @description: 查询结果
* @author: renchao
*/
queryChick () {
this.$startLoading();
addJtfcCxjgXx(this.form).then((res) => {
......@@ -362,6 +379,10 @@
});
},
//重置
/**
* @description: 重置
* @author: renchao
*/
resetClick () {
this.form.djSqcxDO = { ycqrgx: "1", cxyt: "" };
this.form.sqrList = _.cloneDeep([this.newData]);
......@@ -370,6 +391,12 @@
this.form.dyjlList = [];
this.isSearch = false;
},
/**
* @description: handleRead
* @param {*} row
* @param {*} type
* @author: renchao
*/
handleRead (row, type) {
getIdCardInfo().then(res => {
if (res.data.code == 0) {
......@@ -393,13 +420,28 @@
})
},
//添加申请人
/**
* @description: 添加申请人
* @author: renchao
*/
handleAddsqr () {
this.form.sqrList.push(_.cloneDeep(this.newData));
},
/**
* @description: handleAddqlr
* @author: renchao
*/
handleAddqlr () {
this.form.qlrList.push(_.cloneDeep(this.newData));
},
//移除申请人或权利人
/**
* @description: 移除申请人或权利人
* @param {*} index
* @param {*} row
* @param {*} type
* @author: renchao
*/
remove (index, row, type) {
console.log(type, 'type');
if (type == "sqr") {
......@@ -409,6 +451,11 @@
}
},
//电话号码校验
/**
* @description: 电话号码校验
* @param {*} row
* @author: renchao
*/
teltest (row) {
const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/;
if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) {
......@@ -420,6 +467,10 @@
}
},
//打印
/**
* @description: 打印
* @author: renchao
*/
printResult () {
this.openPrintPrew();
var formdata = new FormData();
......@@ -432,6 +483,10 @@
});
},
//打开打印预览
/**
* @description: 打开打印预览
* @author: renchao
*/
openPrintPrew () {
let lodop = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
// 获取页面的HTML内容
......
......@@ -83,14 +83,29 @@
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
/**
* @description: handleAdd
* @author: renchao
*/
handleAdd () {
this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", {
sqcxBsm: ''
})
},
/**
* @description: handleAdd
* @param {*} row
* @author: renchao
*/
handleViewClick (row) {
this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", {
sqcxBsm: row.bsmSqcx
......
......@@ -92,6 +92,10 @@ export default {
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -103,10 +107,21 @@ export default {
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 查看
/**
* @description: 查看
* @param {*} scope
* @author: renchao
*/
handleViewClick (scope) {
this.$popupDialog("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
sqcxBsm: scope.row.bsmSqcx
......
......@@ -203,6 +203,12 @@
},
methods: {
// 添加索引
/**
* @description: 添加索引
* @param {*} data
* @param {*} isAdd
* @author: renchao
*/
addIndexes (data = this.tableData, isAdd = true) {
data.forEach((item, index) => {
if (index == 0) {
......@@ -224,6 +230,10 @@
}
})
},
/**
* @description: itemShowFalse
* @author: renchao
*/
itemShowFalse () {
this.tableData.forEach((item, index) => {
item.codeShow = false
......@@ -232,6 +242,12 @@
item.normnameShow = false
})
},
/**
* @description: handleMinus
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleMinus (index, row) {
this.$confirm('此操作将永久删除, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -250,6 +266,10 @@
})
})
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.$startLoading();
editDictNode({
......@@ -268,6 +288,11 @@
})
},
// 增加下级
/**
* @description: 增加下级
* @param {*} row
* @author: renchao
*/
handleAddSubordinate (row) {
if (!row.children) {
row.children = []
......@@ -287,6 +312,10 @@
this.keyList.push(row.bsmDict)
},
// 增加
/**
* @description: 增加
* @author: renchao
*/
handleAdd () {
this.$nextTick(() => {
let container = this.$el.querySelector('.el-table__body-wrapper');
......@@ -307,12 +336,24 @@
this.key++
},
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
realMove(row.bsmDict, 'UP', this.tableData)
this.key++
let id = findParents(this.tableData, row.bsmDict)
this.keyList = id
},
/**
* @description: moveDown
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
realMove(row.bsmDict, 'DOWN', this.tableData)
this.key++
......
......@@ -71,6 +71,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
......@@ -80,6 +84,10 @@
this.tableData.total = total ? total : 0
})
},
/**
* @description: handleRefresh
* @author: renchao
*/
handleRefresh () {
this.$confirm('是否确认刷新', '提示', {
confirmButtonText: '确定',
......@@ -107,6 +115,12 @@
});
},
// 修改
/**
* @description: 修改
* @param {*} row
* @param {*} val
* @author: renchao
*/
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
......
......@@ -84,6 +84,10 @@
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
if (this.loadStatus == '1') {
return this.$message.error("模板设计保存中,请等待...")
......@@ -101,6 +105,10 @@
});
},
//新增
/**
* @description: 新增
* @author: renchao
*/
addTemplate () {
addPrintTemplate(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -113,6 +121,10 @@
})
},
//编辑
/**
* @description: 编辑
* @author: renchao
*/
editTemplate () {
editPrintTemplate(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -124,6 +136,10 @@
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.ruleForm = {
......@@ -136,11 +152,20 @@
this.loadStatus = '0'
this.editFlag = false;
},
/**
* @description: getDetailInfo
* @param {*} row
* @author: renchao
*/
getDetailInfo (item) {
this.ruleForm = item;
this.editFlag = true;
},
//设计打印模板
/**
* @description: 设计打印模板
* @author: renchao
*/
designByPRGData () {
let that = this;
that.loadStatus = '1';
......
......@@ -63,6 +63,10 @@
}
},
methods: {
/**
* @description: fetchData
* @author: renchao
*/
fetchData () {
selectPrintTemplateList({ ...this.pageData }).then(res => {
if (res.code == 200) {
......@@ -73,14 +77,28 @@
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @author: renchao
*/
openAddDialog () {
this.$popupDialog("新增打印模板", "system/dymbgl/components/editDialog", {}, "35%")
},
//打开编辑弹窗
/**
* @description: 打开编辑弹窗
* @param {*} item
* @author: renchao
*/
openEditDialog (item) {
this.$popupDialog("编辑打印模板", "system/dymbgl/components/editDialog", item, "35%")
},
//删除数据
/**
* @description: 删除数据
* @param {*} item
* @author: renchao
*/
removeTemplate (item) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......
......@@ -53,6 +53,10 @@
},
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
let that = this;
that.$refs.ruleForm.validate(valid => {
......@@ -74,18 +78,35 @@
});
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.resetRuleForm();
},
//
/**
* @description: resetRuleForm
* @author: renchao
*/
resetRuleForm () {
this.$refs['ruleForm'].resetFields();
this.ruleForm.noticeType = '2'
},
/**
* @description: beforeUpload
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
async handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......
......@@ -63,6 +63,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysPolicyList({ ...this.ruleForm, ...this.pageData }, { 'target': '#flfgLoading' }).then(res => {
......@@ -75,14 +79,28 @@
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @author: renchao
*/
openDialog () {
this.isDialog = true;
},
/**
* @description: downloadFile
* @param {*} item
* @author: renchao
*/
downloadFile (item) {
const href = item.noticeFileUrl
window.open(href, '_blank');
},
//删除
/**
* @description: 删除
* @param {*} item
* @author: renchao
*/
delNotice (item) {
this.$confirm('是否确定删除', '提示', {
confirmButtonText: '确定',
......
......@@ -205,9 +205,18 @@
}
},
methods: {
/**
* @description: handleSelect
* @param {*} index
* @author: renchao
*/
handleSelect (index) {
this.n = index
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
let that = this
updateSysSqywmbsz(this.ruleForm).then(res => {
......
......@@ -65,6 +65,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => {
......@@ -74,6 +78,11 @@
this.tableData.total = total ? total : 0
})
},
/**
* @description: editClick
* @param {*} row
* @author: renchao
*/
editClick (row) {
this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%')
}
......
......@@ -181,6 +181,10 @@
},
},
methods: {
/**
* @description: handleAdd
* @author: renchao
*/
handleAdd () {
this.tableData.push(
{
......@@ -194,11 +198,22 @@
)
this.key++
},
/**
* @description: handleSelectGgcl
* @param {*} item
* @author: renchao
*/
handleSelectGgcl (item) {
if (item.sfggcl == '1') {
item.djqxbm = ''
}
},
/**
* @description: handleMinus
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleMinus (index, row) {
this.$confirm('此操作将永久删除, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -218,9 +233,21 @@
});
},
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
upward(index, this.tableData)
},
/**
* @description: moveDown
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
down(index, this.tableData)
},
......
......@@ -181,6 +181,12 @@
},
methods: {
// 添加索引
/**
* @description: 添加索引
* @param {*} data
* @param {*} isAdd
* @author: renchao
*/
addIndexes (data = this.tableData, isAdd = true) {
data.forEach((item, index) => {
if (isAdd) {
......@@ -188,6 +194,10 @@
}
})
},
/**
* @description: handleAdd
* @author: renchao
*/
handleAdd () {
this.$nextTick(() => {
let container = this.$el.querySelector('.el-table__body-wrapper');
......@@ -205,6 +215,12 @@
this.addIndexes()
this.key++
},
/**
* @description: handleMinus
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleMinus (index, row) {
this.$confirm('此操作将永久删除, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -223,6 +239,12 @@
});
});
},
/**
* @description: nodecodeBlur
* @param {*} index
* @param {*} row
* @author: renchao
*/
nodecodeBlur (index, row) {
let list = _.cloneDeep(this.tableData).filter(item => item.bsmSqyw != row.bsmSqyw)
let arr = list.map(item => item.nodecode)
......@@ -234,10 +256,22 @@
}
},
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
upward(index, this.tableData)
this.key++
},
/**
* @description: moveDown
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
down(index, this.tableData)
this.key++
......
......@@ -89,16 +89,29 @@
},
},
methods: {
/**
* @description: handleSelect
* @param {*} item
* @author: renchao
*/
handleSelect (item) {
if (item.checked) {
item.selected = '0'
}
},
/**
* @description: handleSelectall
* @author: renchao
*/
handleSelectall () {
this.dataList.sxql.forEach(item => {
item.checked = true
})
},
/**
* @description: handleInvert
* @author: renchao
*/
handleInvert () {
this.dataList.sxql.forEach(item => {
item.checked = false
......
......@@ -232,6 +232,11 @@
};
},
methods: {
/**
* @description: getSqdjywDetail
* @param {*} bsmSqyw
* @author: renchao
*/
getSqdjywDetail (bsmSqyw) {
getSqdjywDetail(bsmSqyw).then(res => {
this.subData = res.result
......@@ -239,23 +244,44 @@
this.ruleForm = ywDetail
})
},
/**
* @description: handleTitleSelct
* @param {*} obj
* @param {*} index
* @author: renchao
*/
handleTitleSelct (obj, index) {
this.n = 0
this.tn = index
this.getSqdjywDetail(obj.bsmSqyw)
},
/**
* @description: getDjqxValue
* @param {*} val
* @author: renchao
*/
getDjqxValue (val) {
if (!_.isEqual(val.djqx, this.subData.djqx)) {
this.subData.djqx = val.djqx
this.btnDisabled = val.btnDisabled
}
},
/**
* @description: getClgzValue
* @param {*} val
* @author: renchao
*/
getClgzValue (val) {
if (!_.isEqual(val, this.subData.clxx)) {
this.subData.clxx = val
}
},
// 单元状态设定
/**
* @description: 单元状态设定
* @param {*} val
* @author: renchao
*/
getDyztsdValue (val) {
if (!_.isEqual(val.sxql, this.subData.sxql)) {
this.subData.sxql = val.sxql
......@@ -264,6 +290,10 @@
this.subData.sxzt = val.sxzt
}
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$refs['ruleForm'].validate(async (valid) => {
let that = this
......@@ -284,12 +314,26 @@
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit('input', false)
},
/**
* @description: hanldeItem
* @param {*} index
* @author: renchao
*/
hanldeItem (index) {
this.n = index
},
/**
* @description: uploadRecord
* @param {*} file
* @author: renchao
*/
uploadRecord (file) {
this.requested = true
this.files = file;
......@@ -306,6 +350,11 @@
}
return (extension || extension2) && isLt5M
},
/**
* @description: handleSuccess
* @param {*} res
* @author: renchao
*/
handleSuccess (res) {
if (res.code === 200) {
this.requested = false
......
......@@ -177,6 +177,10 @@
},
methods: {
//页面初始化
/**
* @description: 页面初始化
* @author: renchao
*/
init () {
this.tn = 0;
getDjlxInfo(this.formData.bsmSqyw).then((res) => {
......@@ -189,9 +193,18 @@
}
})
},
/**
* @description: orderNoChange
* @author: renchao
*/
orderNoChange () {
this.$forceUpdate();
},
/**
* @description: uploadRecord
* @param {*} file
* @author: renchao
*/
uploadRecord (file) {
this.requested = true
this.files = file;
......@@ -208,14 +221,29 @@
}
return (extension || extension2) && isLt5M
},
/**
* @description: handleSuccess
* @author: renchao
*/
handleSuccess () { },
//tab选项卡事件
/**
* @description: tab选项卡事件
* @param {*} obj
* @param {*} index
* @author: renchao
*/
handleTitleSelct (obj, index) {
this.n = 0;
this.tn = index;
this.getDetail(this.djlxList[index].bsmSqyw);
},
//获取业务具体明细内容
/**
* @description: 获取业务具体明细内容
* @param {*} bsmSqyw
* @author: renchao
*/
getDetail (bsmSqyw) {
let _this = this
getSqdjywDetail(bsmSqyw).then((res) => {
......@@ -233,6 +261,10 @@
})
},
//提交保存数据
/**
* @description: 提交保存数据
* @author: renchao
*/
submit () {
let that = this;
saveSqdjyw(this.form).then((res) => {
......@@ -246,6 +278,13 @@
})
},
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} row
* @param {*} type
* @author: renchao
*/
moveUpward (index, row, type) {
if (type == "clxx") {
upward(index, this.form.clxx);
......@@ -253,6 +292,13 @@
upward(index, this.form.djqx);
}
},
/**
* @description: moveDown
* @param {*} index
* @param {*} row
* @param {*} type
* @author: renchao
*/
moveDown (index, row, type) {
if (type == "clxx") {
down(index, this.form.clxx);
......@@ -260,6 +306,10 @@
down(index, this.form.djqx);
}
},
/**
* @description: addDjqx
* @author: renchao
*/
addDjqx () {
this.form.djqx.push({
nodecode: "",
......@@ -269,9 +319,19 @@
sfqydjyymb: "0",
});
},
/**
* @description: removeDjqx
* @param {*} index
* @param {*} row
* @author: renchao
*/
removeDjqx (index, row) {
this.form.djqx.splice(index, 1);
},
/**
* @description: addClxx
* @author: renchao
*/
addClxx () {
this.form.clxx.push({
isrequired: "1",
......@@ -282,6 +342,12 @@
sfggcl: "1",
});
},
/**
* @description: removeClxx
* @param {*} index
* @param {*} row
* @author: renchao
*/
removeClxx (index, row) {
this.form.clxx.splice(index, 1);
}
......
......@@ -78,6 +78,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(
......@@ -92,6 +96,11 @@
);
},
// 修改
/**
* @description: 修改
* @param {*} row
* @author: renchao
*/
editClick (row) {
this.sqqlRule = row;
// this.dialogVisible = true;
......
......@@ -156,6 +156,10 @@ export default {
}
},
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
let that = this;
that.$refs.ruleForm.validate(valid => {
......@@ -171,11 +175,19 @@ export default {
});
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.resetRuleForm();
},
//新增通知
/**
* @description: 新增通知
* @author: renchao
*/
addNotice () {
// 解决报错
// this.ruleForm.noticeType = "1"
......@@ -191,6 +203,10 @@ export default {
});
},
//编辑通知
/**
* @description: 编辑通知
* @author: renchao
*/
editNotice () {
updateSysNotice(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -204,6 +220,10 @@ export default {
});
},
//重置表单
/**
* @description: 重置表单
* @author: renchao
*/
resetRuleForm () {
this.ruleForm = {
noticeTitle: "",
......@@ -214,10 +234,20 @@ export default {
noticeType: "1"
}
},
/**
* @description: beforeUpload
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
},
//附件上传事件
/**
* @description: 附件上传事件
* @param {*} file
* @author: renchao
*/
async handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......@@ -226,16 +256,36 @@ export default {
});
},
//富文本图片上传事件
/**
* @description: 富文本图片上传事件
* @param {*} file
* @author: renchao
*/
RichTexthandleChange (file) {
this.uploadPicture(file.raw)
},
//图片粘贴事件
/**
* @description: 图片粘贴事件
* @param {*} file
* @author: renchao
*/
clipboardPictureChange (file) {
this.uploadPicture(file)
},
/**
* @description: getDetailInfo
* @param {*} item
* @author: renchao
*/
getDetailInfo (item) {
this.ruleForm = item
},
/**
* @description: uploadPicture
* @param {*} file
* @author: renchao
*/
uploadPicture (file) {
let that = this;
var formdata = new FormData();
......@@ -252,22 +302,48 @@ export default {
quill.setSelection(length + 1);
});
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
//console.log("submit!");
},
// 失去焦点事件
/**
* @description: 失去焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorBlur (quill) {
//console.log("editor blur!", quill);
},
// 获得焦点事件
/**
* @description: 获得焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorFocus (quill) {
//console.log("editor focus!", quill);
},
// 准备富文本编辑器
/**
* @description: 准备富文本编辑器
* @param {*} quill
* @author: renchao
*/
onEditorReady (quill) {
//console.log("editor ready!", quill);
},
// 内容改变事件
/**
* @description: 内容改变事件
* @param {*} quill
* @param {*} html
* @param {*} text
* @author: renchao
*/
onEditorChange ({ quill, html, text }) {
//console.log("editor change!", quill, html, text);
//this.content = html;
......
......@@ -72,6 +72,10 @@ export default {
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => {
......@@ -84,6 +88,11 @@ export default {
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
* @author: renchao
*/
openDialog (item) {
if (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": false }, "50%")
......
......@@ -60,6 +60,10 @@ export default {
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => {
......@@ -72,6 +76,11 @@ export default {
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$nextTick(() => {
this.isButtonFlag = false;
......@@ -91,6 +100,10 @@ export default {
}
},
//一键已读
/**
* @description: 一键已读
* @author: renchao
*/
toReadAll () {
setAllRead().then(res => {
if (res.code == 200) {
......@@ -101,6 +114,11 @@ export default {
}
})
},
/**
* @description: downloadFile
* @param {*} item
* @author: renchao
*/
downloadFile (item) {
const href = item.noticeFileUrl
window.open(href, '_blank');
......
......@@ -136,6 +136,11 @@
}
},
methods: {
/**
* @description: updateDetail
* @param {*} value
* @author: renchao
*/
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.key++
......@@ -143,19 +148,39 @@
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
this.dialog = true
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick () { },
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
......@@ -163,6 +188,10 @@
this.details = row
},
/**
* @description: queryViewClick
* @author: renchao
*/
queryViewClick () {
this.dialog = true
}
......
......@@ -178,10 +178,18 @@
}
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$emit("input", false);
this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
......
......@@ -53,6 +53,10 @@
},
methods: {
// 批量删除确定按钮
/**
* @description: 批量删除确定按钮
* @author: renchao
*/
submitdelclick () {
var formdata = new FormData();
formdata.append("bsmSldyList", this.selectBdcdy);
......@@ -68,6 +72,11 @@
})
},
// 批量删除勾选事件
/**
* @description: 批量删除勾选事件
* @param {*} e
* @author: renchao
*/
handleSelectionChange (e) {
this.selectBdcdy = [];
e.forEach((item, index) => {
......
......@@ -221,6 +221,10 @@
},
methods: {
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview () {
if (this.treeCheckIndex < this.tableData.length) {
this.treeCheckIndex++
......@@ -230,6 +234,10 @@
this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview () {
if (this.treeCheckIndex >= 1) {
this.treeCheckIndex--
......@@ -240,6 +248,10 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -265,6 +277,11 @@
})
})
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
let that = this
if (val != null) { //删除最后一张图片时 val=null
......@@ -289,14 +306,29 @@
},
// 左侧菜单点击
/**
* @description: 左侧菜单点击
* @param {*} item
* @author: renchao
*/
menuClick (item) {
this.checkedId = item.id
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -317,6 +349,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -337,6 +375,11 @@
})
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -359,6 +402,12 @@
});
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -383,6 +432,12 @@
})
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick (item, index) {
this.previewImg.index = 0
this.treeCheckId = item?.bsmSj
......@@ -391,11 +446,23 @@
this.previewImg.bsmSj = item?.bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......
......@@ -74,6 +74,10 @@
},
methods: {
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview () {
if (this.treeCheckIndex < this.tableData.length) {
this.treeCheckIndex++
......@@ -83,6 +87,10 @@
this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview () {
if (this.treeCheckIndex >= 1) {
this.treeCheckIndex--
......@@ -93,6 +101,11 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @param {*} type
* @author: renchao
*/
clmlInitList (type) {
//type 1:列表初始化 2:新增材料
return new Promise(resolve => {
......@@ -118,6 +131,11 @@
})
})
},
/**
* @description: setChecked
* @param {*} item
* @author: renchao
*/
setChecked (item) {
this.treeCheckId = item.bsmSj;
this.title = item.sjmc;
......@@ -126,6 +144,11 @@
this.previewImg.imgList = item.children;
this.previewImg.bsmSj = item.bsmSj;
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
let that = this
if (val.children.length != []) { //删除最后一张图片时 val=null
......@@ -149,10 +172,19 @@
}
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -175,6 +207,12 @@
});
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick (item, index) {
this.previewImg.index = 0
this.treeCheckId = item?.bsmSj
......@@ -183,11 +221,23 @@
this.previewImg.bsmSj = item?.bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......
......@@ -198,10 +198,18 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.$refs["ruleForm"].resetFields();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -60,6 +60,10 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.ruleForm = {
......@@ -67,6 +71,10 @@
clmc: "",
}
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
debugger
this.$refs['ruleForm'].validate((valid) => {
......
......@@ -152,6 +152,10 @@
},
methods: {
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -173,6 +177,12 @@
})
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -196,6 +206,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -218,6 +234,12 @@
})
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -245,6 +267,12 @@
})
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = store.getters.dictData[code],
name = "暂无";
......
......@@ -81,12 +81,20 @@
this.getList()
},
methods: {
/**
* @description: getList
* @author: renchao
*/
getList () {
getUserCommonOpinion().then(res => {
this.tableData.data = res.result
})
},
//新增常用意见
/**
* @description: 新增常用意见
* @author: renchao
*/
addOpinion () {
this.$refs.form.validate(valid => {
if (valid) {
......@@ -105,23 +113,46 @@
});
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @author: renchao
*/
openDialog () {
this.addDialog = true
},
//关闭新增弹窗
/**
* @description: 关闭新增弹窗
* @author: renchao
*/
closeaddDiglog () {
this.addDialog = false
this.$refs['form'].resetFields();
},
/**
* @description: handleRowClick
* @param {*} item
* @author: renchao
*/
handleRowClick (item) {
this.useCommonOpinion(item)
},
//使用常用意见
/**
* @description: 使用常用意见
* @param {*} item
* @author: renchao
*/
useCommonOpinion (item) {
store.dispatch('workflow/setOptions', item.opinion);
this.$popupCacel()
},
//删除常用意见
/**
* @description: 删除常用意见
* @param {*} item
* @author: renchao
*/
deleteOpinion (item) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -145,6 +176,10 @@
});
},
//关闭列表弹窗
/**
* @description: 关闭列表弹窗
* @author: renchao
*/
closeDialog () {
this.form.commonOpinion = "";
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-12 16:33:18
* @LastEditTime: 2023-07-21 13:43:52
-->
<template>
<div class='dblistDialog'>
......@@ -11,7 +11,6 @@
height="200">
<el-table-column
prop="ywh"
width="110"
label="业务号">
</el-table-column>
<el-table-column
......
......@@ -43,6 +43,10 @@
this.query()
},
methods: {
/**
* @description: query
* @author: renchao
*/
query () {
getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => {
if (res.code == 200) {
......
......@@ -78,6 +78,10 @@
},
methods: {
//获取印刷序列号列表
/**
* @description: 获取印刷序列号列表
* @author: renchao
*/
ysxlhList () {
readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => {
if (res.code === 200) {
......@@ -86,6 +90,10 @@
})
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz () {
this.loading = true
getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
......@@ -99,6 +107,10 @@
})
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage () {
const canvas = this.$refs.zs;
const context = canvas.getContext('2d');
......@@ -146,10 +158,18 @@
}
image.src = this.imgSrc
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.savePrintRecord()
},
//保存打印记录
/**
* @description: 保存打印记录
* @author: renchao
*/
savePrintRecord () {
this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz;
this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx;
......
......@@ -115,6 +115,10 @@
},
methods: {
//列表初始化
/**
* @description: 列表初始化
* @author: renchao
*/
loadGrid () {
getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
if (res.code === 200) {
......@@ -126,12 +130,26 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
this.ruleForm.bdcqzList = val
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
this.$refs.table.toggleRowSelection(row)
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.$refs.ruleForm.validate(valid => {
......
......@@ -69,11 +69,20 @@
},
methods: {
//获取证书内容
/**
* @description: 获取证书内容
* @param {*} code
* @author: renchao
*/
getRowValue (code) {
var value = this.bdcqz[code];
return value;
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz () {
this.loading = true
getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
......@@ -94,6 +103,11 @@
})
},
//tab表头切换方法
/**
* @description: tab表头切换方法
* @param {*} e
* @author: renchao
*/
handleClick (e) {
this.bdcqz = this.headTabBdcqz[e.index - 0]
this.activeName = this.headTabBdcqz.bsmBdcqz
......@@ -104,6 +118,10 @@
}
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage () {
const canvas = this.$refs.zs;
const context = canvas.getContext('2d');
......@@ -152,6 +170,10 @@
image.src = this.imgSrc
},
// 不动产证明
/**
* @description: 不动产证明
* @author: renchao
*/
drawTextzmImage () {
const canvas = this.$refs.zm;
const context = canvas.getContext('2d');
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 15:55:45
* @LastEditTime: 2023-07-20 16:58:04
-->
<template>
<div class="from-clues">
......@@ -24,7 +24,7 @@
<el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" class="btnColRight">
<el-col :span="6" class="btnColRight" v-if="ableOperation">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button>
......@@ -47,6 +47,8 @@
mixins: [table],
data () {
return {
//表单是否可操作
ableOperation: true,
ruleForm: {
ysxlh: '',
zsh: '',
......@@ -61,7 +63,14 @@
dialogVisible: false
}
},
created () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
getCertificateList(this.ruleForm).then(res => {
......
......@@ -78,6 +78,10 @@
},
methods: {
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -103,6 +107,10 @@
})
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
*/
judgeBatchShow () {
this.showBatch = false;
if (this.unitData.length > 1) {
......@@ -164,14 +172,22 @@
});
},
//批量按钮点击事件
/**
* @description: 批量按钮点击事件
* @author: renchao
*/
batchUnitClick () {
debugger
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.$parent.stepForm();
// this.activeIndex = "-1";
this.$parent.stepForm(0);
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
bsmSlsq: this.bsmSlsq,
......@@ -179,7 +195,13 @@
}, '50%', true)
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick (index) {
if(this.unitData.length==0) return
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
......
......@@ -95,6 +95,10 @@
},
methods: {
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -120,6 +124,10 @@
})
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
*/
judgeBatchShow () {
this.showBatch = false;
if (this.afterUnitData.length > 1) {
......@@ -169,13 +177,24 @@
});
});
},
//批量按钮点击事件
/**
* @description: 批量按钮点击事件
* @author: renchao
*/
batchUnitClick () {
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.$parent.stepForm();
// this.activeIndex = "-1";
this.$parent.stepForm(0);
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick (index) {
this.activeHIndex = '-1'
this.currentSelectProps = this.aroundUnitData[index];
......@@ -186,6 +205,11 @@
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.$parent.stepForm(index);
},
/**
* @description: handleAfterunitClick
* @param {*} index
* @author: renchao
*/
handleAfterunitClick (index) {
this.activeIndex = '-1'
this.currentSelectProps = this.afterUnitData[index];
......
......@@ -242,6 +242,12 @@ export default {
this.clearViewer();
},
methods: {
/**
* @description: formatDate
* @param {*} row
* @param {*} column
* @author: renchao
*/
formatDate(row, column) {
let data = row[column.property];
if (data == null) {
......@@ -262,10 +268,19 @@ export default {
dt.getSeconds()
);
},
/**
* @description: processReZoom
* @author: renchao
*/
processReZoom() {
this.defaultZoom = 1;
this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto");
},
/**
* @description: processZoomIn
* @param {*} zoomStep
* @author: renchao
*/
processZoomIn(zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100;
if (newZoom > 4) {
......@@ -276,6 +291,11 @@ export default {
this.defaultZoom = newZoom;
this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
},
/**
* @description: processZoomOut
* @param {*} zoomStep
* @author: renchao
*/
processZoomOut(zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100;
if (newZoom < 0.2) {
......@@ -286,10 +306,20 @@ export default {
this.defaultZoom = newZoom;
this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
},
/**
* @description: getOperationTagType
* @param {*} type
* @author: renchao
*/
getOperationTagType(type) {
return "success";
},
// 流程图预览清空
/**
* @description: 流程图预览清空
* @param {*} e
* @author: renchao
*/
clearViewer(a) {
if (this.$refs.processCanvas) {
this.$refs.processCanvas.innerHTML = "";
......@@ -300,6 +330,10 @@ export default {
this.bpmnViewer = null;
},
// 添加自定义箭头
/**
* @description: 添加自定义箭头
* @author: renchao
*/
addCustomDefs() {
const canvas = this.bpmnViewer.get("canvas");
const svg = canvas._svg;
......@@ -309,6 +343,11 @@ export default {
svg.appendChild(customFailDefs);
},
// 任务悬浮弹窗
/**
* @description: 任务悬浮弹窗
* @param {*} element
* @author: renchao
*/
onSelectElement(element) {
this.selectTaskId = undefined;
this.dlgTitle = undefined;
......@@ -334,6 +373,11 @@ export default {
}
},
// 下拉列表切换
/**
* @description: 下拉列表切换
* @param {*} val
* @author: renchao
*/
handleSelect(val) {
this.taskCommentList = (this.taskList || []).filter((item) => {
return item.taskDefinitionKey === val;
......@@ -343,6 +387,11 @@ export default {
}
},
// 显示流程图
/**
* @description: 显示流程图
* @param {*} xml
* @author: renchao
*/
async importXML(xml) {
let xmlData = this.$x2js.xml2js(xml).definitions.process;
this.selectOptions = xmlData.userTask.map((item) => {
......@@ -394,6 +443,10 @@ export default {
}
},
// 获取流程记录
/**
* @description: 获取流程记录
* @author: renchao
*/
getCommentList() {
this.formData.allCommentList.forEach(async (item, index) => {
// item.comments.forEach(element => {
......@@ -455,6 +508,11 @@ export default {
},
// 设置流程图元素状态
/**
* @description: 设置流程图元素状态
* @param {*} processNodeInfo
* @author: renchao
*/
setProcessStatus(processNodeInfo) {
this.processNodeInfo = processNodeInfo;
if (
......
......@@ -161,6 +161,11 @@
}
},
methods: {
/**
* @description: handleupdateDetail
* @param {*} value
* @author: renchao
*/
handleupdateDetail (value) {
if (this.isaddupdate) {
if (!_.isEqual(value, this.tableData)) {
......@@ -176,6 +181,10 @@
this.key++
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
if (this.gyfs == '0' && this.tableDataList.length > 0) {
this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
......@@ -186,6 +195,12 @@
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -198,6 +213,11 @@
},
// 身份证读取
/**
* @description: 身份证读取
* @param {*} row
* @author: renchao
*/
readClick (row) {
getIdCardInfo().then(res => {
if (res.data.code == 0) {
......@@ -221,12 +241,24 @@
})
},
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick (index, row) {
this.dataIndex = index
this.dialog = true
this.details = row
this.isaddupdate = false
},
/**
* @description: queryViewClick
* @param {*} index
* @param {*} row
* @author: renchao
*/
queryViewClick (index, row) {
this.dialog = true
this.details = row
......
......@@ -88,6 +88,10 @@
},
methods: {
//审批意见数据初始化
/**
* @description: 审批意见数据初始化
* @author: renchao
*/
list () {
let that = this
this.$startLoading()
......@@ -105,6 +109,10 @@
}
})
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.ruleForm.bsmSlsq = this.bsmSlsq
this.ruleForm.bestepid = this.bestepid
......@@ -118,10 +126,18 @@
})
},
//打开常用意见列表弹窗
/**
* @description: 打开常用意见列表弹窗
* @author: renchao
*/
commonOpinion () {
this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true)
},
//使用常用意见
/**
* @description: 使用常用意见
* @author: renchao
*/
useOpinion (opinion) {
this.ruleForm.shyj = opinion
}
......
......@@ -130,28 +130,57 @@
}
},
methods: {
/**
* @description: updateDetail
* @param {*} value
* @author: renchao
*/
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
// 添加
/**
* @description: 添加
* @author: renchao
*/
handleAdd () {
this.dialog = true
},
// 减
/**
* @description: 减
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleMinus (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick () { },
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleEdit (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
this.dialog = true
this.details = row
},
/**
* @description: handleView
* @author: renchao
*/
handleView () {
this.dialog = true
}
......
......@@ -35,6 +35,10 @@
};
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
stopTask({
bsmSlsq: this.formData.bsmSlsq,
......
......@@ -104,6 +104,10 @@
},
methods: {
//初始化列表
/**
* @description: 初始化列表
* @author: renchao
*/
list () {
var bsmSlsq = this.$route.query.bsmSlsq;
getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
......@@ -116,6 +120,12 @@
});
},
//打开证书预览弹窗
/**
* @description: 打开证书预览弹窗
* @param {*} item
* @param {*} type
* @author: renchao
*/
openZsylDialog (item, type) {
if (type == 1) {
//证书预览
......@@ -125,17 +135,30 @@
}
},
//再次打印
/**
* @description: 再次打印
* @param {*} item
* @author: renchao
*/
openInvalidDiglog (item) {
this.bsmSz = item.bsmSz;
this.invalidDiglog = true;
this.bsmBdcqz = item.bsmBdcqz
},
/**
* @description: closeInvalidDiglog
* @author: renchao
*/
closeInvalidDiglog () {
this.invalidDiglog = false;
this.bsmSz = "";
this.zfyy = "";
},
//作废缮证信息
/**
* @description: 作废缮证信息
* @author: renchao
*/
confirmInvalid () {
invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
if (res.code === 200) {
......@@ -149,6 +172,11 @@
}
});
},
/**
* @description: openRecordPop
* @param {*} item
* @author: renchao
*/
openRecordPop (item) {
this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true)
}
......
......@@ -166,6 +166,10 @@
},
},
methods: {
/**
* @description: renderHeader
* @author: renchao
*/
renderHeader () {
return (
<div>
......@@ -184,6 +188,10 @@
);
},
// 修改事件
/**
* @description: 修改事件
* @author: renchao
*/
addrow () {
this.tableDataList = this.tableDataList.map((item) => {
return {
......@@ -193,6 +201,11 @@
});
this.$emit("upDateTdytxxList", this.tableDataList);
},
/**
* @description: startTime
* @param {*} index
* @author: renchao
*/
startTime (index) {
// let startTime = this.tableDataList[index].tdsyqssj;
let endTime = this.tableDataList[index].jssj;
......@@ -215,6 +228,11 @@
this.tableDataList[index].syqx = endYear - startYear;
}
},
/**
* @description: endTime
* @param {*} index
* @author: renchao
*/
endTime (index) {
// let startTime = this.tableDataList[index].tdsyqssj;
let startTime = this.tableDataList[index].qssj;
......@@ -237,6 +255,12 @@
this.tableDataList[index].syqx = endYear - startYear;
}
},
/**
* @description: sumTime
* @param {*} index
* @param {*} syqx
* @author: renchao
*/
sumTime (index, syqx) {
let startTime = this.tableDataList[index].qssj;
......@@ -247,6 +271,10 @@
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata);
......@@ -254,6 +282,12 @@
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......
......@@ -68,11 +68,17 @@
this.getBackNode();
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.selectItem.outstepopinion = this.outstepopinion;
console.log(this.formData.bsmSlsq);
console.log(this.selectItem);
sendBackTask({
bsmSlsq: this.formData.bsmSlsq,
backNodeList: [this.selectItem],
message:this.outstepopinion
}).then((res) => {
this.$message.success("退回成功");
setTimeout(() => {
......@@ -87,11 +93,20 @@
}, 1000);
});
},
/**
* @description: changeSelectItem
* @param {*} item
* @author: renchao
*/
changeSelectItem (item) {
this.selectItem = item;
this.selectActivity = item.activityId;
},
//获取可回退环节信息
/**
* @description: 获取可回退环节信息
* @author: renchao
*/
getBackNode () {
getTaskBackNode(this.formData).then((res) => {
if (res.code == 200) {
......@@ -104,6 +119,10 @@
});
},
/**
* @description: cancelBack
* @author: renchao
*/
cancelBack () {
popupCacel();
}
......
......@@ -4,70 +4,109 @@
* @LastEditTime: 2023-05-17 10:42:01
-->
<template>
<dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog"
v-model="value">
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-form ref="queryForm" label-width="180px" v-if="this.formData.obj">
<el-form-item label="下一环节名称:">
{{this.tableData.taskName}}
{{ this.formData.obj.taskName }}
</el-form-item>
<el-form-item label="下一环节办理人:">
{{this.usernames}}
{{ this.formData.obj.usernames.join(",") }}
</el-form-item>
</el-form>
<el-form ref="queryForm" label-width="180px" v-else>
<el-form-item label="">
此环节为流程最后环节,转出后流程将结束
</el-form-item>
</el-form>
<div class="invalid-reson">转出原因:</div>
<el-input
v-model="shyj"
placeholder="请输入转出原因"
type="textarea"
:rows="4"
></el-input>
<el-button style="float: right" @click="cancelBack">取消转出</el-button>
<el-button type="primary" @click="submitForm" style="float: right"
>确定转出</el-button
>
</div>
</div>
</dialogBox>
</template>
<script>
import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"
export default {
components: {
},
import { completeTask, getNextLinkInfo } from "@/api/workFlow.js";
import { popupCacel } from "@/utils/popup.js";
export default {
components: {},
props: {
value: { type: Boolean, default: false },
queryForm: { type: Object, default: false }
formData: {
type: Object,
default: {},
},
},
data () {
data() {
return {
tableData: {},
usernames: '',
}
queryForm: {},
shyj: "",
};
},
methods: {
tablelistFn () {
getNextLinkInfo(this.queryForm).then(res => {
if (res.code === 200) {
this.tableData = res.result
if (res.result.usernames) {
this.usernames = String(res.result.usernames)
}
}
})
mounted() {
// this.queryForm= this.queryForm.obj
console.log("formDataformDataformData", this.formData);
},
submitForm () {
completeTask(this.queryForm).then(res => {
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm() {
this.queryForm = {
bsmSlsq: this.formData.bsmSlsq,
shyj: this.shyj,
stepform: JSON.stringify(this.formData.tabList),
};
console.log("this.queryForm", this.queryForm);
completeTask(this.queryForm).then((res) => {
if (res.code === 200) {
this.$message.success('转件成功')
this.$message.success("转件成功");
// setTimeout(() => {
// window.opener = null;
// window.open("about:blank", "_self");
// window.close();
// this.$emit("input", false);
// }, 1000);
popupCacel();
setTimeout(() => {
window.opener = null;
window.open("about:blank", "_self");
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit('input', false)
this.$emit("input", false);
}, 1000);
}else{
this.$message.error(res.message);
}
})
});
},
closeDialog () {
this.$emit("input", false);
/**
* @description: closeDialog
* @author: renchao
*/
cancelBack() {
popupCacel();
},
}
}
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/mixin.scss";
.el-button {
margin-top: 20px;
margin-right: 10px;
}
</style>
......
......@@ -4,6 +4,12 @@
* @LastEditTime: 2023-06-19 13:16:53
*/
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} tabName
* @param {*} djywbm
* @author: renchao
*/
export function getForm(tabName, djywbm) {
let form;
switch (tabName) {
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-21 14:04:56
* @LastEditTime: 2023-07-17 14:20:17
*/
import { getPrintTemplateByCode } from "@/api/print";
import { uploadUndo } from "@/api/clxx";
......@@ -43,6 +43,10 @@ export default {
},
methods: {
//加载流程初始参数
/**
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -59,6 +63,11 @@ export default {
})
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
* @author: renchao
*/
operation (item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
......@@ -227,6 +236,10 @@ export default {
break;
}
},
/**
* @description: del
* @author: renchao
*/
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -257,101 +270,36 @@ export default {
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
const h = this.$createElement;
this.$msgbox({
title: "您确定转出吗?",
message: h("div", { style: "margin: auto" }, [
h("span", null, "下个环节名称:"),
h("i", { style: "color: teal" }, obj.taskName),
h("div", null, ""),
h("span", null, "下个环节经办人: "),
h("i", { style: "color: teal" }, obj.usernames.join(",")),
]),
showCancelButton: true,
beforeClose: (action, instance, done) => {
if (action === "confirm") {
instance.confirmButtonLoading = true;
instance.confirmButtonText = "执行中...";
completeTask({
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:obj,
bsmSlsq: this.bsmSlsq,
shyj: "this.bestepid",
stepform: JSON.stringify(this.tabList),
}).then((res) => {
if (res.code === 200) {
instance.confirmButtonLoading = false;
this.$message.success("转件成功");
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit("input", false);
} else {
instance.confirmButtonLoading = false;
instance.confirmButtonText = "确定";
this.$message.error(res.message);
}
});
} else {
done();
}
},
}).then((action) => {
this.$message({
type: "info",
message: "action: " + action,
});
});
tabList: this.tabList
}, '800px', true)
},
sendToEnd () {
let that = this
const h = this.$createElement;
this.$msgbox({
title: "您确定转出吗?",
message: "此环节为流程最后环节,转出后流程将结束",
showCancelButton: true,
beforeClose: (action, instance, done) => {
if (action === "confirm") {
instance.confirmButtonLoading = true;
instance.confirmButtonText = "执行中...";
completeTask({
//转出最后一个流程
/**
* @description: 转出最后一个流程
* @param {*} obj
* @author: renchao
*/
sendToEnd (obj) {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:"",
bsmSlsq: this.bsmSlsq,
shyj: "this.bestepid",
stepform: JSON.stringify(this.tabList),
}).then((res) => {
if (res.code === 200) {
instance.confirmButtonLoading = false;
that.$message.success("转件成功");
localStorage.setItem('transfer', true)
// window.opener.location.reload(); //刷新父窗口
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
that.$emit("input", false);
} else {
instance.confirmButtonLoading = false;
instance.confirmButtonText = "确定";
this.$message.error(res.message);
}
})
} else {
done();
}
},
}).then((action) => {
this.$message({
type: "info",
message: "action: " + action
})
})
tabList: this.tabList
}, '800px', true)
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
......@@ -361,6 +309,11 @@ export default {
})
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......@@ -375,6 +328,11 @@ export default {
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
}
......
......@@ -21,6 +21,10 @@ export default {
}, false)
},
methods: {
/**
* @description: getHomeNotice
* @author: renchao
*/
getHomeNotice () {
getHomeNoticeList().then(res => {
if (res.result) {
......@@ -29,10 +33,21 @@ export default {
})
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @param {*} oldActiveName
* @author: renchao
*/
beforeLeave (activeName, oldActiveName) {
if (activeName && activeName != 0) this.getFromRouter(activeName)
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
console.log(tabname, 'tabnametabnametabnametabnametabname');
//根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
......
......@@ -100,7 +100,7 @@
clxxIndex: "",
//材料信息选项卡对象
clxxTab: {},
ableOperation:false,
ableOperation: false,
//页面监听时间
_beforeUnload_time: ""
}
......@@ -118,12 +118,26 @@
window.removeEventListener("unload", (e) => this.unloadHandler(e));
},
methods: {
/**
* @description: getCurrentSelectProps
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val
},
/**
* @description: beforeunloadHandler
* @author: renchao
*/
beforeunloadHandler () {
this._beforeUnload_time = new Date().getTime();
},
/**
* @description: unloadHandler
* @param {*} e
* @author: renchao
*/
unloadHandler (e) {
this._gap_time = new Date().getTime() - this._beforeUnload_time;
//判断是窗口关闭还是刷新
......@@ -133,6 +147,11 @@
}
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
stepForm (index) {
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
......@@ -141,7 +160,7 @@
this.tabList = res.result;
//默认加载第一个表单信息
this.tabName = res.result[0].value;
this.ableOperation=this.tabList[0].ableOperation
this.ableOperation = this.tabList[0].ableOperation
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......@@ -158,6 +177,10 @@
}
})
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog () {
this.$store.dispatch('user/refreshPage', false)
let data = JSON.parse(localStorage.getItem('ywbl'))
......
......@@ -103,10 +103,20 @@
};
},
methods: {
/**
* @description: getCurrentSelectProps
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
stepForm (index) {
this.currentSelectProps.type = "READ_ONLY"
getStepFormInfo(this.currentSelectProps).then((res) => {
......
......@@ -68,6 +68,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -80,6 +84,11 @@ export default {
}
})
},
/**
* @description: viewDetail
* @param {*} e
* @author: renchao
*/
viewDetail (e) {
this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%")
}
......
......@@ -68,6 +68,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -77,6 +81,11 @@ export default {
}
})
},
/**
* @description: viewDetail
* @param {*} e
* @author: renchao
*/
viewDetail (e) {
this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%")
}
......
......@@ -163,6 +163,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
getServerInfo().then(res => {
if (res.code === 200) {
......
......@@ -216,6 +216,10 @@
},
methods: {
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -237,6 +241,11 @@
})
})
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
this.tableData.forEach(item => {
if (item.bsmSj === val.bsmSj) {
......@@ -249,14 +258,29 @@
}
},
// 左侧菜单点击
/**
* @description: 左侧菜单点击
* @param {*} item
* @author: renchao
*/
menuClick (item) {
this.checkedId = item.id
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -277,6 +301,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -297,6 +327,11 @@
})
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -319,6 +354,12 @@
});
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -343,6 +384,10 @@
})
},
// 材料目录关闭收起
/**
* @description: 材料目录关闭收起
* @author: renchao
*/
iconClick () {
this.menuOpen = !this.menuOpen;
if (this.menuOpen) {
......@@ -352,17 +397,34 @@
}
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @author: renchao
*/
treeClick (item) {
this.treeCheckId = item.bsmSj;
this.previewImg.imgList = item?.children;
this.previewImg.bsmSj = item?.bsmSj;
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......
......@@ -52,9 +52,17 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.$parent.addSave(this.ruleForm);
this.$emit("input", false);
......
......@@ -13,12 +13,22 @@ export default {
},
methods: {
// 点击高级查询弹出查询弹框
/**
* @description: 点击高级查询弹出查询弹框
* @author: renchao
*/
moreQueryClick () {
this.isSearch = true
},
// 查询事件
/**
* @description: 查询事件
* @param {*} bs
* @param {*} mc
* @param {*} code
* @author: renchao
*/
handleSelect (bs, mc, code) {
this.dictData[bs].forEach(item => {
if (item.dcode == this.queryForm[code]) {
......@@ -27,6 +37,11 @@ export default {
})
},
// 清空单个表单
/**
* @description: 清空单个表单
* @param {*} el
* @author: renchao
*/
handleEmpty (el) {
for (var i = 0; i < this.searchList.length; i++) {
if (el == this.searchList[i].zdm) {
......@@ -48,7 +63,12 @@ export default {
this.searchForm[el] = ''
},
// 删除单个查询条件
/**
* @description: 删除单个查询条件
* @param {*} item
* @param {*} index
* @author: renchao
*/
handelItem (item, index) {
let obj = {
ywlymc: 'ywly',
......@@ -65,6 +85,10 @@ export default {
}
this.searchForm[item.zdm] = ''
},
/**
* @description: iterationData
* @author: renchao
*/
iterationData () {
let obj = {
ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称',
......@@ -75,12 +99,21 @@ export default {
if (value) return { name: obj[name], value, zdm: name }
}).filter(Boolean)
},
/**
* @description: getSearch
* @param {*} val
* @author: renchao
*/
getSearch (val) {
this.otherForm = val
this.iterationData()
this.queryClick()
},
// 清空查询条件
/**
* @description: 清空查询条件
* @author: renchao
*/
hanldeCleanAll () {
this.searchForm = {}
this.queryForm = {
......
......@@ -70,9 +70,17 @@
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit('input', false)
},
/**
* @description: resetForm
* @author: renchao
*/
resetForm () {
this.$refs['ruleForm'].resetFields()
this.ruleForm = {
......@@ -82,6 +90,10 @@
slsj: ''
}
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$emit('getSearch', _.cloneDeep(this.ruleForm))
this.$emit('input', false)
......
......@@ -146,6 +146,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.searchForm.ywh = this.queryForm.ywh;
......@@ -163,11 +167,21 @@
}
});
},
/**
* @description: handleSort
* @param {*} val
* @author: renchao
*/
handleSort (val) {
this.queryForm.sortField = val.prop;
this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
this.queryClick();
},
/**
* @description: del
* @param {*} item
* @author: renchao
*/
del (item) {
let formdata = new FormData();
formdata.append("bsmSlsq", item.bsmSlsq);
......@@ -197,6 +211,11 @@
});
});
},
/**
* @description: ywhClick
* @param {*} item
* @author: renchao
*/
ywhClick (item) {
//判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
judgeUserTaskPermission({
......
......@@ -213,6 +213,10 @@
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
batchSaveData(this.ruleForm).then((res) => {
......@@ -221,6 +225,11 @@
}
});
},
/**
* @description: changeCflx
* @param {*} e
* @author: renchao
*/
changeCflx (e) {
let cflxItem = {}
cflxItem = this.dictData['A32'].find((item) => {
......
......@@ -330,6 +330,10 @@
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -337,6 +341,11 @@
}
});
},
/**
* @description: changeCflx
* @param {*} e
* @author: renchao
*/
changeCflx (e) {
let cflxItem = {};
cflxItem = this.dictData["A32"].find((item) => {
......
......@@ -302,6 +302,10 @@
};
},
methods: {
/**
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick () {
saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
......@@ -322,12 +326,22 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
}
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-07-20 09:30:06
* @LastEditTime: 2023-07-21 14:13:57
-->
<template>
<div class="slxx">
......@@ -68,11 +68,6 @@
<el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="房屋用途:">
<el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
</el-form-item>
</el-col> -->
<el-col :span="8">
<el-form-item label="规划用途名称:">
<el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
......@@ -215,7 +210,7 @@
import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
created () {
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
......@@ -242,7 +237,27 @@
disabled: true,
tdytOption: [],
czrOptions: [],
ruleForm: {},
ruleForm: {
flow: {
ywh: ''
},
qlxx: {
mj: ''
},
sldy: {
gyfs: ''
},
slsq: {
},
fdcq2: {
zyjzmj: '',
ftjzmj: ''
},
zdjbxx: {
ghytmc: ''
}
},
//传递参数
propsParam: this.$attrs,
//表单是否可操作
......@@ -252,21 +267,44 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo () {
console.log(this.ruleForm.slsq.gyfs);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-07-20 09:30:11
* @LastEditTime: 2023-07-21 14:27:15
-->
<template>
<div class="slxx">
......@@ -161,7 +161,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
<el-col :span="5" v-if="ruleForm.sldy.gyfs && ruleForm.sldy.gyfs == '2'">
<el-form-item label="是否分别持证:">
<el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation">
<el-radio label="1"></el-radio>
......@@ -169,7 +169,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
<el-col :span="5" v-if="ruleForm.sldy.gyfs && ruleForm.sldy.gyfs == '2'">
<el-form-item label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
......@@ -208,7 +208,7 @@
import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
async created () {
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
......@@ -240,12 +240,17 @@
tdytOption: [],
czrOptions: [],
ruleForm: {
ywh: "",
flow: {
ywh: ''
},
slry: "",
slsj: "",
qllx: "",
djlx: "",
djqx: "",
sldy: {
gyfs: ''
},
// 宗地代码
zddm: "",
bdcdyh: "",
......@@ -264,12 +269,21 @@
fwxz: '',
fwjg: '',
// 权利人信息
gyfs: "1",
// 是否分别持证
sffbcz: "",
// 持证人
czr: "",
djyy: ''
djyy: '',
// 规划用途名称
zdjbxx: {
ghytmc: ''
},
fdcq2: {
fwxzmc: ''
},
slsq: {
gyfs: ''
}
},
//传递参数
propsParam: {},
......@@ -277,6 +291,10 @@
};
},
methods: {
/**
* @description: dataSelectClick
* @author: renchao
*/
dataSelectClick () {
this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
{
......@@ -287,19 +305,38 @@
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -91,6 +91,10 @@
};
},
methods: {
/**
* @description: loadData
* @author: renchao
*/
loadData () {
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
......@@ -108,6 +112,10 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange () {
if (this.checkList.length === 0) {
this.tableData = [];
......@@ -116,6 +124,11 @@
this.loadData();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: renchao
*/
getQsztName (code) {
let name = "";
for (let item of this.qsztList) {
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-07-20 16:12:16
* @LastEditTime: 2023-07-21 14:16:25
-->
<template>
<div class="slxx">
......@@ -154,7 +154,7 @@
import { BatchInit, Init, saveBatchData, saveData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
created (callbackfn, thisArg) {
mounted (callbackfn, thisArg) {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
......@@ -167,12 +167,11 @@
this.ruleForm = res.result;
this.splicingFdcq2Info();
}
});
})
},
components: { qlrCommonTable },
computed: {
...mapGetters(["dictData", "flag"]),
...mapGetters(["dictData", "flag"])
},
data () {
return {
......@@ -209,9 +208,12 @@
},
methods: {
//组装房地产权通用信息
/**
* @description: 组装房地产权通用信息
* @author: renchao
*/
splicingFdcq2Info () {
let fdcq2List = this.ruleForm.fdcq2List;
console.log(this.ruleForm.fdcq2List, 'this.ruleForm.fdcq2List');
let fwxzArr = [];
let fwjgArr = [];
let jzmj = 0;
......@@ -233,16 +235,34 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo () {
console.log(this.ruleForm.slsq.gyfs);
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveBatchData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -81,7 +81,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="户不动产单元号:" prop="hbdcdyh">
<el-form-item label="户不动产单元号:" prop="ghytmc">
<el-input disabled v-model="ruleForm.ghytmc"></el-input>
</el-form-item>
</el-col>
......@@ -191,7 +191,7 @@
import { Init } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
async created () {
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
......@@ -233,7 +233,7 @@
// 自然幢号
zrzh: "",
// 户不动产单元号
hbdcdyh: '',
ghytmc: '',
djzt: '',
// 图幅丘幢号
tfqzh: '',
......@@ -257,10 +257,20 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
/**
* @description: list
* @param {*} bsmSldy
* @author: renchao
*/
list (bsmSldy) {
var formdata = new FormData();
formdata.append("bsmSldy", bsmSldy);
......@@ -276,6 +286,10 @@
}
});
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
fristReg(this.ruleForm).then((res) => {
if (res.code === 200 && res.result) {
......
......@@ -249,21 +249,40 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
this.czrOptions = this.ruleForm.qlrList;
this.key++
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val))
this.key++
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
if (this.ruleForm.qlrList.length == 0) {
this.$message({
......
......@@ -235,14 +235,28 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -261,6 +275,10 @@
}
});
},
/**
* @description: compare
* @author: renchao
*/
compare () {
this.$popup({
titleStyle: "left",
......
......@@ -262,7 +262,11 @@
disabled: true,
//持证人选项
czrOptions: [],
ruleForm: {},
ruleForm: {
zdjbxx: {
ghytmc: ''
}
},
//传递参数
propsParam: {},
//表单是否可操作
......@@ -271,6 +275,10 @@
}
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -289,13 +297,28 @@
}
});
},
/**
* @description: upDateQlrxxList
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val)
},
/**
* @description: upDateJtcyList
* @param {*} val
* @author: renchao
*/
upDateJtcyList (val) {
this.ruleForm.jtcyList = _.cloneDeep(val)
},
//水域滩涂类型变化事件
/**
* @description: 水域滩涂类型变化事件
* @param {*} e
* @author: renchao
*/
changeSyttlx (e) {
let itemLx = {}
itemLx = this.dictData['A23'].find((item) => {
......@@ -304,6 +327,11 @@
this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
},
//养殖业方式变化事件
/**
* @description: 养殖业方式变化事件
* @param {*} e
* @author: renchao
*/
changeYzyfs (e) {
let itemLx = {}
itemLx = this.dictData['A24'].find((item) => {
......@@ -312,6 +340,11 @@
this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
},
//用地用海变化事件
/**
* @description: 用地用海变化事件
* @param {*} e
* @author: renchao
*/
changeYdyhfl (e) {
let itemLx = {}
itemLx = this.dictData['A51'].find((item) => {
......