a31ef48f by renchao@pashanhoo.com

feat:数据上报

0 parents
Showing 422 changed files with 4817 additions and 0 deletions
# https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
###
# @Description:
# @Autor: renchao
# @LastEditTime: 2023-05-11 16:09:50
###
# just a flag
ENV = 'development'
NODE_ENV=development
# base api
VUE_APP_BASE_API = '/api'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.38:8026'
# just a flag
ENV = 'production'
NODE_ENV=production
# base api
VUE_APP_BASE_API = ''
# 演示,正式后端
VUE_APP_API_BASE_URL = 'http://192.168.2.38:8027'
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.history
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
package-lock.json
/public/config.json
MIT License
Copyright (c) 2017-present PanJiaChen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-06 11:03:47
-->
## Git 贡献提交规范
- `feat` 增加新功能
- `fix` 修复问题/BUG
- `style` 代码风格相关无影响运行结果的
- `perf` 优化/性能提升
- `refactor` 重构
- `revert` 撤销修改
- `test` 测试相关
- `docs` 文档/注释
- `chore` 依赖更新/脚手架配置修改等
- `wip` 开发中
## 项目换肤
给html根标签设置一个data-theme属性,然后通过js切换data-theme的属性值,Scss根据此属性来判断使用对应主题变量
## config说明
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"LOGIN": "", { 登录页配置 }
"CODE": "BDCJGPT", {"BDCSBPT":上报: "BDCJGPT":监管}
"SERVERAPI": "/bdcsjsb",
"AREARMAP": "610702", // {"610702","632701"}
"calcHeight": 200, {上报:160 监管:200}
"echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"}
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
}
## 行政区编码
610702 汉中
632701 玉树
\ No newline at end of file
module.exports = {
presets: [
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
// '@vue/cli-plugin-babel/preset'
[
"@vue/app",
{
"useBuiltIns": "entry",
}
]
],
'env': {
'development': {
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
// https://panjiachen.github.io/vue-element-admin-site/guide/advanced/lazy-loading.html
'plugins': ['dynamic-import-node']
}
}
}
{
"name": "bdcdj-web",
"version": "2.0.0",
"description": "jgsb",
"author": "renchao",
"scripts": {
"dev": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"dependencies": {
"@jiaminghi/data-view": "^2.10.0",
"axios": "^0.21.1",
"clipboard": "^2.0.11",
"core-js": "^3.6.5",
"echarts": "^5.3.3",
"file-saver": "^2.0.5",
"js-cookie": "2.2.0",
"jsoneditor": "^9.9.2",
"lodash": "^4.17.21",
"node-sass": "^4.14.1",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"vue": "2.6.10",
"vue-awesome": "^4.5.0",
"vue-json-editor": "^1.4.3",
"vue-router": "3.0.2",
"vuex": "3.1.0",
"xe-utils": "^3.5.7",
"xlsx": "^0.17.0",
"xlsx-style": "^0.8.13"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.4",
"@vue/cli-plugin-unit-jest": "4.4.4",
"@vue/cli-service": "4.4.4",
"@vue/test-utils": "1.0.0-beta.29",
"autoprefixer": "9.5.1",
"babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "2.4.2",
"connect": "3.6.6",
"element-ui": "^2.15.13",
"html-webpack-plugin": "3.2.0",
"runjs": "4.3.2",
"sass-loader": "8.0.2",
"sass-resources-loader": "^2.2.1",
"script-ext-html-webpack-plugin": "2.1.3",
"serve-static": "1.13.2",
"style-resources-loader": "^1.4.1",
"svg-sprite-loader": "4.1.3",
"svgo": "^2.3.1",
"vue-template-compiler": "2.6.10",
"vxe-table": "^3.6.9",
"vxe-table-plugin-element": "^1.11.2"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"engines": {
"node": ">=10.16",
"npm": ">= 3.0.0"
},
"keywords": [
"vue",
"admin",
"element-ui"
],
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "http://yun.pashanhoo.com:9090/bdc/bdcjg-web.git"
}
}
module.exports = {
plugins: {
autoprefixer: {}
},
}
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"LOGIN": "sb",
"CODE": "BDCSBPT",
"AREARMAP": "610702",
"XZQ": "汉中市",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
{
"TITLE": "玉树州数据上报系统",
"THEME": "sb",
"LOGIN": "sb",
"CODE": "BDCSBPT",
"AREARMAP": "632701",
"XZQ": "玉树州",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
No preview for this file type
<!--
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-05-08 15:02:53
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>
<%= webpackConfig.name %>
</title>
</head>
<script>
fetch('<%= BASE_URL %>config.json')
.then(response => response.json())
.then(config => {
window.config = config
});
</script>
<body>
<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
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-24 15:07:01
-->
<template>
<div id="app">
<router-view />
</div>
</template>
/*
* @Author: yangwei
* @Date: 2023-02-24 15:12:45
* @LastEditors: yangwei
* @LastEditTime: 2023-03-14 10:45:11
* @FilePath: \bdcjg-web\src\api\authorityManage.js
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import { getParams } from './util'
import {
api,
getAction,
deleteAction,
putAction
} from './manageApi'
/** 角色管理开始 */
// 获取角色列表 by categoryId
export const getRolesById = categoryIdList => {
const conditionGroup = {
conditions: [
{
property: 'category',
value: categoryIdList,
operator: 'IN'
}
],
queryRelation: 'AND',
}
const params = getParams(conditionGroup)
return getAction(api.roles, params)
}
/** 角色管理结束 */
/** 授权管理开始 */
// 获取权限列表
export const getAuthorityListAction = (productId, subsystemCode) => {
const conditionGroup = {
conditions: [
{
property: 'productId',
value: productId,
operator: 'EQ'
},
{
property: 'code',
value: subsystemCode + '_MENU',
operator: 'EQ'
}
],
queryRelation: 'AND'
}
const params = getParams(conditionGroup)
return getAction(api.resourceCategory, params)
}
/**
* 获取角色的权限 id operationCodes resourceCategoryCode
* id 授权id
* operationCodes 操作符集合
* resourceCategoryCode 菜单默认MENU
*/
export const getRoleAuthorityList = (
id,
operationCodes,
resourceCategoryCode
) => {
return getAction(`${api.rolePermissions}/${id}`, {
operationCodes: operationCodes,
resourceCategoryCode: resourceCategoryCode
})
}
// 角色授权
export const roleAuthority = (id, permissionDtos) => {
return putAction(`${api.rolePermissions}/${id}`, permissionDtos)
}
// 获取父级菜单
// id是系统id
export const getParentMenuListAction = (id) => {
let conditionGroup = {}
if (id && id !== '') {
conditionGroup = {
conditions: [
{
property: 'productId',
value: id,
operator: 'EQ'
}
],
queryRelation: 'AND'
}
}
const params = getParams(conditionGroup)
return getAction(api.menus, params)
}
/*
* @Description: 统计率
* @Autor: renchao
* @LastEditTime: 2023-03-21 16:25:26
*/
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class business {
/**
* @description: 成功率统计
* @param {*} startDate
* @param {*} endDate
* @param {*} qxdm
* @author: renchao
*/
async getSuucessRate (startDate, endDate, qxdm) {
return request({
url: SERVER.SERVERAPI + '/rest/statistics/Business/sf',
method: 'get',
params: {
startDate: startDate,
endDate: endDate,
qxdm: qxdm
}
})
}
}
export default new business()
\ No newline at end of file
/*
* @Description: 数据上报模块api文件
* @Autor: renchao
* @LastEditTime: 2023-05-06 10:29:06
*/
/* 引入axios请求文件 */
import request from '@/utils/request'
/* 引入配置 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/'
/**
* @description: 区县上报根据业务id获取xml
* @param {*} bizMsgid
* @author: renchao
*/
export function getXml (bizMsgid) {
return request({
url: urlHeader + 'getXml',
method: 'get',
params: {
businessId: bizMsgid
}
})
}
/**
* @description: 区县上报分页
* @param {*} data
* @author: renchao
*/
export function getAreaReportPage (data) {
return request({
url: urlHeader + 'getAreaReportPage',
method: 'post',
data
})
}
/**
* @description: 接入数据上报分页
* @author: renchao
*/
export function getReceiveDataReportPage (data) {
return request({
url: urlHeader + 'getReceiveDataReportPage',
method: 'post',
data
})
}
/**
* @description: 数据上报分页
* @author: renchao
*/
export function getDataReportPage (data) {
return request({
url: urlHeader + 'getDataReportPage',
method: 'post',
data
})
}
export function getSjsbReportPage (data) {
return request({
url: urlHeader + 'getSjsbReportPage',
method: 'post',
data
})
}
/**
* @description: 查询数据上报详情tabs选项卡
* @author: renchao
*/
export function getTabsDetail (params) {
return request({
url: urlHeader + 'getTabsDetail',
method: 'get',
params
})
}
/**
* @description: 查询数据上报详情
* @author: renchao
*/
export function getReportDetail (params) {
return request({
url: urlHeader + 'getReportDetail',
method: 'get',
params
})
}
/**
* @description: 获取数据上报结果
* @param {*} bsmReport
* @author: renchao
*/
export function getReceiveDataReportResult (bsmReport) {
return request({
url: urlHeader + 'getReceiveDataReportResult',
method: 'get',
params: {
bsmReport: bsmReport
}
})
}
/**
* @description: 重新上报
* @param {*} bsmReport
* @author: renchao
*/
export function restartGenerateXml (bsmReport) {
return request({
url: urlHeader + 'restartGenerateXml?bsmReport=' + bsmReport,
method: 'post'
})
}
/**
* @description: 编辑报文头
* @param {*} data
* @author: renchao
*/
export function edit (data) {
return request({
url: urlHeader + 'edit',
method: 'post',
data
})
}
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
获取全部字典数据
*/
export function getAllDict () {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/getAllDict',
method: 'post'
})
}
export function getQlxxDictList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/getDictList',
method: 'post',
data
})
}
/*
获取字典子级列表
*/
export function getChildDictList (bsmDict) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/getChildDictList',
method: 'get',
params: {
bsmDict: bsmDict
}
})
}
/*
编辑字典数据
*/
export function editDictNode (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/editDictNode',
method: 'post',
data
})
}
/*
刷新字典缓存
*/
export function refreshDictCache () {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/refreshDictCache',
method: 'get'
})
}
\ No newline at end of file
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjDb {
//登记登簿信息
async getDjfDjDbById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记登簿信息
async updateDjfDjDb (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit",
method: "post",
data,
});
}
}
export default new djfDjDb();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjFz {
//登记发证信息
async getDjfDjFzDetailById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记发证信息
async updateDjfDjFz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit",
method: "post",
data,
});
}
}
export default new djfDjFz();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjGd {
// 登记归档信息-业务表单
async getDjfDjGdById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 登记归档信息-业务-修改
async updateDjfDjGd (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit",
method: "put",
data,
});
}
}
export default new djfDjGd();
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSf {
// 登记收费信息
async getDjfDjSfById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSf/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 登记收费信息-修改
async updateDjfDjSf (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/DjfDjSf/edit',
method: 'post',
data
})
}
}
export default new djfDjSf()
\ No newline at end of file
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSh {
//登记审核信息
async getDjfDjShById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记审核信息
async updateDjfDjSh (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit",
method: "post",
data,
});
}
}
export default new djfDjSh();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSj {
//登记收件信息
async getDjfDjSjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记收件信息
async updateDjfDjSj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit",
method: "post",
data,
});
}
}
export default new djfDjSj();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSqr {
// 申请人属性信息-业务表单
async getDjfDjSqrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 申请人属性信息-业务-修改
async updateDjfDjSqr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit",
method: "post",
data,
});
}
}
export default new djfDjSqr();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSz {
//登记缮证信息
async getDjfDjSzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改登记缮证信息
async updateDjfDjSz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit",
method: "post",
data,
});
}
}
export default new djfDjSz();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djtDjSlsq {
// 登记受理申请信息 -- 业务表单
async getDjtDjSlsqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 登记受理申请信息 -- 业务修改
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit",
method: "post",
data,
});
}
//修改登记受理申请信息
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq",
method: "put",
data,
});
}
}
export default new djtDjSlsq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class efficient {
/*
获取对应的业务量总数
startDate:开始日期
endDate:结束日期
*/
async getProcessCounts (startDate, endDate, qxdm) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts",
method: "post",
params: {
startDate: startDate,
endDate: endDate,
qxdm: qxdm
},
});
}
/*
获取各区县业务对应的天数
recType:业务代码
startDate:开始日期
endDate:结束日期
*/
async getProcessDays (recType, startDate, endDate) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays",
method: "post",
params: {
recType: recType,
startDate: startDate,
endDate: endDate,
},
});
}
}
export default new efficient();
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 16:25:08
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/* 引入配置 */
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/storage'
/**
* @description: xml导入
* @param {*} data
* @author: renchao
*/
export function storage (data) {
return request({
url: urlHeader,
headers: {
'Content-Type': 'multipart/form-data'
},
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class fjF100 {
// 非结构化文档
async getFjF100ById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/FjF100/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//非结构化文档-修改
async updateFjF100 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/FjF100/edit',
method: 'post',
data
})
}
}
export default new fjF100()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtDzdzw {
// 点状定着物信息
async getKtfQtDzdzwById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtDzdzw/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 点状定着物信息-修改
async updateKtfQtDzdzw (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtDzdzw/edit',
method: 'post',
data
})
}
}
export default new ktfQtDzdzw()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtMzdzw {
// 面状定着物
async getKtfQtMzdzwById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtMzdzw/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 面状定着物-修改
async updateKtfQtMzdzw (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtMzdzw/edit',
method: 'post',
data
})
}
}
export default new ktfQtMzdzw()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtXzdzw {
// 线状定着物
async getKtfQtXzdzwById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtXzdzw/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 线状定着物-修改
async updateKtfQtXzdzw (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfQtXzdzw/edit',
method: 'post',
data
})
}
}
export default new ktfQtXzdzw()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZdbhqk {
//宗地变化情况
async getKtfZdbhqkById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZdbhqk/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改宗地变化情况
async updateKtfZdbhqk (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZdbhqk/edit',
method: 'post',
data
})
}
}
export default new ktfZdbhqk()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhydzb {
// 用海,用岛坐标
async getKtfZhYhydzbById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 用海,用岛坐标-修改
async updateKtfZhYhydzb (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/edit',
method: 'post',
data
})
}
}
export default new ktfZhYhydzb()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhzk {
//用海状况
async getKtfZhYhzkById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改用海状况
async updateKtfZhYhzk (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/edit',
method: 'post',
data
})
}
}
export default new ktfZhYhzk()
\ No newline at end of file
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwC {
// 层信息- 业务表单
async getKttFwCById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 层信息-业务-修改
async updateKttFwC (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit",
method: "post",
data,
});
}
}
export default new kttFwC();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwH {
// 户信息- 业务表单
async getKttFwHById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 户信息-业务-修改
async updateKttFwH (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit",
method: "post",
data,
});
}
}
export default new kttFwH();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwLjz {
// 逻辑幢信息 -- 业务表单
async getKttFwLjzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 逻辑幢信息 -- 业务修改
async updateKttFwLjz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit",
method: "post",
data,
});
}
}
export default new kttFwLjz();
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwZrz {
// 自然幢信息
async getKttFwZrzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwZrz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 自然幢信息-修改
async updateKttFwZrz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttFwZrz/edit',
method: 'post',
data
})
}
}
export default new kttFwZrz()
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzd {
//界址点
async getKttGyJzdById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGyJzd/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改界址点
async updateKttGyJzd (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGyJzd/edit',
method: 'post',
data
})
}
}
export default new kttGyJzd()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzx {
//界址线信息
async getKttGyJzxById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGyJzx/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改界址线信息
async updateKttGyJzx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGyJzx/edit',
method: 'post',
data
})
}
}
export default new kttGyJzx()
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGzw {
//构筑物
async getKttGzwById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGzw/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改构筑物
async updateKttGzw (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGzw/edit',
method: 'post',
data
})
}
}
export default new kttGzw()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZdjbxx {
// 宗地基本信息
async kttZdjbxxDetail (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttZdjbxx/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 宗地基本信息-修改
async updateKttZdjbxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttZdjbxx/edit',
method: 'post',
data
})
}
}
export default new kttZdjbxx()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZhjbxx {
//宗海基本信息
async getKttZhjbxxById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttZhjbxx/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改宗海基本信息
async updateKttZhjbxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttZhjbxx/edit',
method: 'post',
data
})
}
}
export default new kttZhjbxx()
\ No newline at end of file
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-08 15:03:10
*/
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
export function loginIn (username, password) {
return request({
url: `${SERVER.MANAGEMENTAPI}/login?username=${username}&password=${password}`,
method: "post",
});
}
export function logout () {
return request({
url: `${SERVER.MANAGEMENTAPI}/logout`,
method: "post",
});
}
\ No newline at end of file
import request from '@/utils/request'
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const workflow = '/workflow'
const log = '/log'
const crud = '/crud'
export const api = {
userInfo: SERVER.MANAGEMENTAPI + '/rest/user-info', // 登录用户信息
permissionsUser: SERVER.MANAGEMENTAPI + '/rest/user-permissions', // 用户权限
baseDataCategory: SERVER.MANAGEMENTAPI + '/rest/base-data-category', // 数据字典类别
baseData: SERVER.MANAGEMENTAPI + '/rest/base-data', // 数据字典
districts: SERVER.MANAGEMENTAPI + '/rest/districts', // 行政区划
districtsAll: SERVER.MANAGEMENTAPI + '/rest/districts/parent-tree', // 条件查询所有行政区划
organizations: SERVER.MANAGEMENTAPI + '/rest/organizations', // 组织机构
departments: SERVER.MANAGEMENTAPI + '/rest/departments', // 部门
users: SERVER.MANAGEMENTAPI + '/rest/users', // 人员用户
roles: SERVER.MANAGEMENTAPI + '/rest/roles', // 角色
userRoles: SERVER.MANAGEMENTAPI + '/rest/user-roles', // 角色对应人员关系
productCategory: SERVER.MANAGEMENTAPI + '/rest/product-category', // 业务分类
resourceCategory: SERVER.MANAGEMENTAPI + '/rest/resource-category', // 资源分类
resources: SERVER.MANAGEMENTAPI + '/rest/resources', // 资源详情列表
subsystem: SERVER.MANAGEMENTAPI + '/rest/products', // 子系统管理
operations: SERVER.MANAGEMENTAPI + '/rest/operations', // 操作
menus: SERVER.MANAGEMENTAPI + '/rest/menus', // 菜单
organizationPermissions: SERVER.MANAGEMENTAPI + '/rest/organization-permissions', // 机构授权
departmentPermissions: SERVER.MANAGEMENTAPI + '/rest/department-permissions', // 部门授权
rolePermissions: SERVER.MANAGEMENTAPI + '/rest/role-permissions', // 角色授权
peoPermissions: SERVER.MANAGEMENTAPI + '/rest/user-permissions', // 用户授权
resourcePermissions: SERVER.MANAGEMENTAPI + '/rest/resource-permissions', // 资源授权查询
menuPermissions: SERVER.MANAGEMENTAPI + '/rest/menu-permissions', // 菜单授权查询
serviceCategory: SERVER.MANAGEMENTAPI + '/rest/service-category', // 服务分类
service: SERVER.MANAGEMENTAPI + '/rest/service', // 服务详情列表
databaseServer: workflow + '/rest/database-server', // 数据库服务器
materialCategory: workflow + '/rest/material-category', // 材料分类
material: workflow + '/rest/material', // 材料
function: workflow + '/rest/function', // 功能属性
eventCategory: workflow + '/rest/event-category', // 服务事件分类
event: workflow + '/rest/event', // 服务事件
formCategorys: workflow + '/rest/forms-category', // 表单分类
forms: workflow + '/rest/forms', // 表单
metadata: workflow + '/rest/metadata', // 元数据
dataObjectCategory: workflow + '/rest/data-object-category', // 对象管理类别
dataObject: workflow + '/rest/data-object', // 对象管理
workflowBusiness: workflow + '/rest/businesses', // 业务流程
// workflowModel: workflow+'/rest/workflow/model',//流程模型
modelcategorys: workflow + '/rest/model-categories', // 模型分类
models: workflow + '/rest/models', // 工作流模型表
businessesModels: workflow + '/rest/businesses-models', // 业务流程关系
pluginCategory: workflow + '/rest/plugin-category', // 流程插件分类管理
plugin: workflow + '/rest/plugins', // 流程插件分类管理
groups: workflow + '/rest/groups', // 用户组分类
groupUsers: workflow + '/rest/group-users', // 用户组人员
saveWorkflowGroupUser: workflow + '/rest/groups/sug', // 工作流设计器增加用户组
validate: workflow + '/rest/models/validate', // 流程验证
tokens: SERVER.MANAGEMENTAPI + '/rest/tokens', // token
session: '/rest/session', // session
pwdSetting: SERVER.MANAGEMENTAPI + '/rest/password-setting', //
singleSign: '/cas/rest/services', // 单点登录管理
attachments: SERVER.MANAGEMENTAPI + '/rest/attachments', // 文件上传服务
instances: workflow + '/rest/workflow/instances', // 实例
workflowTask: workflow + '/rest/workflow-task', // 任务
definitions: workflow + '/rest/workflow/definitions', // 流程实例
systemAccessLogs: log + '/rest/system-access-logs', // 系统访问日志
errorLogs: log + '/rest/common-log-statistics', // 错误日志
appAccess: log + '/rest/system-access-logs/count-app-access', // 系统访问数
userAccess: log + '/rest/system-access-logs/count-user-access', // 用户访问数
statisticMenus: log + '/rest/system-access-logs/statistic-menus', // 统计菜单访问数
statisticUsers: log + '/rest/system-access-logs/statistic-users', // 统计用户访问数
abnormal: log + '/rest/abnormal', // 统计平台报警
monitorConfig: log + '/rest/monitor-alert-config', // 监控预警配置
statisticTimes: log + '/rest/system-access-logs/statistic-times', // 监控预警配置
server: log + '/rest/server', // 服务器监控
serverStatistics: log + '/rest/server-statistics', // 服务器监控信息统计
avgTimes: log + '/rest/services-statistics/avg-times', // 根据时间查响应时间和访问次数
statisticDepts: log + '/rest/system-access-logs/statistic-depts', // 访问部门统计
crudHead: crud + '/rest/head', // crudhead
crudGet: crud + '/rest/get', // crudget
crudPost: crud + '/rest/post', // crudPost
crudPut: crud + '/rest/put', // crudPut
crudDel: crud + '/rest/delete', // crudDel
crudMetadata: crud + '/rest/metadata', //crudMetadata
crudBusiness: crud + '/rest/business', // crudBusiness
crudDatasources: crud + '/rest/datasources', // crudDatasources
}
// 根据code获取字典 params={isTree:true})
export function getDictItems (code, params = {}) {
return request({
url: `${api.baseDataCategory}/${code}/base-datas`,
method: 'get',
params
})
}
// 获取一级字典值下级接口
export function getDictItemsChild (id) {
return request({
url: `${api.baseData}/dict/${id}`,
method: 'get'
})
}
// 获取传入字段的所有级别字典值
export function getAllDictItems (name) {
return request({
url: `${api.baseDataCategory}/${name}/base-datas`,
method: 'get'
})
}
// get公共方法
export function getAction (url, params = {}) {
return request({
url,
method: 'get',
params
})
}
// post公共方法
export function postAction (url, data = null) {
return request({
url,
method: 'post',
data
})
}
// method= {post | put}
export function httpAction (url, data, method) {
return request({
url,
method,
data
})
}
// put公共方法
export function putAction (url, data = null) {
return request({
url,
method: 'put',
data
})
}
// delete
export function deleteAction (url, data = null) {
return request({
url,
method: 'delete',
data
})
}
// 批量删除
export function deleteBranch (url, data) {
return request({
url,
method: 'delete',
data
})
}
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
更新排序
record-排序整条数据
operate-BOTTOM(置底), DOWN(向下), TOP(置顶), UP(向上)
*/
export function updateOrder (url, record, operate, swapId) {
return request({
url: SERVER.MANAGEMENTAPI + url + "/" + record.id + "/orders",
method: "put",
params: {
operate: operate,
swapId: swapId,
},
});
}
/*
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-03-09 15:24:53
* @LastEditors: xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-04-19 13:49:03
* @FilePath: \上报\bdcjg-web\src\api\personnelManage.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import {
api,
getAction,
deleteAction,
putAction
} from './manageApi'
import { getParams } from './util'
export const updateUserPassword = (data) => {
return putAction(`${api.users}/update-password`, data)
}
// 根据条件获取用户
export const getUserList = (params) => {
return getAction(api.users, params)
}
export const getUserLists = (queryParam) => {
const conditionGroup = {
conditions: [],
queryRelation: 'AND',
}
for (let key in queryParam) {
if (queryParam[key]) {
conditionGroup.conditions.push({
property: key,
value: queryParam[key],
operator: 'LIKE'
})
}
}
const params = getParams(conditionGroup)
return getAction(api.users, params)
}
// 重置用户密码
// export const resetPassword = id => {
// return putAction(`${api.users}/${id}/reset-password`)
// }
// 重置用户密码
export const resetPassword = (ids) => {
return putAction(`${api.users}/reset-passwords?ids=${ids}`)
}
// 人员列表
export const getUserRoles = (id) => {
return getAction(`${api.userRoles}/${id}/users`)
}
// 更新人员
export const updateUser = (id, data) => {
return putAction(`${api.userRoles}/${id}/users`, data)
}
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqDzXm {
// 房地产权_项目内多幢房屋项目属性
async getQlfFwFdcqDzXmById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfFwFdcqDzXm/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 房地产权_项目内多幢房屋项目属性-修改
async updateQlfFwFdcqDzXm (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfFwFdcqDzXm/edit',
method: 'post',
data
})
}
}
export default new qlfFwFdcqDzXm()
\ No newline at end of file
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqQfsyq {
// 建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage",
method: "post",
data,
});
}
//建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改建筑物区分所有权业主共有部分信息
async updateQlfFwFdcqQfsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit",
method: "post",
data,
});
}
}
export default new qlfFwFdcqQfsyq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlCfdj {
// 查封登记信息
async getQlfQlCfdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/getDataPage",
method: "post",
data,
});
}
// 查封登记信息
async getQlfQlCfdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 查封登记信息-修改
async updateQlfQlCfdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/edit",
method: "post",
data,
});
}
}
export default new qlfQlCfdj();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyaq {
// 抵押权登记
async getQlfQlDyaqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage",
method: "post",
data,
});
}
// 抵押权
async getQlfQlDyaqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 抵押权-修改
async updateQlfQlDyaq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit",
method: "post",
data,
});
}
}
export default new qlfQlDyaq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyiq {
// 地役权
async getQlfQlDyiqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/getDataPage",
method: "post",
data,
});
}
// 地役权信息
async getQlfQlDyiqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 地役权信息-修改
async updateQlfQlDyiq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/edit",
method: "post",
data,
});
}
}
export default new qlfQlDyiq();
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlGzdj {
// 更正登记信息
async getQlfQlGzdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlGzdj/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 更正登记信息-修改
async updateQlfQlGzdj (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlGzdj/edit',
method: 'post',
data
})
}
}
export default new qlfQlGzdj()
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlHysyq {
// 海域(含无居民海岛)使用权
async getQlfQlHysyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/getDataPage",
method: "post",
data,
});
}
//海域(含无居民海岛)使用权
async getQlfQlHysyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改海域(含无居民海岛)使用权
async updateQlfQlHysyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/edit",
method: "post",
data,
});
}
}
export default new qlfQlHysyq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlJsydsyq {
// 建设用地、宅基地使用权
async getQlfQlJsydsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage",
method: "post",
data,
});
}
//建设用地、宅基地使用权
async getQlfQlJsydsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改建设用地、宅基地使用权
async updateQlfQlJsydsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit',
method: 'post',
data
})
}
}
export default new qlfQlJsydsyq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlNydsyq {
// 农用地使用权(非林地)
async getQlfQlNydsyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage",
method: "post",
data,
});
}
//农用地使用权(非林地)
async getQlfQlNydsyqByID (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改农用地使用权(非林地)
async updateQlfQlNydsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit",
method: "post",
data,
});
}
}
export default new qlfQlNydsyq();
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlQtxgql {
// 其他相关权利
async getQlfQlQtxgqlById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlQtxgql/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 其他相关权利-修改
async updateQlfQlQtxgql (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlQtxgql/edit',
method: 'post',
data
})
}
}
export default new qlfQlQtxgql()
\ No newline at end of file
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlTdsyq {
// 土地所有权
async getQlfQlTdsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
method: "post",
data,
});
}
//土地所有权
async getQlfQlTdsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改土地所有权
async updateQlfQlTdsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit',
method: 'post',
data
})
}
}
export default new qlfQlTdsyq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYgdj {
// 预告登记信息
async getQlfQlYgdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/getDataPage",
method: "post",
data,
});
}
// 预告登记信息
async getQlfQlYgdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 预告登记信息-修改
async updateQlfQlYgdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/edit",
method: "post",
data,
});
}
}
export default new qlfQlYgdj();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYydj {
// 异议登记信息
async getQlfQlYydjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/getDataPage",
method: "post",
data,
});
}
// 异议登记信息
async getQlfQlYydjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 异议登记信息-修改
async updateQlfQlYydj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/edit",
method: "post",
data,
});
}
}
export default new qlfQlYydj();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlZxdj {
// 注销登记
async getQlfQlZxdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage",
method: "post",
data,
});
}
// 注销登记信息
async getQlfQlZxdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//注销登记信息 - 修改
async updateQlfQlZxdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit",
method: "post",
data,
});
}
}
export default new qlfQlZxdj();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqDz {
// 房地产权_项目内多幢房屋信息
async getQltFwFdcqDzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage",
method: "post",
data,
});
}
//房地产权_项目内多幢房屋信息
async getQltFwFdcqDzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改房地产权_项目内多幢房屋信息
async updateQltFwFdcqDz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit',
method: 'post',
data
})
}
}
export default new qltFwFdcqDz();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqYz {
// 房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage",
method: "post",
data,
});
}
//房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改房地产权(独幢、层、套、间、房屋)
async updateQltFwFdcqYz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit',
method: 'post',
data
})
}
}
export default new qltFwFdcqYz();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlGjzwsyq {
// 构(建)筑物所有权
async getQltQlGjzwsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/getDataPage",
method: "post",
data,
});
}
// 构(建)筑物所有权
async getQltQlGjzwsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//构(建)筑物所有权 - 修改
async updateQltQlGjzwsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/edit",
method: "post",
data,
});
}
}
export default new qltQlGjzwsyq();
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlLq {
// 林权
async getQltQlLqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/getDataPage",
method: "post",
data,
});
}
//林权
async getQltQlLqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
//修改林权
async updateQltQlLq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/edit",
method: "post",
data,
});
}
}
export default new qltQlLq();
/*
* @Description: 登薄日志
* @Autor: renchao
* @LastEditTime: 2023-03-02 13:45:53
*/
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
* @description: 登簿日志分页
* @author: renchao
*/
export function getRecordLogPage (data) {
return request({
url: urlHeader + 'getRecordLogPage',
method: 'post',
data
})
}
/**
* @description: 获取详情明细
* @param {*} dbBsm
* @author: renchao
*/
export function getDetail (dbBsm) {
return request({
url: urlHeader + 'getDetail',
method: 'get',
params: {
dbBsm: dbBsm
}
})
}
/**
* @description: 详情页面编辑
* @param {*} data
* @author: renchao
*/
export function edit (data) {
return request({
url: urlHeader + 'edit',
method: 'post',
data
})
}
/**
* @description: 登薄日志重新生成报文
* @param {*} dbBsm
* @author: renchao
*/
export function regenerateDbXml (dbBsm) {
return request({
url: urlHeader + 'regenerateDbXml',
method: 'get',
params: {
dbBsm: dbBsm
}
})
}
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ruleConfig {
// 列表查询
async getSysYwsjbList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbList',
method: 'post',
data
})
}
// 编辑界面列表查询
async eidtConfigRule (id) {
return request({
url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
method: 'get',
params: {
bsmYwsjb: id
}
})
}
// 编辑
async editSysYwsjbWithSysYwsjbField (data) {
return request({
url: SERVER.SERVERAPI + '/rest/SysYwsjb/editSysYwsjbWithSysYwsjbField',
method: 'post',
data
})
}
// 编辑
async deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb (id) {
return request({
url: SERVER.SERVERAPI + '/rest/SysYwsjb/deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
method: 'delete',
params: {
bsmYwsjb: id
}
})
}
// 编辑界面列表查询----根据数据表名查询
async getRuleList (bsmYwsjb) {
return request({
url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTableColumn',
method: 'get',
params: {
bsmYwsjb: bsmYwsjb
}
})
}
}
export default new ruleConfig()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbFunctionOper {
// 数据上报表头相关接口
async getQltFwFdcqYzByCondition (id) {
return request({
url: '/sjsbFunctionOper/getSjsbTableInfo',
method: 'get',
params: {
msgId: id
}
})
}
// xml
async queryXML (id) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
method: 'get',
params: {
msgid: id
}
})
}
}
export default new sjsbFunctionOper()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbTask {
// 定时任务
// 定时任务查询接口
async getTaskListByName (data) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/getScheduleList',
method: 'get',
params: {
jobName: data.jobName,
pageNo: data.currentPage,
pageSize: data.pageSize
}
})
}
// 定时任务新增接口
async sjsbTaskSave (data) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/add',
method: 'post',
data
})
}
// 修改定时任务执行时间接口
async updateCron (data) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/update',
method: 'post',
data
})
}
// 定时任务删除接口
async sjsbTaskRemove (id) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/delete',
method: 'get',
params: {
jobId: id
}
})
}
// 恢复任务接口
async recover (id) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/recover',
method: 'get',
params: {
jobId: id
}
})
}
// 激活任务接口
async active (id) {
return request({
url: SERVER.SERVERAPI + '/rest/schedule/active',
method: 'get',
params: {
jobId: id
}
})
}
}
export default new sjsbTask()
/*
* @Author: yangwei
* @Date: 2023-03-09 09:29:52
* @LastEditors: yangwei
* @LastEditTime: 2023-03-09 10:31:31
* @FilePath: \bdcjg-web\src\api\statistics.js
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
/**
* dataReceiveQuality
* @param startDate
* @param endDate
* @returns {AxiosPromise}
*/
export function dataReceiveQuality (startDate, endDate) {
return request({
url: url + 'dataReceiveQuality?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
/**
* 空项率统计
* @returns {AxiosPromise}
* @param startDate
* @param endDate
*/
export function nonNullSta (startDate, endDate) {
return request({
url: url + 'nonNullSta?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
/**
* 登簿质量统计
* @returns {AxiosPromise}
* @param startDate
* @param endDate
*/
export function registerBookQuality (startDate, endDate) {
return request({
url: url + 'registerBookQuality?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-24 09:28:25
*/
import request from '@/utils/request'
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取用户信息
export function getUserInfo () {
return request({
url: SERVER.SERVERAPI + '/rest/user/getUserInfo',
method: 'get',
})
}
// 获取菜单信息
export function getMenuInfo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus',
method: 'get',
params: {
productCode: data,
},
})
}
// 默认生成参数
export const getParams = (
conditionGroup,
orderBys = [{ property: 'sort', direction: 'desc' }]
) => {
const params = {}
const queryOptions = {
conditionGroup,
orderBys
}
params.queryOptions = JSON.stringify(queryOptions)
return params
}
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class work {
// 登记类型总量
async getDjlxtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal',
method: 'post',
data
})
}
// 登记业务量
async getdjywltotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal',
method: 'post',
data
})
}
// 省厅汇交-区县接入
async getsthjqxjrtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal',
method: 'post',
data
})
}
// 地图区县总量统计,code区县编码,汉中为:A20
async mapViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/mapViews',
method: 'get',
params: {
code: code
}
})
}
// 数据趋势
async dataTrend (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend',
method: 'get',
params: {
code: code
}
})
}
// 新建国有房屋信息
async addhousetotal (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal',
method: 'get',
params: {
code: code
}
})
}
// 地图区县成功失败统计,code区县编码,汉中为:A20
async submitViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/submitViews',
method: 'get',
params: {
code: code
}
})
}
}
export default new work()
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zdK103 {
//宗地空间属性
async getZdK103ById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZdK103/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改宗地空间属性
async updateZdK103 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZdK103/edit',
method: 'post',
data
})
}
}
export default new zdK103()
\ No newline at end of file
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zhK105 {
// 宗海空间属性
async getZhK105ById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZhK105/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 宗海空间属性-修改
async updateZhK105 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZhK105/edit',
method: 'post',
data
})
}
}
export default new zhK105()
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zttGyQlr {
// 权利人 -- 业务表单
async getZttGyQlrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail",
method: "get",
params: {
bsmSjsb: bsmSjsb,
},
});
}
// 权利人 -- 业务表单修改
async updateZttGyQlr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit",
method: "post",
data,
});
}
}
export default new zttGyQlr();
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-27 09:53:16
*/
import dialogBox from '@/components/DialogBox'
import LbTable from '@/components/LbTable'
import Breadcrumb from "@/components/Breadcrumb.vue";
// 引入按钮
import btn from '@/components/Button.vue'
import Popup from '@/components/Popup/index'
import MessageBox from '@/components/MessageBox/index.js'
export default {
install: (Vue) => {
Vue.component('dialogBox', dialogBox);
Vue.component('Breadcrumb', Breadcrumb);
Vue.component('btn', btn);
Vue.component('lbTable', LbTable);
Vue.prototype.$alertMes = MessageBox.alert;
}
}
\ No newline at end of file
<template>
<div :id="id" :class="className" :style="{ height: height, width: width }" />
</template>
<script>
import tdTheme from "./theme.json"; // 引入默认主题
import { mapGetters } from "vuex";
export default {
name: "echart",
props: {
className: {
type: String,
default: "chart",
},
id: {
type: String,
default: "chart",
},
width: {
type: String,
default: "100%",
},
height: {
type: String,
default: "2.5rem",
},
options: {
type: Object,
default: () => ({}),
},
},
data () {
return {
chart: null,
};
},
watch: {
options: {
handler (options) {
// 设置true清空echart缓存
this.chart.setOption(options, true);
window.addEventListener("resize", () => {
if (this.chart) {
this.chart.resize();
}
});
},
deep: true
},
},
computed: {
...mapGetters(["dicData"]),
logoName () {
return (
this.dicData["sysCode"] &&
this.dicData["sysCode"].filter((item) => item.DCODE == "areaMap")
);
},
},
mounted () {
this.$echarts.registerTheme("tdTheme", tdTheme); // 覆盖默认主题
this.$nextTick(() => {
this.initChart();
})
},
beforeDestroy () {
// this.chart.dispose();
this.chart = null;
},
methods: {
initChart () {
// 初始化echart
this.chart = this.$echarts.init(this.$el, "tdTheme");
function nowSize (val, initWidth = 1920) {
return val * (nowClientWidth / initWidth);
}
this.chart.setOption(this.options, true);
},
},
};
</script>
{
"color": [
"#2d8cf0",
"#19be6b",
"#ff9900",
"#E46CBB",
"#9A66E4",
"#ed3f14"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#516b91"
},
"subtextStyle": {
"color": "#93b7e3"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#edafda",
"color0": "transparent",
"borderColor": "#d680bc",
"borderColor0": "#8fd3e8",
"borderWidth": "2"
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaa"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true,
"color": [
"#2d8cf0",
"#19be6b",
"#f5ae4a",
"#9189d5",
"#56cae2",
"#cbb0e3"
],
"label": {
"normal": {
"textStyle": {
"color": "#eee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#fff"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#fff"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#999"
},
"emphasis": {
"borderColor": "#666"
}
}
},
"legend": {
"textStyle": {
"color": "#fff"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#ccc",
"width": 1
},
"crossStyle": {
"color": "#ccc",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#8fd3e8",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#8fd3e8",
"borderWidth": 1
},
"emphasis": {
"color": "#8fd3e8"
}
},
"controlStyle": {
"normal": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
},
"emphasis": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#8fd3e8",
"borderColor": "rgba(138,124,168,0.37)"
},
"label": {
"normal": {
"textStyle": {
"color": "#8fd3e8"
}
},
"emphasis": {
"textStyle": {
"color": "#8fd3e8"
}
}
}
},
"visualMap": {
"color": [
"#516b91",
"#59c4e6",
"#a5e7f0"
]
},
"dataZoom": {
"backgroundColor": "rgba(0,0,0,0)",
"dataBackgroundColor": "rgba(255,255,255,0.3)",
"fillerColor": "rgba(167,183,204,0.4)",
"handleColor": "#a7b7cc",
"handleSize": "100%",
"textStyle": {
"color": "#333"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eee"
}
},
"emphasis": {
"textStyle": {
"color": "#eee"
}
}
}
}
}
This diff could not be displayed because it is too large.
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-20 16:36:51
-->
<template>
<el-breadcrumb class="breadcrumb" separator-class="el-icon-arrow-right">
<span class="fl">当前页面:</span>
<transition-group name="breadcrumb">
<el-breadcrumb-item v-for="(item, index) in levelList" :key="item.path">
<span @click.prevent="handleLink(item)">{{ item.meta.title }}</span>
</el-breadcrumb-item>
</transition-group>
</el-breadcrumb>
</template>
<script>
import pathToRegexp from "path-to-regexp";
export default {
data () {
return {
levelList: null,
};
},
watch: {
$route () {
this.getBreadcrumb();
},
},
created () {
this.getBreadcrumb();
},
methods: {
getBreadcrumb () {
// only show routes with meta.title
this.levelList = this.$route.matched.filter(
(item) => item.meta && item.meta.title
)
if (this.$route.matched[0].path == '/jsbwcx') {
this.levelList = this.levelList.slice(-1)
}
},
isDashboard (route) {
const name = route && route.name;
if (!name) {
return false;
}
return (
name.trim().toLocaleLowerCase() === "Dashboard".toLocaleLowerCase()
);
},
pathCompile (path) {
const { params } = this.$route;
var toPath = pathToRegexp.compile(path);
return toPath(params);
}
}
}
</script>
\ No newline at end of file
.obligee-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 3px;
margin-left: 10px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
\ No newline at end of file
<template>
<div class="applicantInfo itemForm">
<el-form :model="ruleForm" :rules="rules" ref="formList" label-width="115px" :key="key">
<el-row>
<el-col :span="8">
<el-form-item prop="YSDM" class="borderTopNone">
<span slot="label">
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWH" class="borderTopNone">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM" class="borderTopNone">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item prop="DBYJ">
<span slot="label">
登簿意见: <br />
<p class="label-detail">(DBYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbyj" maxlength="11">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DBRYXM">
<span slot="label">
登簿人员姓名: <br />
<p class="label-detail">(DBRYXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbryxm" maxlength="11"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DBSJ">
<span slot="label">
登簿时间: <br />
<p class="label-detail">(DBSJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbsj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="CZJG">
<span slot="label">
操作结果: <br />
<p class="label-detail">(CZJG)</p>
</span>
<!-- <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="权利人通讯地址">
</el-input> -->
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg">
<el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
// 申请人属性信息
import djfDjSqr from "@/api/djfDjSqr";
import djfDjDb from "@/api/djfDjDb"
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from '@/components/TreeSelect.vue'
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
components: {
treeSelect,
},
data() {
return {
ruleForm: {
YSDM: "",
YWH: "",
QLRMC: "",
QLRZJZL: "",
QLRZJH: "",
QLRTXDZ: "",
QLRYB: "",
QLRFRMC: "",
QLRFRDH: "",
QLRDLRMC: "",
QLRDLRDH: "",
QLRDLJG: "",
HJSZSS: "",
XB: "",
DH: "",
YWRMC: "",
YWRZJZL: "",
YWRZJH: "",
YWRTXDZ: "",
YWRYB: "",
YWRFRMC: "",
YWRFRDH: "",
YWRDLRMC: "",
YWRDLJG: "",
BZ: "",
QXDM: "",
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await djfDjDb.getDjfDjDbById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let data = _.cloneDeep(this.ruleForm);
let res = await djfDjSqr.updateDjfDjSqr(data);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>
<template>
<div class="issuingInfo itemForm">
<el-form :model="ruleForm" :rules="rules" ref="formList" label-width="108px" :key="key">
<el-row>
<el-col :span="8">
<el-form-item prop="YSDM" class="borderTopNone">
<span slot="label">
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWH" class="borderTopNone">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="FZRY" class="borderTopNone">
<span slot="label">
发证人员: <br />
<p class="label-detail">(FZRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZRY"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="FZSJ">
<span slot="label">
发证时间: <br />
<p class="label-detail">(FZSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.FZSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="FZMC">
<span slot="label">
发证名称: <br />
<p class="label-detail">(FZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZMC"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="FZSL" :rules="{ type: 'number' }">
<span slot="label">
发证数量: <br />
<p class="label-detail">(FZSL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 9999, min: 0, precision: 0 }" title="" type="number" v-model.number="ruleForm.FZSL">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="HFZSH">
<span slot="label">
核发证书号: <br />
<p class="label-detail">(HFZSH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HFZSH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="LZRXM">
<span slot="label">
领证人姓名: <br />
<p class="label-detail">(LZRXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRXM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="LZRZJLB">
<span slot="label">
领证人证件类别: <br />
<p class="label-detail">(LZRZJLB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJLB">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="LZRZJHM">
<span slot="label">
领证人证件号码: <br />
<p class="label-detail">(LZRZJHM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJHM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="LZRDH">
<span slot="label">
领证人电话: <br />
<p class="label-detail">(LZRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRDH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="LZRDZ">
<span slot="label">
领证人地址: <br />
<p class="label-detail">(LZRDZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRDZ"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="LZRYB">
<span slot="label">
领证人邮编: <br />
<p class="label-detail">(LZRYB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRYB"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="BZ">
<span slot="label">
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YSXLH">
<span slot="label">
印刷序列号: <br />
<p class="label-detail">(YSXLH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSXLH"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
// 发证信息
import djfDjFz from "@/api/djfDjFz";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/TreeSelect.vue";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
components: {
treeSelect,
},
data() {
return {
ruleForm: {
YSDM: "",
YWH: "",
FZRY: "",
FZSJ: "",
FZMC: "",
FZSL: "",
HFZSH: "",
LZRXM: "",
LZRZJHM: "",
LZRDH: "",
LZRDZ: "",
LZRYB: "",
BZ: "",
QXDM: "",
YSXLH: "",
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await djfDjFz.getDjfDjFzDetailById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await djfDjFz.updateDjfDjFz(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>
<template>
<div class="registrationFiling itemForm" :key="key">
<el-form :model="ruleForm" :rules="rules" ref="formList" label-width="100px">
<el-row>
<el-col :span="8">
<el-form-item prop="YWH" class="borderTopNone">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YSDM" class="borderTopNone">
<span slot="label">
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJDL" class="borderTopNone">
<span slot="label">
登记大类: <br />
<p class="label-detail">(DJDL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJXL" :rules="{ type: 'number' }">
<span slot="label">
登记小类: <br />
<p class="label-detail">(DJXL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJXL" title="" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ZL">
<span slot="label">
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QZHM">
<span slot="label">
权证号码: <br />
<p class="label-detail">(QZHM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QZHM"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="WJJS" :rules="{ type: 'number' }">
<span slot="label">
文件件数: <br />
<p class="label-detail">(WJJS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" title="" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ZYS" :rules="{ type: 'number' }">
<span slot="label">
总页数: <br />
<p class="label-detail">(ZYS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" title="" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
<!-- <el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" title="" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input> -->
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="GDRY">
<span slot="label">
归档人员: <br />
<p class="label-detail">(GDRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GDRY"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="GDSJ">
<span slot="label">
归档时间: <br />
<p class="label-detail">(GDSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" v-model="ruleForm.GDSJ" type="datetime"
format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="BZ">
<span slot="label">
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
import djfDjGd from '@/api/djfDjGd'
import ruleMixin from '@/mixins/ruleMixin.js'
// 登记归档信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
},
bsmYwsjb: {
type: String,
default: ''
}
},
data () {
return {
ruleForm: {
YWH: '',
YSDM: '',
DJDL: '',
DJXL: '',
ZL: '',
QZHM: '',
WJJS: '',
ZYS: '',
GDRY: '',
GDSJ: '',
BZ: '',
QXDM: ''
}
}
},
methods: {
async featchData () {
try {
let { result: res } = await djfDjGd.getDjfDjGdById(this.bsmSjsb)
this.ruleForm = res
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
}
},
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await djfDjGd.updateDjfDjGd(this.ruleForm)
// this.$refs['formList'].resetFields();
resolve(res.code)
} catch (error) {
this.$refs.msg.messageShow()
}
})
}
}
}
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>
<template>
<div class="registrationChargeInfo itemForm">
<el-form :model="ruleForm" :rules="rules" ref="formList" label-width="135px" :key="key">
<el-row>
<el-col :span="8">
<el-form-item prop="YSDM" class="borderTopNone">
<span slot="label">
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWH" class="borderTopNone">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="JFRY" class="borderTopNone">
<span slot="label">
计费人员: <br />
<p class="label-detail">(JFRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFRY"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="JFRQ">
<span slot="label">
计费日期: <br />
<p class="label-detail">(JFRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.JFRQ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SFKMMC">
<span slot="label">
收费科目名称: <br />
<p class="label-detail">(SFKMMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFKMMC"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SFEWSF">
<span slot="label">
是否额外收费: <br />
<p class="label-detail">(SFEWSF)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFEWSF">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="SFJS" :rules="{ type: 'number' }">
<span slot="label">
收费基数: <br />
<p class="label-detail">(SFJS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.SFJS" title="" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SFLX">
<span slot="label">
收费类型: <br />
<p class="label-detail">(SFLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFLX">
<el-option v-for="item in dicData['A39']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YSJE" :rules="{ type: 'number' }">
<span slot="label">
应收金额: <br />
<p class="label-detail">(YSJE)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.YSJE" title="" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="ZKHYSJE" :rules="{ type: 'number' }">
<span slot="label">
折扣后应收金额: <br />
<p class="label-detail">(ZKHYSJE)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.ZKHYSJE" title="" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SFRY">
<span slot="label">
收费人员: <br />
<p class="label-detail">(SFRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFRY"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SFRQ">
<span slot="label">
收费日期: <br />
<p class="label-detail">(SFRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.SFRQ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="FFF">
<span slot="label">
付费方: <br />
<p class="label-detail">(FFF)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FFF">
<el-option v-for="item in dicData['A33']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SJFFR">
<span slot="label">
实际付费人: <br />
<p class="label-detail">(SJFFR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SJFFR"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="SSJE" :rules="{ type: 'number' }">
<span slot="label">
实收金额: <br />
<p class="label-detail">(SSJE)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.SSJE" title="" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="SFDW">
<span slot="label">
收费单位: <br />
<p class="label-detail">(SFDW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFDW"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
// 登记收费信息
import djfDjSf from "@/api/djfDjSf";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
data() {
return {
ruleForm: {
YSDM: "",
YWH: "",
JFRY: "",
JFRQ: "",
SFKMMC: "",
SFEWSF: "",
SFJS: "",
SFLX: "",
YSJE: "",
ZKHYSJE: "",
SFRY: "",
SFRQ: "",
FFF: "",
SJFFR: "",
SSJE: "",
SFDW: "",
QXDM: "",
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await djfDjSf.getDjfDjSfById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSf.updateDjfDjSf(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>
<template>
<div class="auditInfo itemForm">
<el-form :model="form" ref="formList" label-width="110px" :key="key">
<div v-for="(item, index) in form.auditInfo" :key="index" class="auditInfo-item">
<p class="auditInfo-item-name">审核信息{{ index + 1 }}</p>
<div class="auditInfo-item-list">
<el-row class="auditInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.YSDM'" :rules="rules.YSDM">
<span slot="label">
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.YWH'" :rules="rules.YWH">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.JDMC'" :rules="rules.JDMC">
<span slot="label">
节点名称: <br />
<p class="label-detail">(JDMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].JDMC"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="auditInfo-item-input">
<el-col :span="24">
<el-form-item :prop="'auditInfo.' + index + '.SHYJ'" :rules="rules.SHYJ">
<span slot="label">
审核意见: <br />
<p class="label-detail">(SHYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].SHYJ" type="textarea"
:rows="2"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="auditInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.SHRYXM'" :rules="rules.SHRYXM">
<span slot="label">
审核人员姓名: <br />
<p class="label-detail">(SHRYXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].SHRYXM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.SHKSSJ'" :rules="rules.SHKSSJ">
<span slot="label">
审核开始时间: <br />
<p class="label-detail">(SHKSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.auditInfo[index].SHKSSJ" value-format="yyyy-MM-dd HH:mm:ss"
:picker-options="item.traceStart" @change="changeTraceStart(item)"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.SHJSSJ'" :rules="rules.SHJSSJ">
<span slot="label">
审核结束时间: <br />
<p class="label-detail">(SHJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.auditInfo[index].SHJSSJ" :picker-options="item.traceEnd" @change="changeTraceEnd(item)"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row class="auditInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.SXH'" :rules="{ ...rules.SXH, ...typeNum }">
<span slot="label">
顺序号: <br />
<p class="label-detail">(SXH)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="form.auditInfo[index].SXH" title="" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.CZJG'" :rules="rules.SHKSSJ">
<span slot="label">
操作结果: <br />
<p class="label-detail">(CZJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].CZJG">
<el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.QXDM'" :rules="rules.QXDM">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].QXDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'auditInfo.' + index + '.BZ'" :rules="rules.BZ">
<span slot="label">
区县代码: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].BZ"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
import djfDjSh from "@/api/djfDjSh";
import ruleMixin from "@/mixins/ruleMixin.js";
// 审核信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
data () {
return {
form: {
auditInfo: [
{
YSDM: "",
YWH: "",
JDMC: "",
SHYJ: "",
SHRYXM: "",
SHKSSJ: "",
traceStart: {},
SHJSSJ: "",
traceEnd: {},
SXH: "",
CZJG: "",
QXDM: "",
BZ: "",
},
],
},
};
},
methods: {
changeTraceEnd (item) {
if (item.SHJSSJ !== null) {
//当前值为空 也会进行判断 所以条件最好不要非空验证
item.traceStart = {
disabledDate: (time) => {
return time.getTime() > new Date(item.SHJSSJ).getTime(); //大于结束时间的不选
},
};
} else {
item.traceStart = {};
}
},
//跟踪API结束时间限制开始时间
changeTraceStart (item) {
if (item.SHKSSJ !== null) {
//当前值为空 也会进行判断 所以条件最好不要非空验证
item.traceEnd = {
disabledDate: (time) => {
return time.getTime() < new Date(item.SHKSSJ).getTime(); //小于开始时间的不选
},
};
} else {
item.traceEnd = {};
}
},
async featchData () {
try {
let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb);
this.form.auditInfo = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
.auditInfo-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
margin-right: 15px;
border-radius: 3px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
</style>
<template>
<div class="receivingInfo itemForm">
<el-form :model="form" :rules="rules" ref="formList" label-width="112px" :key="key">
<div v-for="(item, index) in form.receivingInfo" :key="index" class="receivingInfo-item">
<p class="receivingInfo-item-name">收件信息{{ index + 1 }}</p>
<div class="receivingInfo-item-list">
<el-row class="receivingInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.YSDM'" :rules="rules.YSDM">
<span slot="label">
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.YWH'" :rules="rules.YWH">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.SJSJ'" :rules="rules.SJSJ">
<span slot="label">
收件时间: <br />
<p class="label-detail">(SJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.receivingInfo[index].SJSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row class="receivingInfo-item-input">
<el-col :span="8">
<el-form-item class="borderTopNone" :prop="'receivingInfo.' + index + '.SJLX'" :rules="rules.SJLX">
<span slot="label">
收件类型: <br />
<p class="label-detail">(SJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJLX">
<el-option v-for="item in dicData['A40']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item class="borderTopNone" :prop="'receivingInfo.' + index + '.SJMC'" :rules="rules.SJMC">
<span slot="label">
收件名称: <br />
<p class="label-detail">(SJMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJMC"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item class="borderTopNone" :prop="'receivingInfo.' + index + '.SJSL'"
:rules="{ ...rules.SJSL, ...typeNum }">
<span slot="label">
收件数量: <br />
<p class="label-detail">(SJSL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 9999, min: 0, precision: 0 }" title="" type="number"
v-model.number="form.receivingInfo[index].SJSL"></el-input-number>
</el-form-item>
</el-col>
</el-row>
<el-row class="receivingInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.SFSJSY'" :rules="rules.SFSJSY">
<span slot="label">
是否收缴收验: <br />
<p class="label-detail">(SFSJSY)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFSJSY">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.SFEWSJ'" :rules="rules.SFEWSJ">
<span slot="label">
是否额外收件: <br />
<p class="label-detail">(SFEWSJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFEWSJ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.SFBCSJ'" :rules="rules.SFBCSJ">
<span slot="label">
是否补充收件: <br />
<p class="label-detail">(SFBCSJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFBCSJ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row class="receivingInfo-item-input">
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.YS'" :rules="{ ...rules.YS, ...typeNum }">
<span slot="label">
页数: <br />
<p class="label-detail">(YS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 99999, min: 1, precision: 0 }" title="" type="number"
v-model.number="form.receivingInfo[index].YS"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.BZ'" :rules="rules.BZ">
<span slot="label">
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].BZ"
placeholder="备注"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'receivingInfo.' + index + '.QXDM'" :rules="rules.QXDM">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
import djfDjSj from "@/api/djfDjSj";
import ruleMixin from "@/mixins/ruleMixin.js";
// 登记收件信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: "",
},
bsmYwsjb: {
type: String,
default: "",
},
},
data() {
return {
form: {
receivingInfo: [
{
YSDM: "",
YWH: "",
SJSJ: "",
SJLX: "",
SJMC: "",
SJSL: "",
SFSJSY: "",
SFEWSJ: "",
SFBCSJ: "",
YS: "",
BZ: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData() {
try {
let { result: res } = await djfDjSj.getDjfDjSjById(this.bsmSjsb);
this.form.receivingInfo = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSj.updateDjfDjSj(this.form.receivingInfo);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
.receivingInfo-item {
display: flex;
height: 100%;
margin-bottom: 15px;
margin-right: 5px;
&-name {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
padding: 10px 20px;
line-height: 28px;
border: 1px solid #ccc;
margin-right: 15px;
border-radius: 3px;
}
&-list {
width: 100%;
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
}
}
</style>
<template>
<div class="certificateInfo itemForm">
<el-form :model="certificateInfo" :rules="rules" ref="formList" label-width="100px" :key="key">
<div v-for="(item, index) in certificateInfo.ruleForm" :key="index" class="obligee-item">
<p class="obligee-item-name">善证信息{{ index + 1 }}</p>
<div class="obligee-item-list">
<el-row>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.YSDM'">
<span slot="label">
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSDM">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.YWH'">
<span slot="label">
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YWH">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.SZMC'">
<span slot="label">
缮证名称: <br />
<p class="label-detail">(SZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZMC">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.SZZH'">
<span slot="label">
缮证证号: <br />
<p class="label-detail">(SZZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZZH">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.YSXLH'">
<span slot="label">
印刷序列号: <br />
<p class="label-detail">(YSXLH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSXLH">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.SZRY'">
<span slot="label">
缮证人员: <br />
<p class="label-detail">(SZRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZRY">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.SZSJ'">
<span slot="label">
缮证时间: <br />
<p class="label-detail">(SZSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="certificateInfo.ruleForm[index].SZSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.BZ'">
<span slot="label">
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].BZ">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :prop="'ruleForm.' + index + '.QXDM'">
<span slot="label">
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].QXDM">
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</el-form>
<message-tips ref="msg" />
</div>
</template>
<script>
import djfDjSz from "@/api/djfDjSz";
import ruleMixin from "@/mixins/ruleMixin.js";
// 缮证信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ""
},
bsmYwsjb: {
type: String,
default: ""
},
},
data () {
return {
certificateInfo: {
ruleForm: [
{
YSDM: "",
YWH: "",
SZMC: "",
SZZH: "",
YSXLH: "",
SZRY: "",
SZSJ: "",
BZ: "",
QXDM: ""
}
]
}
}
},
methods: {
async featchData () {
try {
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb);
this.certificateInfo.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
return new Promise(async (resolve) => {
try {
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow();
}
})
}
}
}
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
</style>

887 Bytes

This diff is collapsed. Click to expand it.