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
cd6c01a7
Commit
cd6c01a7
authored
Oct 31, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Plain Diff
master代码同步、dp字体样式调整
parents
fd8d4144
406ede5b
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
239 additions
and
1092 deletions
+239
-1092
overview.js
src/api/system/overview.js
+39
-4
common.js
src/assets/js/common.js
+4
-1
httpApi.js
src/assets/js/httpApi.js
+35
-17
index2.vue
src/components/TableFilter/index2.vue
+1
-1
index2.vue
src/components/cuForm/index2.vue
+1
-1
index2.vue
src/components/cuTable/index2.vue
+1
-1
index.vue
src/views/Screen/index.vue
+107
-86
index.vue
src/views/business/basicInfo/index.vue
+4
-2
index.vue
src/views/business/common/index.vue
+3
-3
index.vue
src/views/business/income/index.vue
+3
-3
enterprise.vue
src/views/system/home/enterprise.vue
+26
-95
overview.vue
src/views/system/home/overview.vue
+11
-874
tech.vue
src/views/system/home/tech.vue
+2
-2
center.vue
src/views/system/user/center.vue
+1
-1
index.vue
src/views/system/user/index.vue
+1
-1
No files found.
src/api/system/overview.js
View file @
cd6c01a7
...
...
@@ -5,13 +5,13 @@ export function getData4panel4(data) { // 导师信息
return
request
({
url
:
'
api/mentor
'
,
method
:
'
get
'
,
params
:
data
,
params
:
data
,
})
}
export
function
getData4panel0
(
data
)
{
// 孵化器概况信息
return
request
({
url
:
'
api/incubator/profile?incubatorId=
'
+
data
.
incubatorId
,
url
:
'
api/incubator/profile?incubatorId=
'
+
data
.
incubatorId
,
method
:
'
get
'
,
})
}
...
...
@@ -20,10 +20,43 @@ export function getDialogData4panel0(data) { // 孵化器概况信息
return
request
({
url
:
'
api/incubatorRevenue
'
,
method
:
'
get
'
,
params
:
data
,
params
:
data
,
})
}
export
function
getData4enterprise
(
data
)
{
return
request
({
url
:
'
api/company/companyName/list
'
,
method
:
'
get
'
,
params
:
data
})
}
export
function
getData4enterpriseDetail
(
data
)
{
return
request
({
url
:
'
api/company/web/details
'
,
method
:
'
get
'
,
params
:
data
})
}
export
function
getDialogData4panel1_2
(
data
)
{
return
request
({
url
:
'
api/companyAnnualInfo
'
,
method
:
'
get
'
,
params
:
data
})
}
export
function
getDialogData4panel1_3
(
data
)
{
return
request
({
url
:
'
api/companyProduct
'
,
method
:
'
get
'
,
params
:
data
})
}
export
function
getData4tech
(
data
)
{
return
request
({
...
...
@@ -64,5 +97,7 @@ export function editUser(data) {
}
export
default
{
getData4panel0
,
getDialogData4panel0
,
getData4panel4
,
getData4tech
,
add
,
edit
,
del
}
export
default
{
getData4panel0
,
getDialogData4panel0
,
getData4panel4
,
getData4enterprise
,
getData4enterpriseDetail
,
getDialogData4panel1_2
,
getDialogData4panel1_3
,
getData4tech
,
add
,
edit
,
del
}
src/assets/js/common.js
View file @
cd6c01a7
var
Tools
=
function
(){
var
isHighTech
=
function
(){
return
~~
localStorage
.
getItem
(
'
groupIdByloginType
'
)
===
2
};
// 日期时间工具
var
Dates
=
function
(){
/*
...
...
@@ -453,6 +455,7 @@ var Tools = function(){
Dates
:
Dates
(),
arrayJsonToJson
,
asyncLoop
,
checkbox
,
fileElTobase64
,
createOnSelect
,
cuPrint
,
downloadFile
,
isHighTech
,
}
};
...
...
src/assets/js/httpApi.js
View file @
cd6c01a7
...
...
@@ -488,7 +488,7 @@ var reqApis = function(){
name
:
'
孵化器管理
'
,
Dict
:
{
baseInfo
:
{
// "incubatorId": {name:"孵化器名称", must:true, 'type':'select', val:'id', key:'name',
},
"
incubatorId
"
:
{
name
:
"
孵化器名称
"
,
must
:
true
,
'
type
'
:
'
select
'
,
val
:
'
id
'
,
key
:
'
name
'
,
showYN
:
Tools
.
isHighTech
()
},
"
year
"
:
{
name
:
"
年度
"
,
must
:
true
,
'
type
'
:
'
date
'
,
'
datetype
'
:
'
year
'
,
'
format
'
:
'
yyyy
'
},
...
...
@@ -539,11 +539,11 @@ var reqApis = function(){
rightBtn
:
[
],
search
:
[
//
{
// 'type': 'string', 'name': '孵化器名称', 'word': 'incubatorName', 'mode': 0, 'width': '180px'
, 'clear': function () {
//
this.loadData()
//
}
//
},
{
'
type
'
:
'
string
'
,
'
name
'
:
'
孵化器名称
'
,
'
word
'
:
'
incubatorName
'
,
'
mode
'
:
0
,
'
width
'
:
'
180px
'
,
showYN
:
Tools
.
isHighTech
()
,
'
clear
'
:
function
()
{
this
.
loadData
()
}
},
{
'
type
'
:
'
date
'
,
'
datetype
'
:
'
year
'
,
'
defaultTime
'
:
[
'
2024
'
],
'
name
'
:
'
年度
'
,
'
word
'
:
'
year
'
,
'
mode
'
:
0
,
'
width
'
:
'
140px
'
,
'
change
'
:
function
(
a
,
b
){
...
...
@@ -566,7 +566,7 @@ var reqApis = function(){
Dict
:
{
baseInfo
:
{
"
companyName
"
:
{
name
:
"
企业名称
"
,
must
:
true
},
// "incubatorId": {name:"所属孵化器", must:true, table:0, 'type':'select', key:'name',
},
"
incubatorId
"
:
{
name
:
"
所属孵化器
"
,
must
:
true
,
'
type
'
:
'
select
'
,
key
:
'
name
'
,
showYN
:
Tools
.
isHighTech
()
},
"
technicalField
"
:
{
name
:
"
所属技术领域
"
,
must
:
true
,
'
type
'
:
'
select
'
,
key
:
'
name
'
,
},
"
entryDate
"
:
{
...
...
@@ -664,18 +664,18 @@ var reqApis = function(){
"
softwareCopyrightNumber
"
:
{
'
type
'
:
''
,
'
name
'
:
'
软件著作权数(件)
'
,
table
:
0
,
},
"
isTechSme
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否科技型中小企业
'
,
table
:
0
,
},
"
techSmeDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
isHighGrowthInnovative
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否创新性中小企业
'
,
table
:
0
,
},
"
highGrowthInnovativeDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,},
"
isHighTech
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否高新技术企业
'
,
table
:
0
,
},
"
highTechDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
is
AdvancedTechService
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否技术先进型服务
企业
'
,
table
:
0
,
},
"
advancedTechService
Date
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
is
SpecializedSpecialEnterprises
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否专精特新
企业
'
,
table
:
0
,
},
"
specializedSpecialEnterprises
Date
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
isGazelle
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否瞪羚企业
'
,
table
:
0
,
},
"
gazelleDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
isLittleGiant
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否小巨人企业
'
,
table
:
0
,
},
"
littleGiantDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
isSpecializedSpecialEnterprises
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否专精特新企业
'
,
table
:
0
,
},
"
specializedSpecialEnterprisesDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
"
isHighGrowthInnovative
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否创新性中小企业
'
,
table
:
0
,
},
"
highGrowthInnovativeDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,},
"
isAdvancedTechService
"
:
{
'
type
'
:
'
select
'
,
'
name
'
:
'
是否技术先进型服务企业
'
,
table
:
0
,
},
"
advancedTechServiceDate
"
:
{
'
type
'
:
'
date
'
,
'
name
'
:
'
最新评选日期
'
,
table
:
0
,
mode
:
7
,
},
...
...
@@ -775,7 +775,7 @@ var reqApis = function(){
}
},
{
type
:
'
primary
'
,
icon
:
'
el-icon-folder-add
'
,
name
:
'
导入企业基础信息
'
,
'
callback
'
:
function
(){
type
:
'
primary
'
,
icon
:
'
el-icon-folder-add
'
,
name
:
'
导入企业基础信息
'
,
showYN
:
!
Tools
.
isHighTech
(),
'
callback
'
:
function
(){
var
m
=
this
;
m
.
uploadView
=
qf
.
UI
.
popWindow
({
cover
:
true
,
...
...
@@ -855,7 +855,7 @@ var reqApis = function(){
}
},
{
type
:
'
primary
'
,
icon
:
'
el-icon-folder-add
'
,
name
:
'
导入企业经营信息
'
,
'
callback
'
:
function
(){
type
:
'
primary
'
,
icon
:
'
el-icon-folder-add
'
,
name
:
'
导入企业经营信息
'
,
showYN
:
!
Tools
.
isHighTech
(),
'
callback
'
:
function
(){
var
m
=
this
;
m
.
uploadView
=
qf
.
UI
.
popWindow
({
cover
:
true
,
...
...
@@ -954,6 +954,11 @@ var reqApis = function(){
this
.
loadData
()
}
},
{
'
type
'
:
'
string
'
,
'
name
'
:
'
孵化器名称
'
,
'
word
'
:
'
incubatorName
'
,
'
mode
'
:
0
,
'
width
'
:
'
180px
'
,
showYN
:
Tools
.
isHighTech
(),
'
clear
'
:
function
()
{
this
.
loadData
()
}
},
{
'
type
'
:
'
select
'
,
'
name
'
:
'
在孵状态
'
,
'
word
'
:
'
incubationStatus
'
,
'
mode
'
:
1
,
'
width
'
:
'
140px
'
},
{
'
type
'
:
'
select
'
,
'
name
'
:
'
企业类型
'
,
'
word
'
:
'
companyType
'
,
'
mode
'
:
1
,
'
width
'
:
'
140px
'
},
{
'
type
'
:
'
select
'
,
'
name
'
:
'
企业级别
'
,
'
word
'
:
'
companyLevel
'
,
'
mode
'
:
1
,
'
width
'
:
'
140px
'
},
...
...
@@ -1155,6 +1160,7 @@ var reqApis = function(){
Dict
:
{
baseInfo
:
{
"
mentorName
"
:
{
name
:
"
导师姓名
"
,
must
:
true
},
"
incubatorId
"
:
{
name
:
"
所属孵化器
"
,
must
:
true
,
'
type
'
:
'
select
'
,
key
:
'
name
'
,
showYN
:
Tools
.
isHighTech
()},
"
education
"
:
{
name
:
"
学历
"
,
must
:
true
},
"
graduationSchool
"
:
{
name
:
"
毕业学校
"
,
},
"
contactPhone
"
:
{
name
:
"
联系电话
"
,
},
...
...
@@ -1184,10 +1190,17 @@ var reqApis = function(){
},
selectList
:
{
incubatorId
:
function
()
{
return
reqPublic
(
'
/api/incubator/list
'
,
'
get
'
,
{}).
then
(
function
(
res
)
{
return
res
.
body
||
[];
var
slist
=
this
.
selectList
;
return
reqPublic
(
'
api/company/dic
'
,
'
get
'
,
{}).
then
(
function
(
res
)
{
var
body
=
res
.
body
||
{};
for
(
var
key
in
body
)
{
var
val
=
body
[
key
];
slist
[
key
]
=
val
};
return
body
.
incubatorId
;
});
},
},
},
config
:
{
...
...
@@ -1223,6 +1236,11 @@ var reqApis = function(){
this
.
loadData
()
}
},
{
'
type
'
:
'
string
'
,
'
name
'
:
'
孵化器名称
'
,
'
word
'
:
'
incubatorName
'
,
'
mode
'
:
0
,
'
width
'
:
'
180px
'
,
showYN
:
Tools
.
isHighTech
(),
'
clear
'
:
function
()
{
this
.
loadData
()
}
},
{
'
type
'
:
'
daterange
'
,
'
defaultTime
'
:
[
'
00:00:00
'
,
'
23:59:59
'
],
'
name
'
:
'
日期范围
'
,
'
word
'
:
'
daterange
'
,
'
mode
'
:
0
,
'
width
'
:
'
300px
'
,
format
:
'
yyyy-MM-dd
'
},
{
'
type
'
:
'
button
'
,
'
label
'
:
'
查询
'
,
'
width
'
:
'
140px
'
,
'
icon
'
:
'
el-icon-search
'
,
'
click
'
:
function
(
e
)
{
...
...
src/components/TableFilter/index2.vue
View file @
cd6c01a7
...
...
@@ -56,7 +56,7 @@
<!--工具栏-->
<div
class=
"head-container"
v-if=
"form.config.search && form.config.search[0]"
>
<!-- 搜索 -->
<template
v-for=
"(item, index) in form.config.search"
>
<template
v-for=
"(item, index) in form.config.search"
v-if=
"item.showYN !==false"
>
<label
v-if=
"item.name && item.showLabel"
class=
"el-form-item-label"
>
{{
item
.
name
}}
</label>
<template
v-if=
"item.type==='string'"
>
<el-input
v-model=
"form.query[item.word]"
clearable
:placeholder=
"item.name"
:style=
"'width:'+item.width"
@
clear=
"item.clear && item.clear.call(_self.$parent)"
/>
...
...
src/components/cuForm/index2.vue
View file @
cd6c01a7
...
...
@@ -63,7 +63,7 @@
<
template
>
<el-dialog
id=
"printJS-form"
class=
"qyzz-dialog"
append-to-body
:close-on-click-modal=
"false"
:before-close=
"cancelForm"
:visible.sync=
"form.visible"
:title=
"form.title"
:width=
"form.config.formWidth || '50%'"
>
<el-form
:model=
"form.item"
:rules=
"rules"
:ref=
"ref"
:inline=
"true"
size=
"small"
:label-width=
"(form.config.labelWidth || 80) + 'px'"
>
<el-form-item
v-for=
"(item, key) in Dict.baseInfo"
:prop=
"item.rule || key"
:label=
"item.name"
v-if=
"item.form !== 0"
:style=
"item.style"
:class=
"
{'isHide': item.mode===7, [key]: item.mode===7}" :ref="key">
<el-form-item
v-for=
"(item, key) in Dict.baseInfo"
:prop=
"item.rule || key"
:label=
"item.name"
v-if=
"item.form !== 0
&& item.showYN !==false
"
:style=
"item.style"
:class=
"
{'isHide': item.mode===7, [key]: item.mode===7}" :ref="key">
<template
v-if=
"item.type === 'img'"
>
<div
class=
"img-upload"
>
<label
class=
"upload-area"
for=
"imgUpload"
>
...
...
src/components/cuTable/index2.vue
View file @
cd6c01a7
...
...
@@ -57,7 +57,7 @@
<div
class=
"content cu-table"
>
<!-- :style="'width:'+ (item.fixed ? '400px' : 'auto') +" -->
<el-table
:data=
"table.dataList"
v-loading=
"table.loading"
border
style=
"width: 100%;"
:row-class-name=
"tableRowClassName"
>
<template
v-for=
"(item, key) in Dict.baseInfo"
v-if=
"item.table !== 0
"
>
<template
v-for=
"(item, key) in Dict.baseInfo"
v-if=
"item.table !== 0
&& item.showYN !==false"
>
<el-table-column
v-if=
"item.type === 'select'"
:prop=
"key"
:label=
"item.name"
:fixed=
"fixed"
:width=
"item.width||'200px'"
>
<template
slot-scope=
"scope"
>
<template
v-for=
"sitem in Dict.selectList[key]"
>
...
...
src/views/Screen/index.vue
View file @
cd6c01a7
...
...
@@ -107,9 +107,29 @@ import { Highchart } from "@/assets/js/chartTemplates.js";
import
cuAmap
from
"
@/components/AMap
"
;
import
request
from
"
@/utils/request
"
;
// function isTechUser(){
// return localStorage.getItem('groupIdByloginType')*1===2 // 是否为科技局用户
// let resizeTimeout;
// window.addEventListener('resize', function() {
// clearTimeout(resizeTimeout);
// resizeTimeout = setTimeout(function() {
// location.reload();
// // 执行响应逻辑
// }, 200); // 200毫秒后执行
// });
// function getPxByRem(remValue){// 传入要转换的 rem 值
// // 获取 html 元素
// const htmlElement = document.documentElement;
// // 获取 html 元素的 font-size
// const fontSize = parseFloat(getComputedStyle(htmlElement).fontSize);
// // 将 rem 转换为 px
// let pxValue = remValue * fontSize;
// return pxValue
// }
export
default
{
data
()
{
return
{
...
...
@@ -224,7 +244,7 @@ export default {
},
showInfoWindow
(
marker
,
item
)
{
const
content
=
`<div class="popupBgImage" style="">
<h4>详细信息</h4><i id="closeInfoWindowBtn"></i>
<h4>详细信息</h4><i id="closeInfoWindowBtn"
style="cursor:pointer;"
></i>
<dl>
<dd class="textEllipsis"><font>孵化器名称:</font><span :title="
${
item
.
incubatorName
...
...
@@ -286,11 +306,11 @@ export default {
labels
:
{
x
:
-
5
,
style
:
{
fontSize
:
"
0.1
7
rem
"
,
fontSize
:
"
0.1
4
rem
"
,
},
formatter
:
function
()
{
return
this
.
value
.
length
>
5
?
this
.
value
.
substring
(
0
,
5
)
+
"
...
"
?
this
.
value
.
substring
(
0
,
7
)
:
this
.
value
;
},
},
...
...
@@ -324,6 +344,7 @@ export default {
overflow
:
"
justify
"
,
style
:
{
fontSize
:
"
0.18rem
"
,
// 设置 Y 轴标签的字体大小
color
:
'
#00F0FF
'
,
},
},
},
...
...
@@ -568,82 +589,82 @@ export default {
method
:
"
get
"
,
}).
then
((
res
)
=>
{
let
list
=
res
.
body
||
[];
list
=
{
names
:
[
{
name
:
"
上缴税费
"
,
key
:
"
num
"
,
},
],
list
:
[
{
date
:
"
2021年
"
,
values
:
{
num
:
100
,
},
},
{
date
:
"
2023年
"
,
values
:
{
num
:
41
,
},
},
{
date
:
"
2024年
"
,
values
:
{
num
:
533
,
},
},
{
date
:
"
2025年
"
,
values
:
{
num
:
303
,
},
},
{
date
:
"
2026年
"
,
values
:
{
num
:
306
,
},
},
{
date
:
"
2027年
"
,
values
:
{
num
:
309
,
},
},
{
date
:
"
2028年
"
,
values
:
{
num
:
312
,
},
},
{
date
:
"
2029年
"
,
values
:
{
num
:
315
,
},
},
{
date
:
"
2030年
"
,
values
:
{
num
:
318
,
},
},
{
date
:
"
2031年
"
,
values
:
{
num
:
321
,
},
},
{
date
:
"
2032年
"
,
values
:
{
num
:
324
,
},
},
],
};
//
list = {
//
names: [
//
{
//
name: "上缴税费",
//
key: "num",
//
},
//
],
//
list: [
//
{
// date: "2021年111
",
//
values: {
//
num: 100,
//
},
//
},
//
{
//
date: "2023年",
//
values: {
//
num: 41,
//
},
//
},
//
{
//
date: "2024年",
//
values: {
//
num: 533,
//
},
//
},
//
{
//
date: "2025年",
//
values: {
//
num: 303,
//
},
//
},
//
{
//
date: "2026年",
//
values: {
//
num: 306,
//
},
//
},
//
{
//
date: "2027年",
//
values: {
//
num: 309,
//
},
//
},
//
{
//
date: "2028年",
//
values: {
//
num: 312,
//
},
//
},
//
{
//
date: "2029年",
//
values: {
//
num: 315,
//
},
//
},
//
{
//
date: "2030年",
//
values: {
//
num: 318,
//
},
//
},
//
{
//
date: "2031年",
//
values: {
//
num: 321,
//
},
//
},
//
{
//
date: "2032年",
//
values: {
//
num: 324,
//
},
//
},
//
],
//
};
var
chartData
=
Highchart
.
seriesDataFormat
(
list
,
{
datekey
:
"
date
"
,
dataReverse
:
true
,
...
...
@@ -677,7 +698,7 @@ export default {
// tickLength: 0, // 不显示刻度线
gridLineWidth
:
0
,
// 也可以设置不显示网格线
title
:
{
text
:
"
(万元)
"
,
text
:
"
万元
"
,
margin
:
0
,
style
:
{
color
:
"
#eee
"
,
...
...
@@ -1367,8 +1388,8 @@ export default {
font
{
font-size
:
0
.45rem
;
font-family
:
diget
year
;
margin-top
:
0
.15rem
;
line-height
:
0
.
2
3rem
;
//
margin-top: 0.15rem;
line-height
:
0
.
3
3rem
;
background-image
:
-webkit-linear-gradient
(
top
,
#fff
,
...
...
@@ -1376,7 +1397,7 @@ export default {
#ffea98
);
-webkit-background-clip
:
text
;
//
-webkit-text-fill-color: transparent;
-webkit-text-fill-color
:
transparent
;
}
}
li
:nth-child
(
1
)
{
...
...
@@ -1723,7 +1744,7 @@ export default {
white-space
:
nowrap
;
/* 不换行 */
overflow
:
hidden
;
/* 超出隐藏 */
text-overflow
:
ellipsis
;
/* 添加省略号 */
width
:
3
20px
;
/* 设置宽度 */
width
:
3
.2rem
;
/* 设置宽度 */
}
button
{
width
:
1
.5rem
;
...
...
src/views/business/basicInfo/index.vue
View file @
cd6c01a7
...
...
@@ -19,6 +19,7 @@
<el-button
type=
"text"
style=
"font-size: 18px;"
>
公司数:
{{
table
.
total
}}
</el-button>
<el-button
v-for=
"(item, key) in form.config.otherBtn"
v-show=
"item.name==='添加企业' || showYN"
size=
"mini"
:type=
"item.type"
:icon=
"item.icon"
...
...
@@ -29,7 +30,7 @@
<!--
<el-button
type=
"primary"
size=
"mini"
icon=
"el-icon-upload"
@
click=
"dialogVisible=true"
>
导入企业基础信息
</el-button>
<el-button
type=
"primary"
size=
"mini"
icon=
"el-icon-upload"
>
导入企业经营信息
</el-button>
-->
</div>
<div>
<div
v-if=
"showYN"
>
<el-button
v-for=
"(item, key) in form.config.rightBtn"
size=
"mini"
...
...
@@ -179,7 +180,7 @@ import { Tools } from "@/assets/js/common.js";
import
DateRangePicker
from
"
@/components/DateRangePicker
"
;
import
TableFilter
from
"
@/components/TableFilter/index2
"
;
import
cuForm
from
"
@/components/cuForm/index2
"
;
import
cuTable
from
"
@/components/cuTable
"
;
import
cuTable
from
"
@/components/cuTable
/index2
"
;
export
default
{
name
:
"
Dashboard
"
,
...
...
@@ -191,6 +192,7 @@ export default {
},
data
()
{
return
{
showYN
:
!
Tools
.
isHighTech
(),
dialogVisible
:
false
,
uploadError
:
''
,
hasBasicInfo
:
false
,
...
...
src/views/business/common/index.vue
View file @
cd6c01a7
...
...
@@ -52,9 +52,9 @@
import
{
reqApi
,
Config
}
from
'
@/assets/js/httpApi.js
'
;
import
{
Tools
}
from
'
@/assets/js/common.js
'
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
;
import
TableFilter
from
'
@/components/TableFilter
'
;
import
cuForm
from
'
@/components/cuForm
'
;
import
cuTable
from
'
@/components/cuTable
'
;
import
TableFilter
from
'
@/components/TableFilter
/index2
'
;
import
cuForm
from
'
@/components/cuForm
/index2
'
;
import
cuTable
from
'
@/components/cuTable
/index2
'
;
export
default
{
name
:
'
Dashboard
'
,
...
...
src/views/business/income/index.vue
View file @
cd6c01a7
...
...
@@ -52,9 +52,9 @@
import
{
reqApi
,
Config
}
from
'
@/assets/js/httpApi.js
'
;
import
{
Tools
}
from
'
@/assets/js/common.js
'
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
;
import
TableFilter
from
'
@/components/TableFilter
'
;
import
cuForm
from
'
@/components/cuForm
'
;
import
cuTable
from
'
@/components/cuTable
'
;
import
TableFilter
from
'
@/components/TableFilter
/index2
'
;
import
cuForm
from
'
@/components/cuForm
/index2
'
;
import
cuTable
from
'
@/components/cuTable
/index2
'
;
export
default
{
name
:
'
Dashboard
'
,
...
...
src/views/system/home/enterprise.vue
View file @
cd6c01a7
...
...
@@ -135,56 +135,17 @@ var baseAPI =
?
process
.
env
.
VUE_APP_LOCAL_API
+
"
/
"
:
(
VUE_APP_API
.
ServiceURL
||
process
.
env
.
VUE_APP_LOCAL_API
)
+
"
/
"
;
import
crudHome
from
"
@/api/system/home
"
;
import
IconSelect
from
"
@/components/IconSelect
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
"
@riophae/vue-treeselect/dist/vue-treeselect.css
"
;
import
{
LOAD_CHILDREN_OPTIONS
}
from
"
@riophae/vue-treeselect
"
;
import
CRUD
,
{
presenter
,
header
,
form
,
crud
}
from
"
@crud/crud
"
;
import
rrOperation
from
"
@crud/RR.operation
"
;
import
crudOperation
from
"
@crud/CRUD.operation
"
;
import
udOperation
from
"
@crud/UD.operation
"
;
import
DateRangePicker
from
"
@/components/DateRangePicker
"
;
import
dic
from
"
@/api/system/dict
"
;
import
cuAmap
from
"
@/components/AMap
"
;
// crud交由presenter持有
const
defaultForm
=
{
id
:
null
,
title
:
null
,
menuSort
:
999
,
path
:
null
,
component
:
null
,
componentName
:
null
,
iframe
:
false
,
roles
:
[],
pid
:
0
,
icon
:
null
,
cache
:
false
,
hidden
:
false
,
type
:
0
,
permission
:
null
,
};
export
default
{
name
:
"
Menu
"
,
name
:
"
Home
"
,
components
:
{
cuAmap
,
Treeselect
,
IconSelect
,
crudOperation
,
rrOperation
,
udOperation
,
DateRangePicker
,
},
cruds
()
{
return
CRUD
({
title
:
"
菜单
"
,
url
:
"
api/menus
"
,
crudMethod
:
{
...
crudHome
},
});
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
return
{
baseAPI
:
baseAPI
,
...
...
@@ -192,6 +153,7 @@ export default {
fileList
:
[],
cmap
:
null
,
Dict
:
{
selectList
:
[]
},
companyLevelList
:
[],
formInline
:
{
address
:
""
,
contactPerson
:
""
,
...
...
@@ -206,17 +168,6 @@ export default {
operatingAgency
:
""
,
totalArea
:
""
,
},
menus
:
[],
permission
:
{
add
:
[
"
admin
"
,
"
menu:add
"
],
edit
:
[
"
admin
"
,
"
menu:edit
"
],
del
:
[
"
admin
"
,
"
menu:del
"
],
},
rules
:
{
title
:
[{
required
:
true
,
message
:
"
请输入标题
"
,
trigger
:
"
blur
"
}],
path
:
[{
required
:
true
,
message
:
"
请输入地址
"
,
trigger
:
"
blur
"
}],
},
};
},
computed
:
{
...
...
@@ -226,10 +177,6 @@ export default {
},
mounted
()
{
// this.getData();
dic
.
getCompanyDicts
().
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
companyLevelList
=
res
.
body
.
incubatorLevel
||
[];
});
},
methods
:
{
handleSuccess
(
response
,
file
)
{
...
...
@@ -291,30 +238,17 @@ export default {
title
:
""
,
draggable
:
true
,
dragend
:
function
(
e
)
{
// var lnglat = e.lnglat;
// cmap.deGeocode([lnglat.lng, lnglat.lat], function (addr) {
// form.address = addr;
// form.longitude = lnglat.lng;
// form.latitude = lnglat.lat;
// self.$forceUpdate();
// });
VUE
.
getAddrPlus
(
e
,
cmap
)
VUE
.
getAddrPlus
(
e
,
cmap
);
},
});
}
VUE
.
getData
(
function
()
{}
);
VUE
.
getData
();
},
click
:
function
(
e
,
cmap
)
{
// 经纬度坐标
VUE
.
getAddrPlus
(
e
,
cmap
);
// var lnglat = e.lnglat;
// cmap.deGeocode([lnglat.lng, lnglat.lat], function (addr) {
// form.address = addr;
// form.longitude = lnglat.lng;
// form.latitude = lnglat.lat;
// });
cmap
.
marker
&&
cmap
.
removeMarker
();
// 添加标记
...
...
@@ -323,12 +257,6 @@ export default {
title
:
""
,
draggable
:
true
,
dragend
:
function
(
e
)
{
// var lnglat = e.lnglat;
// cmap.deGeocode([lnglat.lng, lnglat.lat], function (addr) {
// form.address = addr;
// form.longitude = lnglat.lng;
// form.latitude = lnglat.lat;
// });
VUE
.
getAddrPlus
(
e
,
cmap
,
form
);
},
});
...
...
@@ -349,7 +277,7 @@ export default {
});
console
.
log
();
// 根据经纬度进行逆地理编码查询
geocoder
.
getAddress
([
longitude
,
latitude
],
(
status
,
result
)
=>
{
geocoder
.
getAddress
([
longitude
,
latitude
],
(
status
,
result
)
=>
{
if
(
status
===
"
complete
"
&&
result
.
info
===
"
OK
"
)
{
if
(
result
.
regeocode
&&
result
.
regeocode
.
formattedAddress
)
{
let
address
=
result
.
regeocode
.
formattedAddress
;
...
...
@@ -372,27 +300,30 @@ export default {
crudHome
.
edit
(
this
.
formInline
).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$message
.
success
(
"
保存成功
"
);
// res.msg
this
.
getData
()
this
.
getData
()
;
}
});
},
getData
(
fn
)
{
getData
()
{
crudHome
.
getData
().
then
((
res
)
=>
{
this
.
formInline
=
res
.
body
;
this
.
formInline
.
incubatorImage
=
res
.
body
.
incubatorImage
;
const
lat
=
this
.
formInline
.
latitude
;
const
lng
=
this
.
formInline
.
longitude
;
// this.$refs.amap.init(amapOptions());
const
center
=
[
lng
,
lat
];
// setTimeout(() => {
// 定位中心地址
this
.
$refs
.
amap
.
setCenter
(
center
);
console
.
log
(
"
map
"
,
this
.
cmap
);
// 定位marker设置
this
.
cmap
.
marker
.
setPosition
(
new
AMap
.
LngLat
(
lng
,
lat
));
// }, 3000);
console
.
log
();
fn
&&
fn
();
dic
.
getCompanyDicts
().
then
((
res1
)
=>
{
this
.
companyLevelList
=
res1
.
body
.
incubatorLevel
||
[];
this
.
formInline
=
res
.
body
;
this
.
formInline
.
incubatorImage
=
res
.
body
.
incubatorImage
;
const
lat
=
this
.
formInline
.
latitude
;
const
lng
=
this
.
formInline
.
longitude
;
// this.$refs.amap.init(amapOptions());
const
center
=
[
lng
,
lat
];
// setTimeout(() => {
// 定位中心地址
this
.
$refs
.
amap
.
setCenter
(
center
);
console
.
log
(
"
map
"
,
this
.
cmap
);
// 定位marker设置
this
.
cmap
.
marker
.
setPosition
(
new
AMap
.
LngLat
(
lng
,
lat
));
// }, 3000);
console
.
log
();
});
});
},
// 选中图标
...
...
src/views/system/home/overview.vue
View file @
cd6c01a7
This diff is collapsed.
Click to expand it.
src/views/system/home/tech.vue
View file @
cd6c01a7
...
...
@@ -6,8 +6,8 @@
<div
class=
"title"
style=
"padding-bottom: 8px;"
>
孵化器
</div>
<div
class=
"content"
style=
"font-size: 16px;margin-bottom: 4px;"
>
{{
data
.
incubatorAllCount
}}
家
</div>
<div
style=
"color: gray; font-size: 14px;"
>
<span>
国家级:
{{
data
.
incubatorAll
Count
}}
家
</span>
<span>
省级:
{{
data
.
incubatorAll
Count
}}
家
</span>
<span>
国家级:
{{
data
.
province
Count
}}
家
</span>
<span>
省级:
{{
data
.
country
Count
}}
家
</span>
</div>
</li>
<li>
...
...
src/views/system/user/center.vue
View file @
cd6c01a7
...
...
@@ -78,7 +78,7 @@
align=
"right"
>
<
template
slot=
"header"
>
<div
style=
"display:inline-block;float: right;cursor: pointer"
@
click=
"init"
>
创建日期
<i
class=
"el-icon-refresh"
style=
"margin-left:
40
px"
/></div>
<div
style=
"display:inline-block;float: right;cursor: pointer"
@
click=
"init"
>
创建日期
<i
class=
"el-icon-refresh"
style=
"margin-left:
26
px"
/></div>
</
template
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createTime
}}
</span>
...
...
src/views/system/user/index.vue
View file @
cd6c01a7
...
...
@@ -126,7 +126,7 @@
<el-option
v-for=
"item in roles"
:key=
"item.name"
:disabled=
"
level !== 1 && item.level
<
=
level
"
:disabled=
"
item.level
<
level
"
:label=
"item.name"
:value=
"item.id"
/>
...
...
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