c8d9091f by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 387ae91a 0882129c
Showing 49 changed files with 1224 additions and 148 deletions
......@@ -3,6 +3,10 @@ import { MessageBox } from 'element-ui';
var CreatedOKLodopObject, CLodopIsLocal, CLodopJsState;
//==判断是否需要CLodop(那些不支持插件的浏览器):==
/**
* @description: 判断是否需要CLodop
* @author: renchao
*/
function needCLodop () {
try {
var ua = navigator.userAgent;
......@@ -45,6 +49,10 @@ function needCLodop () {
}
//==加载引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==
/**
* @description: 加载引用CLodop的主JS,用双端口8000和18000
* @author: renchao
*/
function loadCLodop () {
if (CLodopJsState == "loading" || CLodopJsState == "complete") return;
CLodopJsState = "loading";
......@@ -63,7 +71,12 @@ function loadCLodop () {
if (needCLodop()) { loadCLodop(); }//加载
//==获取LODOP对象主过程,判断是否安装、需否升级:==
/**
* @description: 获取LODOP对象主过程,判断是否安装、需否升级
* @param {*} oOBJECT
* @param {*} oEMBED
* @author: renchao
*/
export function getLodop (oOBJECT, oEMBED) {
var strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>";
var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>";
......@@ -95,7 +108,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).then(() => {
window.open('http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip')
}).catch(() => {
});
//document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : "") + strCLodopInstall_3 + document.body.innerHTML;
return;
......@@ -108,7 +121,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).then(() => {
window.open('http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip')
}).catch(() => {
});
//document.body.innerHTML = strCLodopUpdate + document.body.innerHTML;
}
......@@ -147,7 +160,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).then(() => {
window.open('http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip')
}).catch(() => {
});
// if (ua.indexOf('Chrome') >= 0)
// document.body.innerHTML = strHtmChrome + document.body.innerHTML;
......@@ -166,7 +179,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).then(() => {
window.open('http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip')
}).catch(() => {
});
//document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML;
}
......
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-03 08:59:06
*/
import store from '@/store'
/**
* @description: getSjlx
* @param {*} level
* @author: renchao
*/
export function getSjlx (level) {
const resultMap = {
1: '系统数据',
......@@ -13,6 +19,12 @@ export function getSjlx (level) {
return resultMap[level] || resultMap.default;
}
/**
* @description: getDictLeabel
* @param {*} level
* @param {*} code
* @author: renchao
*/
export function getDictLeabel (level, code) {
const resultMap = store.getters.dictData[code]
const desiredObject = resultMap.find(obj => obj.dcode === level);
......@@ -23,4 +35,4 @@ export function getDictLeabel (level, code) {
} else {
return ''
}
}
\ No newline at end of file
}
......
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-17 13:31:39
*/
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
/**
* @description: selected
* @param {*} row
* @author: renchao
*/
selected (row) {
// if (row.sfbl == 0) { // 正在办理不能申请
// return false
// return false
// } else {
// return true //可选择
// }
return true
}
// 业务来源
/**
* @description: 业务来源
* @param {*} val
* @author: renchao
*/
busSource (val) {
let status = { 1: '办事大厅', 2: '微信小程序' }
return status[val]
}
//申请分类(1:正常申请,2:一并申请,3:补录申请)
/**
* @description: 申请分类
* @param {*} val
* @author: renchao
*/
sqfls (val) {
let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
return status[val]
}
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = store.getters.dictData[code],
name = '暂无'
......@@ -38,12 +59,27 @@ export default class filter {
return name
}
}
/**
* @description: filterHtml
* @param {*} content
* @author: renchao
*/
filterHtml (content) {
return content.replace(/<[^>]+>/g, '');
}
/**
* @description: getDictData
* @param {*} val
* @author: renchao
*/
getDictData (val) {
return store.getters.dictData[val]
}
/**
* @description: yWstatus
* @param {*} row
* @author: renchao
*/
yWstatus (row) {
let text = "";
let keys = 0;
......@@ -74,4 +110,4 @@ export default class filter {
return text;
}
}
\ No newline at end of file
}
......
......@@ -6,6 +6,11 @@
import Vue from 'vue'
const title = Vue.prototype.BASE_API.TITLE
/**
* @description: getPageTitle
* @param {*} pageTitle
* @author: renchao
*/
export default function getPageTitle (pageTitle) {
if (pageTitle) {
return `${pageTitle} - ${title}`
......
......@@ -2,6 +2,13 @@ import Vue from 'vue'
import axios from 'axios'
import request from '@/utils/request';
import { Message } from "element-ui";
/**
* @description: removeTreeListItem
* @param {*} treeList
* @param {*} dictId
* @param {*} idName
* @author: renchao
*/
export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
if (!treeList || !treeList.length) {
return
......@@ -15,6 +22,12 @@ export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
}
}
// 创造id
/**
* @description: 创造id
* @param {*} len
* @param {*} radix
* @author: renchao
*/
export function getUuid (len, radix) {
var chars = "0123456789abcdefghijklmnopqrstuvwxyz".split(
""
......@@ -37,6 +50,11 @@ export function getUuid (len, radix) {
}
return uuid.join("");
}
/**
* @description: judgeSort
* @param {*} arr
* @author: renchao
*/
export function judgeSort (arr) {
if (arr.length) {
for (let i in arr) {
......@@ -50,6 +68,13 @@ export function judgeSort (arr) {
return arr
}
// 上下移动
/**
* @description: 上下移动
* @param {*} bsmDict
* @param {*} operate
* @param {*} data
* @author: renchao
*/
export function realMove (bsmDict, operate, data) {
function changeSort (arr, bsmDict) {
if (arr.length) {
......@@ -75,6 +100,12 @@ export function realMove (bsmDict, operate, data) {
data = judgeSort(changeSort(data, bsmDict));
}
// 获取所有父节点
/**
* @description: 获取所有父节点
* @param {*} treeData
* @param {*} bsmDict
* @author: renchao
*/
export function findParents (treeData, bsmDict) {
if (treeData.length == 0) return
for (let i = 0; i < treeData.length; i++) {
......@@ -91,6 +122,12 @@ export function findParents (treeData, bsmDict) {
}
}
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} data
* @author: renchao
*/
export function upward (index, data) {
if (index > 0) {
let upData = data[index - 1];
......@@ -102,6 +139,12 @@ export function upward (index, data) {
});
}
}
/**
* @description: down
* @param {*} index
* @param {*} data
* @author: renchao
*/
export function down (index, data) {
if ((index + 1) == data.length) {
Message({
......@@ -139,4 +182,4 @@ export function getAltimeterInfo () {
"quality": "3"
}
return axios.post("http://127.0.0.1:38088/video=grabimage", JSON.stringify(data))
}
\ No newline at end of file
}
......
......@@ -5,6 +5,19 @@
*/
import ywPopup from '@/components/ywPopup/index'
import Popup1 from '@/components/Popup1/index'
/**
* @description: popupDialog
* @param {*} title
* @param {*} url
* @param {*} params
* @param {*} width
* @param {*} isMain
* @param {*} height
* @param {*} btnShow
* @param {*} callback
* @param {*} cancel
* @author: renchao
*/
export function popupDialog (title, url, params, width = '75%', isMain, height, btnShow = false, callback, cancel) {
// Popup.install
Popup1(title, url, {
......@@ -23,6 +36,19 @@ export function popupDialog (title, url, params, width = '75%', isMain, height,
})
}
/**
* @description: ywPopupDialog
* @param {*} title
* @param {*} url
* @param {*} params
* @param {*} width
* @param {*} isMain
* @param {*} height
* @param {*} btnShow
* @param {*} callback
* @param {*} cancel
* @author: renchao
*/
export function ywPopupDialog (title, url, params, width = '75%', isMain, height, btnShow = true, callback, cancel) {
// Popup.install
ywPopup(title, url, {
......@@ -41,9 +67,18 @@ export function ywPopupDialog (title, url, params, width = '75%', isMain, height
})
}
/**
* @description: popupCacel
* @author: renchao
*/
export function popupCacel () {
Popup1().close()
}
/**
* @description: ywPopupCacel
* @author: renchao
*/
export function ywPopupCacel () {
ywPopupDialog().close()
}
\ No newline at end of file
}
......
......@@ -5,10 +5,15 @@
*/
import Loading from '@/components/Loading/index.js';
// 定义 loading
// 定义 loading
let loading
// loading开始 方法
/**
* @description: loading开始 方法
* @param {*} loadingText
* @author: renchao
*/
function startLoading (loadingText = '正在加载中...') {
loading = Loading.service({
text: loadingText,
......@@ -18,6 +23,10 @@ function startLoading (loadingText = '正在加载中...') {
})
}
// loading结束 方法
/**
* @description: loading结束 方法
* @author: renchao
*/
function endLoading () {
loading.close()
}
......@@ -34,10 +43,13 @@ export function startLoadingAddCount (LoadingText, target) {
}
loadingCount++
}
/**
* @description: endLoadingSubCount
* @author: renchao
*/
export function endLoadingSubCount () {
loadingCount--
if (loadingCount === 0) {
endLoading()
}
}
\ No newline at end of file
}
......
import cookies from './util.cookies'
/**
* @description: getUrlParam
* @param {*} paraName
* @author: renchao
*/
export function getUrlParam (paraName) {
let url = document.location.toString();
let arrObj = url.split('?');
......@@ -21,7 +26,11 @@ export function getUrlParam (paraName) {
return '';
}
}
/**
* @description: setToken
* @param {*} token
* @author: renchao
*/
export function setToken (token) {
if (token === undefined) {
if (process.env.NODE_ENV === 'development') {
......@@ -37,7 +46,10 @@ export function setToken (token) {
}
}
}
/**
* @description: getToken
* @author: renchao
*/
export function getToken () {
if (process.env.NODE_ENV === 'development') {
return sessionStorage.getItem('token')
......@@ -46,7 +58,11 @@ export function getToken () {
}
// 获取当前时间
/**
* @description: 获取当前时间
* @param {*} type
* @author: renchao
*/
export function getNewDate (type = 1) {
const now = new Date();
const year = now.getFullYear();
......@@ -60,4 +76,4 @@ export function getNewDate (type = 1) {
} else {
return `${year}${month}${day}${hours}${minutes}${seconds}秒`
}
}
\ No newline at end of file
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 13:40:27
-->
<template>
<dialogBox title="配置常办项目" @submitForm="submitForm" saveButton="保存" :isFullscreen="false" width="50%"
@closeDialog="closeDialog" v-model="myValue">
......@@ -11,103 +6,103 @@
</dialogBox>
</template>
<script>
import { getMenuInfo } from "@/api/user.js";
import Tree from "@/components/Tree/src/tree.vue"
import { saveFrequentProjectsList, getHomeFrequentProjects } from "@/api/home.js";
export default {
components: {
Tree
},
props: {
value: { type: Boolean, default: false },
bindItem: { type: Array, default: [] }
},
data () {
return {
myValue: false,
defaultCheckeds: [],
projectList: [],
checkedItem: [],
defaultProps: {
children: "children",
label: "name",
disabled: function (data, node) {
if (data.children && data.children.length > 0) {
return true
} else {
return false
}
import { getMenuInfo } from "@/api/user.js";
import Tree from "@/components/Tree/src/tree.vue"
import { saveFrequentProjectsList, getHomeFrequentProjects } from "@/api/home.js";
export default {
components: {
Tree
},
props: {
value: { type: Boolean, default: false },
bindItem: { type: Array, default: [] }
},
data () {
return {
myValue: false,
defaultCheckeds: [],
projectList: [],
checkedItem: [],
defaultProps: {
children: "children",
label: "name",
disabled: function (data, node) {
if (data.children && data.children.length > 0) {
return true
} else {
return false
}
},
uniqueValue: ''//最后拿到的唯一选择的moduldCode值,相当于id
}
},
uniqueValue: ''//最后拿到的唯一选择的moduldCode值,相当于id
}
},
watch: {
value (val) {
this.myValue = val
if (val) {
this.queryClick()
}
}
},
mounted () {
this.dealCheckedItem();
},
methods: {
submitForm () {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
this.$message.error("最多选择6个项目!");
return
}
saveFrequentProjectsList(checkedNodes).then(res => {
if (res.code == 200) {
this.$parent.queryProjectList();
this.$message.success("保存成功");
this.$emit("input", false);
} else {
this.$message.error(res.message);
}
})
},
watch: {
value (val) {
this.myValue = val
if (val) {
this.queryClick()
queryClick () {
let that = this
getMenuInfo().then(res => {
this.projectList = res.result.slice(0, -2)
})
function lookForAllId (arr = []) {
for (let item of that.bindItem) {
arr.push(item.id)
if (item.children && item.children.length) lookForAllId(item.children, arr)
}
return arr
}
this.defaultCheckeds = lookForAllId()
},
mounted () {
this.dealCheckedItem();
dealCheckedItem () {
},
methods: {
submitForm () {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
this.$message.error("最多选择6个项目!");
return
}
saveFrequentProjectsList(checkedNodes).then(res => {
if (res.code == 200) {
this.$parent.queryProjectList();
this.$message.success("保存成功");
this.$emit("input", false);
} else {
this.$message.error(res.message);
}
})
},
queryClick () {
let that = this
getMenuInfo().then(res => {
this.projectList = res.result.slice(0, -2)
//关闭窗口
closeDialog () {
this.$emit("input", false);
},
//节点选择状态发生改变时
handleClick (data, checked, node) {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
this.$message({
message: '最后选择6条数据',
type: 'warning',
customClass: 'messageIndex'
})
function lookForAllId (arr = []) {
for (let item of that.bindItem) {
arr.push(item.id)
if (item.children && item.children.length) lookForAllId(item.children, arr)
}
return arr
}
this.defaultCheckeds = lookForAllId()
},
dealCheckedItem () {
},
//关闭窗口
closeDialog () {
this.$emit("input", false);
},
//节点选择状态发生改变时
handleClick (data, checked, node) {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
this.$message({
message: '最后选择6条数据',
type: 'warning',
customClass: 'messageIndex'
})
this.$refs.tree.setChecked(data, false) // 取消当前节点的选中状态
}
this.$refs.tree.setChecked(data, false) // 取消当前节点的选中状态
}
}
}
}
</script>
<style scoped lang='scss'>
/deep/.el-tree-node.is-expanded > .el-tree-node__children {
display: flex;
flex-wrap: wrap;
}
/deep/.el-tree-node.is-expanded>.el-tree-node__children {
display: flex;
flex-wrap: wrap;
}
</style>
......
......@@ -177,6 +177,10 @@
})
})
},
/**
* @description: prev
* @author: renchao
*/
prev () {
let len = this.previewImg.imgList.length
if (this.isFirst || len == 0) {
......@@ -185,6 +189,10 @@
this.$parent.previewImg.index = (this.$parent.previewImg.index - 1 + len) % len
}
},
/**
* @description: next
* @author: renchao
*/
next () {
let len = this.previewImg.imgList.length
if (this.isLast || len == 0) {
......@@ -193,16 +201,34 @@
this.$parent.previewImg.index = (this.$parent.previewImg.index + 1) % len
}
},
/**
* @description: showCurrent
* @param {*} index
* @author: renchao
*/
showCurrent (index) {
this.previewImg.index = index
},
/**
* @description: closeViewer
* @author: renchao
*/
closeViewer () {
this.showViewer = false
},
/**
* @description: clickImage
* @author: renchao
*/
clickImage () {
this.showViewer = true
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
const isJPEG = file.type === 'image/jpeg'
const isPNG = file.type === 'image/png'
......@@ -220,6 +246,12 @@
this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M
return this.imgHidden
},
/**
* @description: handleChange
* @param {*} file
* @param {*} files
* @author: renchao
*/
async handleChange (file, files) {
// 清空 fileList 数组
let length = files.length;
......@@ -244,6 +276,10 @@
})
}, 0)
},
/**
* @description: handleDelete
* @author: renchao
*/
handleDelete () {
let that = this
this.$confirm('此操作将永久删除, 是否继续?', '提示', {
......
......@@ -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) => {
......
......@@ -274,10 +274,18 @@ export default {
},
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) {
......
......@@ -197,10 +197,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) {
......
......@@ -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,
......@@ -180,6 +190,11 @@
moveDirection: "UP",
};
// 接口待调
/**
* @description: 接口待调
* @param {*} obj
* @author: renchao
*/
moveClml(obj).then(async (res) => {
if (res.code == 200) {
let res = await this.clmlInitList()
......@@ -196,6 +211,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -203,6 +224,11 @@
moveDirection: "DOWN",
}
// 接口待调
/**
* @description: 接口待调
* @param {*} obj
* @author: renchao
*/
moveClml(obj).then(async (res) => {
if (res.code == 200) {
let res = await this.clmlInitList()
......@@ -218,6 +244,12 @@
})
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -245,6 +277,12 @@
})
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = store.getters.dictData[code],
name = "暂无";
......
......@@ -67,6 +67,13 @@ export function loadTreeData(qlxxData) {
}
//获取权利类型、不动产单元类型对应的树形节点信息
/**
* @description: 获取权利类型、不动产单元类型对应的树形节点信息
* @param {*} qllx
* @param {*} qlxx
* @param {*} bdcdylx
* @author: renchao
*/
export function getNode(qllx, qlxx, bdcdylx) {
let node;
for (var i = 0; i < qlxxPage.length; i++) {
......
......@@ -112,6 +112,10 @@
},
methods: {
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist () {
var formdata = new FormData();
if (this.bsmSlsq) {
......@@ -128,6 +132,11 @@
},
// 获取右侧菜单
/**
* @description: 获取右侧菜单
* @param {*} row
* @author: renchao
*/
getleftMenubl (row) {
leftMenubl(this.bsmSlsq).then((res) => {
......@@ -152,20 +161,41 @@
}
});
},
/**
* @description: handleNodeClick
* @param {*} data
* @param {*} node
* @param {*} elem
* @author: renchao
*/
handleNodeClick (data, node, elem) {
this.$parent.loadComponent(this.currentSelectProps, data);
this.$parent.tabset();
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick (index) {
this.currentSelectProps = this.supplementarylist[index];
this.$emit("getCurrentSelectProps", this.currentSelectProps);
},
//登记簿点击事件
/**
* @description: 登记簿点击事件
* @author: renchao
*/
djbClick () {
this.loadBdcdylist();
},
// 删除补录记录
/**
* @description: 删除补录记录
* @param {*} row
* @author: renchao
*/
handleDel (row) {
this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -195,6 +225,10 @@
});
},
//补录信息点击事件默认展示第一条补录记录
/**
* @description: 补录信息点击事件默认展示第一条补录记录
* @author: renchao
*/
blxxClick () {
if (this.supplementarylist.length) {
this.unitClick(0);
......
......@@ -217,6 +217,11 @@ export default {
},
},
methods: {
/**
* @handleupdateDetail: 删除
* @param {*} value
* @author: renchao
*/
handleupdateDetail(value) {
if (this.isaddupdate) {
if (!_.isEqual(value, this.tableData)) {
......@@ -232,6 +237,10 @@ export default {
this.key++;
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick() {
if (this.gyfs == "0" && this.tableDataList.length > 0) {
this.$message.warning("当前共有方式为单独所有,无法添加多个权利人");
......@@ -242,6 +251,12 @@ export default {
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick(index, row) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -255,19 +270,39 @@ export default {
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick() {},
// 身份证读取按钮禁用
/**
* @description: 身份证读取按钮禁用
* @author: renchao
*/
onreadClick() {
this.$message.error("此阶段不可编辑");
},
// 修改
/**
* @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;
......
......@@ -35,6 +35,10 @@
};
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
stopTask({
bsmSlsq: this.formData.bsmSlsq,
......
......@@ -68,6 +68,10 @@
this.getBackNode();
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.selectItem.outstepopinion = this.outstepopinion;
sendBackTask({
......@@ -87,11 +91,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 +117,10 @@
});
},
/**
* @description: cancelBack
* @author: renchao
*/
cancelBack () {
popupCacel();
}
......
......@@ -217,6 +217,11 @@ export default {
},
},
methods: {
/**
* @description: handleupdateDetail
* @param {*} value
* @author: renchao
*/
handleupdateDetail(value) {
if (this.isaddupdate) {
if (!_.isEqual(value, this.tableData)) {
......@@ -232,6 +237,10 @@ export default {
this.key++;
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick() {
if (this.gyfs == "0" && this.tableDataList.length > 0) {
this.$message.warning("当前共有方式为单独所有,无法添加多个权利人");
......@@ -242,6 +251,12 @@ export default {
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick(index, row) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -255,15 +270,31 @@ export default {
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick() {},
// 修改
/**
* @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;
......
......@@ -39,6 +39,10 @@
}
},
methods: {
/**
* @description: tablelistFn
* @author: renchao
*/
tablelistFn () {
getNextLinkInfo(this.queryForm).then(res => {
if (res.code === 200) {
......@@ -49,6 +53,10 @@
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
completeTask(this.queryForm).then(res => {
if (res.code === 200) {
......@@ -62,6 +70,10 @@
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
......
......@@ -461,13 +461,28 @@ export default {
this.ableOperation=this.$parent.ableOperation
},
methods: {
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange(val) {
this.ruleForm.ztQlxx = val;
},
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
if (val == null || val == 100) {
this.ssqlxxshow = false;
......@@ -475,6 +490,10 @@ export default {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -521,6 +540,10 @@ export default {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
console.log("valid", valid);
......
......@@ -639,9 +639,19 @@ export default {
this.ableOperation = this.$parent.ableOperation;
},
methods: {
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange(val) {
this.ruleForm.ztQlxx = val;
},
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
......@@ -653,6 +663,10 @@ export default {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -684,21 +698,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -398,10 +398,20 @@ export default {
this.ableOperation=this.$parent.ableOperation
},
methods: {
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
console.log("val",val);
if (val == null || val == 100) {
......@@ -410,6 +420,10 @@ export default {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -435,21 +449,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -458,10 +458,20 @@
this.ableOperation = this.$parent.ableOperation;
},
methods: {
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange (val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange (val) {
console.log("val", val);
if (val == null || val == 100) {
......@@ -471,6 +481,10 @@
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData () {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -502,21 +516,40 @@
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -360,10 +360,20 @@ export default {
this.ableOperation=this.$parent.ableOperation
},
methods: {
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
console.log("val",val);
if (val == null || val == 100) {
......@@ -373,9 +383,18 @@ export default {
}
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData(val) {
return store.getters.dictData[val];
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -402,21 +421,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -415,10 +415,20 @@ export default {
this.ableOperation=this.$parent.ableOperation
},
methods: {
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
console.log("val",val);
if (val == null || val == 100) {
......@@ -429,9 +439,18 @@ export default {
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData(val) {
return store.getters.dictData[val];
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit = this.$parent.isEdit;
......@@ -462,11 +481,21 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
......@@ -477,6 +506,10 @@ export default {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -438,10 +438,20 @@ export default {
this.ableOperation=this.$parent.ableOperation
},
methods: {
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange(val) {
this.ruleForm.ssQlxx = val;
this.ruleForm.qlxx.ssywh = val.ssywh;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange(val) {
console.log("val",val);
if (val == null || val == 100) {
......@@ -450,6 +460,10 @@ export default {
this.ssqlxxshow = true;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit=this.$parent.isEdit
......@@ -475,21 +489,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -319,6 +319,10 @@ export default {
this.ableOperation =this.$parent.ableOperation
},
methods: {
/**
* @description: loadData
* @author: renchao
*/
loadData() {
this.$startLoading();
this.propsParam.isEdit=this.$parent.isEdit
......@@ -331,21 +335,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @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.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList(val) {
this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
......@@ -109,6 +109,9 @@ export default {
this.getShList();
},
methods: {
/**
* @description: getShList
* @a
getShList() {
this.$startLoading();
var formdata = {
......@@ -125,7 +128,16 @@ export default {
}
});
},
/**
* @description: judgment
* @param {*} obj
* @author: renchao
*/
judgment(obj) {},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit() {
if (
this.tableData[2].shyj == null ||
......@@ -188,6 +200,11 @@ export default {
}
},
//打开常用意见列表弹窗
/**
* @description: 打开常用意见列表弹窗
* @param {*} index
* @author: renchao
*/
commonOpinion(index) {
this.currentindex = index;
this.$popupDialog(
......@@ -198,6 +215,11 @@ export default {
true
);
},
/**
* @description: add
* @param {*} val
* @author: renchao
*/
add(val) {
if (val != "") {
this.$set(this.tableData[this.currentindex], "shyj", val);
......
......@@ -43,6 +43,10 @@ export default {
},
methods: {
//加载流程初始参数
/**
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam () {
var formdata = new FormData();
......@@ -70,6 +74,11 @@ export default {
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
* @author: renchao
*/
operation (item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
......@@ -276,6 +285,10 @@ export default {
break;
}
},
/**
* @description: del
* @author: renchao
*/
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -306,6 +319,11 @@ export default {
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
const h = this.$createElement;
this.$msgbox({
......@@ -355,6 +373,10 @@ export default {
});
});
},
/**
* @description: sendToEnd
* @author: renchao
*/
sendToEnd () {
let that = this
const h = this.$createElement;
......@@ -401,6 +423,10 @@ export default {
})
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
......@@ -410,6 +436,11 @@ export default {
})
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......@@ -424,6 +455,11 @@ export default {
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
}
......
......@@ -129,6 +129,11 @@
},
methods: {
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm (qllx) {
this.oneSelectProps.qllx = qllx;
if (this.$refs.Menu.supplementarylist.length) {
......@@ -162,6 +167,11 @@
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.bsmRepair= val.bsmRepair
if (val.bdcdyid) {
......@@ -179,6 +189,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist () {
getBdcqljqtsx({
bdcdyid: this.currentSelectProps.bdcdyid,
......@@ -208,10 +222,20 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave (activeName) {
if (activeName && activeName != 0) this.getFromRouter(activeName);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
......@@ -223,6 +247,12 @@
// this.tabName = this.tabList[0].value
// },
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord (row, del) {
let from = {
bsmQlxx: "",
......
......@@ -125,6 +125,11 @@
},
methods: {
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm (qllx) {
this.oneSelectProps.qllx = qllx;
if (this.$refs.Menu.supplementarylist.length) {
......@@ -141,6 +146,11 @@
}
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.bsmRepair = val.bsmRepair
if (val.bdcdyid) {
......@@ -158,6 +168,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist () {
getBdcqljqtsx({
bdcdyid: this.currentSelectProps.bdcdyid,
......@@ -187,13 +201,27 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave (activeName) {
if (activeName && activeName != 0) this.getFromRouter(activeName);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
/**
* @description: closefp
* @author: renchao
*/
closefp () {
this.splitScreen = this.splitScreen ? false : true;
this.$store.dispatch("app/set1tScreen", this.splitScreen);
......@@ -201,6 +229,12 @@
this.clxxForm = getForm(this.tabList[1].value);
},
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord (row, del) {
let from = {
bsmQlxx: "",
......
......@@ -14,6 +14,10 @@ export default {
}
},
methods: {
/**
* @description: nextTo
* @author: renchao
*/
nextTo () {
this.$router.push({
path: this.redirect || '/',
......
......@@ -49,6 +49,10 @@ export default {
this.dealCheckedItem();
},
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
......@@ -65,6 +69,10 @@ export default {
}
})
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
let that = this
getMenuInfo().then(res => {
......@@ -79,13 +87,28 @@ export default {
}
this.defaultCheckeds = lookForAllId()
},
/**
* @description: dealCheckedItem
* @author: renchao
*/
dealCheckedItem () {
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
//节点选择状态发生改变时
/**
* @description: 节点选择状态发生改变时
* @param {*} data
* @param {*} checked
* @param {*} node
* @author: renchao
*/
handleClick (data, checked, node) {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
......@@ -105,4 +128,4 @@ export default {
display: flex;
flex-wrap: wrap;
}
</style>
\ No newline at end of file
</style>
......
......@@ -193,15 +193,29 @@
this.queryProjectList();//获取常办项目列表
},
methods: {
/**
* @description: handleProject
* @param {*} item
* @author: renchao
*/
handleProject (item) {
let url = item.uri.split('/').slice(0, 3).join('/')
this.$router.push(url)
},
/**
* @description: handleView
* @param {*} pdfUrl
* @author: renchao
*/
handleView (pdfUrl) {
const href = pdfUrl
window.open(href, '_blank');
},
//获取待办事项列表
/**
* @description: 获取待办事项列表
* @author: renchao
*/
queryTodoList () {
getHomeTodoList().then(res => {
if (res.result) {
......@@ -210,6 +224,10 @@
})
},
//获取已办事项列表
/**
* @description: 获取已办事项列表
* @author: renchao
*/
queryDoneList () {
getHomeDoneList().then(res => {
if (res.result) {
......@@ -218,6 +236,10 @@
})
},
//获取通知列表
/**
* @description: 获取通知列表
* @author: renchao
*/
queryNoticeList () {
getHomeNoticeList().then(res => {
if (res.result) {
......@@ -230,6 +252,10 @@
})
},
//获取常办项目列表
/**
* @description: 获取常办项目列表
* @author: renchao
*/
queryProjectList () {
getHomeFrequentProjects().then(res => {
if (res.result && res.result.length > 0) {
......@@ -239,6 +265,10 @@
}
})
},
/**
* @description: _timedate
* @author: renchao
*/
_timedate (d) {
var td = new Date();
td = new Date(td.getFullYear(), td.getMonth(), td.getDate());
......@@ -253,6 +283,10 @@
return d
}
},
/**
* @description: buildChart
* @author: renchao
*/
buildChart () {
let height = document.getElementById("mountNodeCon").offsetHeight - 20
var chart = new G2.Chart({
......@@ -283,6 +317,10 @@
chart.line().position('year*value').size(2).shape('smooth');
chart.render();
},
/**
* @description: loginTimeChart
* @author: renchao
*/
loginTimeChart () {
var data = [{
item: '用户1',
......@@ -334,13 +372,25 @@
chart.render();
},
//跳转到更多通知列表页面
/**
* @description: 跳转到更多通知列表页面
* @author: renchao
*/
jumpToMoreNotice () {
console.log(this.$route);
},
//配置常办项目
/**
* @description: 配置常办项目
* @author: renchao
*/
setFrequencyProject () {
this.projectDialog = true;
},
/**
* @description: handleNotice
* @author: renchao
*/
handleNotice (item) {
setReadStatus({ bsmNotice: item.bsmNotice }).then(res => {
if (res.code == 200) {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:23
-->
......@@ -113,6 +113,10 @@
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
let that = this;
that.$refs.ruleForm.validate(valid => {
......@@ -129,6 +133,10 @@
});
},
//新增接口
/**
* @description: 新增接口
* @author: renchao
*/
addInterface () {
addSysInterface(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -141,6 +149,10 @@
})
},
//编辑接口
/**
* @description: 编辑接口
* @author: renchao
*/
editInterface () {
editSysInterface(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -153,10 +165,19 @@
})
},
//获取详情
/**
* @description: 获取详情
* @param {*} item
* @author: renchao
*/
getDetailInfo (item) {
this.ruleForm = item
},
//关闭弹窗
/**
* @description: 关闭弹窗
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.ruleForm = {
......
......@@ -72,6 +72,10 @@ export default {
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
console.log(this.interfaceParams);
console.log(this.hasJsonFlag);
......@@ -89,10 +93,19 @@ export default {
})
},
//获取详情
/**
* @description: 获取详情
* @param {*} item
* @author: renchao
*/
getDetailInfo(item){
this.ruleForm = item
},
//关闭弹窗
/**
* @description: 关闭弹窗
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.interfaceParams = {}
......@@ -100,6 +113,11 @@ export default {
this.hasJsonFlag = true
},
//获取接口类型
/**
* @description: 获取接口类型
* @param {*} code
* @author: renchao
*/
getInterfaceType(code){
let name = ''
for (let item of this.interfaceTypes) {
......@@ -110,13 +128,28 @@ export default {
}
return name;
},
/**
* @description: onJsonChange
* @param {*} value
* @author: renchao
*/
onJsonChange(value){
this.onJsonSave();
},
/**
* @description: onJsonSave
* @param {*} value
* @author: renchao
*/
onJsonSave (value) {
this.interfaceParams = value
this.hasJsonFlag = true
},
/**
* @description: onError
* @param {*} value
* @author: renchao
*/
onError(value) {
this.hasJsonFlag = false
},
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:36
-->
......@@ -78,6 +78,10 @@
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading()
getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => {
......@@ -90,17 +94,31 @@
})
},
//打开新增
/**
* @description: 打开新增
* @author: renchao
*/
openDialog () {
this.editFlag = false;
this.addDialog = true;
},
//打开编辑
/**
* @description: 打开编辑
* @param {*} item
* @author: renchao
*/
editInterface (item) {
this.editFlag = true;
this.addDialog = true;
this.$refs.addDialog.getDetailInfo(item);
},
//打开调试窗口
/**
* @description: 打开调试窗口
* @param {*} item
* @author: renchao
*/
tuneInterface (item) {
this.retrieveDialog = true;
this.$refs.retrieveDialog.getDetailInfo(item);
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:45
-->
......@@ -133,6 +133,10 @@
},
methods: {
// 更新验证码
/**
* @description: 更新验证码
* @author: renchao
*/
reloadCaptcha () {
axios.get(window._config.services.management + "/management/captcha?format=json").then(res => {
if (res.data.status === 1) {
......@@ -142,6 +146,10 @@
})
},
// 初始化
/**
* @description: 初始化
* @author: renchao
*/
initPage () {
let userInfo =
localStorage.getItem("userInfo") &&
......@@ -151,6 +159,10 @@
this.userInfo.password = userInfo.password;
}
},
/**
* @description: goHome
* @author: renchao
*/
goHome () {
if (this.userInfo.username && this.userInfo.password) {
axios
......@@ -175,14 +187,28 @@
return
}
},
/**
* @description: selectEyes
* @author: renchao
*/
selectEyes () {
this.selectEye = !this.selectEye;
},
//获取焦点
/**
* @description: 获取焦点
* @param {*} type
* @author: renchao
*/
reduceBorder (type) {
this.change[type] = true
},
/**
* @description: addBorder
* @param {*} type
* @author: renchao
*/
addBorder (type) {
//失去焦点
switch (type) {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:51
-->
......@@ -297,18 +297,36 @@
}
},*/
//获取高度计算lpb内容区高度
/**
* @description: 获取高度计算lpb内容区高度
* @author: renchao
*/
getHeight () {
this.lpbContentHight = window.innerHeight - 190;
},
//图例的展开收起
/**
* @description: 图例的展开收起
* @author: renchao
*/
legendToggle () {
this.legendToggleFlag = !this.legendToggleFlag;
},
//切换房屋状态
/**
* @description: 切换房屋状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
handleChoosedH (bsms, color) {
this.$refs.lpbContent.changeChoosed(bsms, color);
},
//获取各项单元状态统计数据
/**
* @description: 获取各项单元状态统计数据
* @author: renchao
*/
getDyztBsmList () {
getLpbTj(this.formData.bsm).then((res) => {
if (res.code === 200) {
......@@ -362,6 +380,10 @@
});
},
// 获取房屋用途和房屋性质及缺失项统计数据
/**
* @description: 获取房屋用途和房屋性质及缺失项统计数据
* @author: renchao
*/
getLpbFwytAndQlxz () {
getLpbFwytAndQlxz(this.formData.bsm).then((res) => {
if (res.code === 200) {
......
......@@ -4,9 +4,9 @@
* @LastEditors: yangwei
* @LastEditTime: 2023-06-16 16:14:51
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<template>
<div class="ch-wrap">
......@@ -113,6 +113,12 @@ export default {
mounted() {},
methods: {
// 层选中事件
/**
* @description: 层选中事件
* @param {*} e
* @param {*} item
* @author: renchao
*/
handleClickC(e, item) {
//判断点击的层是否选中
// if (e.target.className.indexOf("tdSelect") == -1) {
......@@ -127,17 +133,42 @@ export default {
// this.$parent.getCbsm(this.cbsmList);
},
//户单击事件
/**
* @description: 户单击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
handleClickH(e, bsm, hs) {
},
// 户单元状态点击事件
/**
* @description: 户单元状态点击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
hDyztClick(e, bsm, hs) {
// this.handleClickH(e.target.parentNode, bsm, hs);
},
//户双击事件
/**
* @description: 户双击事件
* @param {*} bsm
* @author: renchao
*/
dbclick(bsm) {
// clearTimeout(this.time);
},
//幢单元全选/反选
/**
* @description: 幢单元全选/反选
* @param {*} val
* @param {*} flag
* @author: renchao
*/
zdySelectAll(val,flag) {
// 手动点击全部取消选中
!flag && this.clearChangeChoosedObj()
......
......@@ -88,18 +88,40 @@ export default {
},
methods: {
// 改变户选中状态
/**
* @description: 改变户选中状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
changeChoosed(bsms, color){
this.changeChoosedObj.bsms = bsms;
this.changeChoosedObj.color = color;
},
/**
* @description: clearChangeChoosedObj
* @author: renchao
*/
clearChangeChoosedObj(){
this.changeChoosedObj.bsms = [];
},
//全选户
/**
* @description: 全选户
* @param {*} val
* @author: renchao
*/
zdySelectAll(val) {
this.selectAllObj.selectAll = val;
},
//获取楼盘表数据
/**
* @description: 获取楼盘表数据
* @param {*} zrzbsm
* @param {*} scyclx
* @param {*} actual
* @author: renchao
*/
getLpb(zrzbsm, scyclx, actual) {
getLpb(zrzbsm, scyclx).then((res) => {
if (res.code == 200) {
......@@ -119,19 +141,39 @@ export default {
});
},
//户右键点击事件
/**
* @description: 户右键点击事件
* @param {*} e
* @param {*} item
* @param {*} type
* @author: renchao
*/
openMenu(e, item, type) {
this.lpbChLeft = e.pageX - 96;
this.lpbChTop = e.pageY - 23;
// this.lpbChVisible = true;
},
//关闭户右键菜单
/**
* @description: 关闭户右键菜单
* @author: renchao
*/
closeMenu() {
this.lpbChVisible = false;
},
//右键菜单点击
/**
* @description: 右键菜单点击
* @author: renchao
*/
menuClick() {
this.closeMenu();
},
/**
* @description: compare
* @param {*} property
* @author: renchao
*/
compare(property) {
return function (a, b) {
var value1 = a[property];
......
......@@ -4,9 +4,9 @@
* @LastEditors: yangwei
* @LastEditTime: 2023-06-08 13:58:58
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\zdys.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<template>
<div class="zdys-wrap">
......@@ -45,6 +45,12 @@ export default {
methods: {
//幢单元全选
/**
* @description: 幢单元全选
* @param {*} val
* @param {*} r
* @author: renchao
*/
zdySelectAll(val,r) {
this.$refs[r][0].zdySelectAll(val)
},
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:52:13
-->
......@@ -86,6 +86,10 @@
this.loadData();
},
methods: {
/**
* @description: loadData
* @author: renchao
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
......@@ -116,6 +120,10 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange () {
if (this.checkList.length === 0) {
this.tableData = [];
......@@ -124,6 +132,10 @@
this.loadData();
}
},
/**
* @description: getQsztName
* @author: renchao
*/
getQsztName (code) {
let name = "";
for (let item of this.qsztList) {
......@@ -135,6 +147,12 @@
return name;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: renchao
*/
editDialog (row, del) {
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
confirmButtonText: "确定",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 15:41:29
* @LastEditTime: 2023-07-20 16:19:54
-->
<!-- 批量删除弹框 -->
<template>
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-07-20 09:30:21
* @LastEditTime: 2023-07-20 16:12:16
-->
<template>
<div class="slxx">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
label-width="120px">
label-width="130px">
<div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
受理信息
......@@ -30,12 +30,12 @@
</el-col>
</el-row>
<el-row :gutter="10" v-if="ruleForm.slsq">
<el-col :span="8">
<el-col :span="8" v-if="ruleForm.sldyList.length>0">
<el-form-item label="权利类型:">
<el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="8" v-if="ruleForm.sldyList.length>0">
<el-form-item label="登记类型:">
<el-input disabled v-model="ruleForm.sldyList[0].djlxmc"></el-input>
</el-form-item>
......@@ -99,7 +99,7 @@
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="14">
<el-col :span="14" v-if="ruleForm.sldyList.length>0">
<el-form-item label="共有方式:">
<el-radio-group :disabled="!ableOperation" @change="showCZInfo"
v-model="ruleForm.sldyList[0].gyfs">
......@@ -111,20 +111,17 @@
</el-form-item>
</el-col>
<el-col :span="5" v-show=" ruleForm.slsq.gyfs == '2'">
<el-form-item label="是否分别持证:">
<el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.slsq.gyfs == '2'">
<el-form-item label="是否分别持证:" v-if="ruleForm.sldyList.length>0">
<el-radio-group v-model="ruleForm.sldyList[0].sqfbcz">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
<el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.sldyList[0].gyfs == '2'">
<el-form-item label="持证人:">
<el-select v-model="ruleForm.slsq.czr" placeholder="持证人">
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
<el-input v-model="ruleForm.slsq.czr"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -135,7 +132,7 @@
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col>
<el-col v-if="ruleForm.fdcq2List.length>0">
<el-form-item v-if="ruleForm.slsq" label="登记原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="!ableOperation"
v-model="ruleForm.fdcq2List[0].djyy">
......@@ -166,7 +163,7 @@
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("isEdit", this.ableOperation);
BatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
if (res.code == 200) {
this.ruleForm = res.result;
this.splicingFdcq2Info();
}
......@@ -181,7 +178,6 @@
return {
disabled: true,
tdytOption: [],
czrOptions: [],
ruleForm: {
cfdjList: []//查封登记
, diyaqList: []//抵押权
......@@ -204,10 +200,10 @@
rules: {},
bsmSlsq: this.$route.query.bsmSlsq,//受理申请标识码
splicingFdcq2: {//前端根据后台数组组装展示内容
fwxz: {}//房屋性质
, fwjg: {}//房屋结构
, jzmj: {} //建筑面积
, zts: {}//房屋总套数
fwxz: ''//房屋性质
, fwjg: ''//房屋结构
, jzmj: '' //建筑面积
, zts: ''//房屋总套数
}
}
},
......@@ -215,6 +211,7 @@
//组装房地产权通用信息
splicingFdcq2Info () {
let fdcq2List = this.ruleForm.fdcq2List;
console.log(this.ruleForm.fdcq2List, 'this.ruleForm.fdcq2List');
let fwxzArr = [];
let fwjgArr = [];
let jzmj = 0;
......
......@@ -17,34 +17,34 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="业务号:">
<el-input v-model="ruleForm.flow.ywh"></el-input>
<el-input disabled v-model="ruleForm.flow.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="受理人员:">
<el-input v-model="ruleForm.slsq.slry"></el-input>
<el-input disabled v-model="ruleForm.slsq.slry"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="受理时间:">
<el-input v-model="ruleForm.slsq.slsj"></el-input>
<el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="权利类型:">
<el-input v-model="ruleForm.sldy.qllxmc"></el-input>
<el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记类型:">
<el-input v-model="ruleForm.sldy.djlxmc"></el-input>
<el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记情形:">
<el-input v-model="ruleForm.slsq.djqxmc"></el-input>
<el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
</el-form-item>
</el-col>
</el-row>
......