Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kimber
ZiBoYingJI
Commits
bc3a52e5
Commit
bc3a52e5
authored
Jul 24, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g公司修改
parent
6f67f489
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
18 deletions
+50
-18
home4Index.vue
src/views/home4Index.vue
+0
-1
index.vue
src/views/kd/c/enterprise/index.vue
+50
-17
No files found.
src/views/home4Index.vue
View file @
bc3a52e5
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
</div>
</div>
<div
class=
"subTopTitle"
>
<div
class=
"subTopTitle"
>
<h2
<h2
@
click=
"navTo('admin')"
:style=
"'background-image:url(' + Welcome + ');'"
:style=
"'background-image:url(' + Welcome + ');'"
>
>
<img
src=
"@/assets/home4Index/icon5.png"
/>
中和地信有限公司欢迎您!
<img
src=
"@/assets/home4Index/icon5.png"
/>
中和地信有限公司欢迎您!
...
...
src/views/kd/c/enterprise/index.vue
View file @
bc3a52e5
...
@@ -537,7 +537,7 @@
...
@@ -537,7 +537,7 @@
<el-table-column
label=
"操作"
width=
"200px"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"200px"
align=
"center"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
round
@
click=
"showEnterpriseInfo(scope.row.id)"
>
查看详情
</el-button>
<el-button
size=
"mini"
round
@
click=
"showEnterpriseInfo(scope.row.id)"
>
查看详情
</el-button>
<
!--
<el-button
size=
"mini"
round
@
click=
"editEnterpriseInfo(scope.row)"
>
修改
</el-button>
--
>
<
el-button
size=
"mini"
round
@
click=
"editEnterpriseInfo(scope.row)"
>
修改
</el-button
>
<!--
<el-button
v-show=
"scope.row.auditState==1"
size=
"mini"
round
@
click=
"auditBtn(scope.row, 2)"
>
通过
</el-button>
<!--
<el-button
v-show=
"scope.row.auditState==1"
size=
"mini"
round
@
click=
"auditBtn(scope.row, 2)"
>
通过
</el-button>
<el-button
v-show=
"scope.row.auditState==1"
size=
"mini"
round
@
click=
"auditBtn(scope.row, 3)"
>
不通过
</el-button>
-->
<el-button
v-show=
"scope.row.auditState==1"
size=
"mini"
round
@
click=
"auditBtn(scope.row, 3)"
>
不通过
</el-button>
-->
...
@@ -731,6 +731,36 @@ export default {
...
@@ -731,6 +731,36 @@ export default {
if
(
this
.
mainDataEditing
.
_safetyLicenseFileList
)
{
if
(
this
.
mainDataEditing
.
_safetyLicenseFileList
)
{
this
.
mainDataEditing
.
safetyLicenseFilePath
=
JSON
.
stringify
(
this
.
mainDataEditing
.
_safetyLicenseFileList
)
this
.
mainDataEditing
.
safetyLicenseFilePath
=
JSON
.
stringify
(
this
.
mainDataEditing
.
_safetyLicenseFileList
)
}
}
if
(
this
.
mainDataEditing
.
id
){
let
enterprise
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
mainDataEditing
))
enterprise
.
name
=
null
enterprise
.
createDatetime
=
null
enterprise
.
createBy
=
null
enterprise
.
updateDatetime
=
null
enterprise
.
updateBy
=
null
enterprise
.
hasEnable
=
null
enterprise
.
applyDatetime
=
null
enterprise
.
auditState
=
null
enterprise
.
auditDatetime
=
null
enterprise
.
auditBy
=
null
request
({
url
:
'
api/enterprise/set-my
'
,
method
:
'
post
'
,
data
:
enterprise
}).
then
(()
=>
{
this
.
addCompanyLoading
=
false
this
.
addCompanyShow
=
false
this
.
$message
({
message
:
'
操作完成
'
,
type
:
'
success
'
})
this
.
searchSubmit
()
}).
catch
(()
=>
{
this
.
addCompanyLoading
=
false
this
.
addCompanyShow
=
false
})
}
else
{
request
({
request
({
url
:
'
api/enterprise/add/enterpriseList
'
,
url
:
'
api/enterprise/add/enterpriseList
'
,
method
:
'
post
'
,
method
:
'
post
'
,
...
@@ -748,6 +778,7 @@ export default {
...
@@ -748,6 +778,7 @@ export default {
this
.
addCompanyShow
=
false
this
.
addCompanyShow
=
false
})
})
}
}
}
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
'
填写不满足要求,请检查
'
,
message
:
'
填写不满足要求,请检查
'
,
...
@@ -758,6 +789,8 @@ export default {
...
@@ -758,6 +789,8 @@ export default {
},
},
add
(){
add
(){
this
.
mainDataEditing
=
{}
// this.mainDataEditing.id = null
this
.
addCompanyShow
=
true
this
.
addCompanyShow
=
true
},
},
elementuiUpListFormat
(
fileList
)
{
elementuiUpListFormat
(
fileList
)
{
...
@@ -879,7 +912,7 @@ export default {
...
@@ -879,7 +912,7 @@ export default {
this
.
mainDataEditing
.
_safetyLicenseFileList
=
JSON
.
parse
(
this
.
mainDataEditing
.
safetyLicenseFilePath
)
this
.
mainDataEditing
.
_safetyLicenseFileList
=
JSON
.
parse
(
this
.
mainDataEditing
.
safetyLicenseFilePath
)
this
.
mainDataEditing
.
_safetyLicenseFileListShow
=
JSON
.
parse
(
this
.
mainDataEditing
.
safetyLicenseFilePath
)
// 数据存放与原始绑定分开,可以防止中途赋值产生的闪烁问题
this
.
mainDataEditing
.
_safetyLicenseFileListShow
=
JSON
.
parse
(
this
.
mainDataEditing
.
safetyLicenseFilePath
)
// 数据存放与原始绑定分开,可以防止中途赋值产生的闪烁问题
}
}
this
.
mainDataEditing
.
_administrativeAreaCascade
=
row
.
deptId
this
.
mainDataEditing
.
_administrativeAreaCascade
=
[
row
.
deptId
]
},
},
showEnterpriseInfo
(
enterpriseId
)
{
showEnterpriseInfo
(
enterpriseId
)
{
enterpriseApi
.
getById
(
enterpriseId
).
then
(
response
=>
{
enterpriseApi
.
getById
(
enterpriseId
).
then
(
response
=>
{
...
...
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