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
d053f9c4
authored
2023-09-06 16:16:13 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书证明预览
1 parent
5ab9d491
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
123 additions
and
123 deletions
src/views/workflow/components/dialog/zsyl.vue
src/views/xxba/qyxxba/components/addDialog.vue
src/views/xxba/qyxxba/data.js
src/views/xxba/qyxxba/index.vue
src/views/xxba/yhjgba/components/addDialog.vue
src/views/xxba/yhjgba/data.js
src/views/xxba/yhjgba/index.vue
src/views/workflow/components/dialog/zsyl.vue
View file @
d053f9c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-06 1
5:47:54
* @LastEditTime: 2023-09-06 1
6:15:09
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -208,8 +208,8 @@
// 权利其他状态
let
lines
=
this
.
bdcqz
.
qlqtzk
?
this
.
bdcqz
.
qlqtzk
.
split
(
'\n'
)
:
[];
for
(
let
i
=
0
;
i
<
lines
.
length
;
i
++
)
{
let
num
=
Math
.
ceil
(
getByteLen
(
lines
[
i
])
/
40
)
if
(
getByteLen
(
lines
[
i
])
>
40
)
{
let
num
=
Math
.
ceil
(
getByteLen
(
lines
[
i
])
/
38
)
if
(
getByteLen
(
lines
[
i
])
>
38
)
{
let
currentLine
=
''
;
let
arr
=
[];
for
(
let
word
of
lines
[
i
])
{
...
...
@@ -225,11 +225,11 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
480
+
(
26
*
(
i
-
1
))
+
4
*
num
+
(
index
*
1
3
));
// 调整行高
context
.
fillText
(
line
,
129
,
480
+
(
26
*
(
i
-
1
))
+
4
*
num
+
(
index
*
1
4
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
490
+
(
26
*
(
i
-
1
))
+
(
index
*
1
3
));
// 调整行高
context
.
fillText
(
line
,
129
,
490
+
(
26
*
(
i
-
1
))
+
(
index
*
1
4
));
// 调整行高
})
}
}
else
{
...
...
src/views/xxba/qyxxba/components/addDialog.vue
View file @
d053f9c
This diff is collapsed.
Click to expand it.
src/views/xxba/qyxxba/data.js
View file @
d053f9c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-0
1 10:17:27
* @LastEditTime: 2023-09-0
6 16:10:25
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -35,26 +35,8 @@ class data extends filter {
prop
:
"zjzl"
,
label
:
"证件种类"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
class
=
"width100"
clearable
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
}}
>
{
vm
.
dictData
[
"A30"
].
map
((
option
)
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
);
})}
<
/el-select
>
);
},
return
<
span
>
{
this
.
dicStatus
(
scope
.
row
.
zjzl
,
"A30"
)}
<
/span
>
}
},
{
prop
:
"zjh"
,
...
...
@@ -79,7 +61,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
handleDelete
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
)
}
...
...
src/views/xxba/qyxxba/index.vue
View file @
d053f9c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-0
1 10:17:4
8
* @LastEditTime: 2023-09-0
6 16:08:0
8
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -30,7 +30,7 @@
</el-row>
</el-form>
</div>
<div
class=
"from-clues-content"
>
<div
class=
"from-clues-content
loadingtext
"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:heightNum=
"280"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -39,6 +39,7 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryQyByPage
,
addQy
}
from
"@/api/xxba.js"
;
...
...
@@ -53,6 +54,15 @@
this
.
queryClick
()
},
computed
:
{
...
mapGetters
([
'workFresh'
])
},
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
queryClick
()
}
}
},
data
()
{
return
{
...
...
@@ -60,10 +70,6 @@
qymc
:
""
,
zjh
:
""
,
},
pageData
:
{
current
:
1
,
size
:
10
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
...
...
@@ -77,11 +83,7 @@
*/
queryClick
()
{
this
.
$startLoading
();
let
pageForm
=
{
pageSize
:
this
.
pageData
.
size
,
pageNumber
:
this
.
pageData
.
current
}
let
data
=
{...
this
.
queryForm
,
...
pageForm
}
let
data
=
{
...
this
.
queryForm
,
...
this
.
pageData
}
queryQyByPage
(
data
).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
...
...
@@ -89,7 +91,7 @@
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
;
})
},
handleSearch
()
{
this
.
queryClick
();
...
...
@@ -97,7 +99,23 @@
handleAdd
()
{
this
.
$popupDialog
(
"添加企业"
,
"xxba/qyxxba/components/addDialog"
,
{},
"50%"
)
},
handleDelete
()
{
}
handleDelete
()
{
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
}
}
}
</
script
>
...
...
src/views/xxba/yhjgba/components/addDialog.vue
View file @
d053f9c
This diff is collapsed.
Click to expand it.
src/views/xxba/yhjgba/data.js
View file @
d053f9c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-0
1 10:17:27
* @LastEditTime: 2023-09-0
6 16:12:16
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -35,26 +35,8 @@ class data extends filter {
prop
:
"zjzl"
,
label
:
"证件种类"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
class
=
"width100"
clearable
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
}}
>
{
vm
.
dictData
[
"A30"
].
map
((
option
)
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
);
})}
<
/el-select
>
);
},
return
<
span
>
{
this
.
dicStatus
(
scope
.
row
.
zjzl
,
"A30"
)}
<
/span
>
}
},
{
prop
:
"zjh"
,
...
...
@@ -79,7 +61,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
handleDelete
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
)
}
...
...
src/views/xxba/yhjgba/index.vue
View file @
d053f9c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-0
1 10:17:48
* @LastEditTime: 2023-09-0
6 16:08:32
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -30,78 +30,96 @@
</el-row>
</el-form>
</div>
<div
class=
"from-clues-content"
>
<div
class=
"from-clues-content
loadingtext
"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:heightNum=
"280"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryYhByPage
,
addYh
}
from
"@/api/xxba.js"
;
export
default
{
name
:
"cwrz"
,
components
:
{},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
},
activated
()
{
this
.
queryClick
()
},
computed
:
{
},
data
()
{
return
{
queryForm
:
{
qymc
:
""
,
zjh
:
""
,
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryYhByPage
,
addYh
}
from
"@/api/xxba.js"
;
export
default
{
name
:
"cwrz"
,
components
:
{},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
},
activated
()
{
this
.
queryClick
()
},
computed
:
{
...
mapGetters
([
'workFresh'
])
},
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
queryClick
()
}
}
},
data
()
{
return
{
queryForm
:
{
qymc
:
""
,
zjh
:
""
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
};
},
methods
:
{
/**
* @description: queryClick
*/
queryClick
()
{
this
.
$startLoading
();
let
data
=
{
...
this
.
queryForm
,
...
this
.
pageData
}
queryYhByPage
(
data
).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
pageData
:
{
current
:
1
,
size
:
10
,
handleSearch
()
{
this
.
queryClick
();
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
handleAdd
()
{
this
.
$popupDialog
(
"添加企业"
,
"xxba/yhjgba/components/addDialog"
,
{},
"50%"
)
},
};
},
methods
:
{
/**
* @description: queryClick
*/
queryClick
()
{
this
.
$startLoading
();
let
pageForm
=
{
pageSize
:
this
.
pageData
.
size
,
pageNumber
:
this
.
pageData
.
current
handleDelete
()
{
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
}
let
data
=
{...
this
.
queryForm
,
...
pageForm
}
queryYhByPage
(
data
).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
handleSearch
()
{
this
.
queryClick
();
},
handleAdd
()
{
this
.
$popupDialog
(
"添加企业"
,
"xxba/yhjgba/components/addDialog"
,
{},
"50%"
)
},
handleDelete
()
{
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment