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
Hide 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,22 +731,53 @@ export default {
...
@@ -731,22 +731,53 @@ 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
)
}
}
request
({
url
:
'
api/enterprise/add/enterpriseList
'
,
if
(
this
.
mainDataEditing
.
id
){
method
:
'
post
'
,
let
enterprise
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
mainDataEditing
))
data
:
this
.
mainDataEditing
enterprise
.
name
=
null
}).
then
(()
=>
{
enterprise
.
createDatetime
=
null
this
.
addCompanyLoading
=
false
enterprise
.
createBy
=
null
this
.
addCompanyShow
=
false
enterprise
.
updateDatetime
=
null
this
.
$message
({
enterprise
.
updateBy
=
null
message
:
'
操作完成
'
,
enterprise
.
hasEnable
=
null
type
:
'
success
'
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
({
url
:
'
api/enterprise/add/enterpriseList
'
,
method
:
'
post
'
,
data
:
this
.
mainDataEditing
}).
then
(()
=>
{
this
.
addCompanyLoading
=
false
this
.
addCompanyShow
=
false
this
.
$message
({
message
:
'
操作完成
'
,
type
:
'
success
'
})
this
.
searchSubmit
()
}).
catch
(()
=>
{
this
.
addCompanyLoading
=
false
this
.
addCompanyShow
=
false
})
})
this
.
searchSubmit
()
}
}).
catch
(()
=>
{
this
.
addCompanyLoading
=
false
this
.
addCompanyShow
=
false
})
}
}
}
else
{
}
else
{
this
.
$message
({
this
.
$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