827581db by tianhaohao@pashanhoo.com
2 parents 7a636806 1e4eb294
<!--
*
*   ┏┓   ┏┓+ +
*  ┏┛┻━━━┛┻┓ + +
*  ┃       ┃  
*  ┃   ━   ┃ ++ + + +
* ████━████ ┃+
*  ┃       ┃ +
*  ┃   ┻   ┃
*  ┃       ┃ + +
*  ┗━┓   ┏━┛
*    ┃   ┃           
*    ┃   ┃ + + + +
*    ┃   ┃
*    ┃   ┃ + 神兽保佑
*    ┃   ┃ 代码无bug  
*    ┃   ┃  +         
*    ┃    ┗━━━┓ + +
*    ┃        ┣┓
*    ┃        ┏┛
*    ┗┓┓┏━┳┓┏┛ + + + +
*     ┃┫┫ ┃┫┫
*     ┗┻┛ ┗┻┛+ + + +
*
-->
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 10:24:46
* @LastEditTime: 2023-05-16 09:50:40
-->
<!DOCTYPE html>
<html>
......@@ -18,6 +18,8 @@
</title>
</head>
<script>
window.baseUrl = location.origin || location.protocol + '//' + location.host
const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
fetch('<%= BASE_URL %>config.json')
.then(response => response.json())
.then(config => {
......@@ -29,9 +31,4 @@
<div id="app"></div>
</body>
</html>
<script>
window.baseUrl = location.origin || location.protocol + '//' + location.host
window.timeout = 5000
window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
</script>
\ No newline at end of file
</html>
\ No newline at end of file
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:40:17
* @LastEditTime: 2023-05-16 14:04:18
*/
import request from '@/utils/request';
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取不动产权证列表
/**
* @description: 获取不动产权证列表
* @param {*} params
* @author: renchao
*/
export function getBdcqzList (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList',
......@@ -14,7 +18,11 @@ export function getBdcqzList (params) {
params: params
})
}
// 获取印刷序列号
/**
* @description: 获取印刷序列号
* @param {*} params
* @author: renchao
*/
export function readYsxlh (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh',
......@@ -22,7 +30,11 @@ export function readYsxlh (params) {
params: params
})
}
// 缮证
/**
* @description: 缮证
* @param {*} data
* @author: renchao
*/
export function certificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate',
......@@ -30,7 +42,11 @@ export function certificate (data) {
data
})
}
// 作废缮证信息
/**
* @description: 作废缮证信息
* @param {*} data
* @author: renchao
*/
export function invalidCertificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate',
......@@ -38,7 +54,11 @@ export function invalidCertificate (data) {
data
})
}
//根据受理申请标识码获取所有缮证列表
/**
* @description: 根据受理申请标识码获取所有缮证列表
* @param {*} data
* @author: renchao
*/
export function getCertificateList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList',
......@@ -47,7 +67,11 @@ export function getCertificateList (data) {
})
}
//获取不动产权证对应缮证列表
/**
* @description: 获取不动产权证对应缮证列表
* @param {*} params
* @author: renchao
*/
export function getSzRecordList (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList',
......@@ -56,7 +80,11 @@ export function getSzRecordList (params) {
})
}
//获取未领取的证书信息
/**
* @description: 获取未领取的证书信息
* @param {*} data
* @author: renchao
*/
export function getUnclaimedBdcqz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz',
......@@ -65,7 +93,11 @@ export function getUnclaimedBdcqz (data) {
})
}
// 发证
/**
* @description: 发证
* @param {*} data
* @author: renchao
*/
export function issueCertificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate',
......@@ -73,7 +105,11 @@ export function issueCertificate (data) {
data
})
}
// 获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @param {*} params
* @author: renchao
*/
export function getSlsqBdcqzList (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList',
......@@ -82,7 +118,11 @@ export function getSlsqBdcqzList (params) {
})
}
// 证书预览
/**
* @description: 证书预览
* @param {*} data
* @author: renchao
*/
export function bdcqzPreview (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 09:15:02
* @LastEditTime: 2023-05-16 14:04:42
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @param {*} data
* @author: renchao
*/
export function InitClml (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml',
......@@ -15,7 +19,11 @@ export function InitClml (data) {
})
}
// 材料目录明细移动
/**
* @description: 材料目录明细移动
* @param {*} data
* @author: renchao
*/
export function moveClml (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml',
......@@ -24,7 +32,11 @@ export function moveClml (data) {
})
}
// 材料目录明细保存
/**
* @description: 材料目录明细保存
* @param {*} data
* @author: renchao
*/
export function saveClml (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml',
......@@ -33,7 +45,11 @@ export function saveClml (data) {
})
}
// 材料目录批量删除
/**
* @description: 材料目录批量删除
* @param {*} params
* @author: renchao
*/
export function deleteSjClml (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml',
......@@ -42,7 +58,11 @@ export function deleteSjClml (params) {
})
}
// 上传单个文件
/**
* @description: 上传单个文件
* @param {*} data
* @author: renchao
*/
export function uploadSjClmx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx',
......@@ -51,7 +71,11 @@ export function uploadSjClmx (data) {
})
}
// 删除上传文件
/**
* @description: 删除上传文件
* @param {*} bsmClmx
* @author: renchao
*/
export function deleteClmx (bsmClmx) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx,
......@@ -59,7 +83,11 @@ export function deleteClmx (bsmClmx) {
})
}
// 材料导入
/**
* @description: 材料导入
* @param {*} data
* @author: renchao
*/
export function uploadUndo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:36:44
*/
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
export function uploadUrl () {
return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload'
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 09:17:56
* @LastEditTime: 2023-05-16 14:01:26
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 转出
/**
* @description: 转出
* @param {*} data
* @author: renchao
*/
export function completeTask (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask',
......@@ -13,7 +17,11 @@ export function completeTask (data) {
data
})
}
// 回退表格数据
/**
* @description: 回退表格数据
* @param {*} params
* @author: renchao
*/
export function getTaskBackNode (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode',
......@@ -21,7 +29,11 @@ export function getTaskBackNode (params) {
params: params
})
}
// 退回确认接口
/**
* @description: 退回确认接口
* @param {*} data
* @author: renchao
*/
export function sendBackTask (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask',
......@@ -29,7 +41,11 @@ export function sendBackTask (data) {
data
})
}
// 获取左侧列表
/**
* @description: 获取左侧列表
* @param {*} data
* @author: renchao
*/
export function leftMenu (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu',
......@@ -38,7 +54,11 @@ export function leftMenu (data) {
})
}
// 获取下一环节信息
/**
* @description: 获取下一环节信息
* @param {*} params
* @author: renchao
*/
export function getNextLinkInfo (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo',
......@@ -47,7 +67,11 @@ export function getNextLinkInfo (params) {
});
}
//获取单元对应的环节表单信息
/**
* @description: 获取单元对应的环节表单信息
* @param {*} data
* @author: renchao
*/
export function getStepFormInfo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo',
......@@ -55,7 +79,11 @@ export function getStepFormInfo (data) {
data
});
}
// 环节扩展信息
/**
* @description: 环节扩展信息
* @param {*} data
* @author: renchao
*/
export function stepExpandInfo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo',
......@@ -64,7 +92,11 @@ export function stepExpandInfo (data) {
})
}
// 获取审批意见
/**
* @description: 获取审批意见
* @param {*} data
* @author: renchao
*/
export function getSpyjList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList',
......@@ -73,7 +105,11 @@ export function getSpyjList (data) {
})
}
// 保存审批意见
/**
* @description: 保存审批意见
* @param {*} data
* @author: renchao
*/
export function saveSpyj (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj',
......@@ -81,7 +117,11 @@ export function saveSpyj (data) {
data
})
}
// 根据受理申请保存审批意见
/**
* @description: 根据受理申请保存审批意见
* @param {*} data
* @author: renchao
*/
export function saveSpyjBySlsq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq',
......@@ -90,7 +130,11 @@ export function saveSpyjBySlsq (data) {
})
}
// 获取用户常用意见
/**
* @description: 获取用户常用意见
* @param {*} data
* @author: renchao
*/
export function getUserCommonOpinion (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getUserCommonOpinion',
......@@ -99,7 +143,11 @@ export function getUserCommonOpinion (data) {
})
}
// 新增用户常用意见
/**
* @description: 新增用户常用意见
* @param {*} params
* @author: renchao
*/
export function addUserCommonOpinion (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/addUserCommonOpinion',
......@@ -108,7 +156,11 @@ export function addUserCommonOpinion (params) {
})
}
//删除常用意见
/**
* @description: 删除常用意见
* @param {*} params
* @author: renchao
*/
export function delUserCommonOpinion (params) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/delUserCommonOpinion',
......@@ -117,7 +169,11 @@ export function delUserCommonOpinion (params) {
})
}
// 登簿接口
/**
* @description: 登簿接口
* @param {*} data
* @author: renchao
*/
export function record (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/record',
......@@ -135,7 +191,11 @@ export function stopTask (data) {
})
}
// 获取用户任务权限
/**
* @description: 获取用户任务权限
* @param {*} params
* @author: renchao
*/
export function judgeUserTaskPermission (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/judgeUserTaskPermission',
......@@ -144,7 +204,11 @@ export function judgeUserTaskPermission (params) {
})
}
// 获取申请书数据
/**
* @description: 获取申请书数据
* @param {*} data
* @author: renchao
*/
export function getPrintApplicationInfo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:36:55
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......
/*
* @Description: 登记簿详情页
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:51:34
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
登记簿详情页
*/
// 获取登记封面
/**
* @description: 获取登记封面
* @param {*} data
* @author: renchao
*/
export function getDjbfm (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbFm',
......@@ -12,7 +19,11 @@ export function getDjbfm (data) {
})
}
// 获取登记目录
/**
* @description: 获取登记目录
* @param {*} data
* @author: renchao
*/
export function getBdcqldjmlByBdcdyid (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqldjmlByBdcdyid',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:49:57
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取自然幢下其他户
/**
* @description: 获取自然幢下其他户
* @param {*} data
* @author: renchao
*/
export function selectOtherH (data) {
return request({
url: 'ywbl/ywsq/selectOtherH',
......@@ -10,9 +17,11 @@ export function selectOtherH (data) {
data
})
}
/*
业务办理-选择抵押权信息-根据条件进行列表查询
*/
/**
* @description: 业务办理-选择抵押权信息-根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export function selectDiyaq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 14:05:25
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取申请查询列表
......@@ -36,7 +41,11 @@ export function getJtfcInfo (params) {
})
}
// 获取房屋明细记录详细信息
/**
* @description: 获取房屋明细记录详细信息
* @param {*} params
* @author: renchao
*/
export function getFwmxInfo (params) {
return request({
url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/',
......
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:50:12
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 用户首页
......@@ -8,7 +13,10 @@ export function getHomeNoticeList () {
method: 'get'
})
}
/**
* @description:
* @author: renchao
*/
// 获取首页待办事项
export function getHomeTodoList () {
return request({
......
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
......
/*
* @Description: 综合查询-登记簿查询
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:52:12
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
综合查询
*/
/*
登记簿查询
*/
// 根据条件进行列表查询
/**
* @description: 根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export function getDjbBysearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch',
......@@ -16,7 +20,11 @@ export function getDjbBysearch (data) {
})
}
// 获取登记封面
/**
* @description: 获取登记封面
* @param {*} qlbsm
* @author: renchao
*/
export function getDjbfm (qlbsm) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/djbfm/' + qlbsm,
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-16 13:53:53
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
证书管理-获取序列号
*/
/**
* @description: 证书管理-获取序列号
* @param {*} params
* @author: renchao
*/
export function getSysSerialSingle (params) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
......@@ -10,9 +17,11 @@ export function getSysSerialSingle (params) {
params: params
})
}
/*
证书管理-证书入库列表
*/
/**
* @description: 证书管理-证书入库列表
* @param {*} data
* @author: renchao
*/
export function getZsglrkList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList',
......@@ -20,9 +29,11 @@ export function getZsglrkList (data) {
data
})
}
/*
证书管理-新增证书入库
*/
/**
* @description: 证书管理-新增证书入库
* @param {*} data
* @author: renchao
*/
export function zsrk (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk',
......@@ -30,9 +41,11 @@ export function zsrk (data) {
data
})
}
/*
证书管理-删除证书入库
*/
/**
* @description: 证书管理-删除证书入库
* @param {*} params
* @author: renchao
*/
export function removeZsgl (params) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl',
......@@ -40,9 +53,11 @@ export function removeZsgl (params) {
params: params
})
}
/*
证书管理-审核证书入库
*/
/**
* @description: 证书管理-审核证书入库
* @param {*} params
* @author: renchao
*/
export function verifyZsrk (params) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk',
......@@ -50,9 +65,11 @@ export function verifyZsrk (params) {
params: params
})
}
/*
证书管理-证书分发列表
*/
/**
* @description: 证书管理-证书分发列表
* @param {*} data
* @author: renchao
*/
export function getZsglffList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList',
......@@ -60,18 +77,21 @@ export function getZsglffList (data) {
data
})
}
/*
证书管理-证书分发列表
*/
/**
* @description: 证书管理-证书分发列表
* @author: renchao
*/
export function getZsStartNo () {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo',
method: 'get'
})
}
/*
证书管理-获取结束序列号
*/
/**
* @description: 证书管理-获取结束序列号
* @param {*} params
* @author: renchao
*/
export function getZsEndNo (params) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-11 14:48:18
* @LastEditTime: 2023-05-16 09:17:28
*/
/**
* 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
......@@ -12,11 +12,13 @@ import { endLoadingSubCount } from './requestLoading'
// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API,
baseURL:
process.env.NODE_ENV == "development"
? process.env.VUE_APP_BASE_API
: window.baseUrl + "/",
withCredentials: true, //是否允许跨域
headers: {
'Content-Type': 'application/json; charset=utf-8',
'Authorization': 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6'
'Content-Type': 'application/json; charset=utf-8'
},
timeout: 15000
})
......@@ -24,14 +26,18 @@ const service = axios.create({
// request interceptor
service.interceptors.request.use(
config => {
config.headers.Authorization =
'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6'
config.headers.Accept = 'application/json'
return config
// do something before request is sent
if (process.env.NODE_ENV === "production") {
return config;
} else {
config.headers.Authorization = authorization;
return config;
}
},
error => {
Message.error('请求超时!');
return Promise.reject(error)
// do something with request error
console.log(error); // for debug
return Promise.reject(error);
}
)
......@@ -44,13 +50,6 @@ service.interceptors.response.use(
* 如果请求不成功,就在拦截器这里统一处理(组件的代码就不用关注错误的情况了)
*/
if (response.status == 200) {
// if (response.data.code == 500) {
// Message({
// message: response.data.message,
// type: 'error',
// duration: 5 * 1000
// })
// }
return response.data;
} else {
handleErrorData(response.data);
......
......@@ -22,7 +22,8 @@
accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
<el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button>
</el-upload>
<el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button>
<el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button>
</div>
<ul>
<li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }"
......
......@@ -22,9 +22,12 @@
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
]">
<div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')">
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
有效
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
......
......@@ -22,9 +22,12 @@
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
]">
<div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')">
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
有效
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
......
......@@ -22,9 +22,12 @@
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
]">
<div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')">
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
有效
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
......
......@@ -109,6 +109,16 @@
.linshiIcon {
position: relative;
.icon {
position: absolute;
top: 12px;
right: -5px;
transform: rotate(45deg);
color: #fff;
font-size: 12px;
z-index: 10;
}
}
.linshiIcon::after {
......@@ -127,6 +137,16 @@
.xianshiIcon {
position: relative;
.icon {
position: absolute;
top: 9px;
right: 5px;
transform: rotate(45deg);
color: #fff;
font-size: 12px;
z-index: 10;
}
}
.xianshiIcon::after {
......@@ -143,15 +163,7 @@
transform: rotate(-90deg);
}
.icon {
position: absolute;
top: 12px;
right: -5px;
transform: rotate(45deg);
color: #fff;
font-size: 12px;
z-index: 10;
}
tr {
display: flex;
......
......@@ -6,7 +6,7 @@
</tr>
<tr>
<td>单位</td>
<td colspan="4">{{ zdjbxx.mjdw }}</td>
<td colspan="4">{{ zdjbxx.mjdw | dictionary('A7') }}</td>
</tr>
<tr>
<td>不动产类型</td>
......@@ -39,7 +39,7 @@
</tr>
<tr>
<td>权利设定方式</td>
<td>{{zdjbxx.qlsdfs | qlsdfs}}</td>
<td>{{zdjbxx.qlsdfs | dictionary('A10')}}</td>
<td>容积率</td>
<td>{{ zdjbxx.rjl }}</td>
</tr>
......@@ -172,20 +172,19 @@
zdbhqks: [],
propsParam: this.$attrs,
showGroup: false,
bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"],
};
bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"]
}
},
filters: {
qlsdfs: function (value) {
const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value));
dictionary: function (value, param) {
const foundItem = store.getters.dictData[param].find(item => item.dcode === String(value))
if (foundItem) {
console.log(foundItem.dname, 'foundItem.dname');
return foundItem.dname;
return foundItem.dname
}
}
},
created () {
this.loadData();
this.loadData()
},
methods: {
loadData () {
......@@ -197,12 +196,11 @@
this.showGroup = true;
}
}
});
},
},
};
})
}
}
}
</script>
<style lang="scss" scoped>
@import "~@/styles/tablecss.scss";
</style>
......
......@@ -24,13 +24,13 @@
</div>
</div>
<clxxAddDialog v-model="isDialog" />
<clxxDetailDialog v-model="detailDialog" :data="tableData" />
<!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> -->
</div>
</template>
<script>
import { mapGetters } from "vuex";
import clxxAddDialog from "./dialog/clxxAddDialog.vue";
import clxxDetailDialog from "./clxxDetailDialog.vue";
import clxxDetailDialog from "./dialog/clxxDetailDialog.vue";
import imagePreview from '@/views/components/imagePreview.vue'
import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
import { popupDialog } from "@/utils/popup.js";
......@@ -39,7 +39,6 @@
data () {
return {
isDialog: false,
detailDialog: false,
iclass: "",
// 材料目录选中
treeCheckIndex: 0,
......@@ -185,15 +184,17 @@
if (data) {
data.map((item) => {
if (item.dcode == val) {
name = item.dname;
name = item.dname
}
});
return name;
return name
}
},
//查看明细
viewDetail () {
this.detailDialog = true;
this.$popupDialog("查看明细", "workflow/components/dialog/clxxDetailDialog", {
data: this.tableData
}, "60%")
},
//设置tableData
setTableData (tableData) {
......
......@@ -66,7 +66,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100">
<el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......
......@@ -260,14 +260,16 @@
//是否分别持证
if (this.ruleForm.slywxx.sqfbcz == '1') { //是
this.ruleForm.qlrList.forEach((item, index) => {
item.sfczr = "1";
item.sfczr = "1"
});
} else {
this.ruleForm.qlrList.forEach((item, index) => {
if (item.zjh == this.ruleForm.czr) {
item.sfczr = "1";
item.sfczr = "1"
} else {
item.sfczr = "0"
}
});
})
}
}
......
......@@ -182,82 +182,87 @@
</div>
</template>
<script>
import { mapGetters } from "vuex";
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
export default {
mounted () {
this.propsParam = this.$attrs;
var formdata = new FormData();
this.$startLoading();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
this.$endLoading();
}
});
},
components: { qlrCommonTable },
computed: {
...mapGetters(["dictData", "flag"])
},
data () {
return {
disabled: true,
czrOptions: [],
ruleForm: {},
//传递参数
propsParam: {},
rules: {},
};
},
methods: {
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
import { mapGetters } from "vuex";
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
export default {
mounted () {
this.propsParam = this.$attrs;
var formdata = new FormData();
this.$startLoading();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result;
this.$endLoading();
}
});
},
compare () {
this.$popup({
titleStyle: "left",
title: "土地变化情况比对", // 弹窗标题
editItem: "registerBook/jsydsyq", // 弹窗内容
formData: this.propsParam,
width: "1220px",
height: "790px",
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel: () => {
console.log("取消回调");
},
confirm: () => {
console.log("确认回调");
components: { qlrCommonTable },
computed: {
...mapGetters(["dictData", "flag"])
},
data () {
return {
disabled: true,
czrOptions: [],
ruleForm: {
slywxx: {},
qlxx: {},
zdjbxx: {},
jsydsyq: {}
},
});
}
},
//传递参数
propsParam: {},
rules: {},
};
},
methods: {
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
} else {
this.$message({
showClose: true,
message: res.message,
type: "error",
});
}
});
},
compare () {
this.$popup({
titleStyle: "left",
title: "土地变化情况比对", // 弹窗标题
editItem: "registerBook/jsydsyq", // 弹窗内容
formData: this.propsParam,
width: "1220px",
height: "790px",
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel: () => {
console.log("取消回调");
},
confirm: () => {
console.log("确认回调");
},
});
}
},
};
};
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
......
......@@ -12,7 +12,7 @@
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
......
......@@ -12,7 +12,7 @@
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......
......@@ -19,7 +19,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......
......@@ -26,7 +26,7 @@
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......
......@@ -12,7 +12,7 @@
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
......
......@@ -19,7 +19,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
<el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......
......@@ -19,7 +19,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
<el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......
......@@ -19,7 +19,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="" v-model="queryForm.zl" clearable class="width200px">
<el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......
......@@ -63,7 +63,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100">
<el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......@@ -80,82 +80,82 @@
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./jdcxdata";
import { getJdcxBysearch } from "@/api/zhcx.js"
export default {
name: "jdcx",
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
computed: {
...mapGetters(['dictData'])
},
data () {
return {
queryForm: {
ywly: "",
qllx: "",
djlx: "",
ywh: "",
},
// pageData: {
// currentPage: 1,
// pageSize: 10,
// total: 0,
// },
tableData: {
total: 0,
columns: datas.columns(),
data: []
}
}
},
methods: {
// 初始化数据
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
// let str = ''
// records.forEach(item => {
// if (item.userNameList.length != 0) {
// str = String(item.userNameList)
// item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')'
// }
// if (item.qlrmc.length != 0) {
// item.qlrmcStr = String(item.qlrmc)
// }
// if (item.ywrmc.length != 0) {
// item.ywrmcStr = String(item.ywrmc)
// }
// if (item.zlList.length != 0) {
// item.zlStr = String(item.zlList)
// }
// })
// this.pageData.total = total;
// this.tableData.data = records
this.tableData.total = total ? total : 0;
this.tableData.data = records ? records : [];
}
})
import { mapGetters } from 'vuex'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./jdcxdata";
import { getJdcxBysearch } from "@/api/zhcx.js"
export default {
name: "jdcx",
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
computed: {
...mapGetters(['dictData'])
},
handleSort (name, sort) {
console.log(name, sort);
data () {
return {
queryForm: {
ywly: "",
qllx: "",
djlx: "",
ywh: "",
},
// pageData: {
// currentPage: 1,
// pageSize: 10,
// total: 0,
// },
tableData: {
total: 0,
columns: datas.columns(),
data: []
}
}
},
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
// window.open(href, '_blank');
window.open(href, `urlname${item.bsmSlsq}`);
methods: {
// 初始化数据
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
// let str = ''
// records.forEach(item => {
// if (item.userNameList.length != 0) {
// str = String(item.userNameList)
// item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')'
// }
// if (item.qlrmc.length != 0) {
// item.qlrmcStr = String(item.qlrmc)
// }
// if (item.ywrmc.length != 0) {
// item.ywrmcStr = String(item.ywrmc)
// }
// if (item.zlList.length != 0) {
// item.zlStr = String(item.zlList)
// }
// })
// this.pageData.total = total;
// this.tableData.data = records
this.tableData.total = total ? total : 0;
this.tableData.data = records ? records : [];
}
})
},
handleSort (name, sort) {
console.log(name, sort);
},
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
// window.open(href, '_blank');
window.open(href, `urlname${item.bsmSlsq}`);
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......