c2d77cb4 by 田浩浩
2 parents 3424b13b 0ac38332
export default {
SERVERAPI: '/service-bdcdj9',
SERVERAPI: '/service-bdcdj',
// SERVERCAI: '/service-bdcdj-Tian'
}
\ No newline at end of file
......
import request from '@/utils/request'
import SERVER from './config'
// 初始化内容
export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = "/rest/ywbl/nydsyqlr/fristInit";
break;
case "200":
apiUrl = "/rest/ywbl/nydsyqlr/transferInit";
break;
case "300":
apiUrl = "/rest/ywbl/nydsyqlr/changeInit";
break;
case "400":
apiUrl = "/rest/ywbl/nydsyqlr/logoutInit";
break;
case "500":
apiUrl = "/rest/ywbl/nydsyqlr/riviseInit";
break;
case "901":
apiUrl = "/rest/ywbl/nydsyqlr/renewalInit";
break;
case "902":
apiUrl = "/rest/ywbl/nydsyqlr/replaceInit";
break;
}
return request({
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
data
})
}
// 初始化内容
export function saveData (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
method: 'post',
data
})
}
......@@ -116,3 +116,12 @@ export function choiceBdcdy (data) {
data
})
}
// 业务办理-选择农用地信息-根据条件进行列表查询
export function selectNydjbxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydjbxx',
method: 'post',
data
})
}
\ No newline at end of file
......
......@@ -12,17 +12,29 @@ export default {
...mapGetters(['dictData']),
},
created () {
if (this.fetchData) {
this.fetchData()
}
},
methods: {
handleSizeChange (val) {
this.pageData.currentPage = 1
this.pageData.pageSize = val
if (this.fetchData) {
this.fetchData()
}
if (this.queryClick) {
this.queryClick()
}
},
handleCurrentChange (val) {
this.pageData.currentPage = val
if (this.fetchData) {
this.fetchData()
}
if (this.queryClick) {
this.queryClick()
}
},
handleDel () {
let deleteAfterPage = Math.ceil((this.tableData.total - 1) / this.pageData.pageSize)
......
<template>
<div class="djxxTable">
<div class="tableBox">
<div class="title">
{{ title }}
<div class="checkbox">
<el-checkbox-group v-model="checkList" @change="checkChange">
<el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox>
</el-checkbox-group>
</div>
</div>
<div class="xxTableBox">
<!-- 固定前三个 -->
<table class="xxTable">
<tr v-for="(item, colindex) in columns.slice(0, 3)" :key="colindex">
<td>
{{ item.label }}
</td>
<td v-for="(row, index) in tableData" :key="index" :class="[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]">
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
<span v-else> {{ row[item.prop] }}</span>
</td>
<td v-for="count in emptycolNum" :key="~count"></td>
</tr>
</table>
<table class="xxTable rollTable">
<tr v-for="(item, colindex) in columns.slice(3)" :key="colindex">
<td>
{{ item.label }}
</td>
<td v-for="(row, index) in tableData" :key="index" :class="[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]">
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
<span v-else> {{ row[item.prop] }}</span>
</td>
<td v-for="count in emptycolNum" :key="~count"></td>
</tr>
</table>
</div>
</div>
</div>
</template>
<script>
import { getJsydsyqList } from "@/api/registerBook.js";
import { datas } from "./qlxxFormData.js";
export default {
data () {
return {
title: "建设用地使用权、宅基地使用权登记信息",
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
propsParam: this.$attrs,
//列表数据
tableData: [],
//空列值个数
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns: datas.columns().JSYDSYQ,
};
},
created () {
this.loadData();
},
methods: {
loadData () {
getJsydsyqList({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
qszt: this.checkList,
}).then((res) => {
if (res.code === 200) {
this.tableData = res.result;
if (this.tableData.length < datas.columns().emptycolNum) {
this.emptycolNum =
datas.columns().emptycolNum - this.tableData.length;
} else {
this.emptycolNum = 0;
}
}
});
},
checkChange () {
if (this.checkList.length === 0) {
this.tableData = [];
this.emptycolNum = datas.columns().emptycolNum;
} else {
this.loadData();
}
},
getQsztName (code) {
let name = "";
for (let item of this.qsztList) {
if (item.value == code) {
name = item.label;
break;
}
}
return name;
},
},
};
</script>
<style lang="scss" scoped>
@import "./qlxxCommon.scss";
</style>
......@@ -2,46 +2,24 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form
:model="queryForm"
ref="queryForm"
@submit.native.prevent
label-width="70px"
>
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入编号"
v-model="queryForm.cxbh"
class="width100"
clearable
@clear="queryClick()"
>
<el-input placeholder="请输入编号" v-model="queryForm.cxbh" class="width100" clearable @clear="queryClick">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
v-model="queryForm.sqr"
class="width100"
@clear="queryClick()"
clearable
>
<el-input placeholder="请输入申请人" v-model="queryForm.sqr" class="width100" @clear="queryClick" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
<el-form-item>
<el-button
type="primary"
native-type="submit"
@click="queryClick()"
>查询</el-button
>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -49,19 +27,10 @@
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
id="dydjb"
border
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" border @sort-change="handleSort"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -75,13 +44,14 @@ import { getJtfcPage } from "@/api/jtfc";
export default {
name: "dydjb",
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(["dictData"]),
},
data() {
data () {
return {
queryForm: {
cxbh: "",
......@@ -95,13 +65,9 @@ export default {
};
},
methods: {
//查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -111,17 +77,17 @@ export default {
}
});
},
dydjbClick(scope) {
dydjbClick (scope) {
this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
height: "800px",
formData: {
sqcxdata: scope.row,
},
cancel: function () {}, //取消事件的回调
confirm: function () {},
cancel: function () { }, //取消事件的回调
confirm: function () { },
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
},
......
......@@ -2,59 +2,32 @@
<div class="from-clues">
<!-- 家庭房产 -->
<div class="from-clues-header">
<el-form
:model="queryForm"
@submit.native.prevent
ref="queryForm"
label-width="70px"
>
<el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入查询编号"
@clear="queryClick()"
v-model="queryForm.cxbh"
clearable
class="width100"
>
<el-input placeholder="请输入查询编号" @clear="queryClick()" v-model="queryForm.cxbh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
@clear="queryClick()"
v-model="queryForm.sqr"
clearable
class="width100"
>
<el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
<el-button type="primary" native-type="submit" @click="queryClick()"
>查询</el-button
>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="handleAdd">新增</el-button>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
border
id="jtfc"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<addjtfc v-model="isDialog" />
......@@ -69,10 +42,11 @@ export default {
name: "jtfc",
components: { addjtfc },
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
data() {
data () {
return {
isDialog: false,
sqrOption: [],
......@@ -89,13 +63,9 @@ export default {
};
},
methods: {
//查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -105,10 +75,10 @@ export default {
}
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
handleAdd() {
handleAdd () {
this.isDialog = true;
},
},
......
......@@ -2,45 +2,23 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form
:model="queryForm"
ref="queryForm"
@submit.native.prevent
label-width="70px"
>
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入编号"
@clear="queryClick()"
v-model="queryForm.cxbh"
class="width100"
clearable
>
<el-input placeholder="请输入编号" @clear="queryClick" v-model="queryForm.cxbh" class="width100" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
@clear="queryClick()"
v-model="queryForm.sqr"
class="width100"
clearable
>
<el-input placeholder="请输入申请人" @clear="queryClick" v-model="queryForm.sqr" class="width100" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
<el-form-item>
<el-button
type="primary"
native-type="submit"
@click="queryClick()"
>查询</el-button
>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -48,19 +26,10 @@
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
border
id="sqcxjl"
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -72,10 +41,11 @@ import { getJtfcPage } from "@/api/jtfc";
export default {
name: "sqcxjl",
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
data() {
data () {
return {
queryForm: {
cxbh: "",
......@@ -89,12 +59,9 @@ export default {
};
},
methods: {
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -104,19 +71,19 @@ export default {
}
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
// 查看
handleViewClick(scope) {
handleViewClick (scope) {
var sqcxBsm = scope.row.bsmSqcx;
this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
height: "800px",
formData: {
sqcxBsm: sqcxBsm,
},
cancel: function () {}, //取消事件的回调
confirm: function () {},
cancel: function () { }, //取消事件的回调
confirm: function () { },
});
},
},
......
......@@ -6,17 +6,17 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="字典类型编码">
<el-input v-model="ruleForm.dcode" @clear="fetchData()" clearable placeholder="字典类型编码"></el-input>
<el-input v-model="ruleForm.dcode" @clear="queryClick" clearable placeholder="字典类型编码"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="字典类型名称">
<el-input v-model="ruleForm.dname" @clear="fetchData()" clearable placeholder="字典类型名称"></el-input>
<el-input v-model="ruleForm.dname" @clear="queryClick" clearable placeholder="字典类型名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button>
</el-form-item>
</el-col>
......@@ -25,9 +25,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table :page-size="pageData.pageSize" class="loadingtext" :current-page.sync="pageData.currentPage"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
......@@ -46,6 +46,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -68,8 +69,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
......
......@@ -6,7 +6,7 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" @change="fetchData()" class="width100" filterable clearable
<el-select v-model="queryForm.qllx" @change="queryClick" class="width100" filterable clearable
placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="18" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -24,9 +24,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
......@@ -46,6 +46,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......@@ -66,9 +67,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => {
this.loading = false
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
......
......@@ -6,7 +6,7 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" @change="queryClick()" filterable class="width100" clearable
<el-select v-model="queryForm.qllx" @change="queryClick" filterable class="width100" clearable
placeholder="请选择权利类型">
<el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -15,13 +15,13 @@
</el-col>
<el-col :span="6">
<el-form-item label="登记业务编码">
<el-input placeholder="请输入登记业务编码" @clear="queryClick()" v-model="queryForm.djywbm" clearable>
<el-input placeholder="请输入登记业务编码" @clear="queryClick" v-model="queryForm.djywbm" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -29,9 +29,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table :page-size="pageData.pageSize" class="loadingtext" :current-page.sync="pageData.currentPage"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" />
......@@ -50,6 +50,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -69,13 +70,11 @@ export default {
}
},
methods: {
//查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total ? total : 0
......
<template>
<div>
<lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
</lb-table>
<addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" />
</div>
</template>
<script>
import addQlr from './addQlr.vue'
import { mapGetters } from 'vuex'
export default {
components: {
addQlr
},
computed: {
...mapGetters(["dictData"]),
},
props: {
tableData: {
type: Array,
default: function () {
return []
}
},
gyfs: {
type: String,
default: '1'
}
},
data () {
return {
key: 0,
dataIndex: 0,
dialog: false,
details: {},
tableDataList: [],
InformationTable: [
{
width: '50',
renderHeader: (h, scope) => {
return <div> {
this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
}
</div>
},
render: (h, scope) => {
return (
<div>
{
this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
<i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
}
</div>
)
}
},
{
label: '身份证读卡器',
align: 'center',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
}
},
{
prop: "cyxm",
label: "成员姓名"
},
{
prop: "sfzhm",
label: "身份证号码"
},
{
prop: "dh",
label: "联系电话"
},
{
label: '修改',
render: (h, scope) => {
return (
<div>
{
this.$route.query.viewtype == 1 ? <el-button
icon="el-icon-view"
type="text"
onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
}
</div>
)
}
}
],
column: this.InformationTable
}
},
watch: {
tableData: {
handler: function (val, oldVal) {
let that = this
if (val.length == 0 || !val) {
that.tableDataList = _.cloneDeep([{
sqrmc: '',
dlrzjlx: '',
dlrzjh: '',
fr: ''
}])
} else {
that.tableDataList = _.cloneDeep(val)
}
},
immediate: true,
deep: true
},
gyfs: {
handler (newVal, oldValue) {
let dataList = _.cloneDeep(this.InformationTable)
if (newVal == '1') {
this.column = _.cloneDeep(dataList).slice(1, dataList.length)
} else {
this.column = dataList
}
},
immediate: true
}
},
methods: {
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
// 新增
addClick () {
this.dialog = true
},
// 删除
deleClick (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
readClick () { },
// 修改
editClick (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
this.dialog = true
this.details = row
},
queryViewClick () {
this.dialog = true
}
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
......@@ -26,6 +26,9 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx900":
form = require("@/views/ywbl/fdcq2/slxx900.vue");
break;
case "nydsyqslxx100":
form = require("@/views/ywbl/nydsyq/slxx.vue");
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
......
......@@ -14,7 +14,7 @@
</el-row>
<el-row :gutter="8">
<el-col :span="24" class="margin-top-middle">
错误内容:
操作内容:
<el-input type="textarea" :rows="10" v-model="formData.item.cznr"></el-input>
</el-col>
</el-row>
......
......@@ -55,7 +55,8 @@
</div>
<div class="flex-display">
<div class="width-33">使用率</div>
<div class="width-33">{{serverData.xtjkMem.usage}}%</div>
<div class="width-33" v-if="serverData.xtjkMem.usage > 80" style="color:red">{{serverData.xtjkMem.usage}}%</div>
<div class="width-33" v-else>{{serverData.xtjkMem.usage}}%</div>
<div>{{serverData.xtjkJvm.usage}}%</div>
</div>
</el-card>
......@@ -123,7 +124,12 @@
<el-table-column prop="sysTypeName" label="文件系统" width="180"></el-table-column>
<el-table-column prop="typeName" label="盘符类型"></el-table-column>
<el-table-column prop="total" label="总大小"></el-table-column>
<el-table-column prop="free" label="可用大小"></el-table-column>
<el-table-column label="可用大小">
<template slot-scope="scope">
<div v-if="scope.row.free < '20 GB'" style="color:red">{{scope.row.free}}</div>
<div v-else>{{scope.row.free}}</div>
</template>
</el-table-column>
<el-table-column prop="used" label="已用大小"></el-table-column>
<el-table-column prop="usage" label="已用百分比"></el-table-column>
</el-table>
......@@ -188,7 +194,7 @@ export default {
padding-bottom: 10px;
}
.font-border {
font-weight: bolder
font-weight: bolder;
}
</style>
......
......@@ -56,7 +56,7 @@
</el-form>
</div>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" border @sort-change="handleSort"
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.currentPage" :heightNum="300" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
......@@ -103,8 +103,8 @@ export default {
queryClick () {
this.$startLoading()
searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
records.forEach(item => {
item.qlrmc = item.qlrmc.join(',')
......
<template>
<div class="from-clues">
<!-- 表单部分 国有建设用地使用权 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-row>
<el-col :span="10">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import { datas, sendThis } from "../javascript/nydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { startBusinessFlow } from "@/api/ywbl.js";
import { selectNydjbxx } from "@/api/selectQlxx.js";
export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
djywbm: { type: String, default: '' },
djqxObj: {
type: Object,
default: {}
},
bsmSqyw: { type: String, default: '' },
},
data () {
return {
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
bdcdysz: []
};
},
mounted () {
sendThis(this);
},
methods: {
//点击行选中或取消复选框
handleRowClick (row, column, event) {
//通过ref绑定后这里使用$refs.table来操作bom元素
this.$refs.table.toggleRowSelection(row);
},
closeDialog () {
this.$emit("closeDialog");
},
fetchData () {
this.queryForm.sqywbm = this.djywbm;
selectNydjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
this.tableData.data = records;
}
});
},
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.djqxObj?.djqxbm,
djqxmc: this.djqxObj?.djqxmc
}).then((res) => {
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
this.$emit('updateDialog', true)
}
} else {
this.$message.error(res.message);
}
})
},
handleSelectionChange (val) {
this.bdcdysz = val;
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
import filter from '@/utils/filter.js'
let vm = null
const sendThis = (_this) => {
vm = _this
}
class data extends filter {
constructor() {
super()
}
columns () {
return [
{
type: 'selection',
label: '全选'
},
{
label: '序号',
type: 'index',
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
label: "状态",
render: (h, scope) => {
return (
<div>
{/* <a v-on:click="doSomething"></a> */}
<a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
<span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
<span v-show={scope.row.ycfzt == 1}>,已预查封</span>
<span v-show={scope.row.ycfzt == 1}>,已预查封</span>
<span v-show={scope.row.cfzt == 1}>,已查封</span>
<span v-show={scope.row.diyizt == 1}>,已地役</span>
<span v-show={scope.row.yyzt == 1}>,异议中</span>
<span v-show={scope.row.xzzt == 1}>,已限制</span>
<span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
<span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
<span v-show={scope.row.dyzt == 1}>,已抵押</span>
</div>
)
}
},
{
prop: "qllxmc",
label: "权利类型",
},
{
prop: "zddm",
label: "宗地代码",
},
{
prop: "bdcdyh",
label: "不动产单元号",
},
{
prop: "qlxzmc",
label: "权利性质",
},
{
prop: "mj",
label: "农用地面积(㎡)",
},
{
prop: "qlsdfsmc",
label: "权利设定方式",
},
{
prop: "ytmc",
label: "土地用途",
},
{
prop: "zl",
label: "坐落",
},
]
}
}
let datas = new data()
export {
datas,
sendThis
}
......@@ -14,6 +14,9 @@ export function queueDjywmc (djywbm) {
case "A04100"://国有建设用地使用权/房屋所有权(首次登记)
vm = "fwsyq";
break;
case "A23100"://农用地使用权(首次登记)
vm = "nydsyq100";
break;
case "A05200":
case "A05300":
case "A05400":
......
......@@ -6,8 +6,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" filterable class="width100" @change="queryClick()" clearable
placeholder="请选择权利类型">
<el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -15,28 +14,28 @@
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号" label-width="105px">
<el-input placeholder="请输入不动产单元号" @clear="queryClick()" v-model="queryForm.bdcdyh" clearable
<el-input placeholder="请输入不动产单元号" @clear="queryClick" v-model="queryForm.bdcdyh" clearable
class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号" label-width="105px">
<el-input placeholder="请输入不动产权证号" @clear="queryClick()" v-model="queryForm.bdcqzh" clearable
<el-input placeholder="请输入不动产权证号" @clear="queryClick" v-model="queryForm.bdcqzh" clearable
class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" @clear="queryClick()" v-model="queryForm.ywh" clearable class="width100">
<el-input placeholder="请输入业务号" @clear="queryClick" v-model="queryForm.ywh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -45,9 +44,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -63,6 +62,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -91,8 +91,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading()
getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.data = records;
......@@ -103,10 +105,6 @@ export default {
handleSort (name, sort) {
console.log(name, sort);
},
// 查询
queryClick () {
this.fetchData();
},
// 高级查询
moreQueryClick () { },
openDialog (scroll) {
......
......@@ -6,8 +6,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" class="width100" @change="fetchData()" filterable clearable
placeholder="请选择业务来源">
<el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源">
<el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -15,8 +14,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" class="width100" @change="fetchData()" filterable clearable
placeholder="请选择权利类型">
<el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -24,8 +22,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="queryForm.djlx" class="width100" @change="fetchData()" filterable clearable
placeholder="请选择登记类型">
<el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -33,14 +30,14 @@
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="fetchData()" clearable class="width200px">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="fetchData()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -49,7 +46,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table border :page-size="pageData.pageSize" @sort-change="handleSort"
<lb-table :page-size="pageData.pageSize" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.currentPage" :total="pageData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -67,6 +64,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......@@ -92,8 +90,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
let str = ''
......@@ -108,7 +108,7 @@ export default {
if (item.ywrmc.length != 0) {
item.ywrmcStr = String(item.ywrmc)
}
if(item.zlList.length != 0){
if (item.zlList.length != 0) {
item.zlStr = String(item.zlList)
}
})
......
......@@ -6,32 +6,32 @@
<el-row>
<el-col :span="5">
<el-form-item label="项目名称">
<el-input placeholder="请输入项目名称" @clear="queryClick()" v-model="queryForm.xmmc" clearable class="width100">
<el-input placeholder="请输入项目名称" @clear="queryClick" v-model="queryForm.xmmc" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="项目编号">
<el-input placeholder="请输入项目编号" @clear="queryClick()" v-model="queryForm.xmbh" clearable class="width100">
<el-input placeholder="请输入项目编号" @clear="queryClick" v-model="queryForm.xmbh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="宗地代码">
<el-input placeholder="请输入宗地代码" @clear="queryClick()" v-model="queryForm.zddm" clearable class="width100">
<el-input placeholder="请输入宗地代码" @clear="queryClick" v-model="queryForm.zddm" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="自然幢号">
<el-input placeholder="请输入自然幢号" @clear="queryClick()" v-model="queryForm.zrzh" clearable class="width100">
<el-input placeholder="请输入自然幢号" @clear="queryClick" v-model="queryForm.zrzh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -40,9 +40,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -56,7 +56,8 @@ export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
sendThis(this)
this.queryClick()
},
data () {
return {
......@@ -78,25 +79,20 @@ export default {
};
},
methods: {
//查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.pageData.total = res.result.total;
this.tableData.data = res.result.records;
}
});
},
handleSort (name, sort) {
console.log(name, sort);
},
//打开楼盘表
openlpbClick (scope) {
// var zrzbsm = scope.row.bsm;
......