Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
aaaab9cd
Commit
aaaab9cd
authored
Jun 15, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
95e0a3eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
10 deletions
+33
-10
administrative.vue
...ate-ui/src/views/detail/party-a/opport/administrative.vue
+32
-9
index.vue
dsk-operate-ui/src/views/detail/party-b/index.vue
+1
-1
No files found.
dsk-operate-ui/src/views/detail/party-a/opport/administrative.vue
View file @
aaaab9cd
...
...
@@ -17,11 +17,14 @@
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
>
<template
slot=
"deciWritName"
slot-scope=
"scope"
>
<div
v-html=
"scope.row.deciWritName"
></div>
</
template
>
<
template
slot=
"content"
slot-scope=
"scope"
>
<
span
:class=
"[isOverHiddenFlag(scope.data.width, showList, scope.index, 0, scope.row.content)?'cell-span':'']"
:style=
"
{'-webkit-line-clamp': 2}">
{{
scope
.
row
.
content
}}
<
div
:class=
"[isOverHiddenFlag(scope.data.width, showList, scope.index, 0, scope.row.content)?'cell-span':'']"
:style=
"
{'-webkit-line-clamp': 2}">
<div
v-html=
"scope.row.content"
></div>
<span
v-if=
"isOverHiddenFlag(scope.data.width, showList, scope.index, 0, scope.row.content)"
@
click=
"changeShowAll(scope.index, 0)"
>
...
<span
style=
"color: #0081FF;"
>
展开
</span></span>
</
span
>
</
div
>
</
template
>
</tables>
...
...
@@ -48,13 +51,13 @@ export default {
{
label
:
'许可决定日期'
,
prop
:
'deciTime'
,
width
:
'100'
},
{
label
:
'决定文书号'
,
prop
:
'deciWritNo'
,
width
:
'200'
},
{
label
:
'许可编号'
,
prop
:
'permitNo'
,
width
:
'100'
},
{
label
:
'决定文书名称'
,
prop
:
'deciWritName'
,
width
:
'190'
},
{
label
:
'决定文书名称'
,
prop
:
'deciWritName'
,
width
:
'190'
,
slot
:
true
},
{
label
:
'许可内容'
,
prop
:
'content'
,
width
:
'300'
,
slot
:
true
},
{
label
:
'有效期自'
,
prop
:
'valiBegin'
,
width
:
'100'
},
{
label
:
'有效期至'
,
prop
:
'valiEnd'
,
width
:
'100'
},
{
label
:
'行政许可类别'
,
prop
:
'permitType'
,
width
:
'100'
},
{
label
:
'许可机关'
,
prop
:
'office'
,
width
:
'180'
},
{
label
:
'行政许可机关统一社会信用代码'
,
prop
:
'
xxx
'
,
width
:
'200'
},
{
label
:
'行政许可机关统一社会信用代码'
,
prop
:
'
officeCreditCode
'
,
width
:
'200'
},
{
label
:
'数据来源单位'
,
prop
:
'dataSourceOffice'
,
width
:
'110'
},
{
label
:
'数据来源单位统一社会信用代码'
,
prop
:
'dataSourceOfficeCreditCode'
,
width
:
'200'
},
{
label
:
'来源'
,
prop
:
'dataSource'
,
width
:
'80'
}
...
...
@@ -81,7 +84,12 @@ export default {
let
res
=
await
creditXzxkPage
(
param
)
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
this
.
tableData
=
res
.
rows
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
this
.
tableData
=
res
.
rows
.
map
(
item
=>
{
item
.
smallContent
=
item
.
content
.
replace
(
/<.*
?
>/ig
,
""
)
return
item
})
}
}
this
.
tableDataTotal
=
res
.
total
},
...
...
@@ -92,14 +100,29 @@ export default {
})
},
isOverHiddenFlag
(
data
,
showList
,
row
,
column
,
value
)
{
if
(
value
&&
String
(
value
).
length
>
this
.
getLenth
(
data
)
)
{
if
(
value
&&
this
.
getByteLen
(
value
)
>
88
)
{
return
!
showList
.
some
(
item
=>
item
.
row
==
row
&&
item
.
column
==
column
)
}
else
{
return
false
}
},
getLenth
(
data
)
{
return
Math
.
floor
(
data
/
12
)
*
5
/*getLenth(data) {
return Math.floor(data / 6) * 2 //宽度(300) / 一个字符的宽度(6) * 行数(2)
},*/
getByteLen
(
val
)
{
var
len
=
0
for
(
var
i
=
0
;
i
<
val
.
length
;
i
++
)
{
var
a
=
val
.
charAt
(
i
)
if
(
a
.
match
(
/
[^\x
00-
\x
ff
]
/ig
)
!=
null
){
len
+=
2
}
else
{
len
+=
1
}
}
/*if(val.match(/ /g)){
len =len+Math.floor(val.match(/ /g).length/2)
}*/
return
len
}
}
}
...
...
dsk-operate-ui/src/views/detail/party-b/index.vue
View file @
aaaab9cd
...
...
@@ -22,7 +22,7 @@ export default {
if
(
this
.
$route
.
params
.
id
)
{
// 获取companyId
this
.
loading
=
true
// this.src = `https://pre-plug.jiansheku.com/enterprise/${this.$route.params.id}?secretId=${this.secretId}`
this
.
src
=
`http://192.168.60.30:3300/enterprise/
${
this
.
$route
.
params
.
id
}
?secretId=
${
this
.
secretId
}
`
this
.
src
=
`http://192.168.60.30:3300/enterprise/
${
this
.
$route
.
params
.
id
}
`
}
},
mounted
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment