ee7ed242 by 蔡俊立
2 parents 36aa58f3 dc3bba54
<template>
<div>
<lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
<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>
......@@ -39,7 +39,7 @@ export default {
width: '50',
renderHeader: (h, scope) => {
return <div> {
this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i>
this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
}
</div>
},
......@@ -48,7 +48,7 @@ export default {
<div>
{
this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
<i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i>
<i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
}
</div>
)
......@@ -86,10 +86,10 @@ export default {
this.$route.query.viewtype == 1 ? <el-button
icon="el-icon-view"
type="text"
onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> : <el-button
onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.handleEdit(scope.$index, scope.row) }}>编辑</el-button>
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
}
</div>
)
......@@ -142,24 +142,29 @@ export default {
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
// 添加
handleAdd () {
// 新增
addClick () {
this.dialog = true
},
// 减
handleMinus (index, row) {
// 删除
deleClick (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
readClick () { },
// 修改
handleEdit (index, row) {
editClick (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
this.dialog = true
this.details = row
},
handleView () {
queryViewClick () {
this.dialog = true
}
}
......
......@@ -20,6 +20,9 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx300":
form = require("@/views/ywbl/fdcq2/slxx300.vue");
break;
case "fwsyqslxx400":
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
......
......@@ -50,7 +50,7 @@ class data extends filter {
{
prop: "zbhj",
label: "在办环节",
width: '70'
width: '80'
},
{
label: '业务号',
......
......@@ -2,17 +2,23 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm">
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-row>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="印刷序列号">
<el-input placeholder="请输入印刷序列号" v-model="queryForm.ysxlh">
<el-input
placeholder="请输入印刷序列号"
v-model="queryForm.ysxlh"
>
</el-input>
</el-form-item>
</el-col>
......@@ -31,7 +37,11 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button
type="primary"
@click="queryClick()"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -40,9 +50,15 @@
</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"
: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>
......@@ -53,32 +69,34 @@ import { datas, sendThis } from "./zslqcx";
export default {
components: {},
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
queryForm: {
bdcqzh: '',
ysxlh: '',
ywh: '',
lqr: ''
bdcqzh: "",
ysxlh: "",
ywh: "",
lqr: "",
},
tableData: {
columns: datas.columns(),
data: [
{
qllx: 'A01'
}
]
}
}
data: [],
},
};
},
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData () { },
}
}
fetchData() {
},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -2,7 +2,7 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="项目名称">
......@@ -31,7 +31,11 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button
type="primary"
@click="queryClick()"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -40,9 +44,15 @@
</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"
: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>
......@@ -53,29 +63,33 @@ import { datas, sendThis } from "./zxgcdycx";
export default {
components: {},
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
queryForm: {
xmmc: '',
xmbh: '',
zrzh: '',
zddm: ''
xmmc: "",
xmbh: "",
zrzh: "",
zddm: "",
},
tableData: {
columns: datas.columns(),
data: [
]
}
}
data: [],
},
};
},
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData () { },
}
}
fetchData() {},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......