Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9caea434
authored
2023-09-18 13:07:52 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
3ffb9a45
0a3c79ce
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
376 additions
and
455 deletions
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/jsydsyq.vue
src/views/registerBook/ldsyq.vue
src/views/registerBook/nydsyq.vue
src/views/registerBook/sllmsyq.vue
src/views/registerBook/tdsyq.vue
src/views/registerBook/ygdj.vue
src/views/registerBook/yydj.vue
src/views/registerBook/components/djbDetail.vue
View file @
9caea43
...
...
@@ -13,7 +13,7 @@
</div>
<div
class=
"title"
>
{{
title
}}
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
1
</el-button>
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
</el-button>
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
...
...
@@ -133,7 +133,7 @@
},
methods
:
{
openPrint
()
{
console
.
log
(
"tableData"
,
this
.
tableData
aaa
);
console
.
log
(
"tableData"
,
this
.
tableData
);
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
...
...
src/views/registerBook/jsydsyq.vue
View file @
9caea43
...
...
@@ -108,13 +108,13 @@
</
template
>
<
script
>
import
printTemplate
from
"./components/printTemplate.vue"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getJsydsyqList
}
from
"@/api/djbDetail.js"
;
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
@@ -124,14 +124,14 @@ export default {
},
shows
:
false
,
title
:
"建设用地使用权、宅基地使用权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
JSYDSYQ
,
render
:
false
,
...
...
@@ -141,35 +141,35 @@ export default {
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxjsydsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
//
/**
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
/
/ /
**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss() {
//
printJS({
//
printable: "boxjsydsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -195,61 +195,61 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/ldsyq.vue
View file @
9caea43
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxldsyq"
:tableData=
"tableData"
...
...
@@ -30,7 +32,6 @@
</div>
</div>
<div
class=
"xxTableBox rollTable"
>
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
...
...
@@ -100,7 +101,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -108,10 +109,10 @@
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
{
getLqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
@@ -121,14 +122,14 @@ export default {
},
shows
:
false
,
title
:
"林权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
LDSYQ
,
render
:
false
,
...
...
@@ -138,35 +139,35 @@ export default {
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxldsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
/
/ /
**
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
/
/ /
**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss() {
//
printJS({
//
printable: "boxldsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -201,61 +202,61 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/nydsyq.vue
View file @
9caea43
...
...
@@ -5,7 +5,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxnydsyq"
:tableData=
"tableData"
...
...
@@ -30,7 +32,6 @@
</div>
</div>
<div
class=
"xxTableBox"
>
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns.slice(0, 3)"
:key=
"colindex"
>
<td>
...
...
@@ -150,7 +151,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -158,9 +159,10 @@
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getNydsyqList
}
from
"@/api/djbDetail.js"
;
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
@@ -170,14 +172,14 @@ export default {
},
shows
:
false
,
title
:
"农用地使用权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
NYDSYQ
,
render
:
false
,
...
...
@@ -193,35 +195,35 @@ export default {
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxnydsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
/
/ /
**
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
/
/ /
**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss() {
//
printJS({
//
printable: "boxnydsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -253,60 +255,60 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/sllmsyq.vue
View file @
9caea43
...
...
@@ -15,7 +15,9 @@
-->
<
template
>
<div
class=
"djxxTable"
>
<div
v-show=
"false"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxsllmsyq"
:tableData=
"tableData"
...
...
@@ -40,7 +42,7 @@
</div>
</div>
<div
class=
"xxTableBox rollTable"
>
<!-- 固定前三个 -->
固定前三个
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
...
...
@@ -87,10 +89,6 @@
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '4'"
>
正在注销
</div>
<!--
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
-->
<p
v-if=
"!['djyy', 'fj'].includes(item.prop)"
>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
...
...
@@ -114,7 +112,7 @@
</tr>
</table>
</div>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -122,10 +120,10 @@
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getLqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
@@ -135,14 +133,14 @@ export default {
},
shows
:
false
,
title
:
"林权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
LDSYQ
,
render
:
false
,
...
...
@@ -152,35 +150,35 @@ export default {
this
.
loadData
();
},
methods
:
{
/**
* @description: openPrint
* @author: miaofang
*/
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
/**
* @description: prinsss
* @author: miaofang
*/
prinsss
()
{
printJS
({
printable
:
"boxsllmsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
},
/
/ /
**
//
* @description: openPrint
//
* @author: miaofang
//
*/
//
openPrint() {
//
this.render = true;
//
setTimeout(() => {
//
this.prinsss();
//
}, 100);
//
},
/
/ /
**
//
* @description: prinsss
//
* @author: miaofang
//
*/
//
prinsss() {
//
printJS({
//
printable: "boxsllmsyq", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象
//
type: "html",
//
maxWidth: 800, // 最大宽度
//
font_size: "", // 不设置则使用默认字体大小
//
style: `@font-face {
//
font-family: "STZHONGS";
//
src: url(${window.ttf}) format("truetype");
//
}`,
//
// 继承原来的所有样式
//
targetStyles: ["*"],
//
});
//
this.render=false
//
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -212,61 +210,61 @@ export default {
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
/
/ /
**
//
* @description: checkChange
//
* @author: miaofang
//
*/
//
checkChange() {
//
if (this.checkList.length === 0) {
//
this.tableData = [];
//
this.emptycolNum = datas.columns().emptycolNum;
//
} else {
//
this.loadData();
//
}
//
},
/
/ /
**
//
* @description: getQsztName
//
* @param {*} code
//
* @author: miaofang
//
*/
//
getQsztName(code) {
//
let name = "";
//
for (let item of this.qsztList) {
//
if (item.value == code) {
//
name = item.label;
//
break;
//
}
//
}
//
return name;
//
},
//
//
新增一条补录信息
/
/ /
**
//
* @description: 新增一条补录信息
//
* @param {*} row
//
* @param {*} del
//
* @author: miaofang
//
*/
//
editDialog(row, del) {
//
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
//
confirmButtonText: "确定",
//
cancelButtonText: "取消",
//
type: "warning",
//
})
//
.then(() => {
//
this.$parent.addRepairRecord(row, del);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
//
this.$message({
//
type: "success",
//
message: "补录成功!",
//
});
//
})
//
.catch(() => {
//
this.$message({
//
type: "info",
//
message: "取消编辑",
//
});
//
});
//
},
},
};
</
script
>
...
...
src/views/registerBook/tdsyq.vue
View file @
9caea43
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-0
8-23 15:54:1
2
* @LastEditTime: 2023-0
9-18 13:06:4
2
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -14,10 +14,10 @@
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getTdsyqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
import
djbDetail
from
"./components/djbDetail.vue"
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
@@ -27,14 +27,10 @@
},
shows
:
false
,
title
:
"土地所有权信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
TDSYQ
,
render
:
false
,
...
...
@@ -44,27 +40,6 @@
this
.
loadData
();
},
methods
:
{
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
prinsss
()
{
printJS
({
printable
:
"boxtdsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
maxWidth
:
800
,
// 最大宽度
font_size
:
""
,
// 不设置则使用默认字体大小
style
:
`@font-face {
font-family: "STZHONGS";
src: url(
${
window
.
ttf
}
) format("truetype");
}`
,
// 继承原来的所有样式
targetStyles
:
[
"*"
],
});
this
.
render
=
false
;
},
/**
* @description: loadData
* @author: miaofang
...
...
@@ -94,64 +69,9 @@
this
.
emptycolNum
=
0
;
}
}
});
},
/**
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
this
.
$message
({
type
:
"success"
,
message
:
"补录成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
},
}
}
};
</
script
>
...
...
src/views/registerBook/ygdj.vue
View file @
9caea43
...
...
@@ -100,13 +100,13 @@
</
template
>
<
script
>
import
printTemplate
from
"./components/printTemplate.vue"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getYgdjList
}
from
"@/api/djbDetail.js"
;
import
djbDetail
from
"./components/djbDetail.vue"
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
export
default
{
components
:
{
printTemplate
,
djbDetail
,
},
data
()
{
return
{
...
...
src/views/registerBook/yydj.vue
View file @
9caea43
...
...
@@ -122,14 +122,14 @@ import { getSjlx, getDictLeabel } from "@/utils/dictionary.js";
},
shows
:
false
,
title
:
"异议登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//
qsztList: datas.columns().qsztList,
//
checkList: datas.columns().checkList,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns
:
datas
.
columns
().
YYDJ
,
render
:
false
,
...
...
Please
register
or
sign in
to post a comment