d8e2f84d by yuanbo

增加注释

1 parent be97ef92
......@@ -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>";
......
......@@ -4,6 +4,12 @@
* @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);
......
......@@ -6,6 +6,11 @@
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
/**
* @description: selected
* @param {*} row
* @author: renchao
*/
selected (row) {
// if (row.sfbl == 0) { // 正在办理不能申请
// return false
......@@ -15,17 +20,33 @@ export default class filter {
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;
......
......@@ -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({
......
......@@ -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()
}
......
......@@ -9,6 +9,11 @@ import Loading from '@/components/Loading/index.js';
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,7 +43,10 @@ export function startLoadingAddCount (LoadingText, target) {
}
loadingCount++
}
/**
* @description: endLoadingSubCount
* @author: renchao
*/
export function endLoadingSubCount () {
loadingCount--
if (loadingCount === 0) {
......
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();
......
<!--
* @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,10 +6,10 @@
</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 {
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
},
......@@ -103,11 +98,11 @@
}
}
}
}
}
</script>
<style scoped lang='scss'>
/deep/.el-tree-node.is-expanded > .el-tree-node__children {
/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);
......