Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuIncubator
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
GaoQuIncubator
Commits
38edb781
Commit
38edb781
authored
Oct 18, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业基本信息 分页传参问题处理
parent
9343e4cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
5 deletions
+28
-5
httpApi.js
src/assets/js/httpApi.js
+24
-1
enterprise.vue
src/views/system/home/enterprise.vue
+4
-4
No files found.
src/assets/js/httpApi.js
View file @
38edb781
...
@@ -490,7 +490,7 @@ var reqApis = function(){
...
@@ -490,7 +490,7 @@ var reqApis = function(){
baseInfo
:
{
baseInfo
:
{
// "incubatorId": {name:"孵化器名称", must:true, 'type':'select', val:'id', key:'name',},
// "incubatorId": {name:"孵化器名称", must:true, 'type':'select', val:'id', key:'name',},
"
year
"
:
{
"
year
"
:
{
name
:
"
年度
"
,
must
:
true
,
'
type
'
:
'
date
'
,
'
datetype
'
:
'
year
'
,
'
format
'
:
'
yyyy
'
,
table
:
0
name
:
"
年度
"
,
must
:
true
,
'
type
'
:
'
date
'
,
'
datetype
'
:
'
year
'
,
'
format
'
:
'
yyyy
'
},
},
"
totalRevenue
"
:
{
name
:
"
孵化器总收入(万元)
"
,
must
:
true
},
"
totalRevenue
"
:
{
name
:
"
孵化器总收入(万元)
"
,
must
:
true
},
"
serviceRevenue
"
:
{
name
:
"
综合服务收入(万元)
"
,
},
"
serviceRevenue
"
:
{
name
:
"
综合服务收入(万元)
"
,
},
...
@@ -1048,6 +1048,17 @@ var reqApis = function(){
...
@@ -1048,6 +1048,17 @@ var reqApis = function(){
],
],
},
},
request
:
function
(
type
,
param
)
{
request
:
function
(
type
,
param
)
{
var
searchParam
=
new
URLSearchParams
(
window
.
location
.
search
);
var
companyId
=
searchParam
.
get
(
'
companyId
'
);
if
(
companyId
){
if
(
param
.
exact
){
// 有exact则直接追加companyId 没有则新增值
param
.
exact
.
companyId
=
companyId
}
else
{
param
.
exact
=
{
companyId
}
}
}
return
reqPublic
(
'
api/companyProduct
'
,
type
,
param
)
return
reqPublic
(
'
api/companyProduct
'
,
type
,
param
)
},
},
upload
:
function
(
data
)
{
upload
:
function
(
data
)
{
...
@@ -1122,6 +1133,18 @@ var reqApis = function(){
...
@@ -1122,6 +1133,18 @@ var reqApis = function(){
],
],
},
},
request
:
function
(
type
,
param
)
{
request
:
function
(
type
,
param
)
{
var
searchParam
=
new
URLSearchParams
(
window
.
location
.
search
);
var
companyId
=
searchParam
.
get
(
'
companyId
'
);
if
(
companyId
){
if
(
param
.
exact
){
// 有exact则直接追加companyId 没有则新增值
param
.
exact
.
companyId
=
companyId
}
else
{
param
.
exact
=
{
companyId
}
}
}
return
reqPublic
(
'
api/companyAnnualInfo
'
,
type
,
param
)
return
reqPublic
(
'
api/companyAnnualInfo
'
,
type
,
param
)
},
},
},
},
...
...
src/views/system/home/enterprise.vue
View file @
38edb781
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"剩余企业孵化的面积(m²)"
>
<el-form-item
label=
"剩余企业孵化的面积(m²)"
>
{{
remainingArea
}}
{{
formInline
.
remainingArea
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -220,9 +220,9 @@ export default {
...
@@ -220,9 +220,9 @@ export default {
};
};
},
},
computed
:
{
computed
:
{
remainingArea
()
{
//
remainingArea() {
return
this
.
formInline
.
totalArea
-
this
.
formInline
.
incubationArea
;
//
return this.formInline.totalArea - this.formInline.incubationArea;
},
//
},
},
},
mounted
()
{
mounted
()
{
// this.getData();
// this.getData();
...
...
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