Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
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
lizhichao
whp-xl
Commits
6b0f4270
Commit
6b0f4270
authored
Jun 19, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Plain Diff
qymap
parents
50a41759
b73175d5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
50 deletions
+45
-50
.gitignore
dcit-hcsystem-hcsystem-master/.gitignore
+0
-21
mapUtil.js
dcit-hcsystem-hcsystem-master/src/utils/mapUtil.js
+6
-5
PlansMg.vue
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMg.vue
+39
-4
qyMap.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
+0
-20
No files found.
dcit-hcsystem-hcsystem-master/.gitignore
deleted
100644 → 0
View file @
50a41759
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
dcit-hcsystem-hcsystem-master/src/utils/mapUtil.js
View file @
6b0f4270
...
...
@@ -40,9 +40,10 @@ export default class Mutil {
let
MAP
,
tianSlA
=
new
TileLayer
({
className
:
"mapTypeC"
,
source
:
new
XYZ
({
// url:"http://t{0-7}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=c8df739f047ce17cfe41b63cbeae6997",
// url: "https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=c8df739f047ce17cfe41b63cbeae6997",
url
:
"http://webst0{1-4}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}"
,
// url:
// "http://t{0-7}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=c8df739f047ce17cfe41b63cbeae6997",
//url: "https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=c8df739f047ce17cfe41b63cbeae6997",
url
:
"http://wprd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=6"
}),
visible
:
true
,
name
:
"天地图矢量底图影像"
,
...
...
@@ -62,7 +63,7 @@ export default class Mutil {
// url: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=c8df739f047ce17cfe41b63cbeae6997",
url
:
"http://webst0{1-4}.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}"
,
}),
visible
:
fals
e
,
visible
:
tru
e
,
name
:
"天地图标注"
,
});
let
that
=
this
;
...
...
@@ -286,7 +287,7 @@ export default class Mutil {
tianSlA
()
{
this
.
MAP
.
getLayers
().
getArray
()[
0
].
setVisible
(
true
);
this
.
MAP
.
getLayers
().
getArray
()[
1
].
setVisible
(
false
);
this
.
MAP
.
getLayers
().
getArray
()[
2
].
setVisible
(
fals
e
);
this
.
MAP
.
getLayers
().
getArray
()[
2
].
setVisible
(
tru
e
);
};
tianSlB
()
{
this
.
MAP
.
getLayers
().
getArray
()[
0
].
setVisible
(
false
);
...
...
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMg.vue
View file @
6b0f4270
...
...
@@ -48,6 +48,19 @@
</font>
</
template
>
</el-table-column>
<el-table-column
prop=
"checkStatus"
label=
"审核状态"
>
<
template
slot-scope=
"scope"
>
<font
v-if=
"scope.row.checkStatus == 0"
class=
"colorP"
>
审核中
</font>
<font
v-else-if=
"scope.row.checkStatus == 1"
class=
"colorM"
>
审核通过
</font>
<font
v-else-if=
"scope.row.checkStatus == 2"
class=
"colorR"
>
审核未通过
</font>
</
template
>
</el-table-column>
<el-table-column
prop=
"sourceFile"
label=
"预案文件"
>
<
template
slot-scope=
"scope"
>
<span
...
...
@@ -63,16 +76,19 @@
:download=
"fileUrl(scope.row.sourceFile)"
v-if=
"scope.row.sourceFile != ''"
>
<i
class=
"el-icon el-icon-download"
></i>
下载
-->
</a>
<i
class=
"el-icon el-icon-download"
></i>
下载
</a>
-->
</
template
>
</el-table-column>
<!-- <el-table-column prop="createTime" label="创建时间"></el-table-column> -->
<el-table-column
label=
"操作"
width=
"
2
00"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"
3
00"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"editFun(scope.row)"
size=
"small"
v-if=
"qyvisble"
>
<i
class=
"el-icon-edit-outline"
></i>
编辑
</el-button>
<el-button
type=
"success"
@
click=
"checkFun(scope.row)"
size=
"small"
v-if=
"qyvisble"
>
<i
class=
"el-icon-key"
></i>
审核
</el-button>
<el-button
type=
"primary"
plain
@
click=
"editFun(scope.row)"
size=
"small"
v-if=
"!qyvisble"
>
查看详情
</el-button>
...
...
@@ -100,14 +116,24 @@
@
refreshTableData=
"getTableData"
:key=
"zjKey"
></PlansMgEdit>
<PlansMgCheck
v-if=
"dialogVisible2"
:dialogVisible=
"dialogVisible2"
:editForm=
"formData"
:title=
"dialogTit"
@
dialogFun=
"closeDialog"
@
refreshTableData=
"getTableData"
:key=
"chKey"
></PlansMgCheck>
</div>
</template>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Provide
}
from
"vue-property-decorator"
;
import
PlansMgEdit
from
"./PlansMgEdit.vue"
;
import
PlansMgCheck
from
"./PlansMgCheck.vue"
;
import
METHOD
from
"@/utils/methods"
;
@
Component
({
components
:
{
PlansMgEdit
}
components
:
{
PlansMgEdit
,
PlansMgCheck
}
})
export
default
class
CamerasMg
extends
Vue
{
@
Provide
()
enterpriseId
:
String
=
""
;
...
...
@@ -118,9 +144,11 @@ export default class CamerasMg extends Vue {
@
Provide
()
loading
:
Boolean
=
false
;
//编辑组件
@
Provide
()
dialogVisible
:
Boolean
=
false
;
@
Provide
()
dialogVisible2
:
Boolean
=
false
;
@
Provide
()
dialogTit
:
String
=
"新增预案"
;
@
Provide
()
formData
:
Object
=
{};
@
Provide
()
zjKey
:
any
=
0
;
@
Provide
()
chKey
:
any
=
0
;
@
Provide
()
qyvisble
:
boolean
=
true
;
//政府端隐藏项
getTableData
()
{
let
that
=
this
,
...
...
@@ -157,6 +185,12 @@ export default class CamerasMg extends Vue {
this
.
zjKey
++
;
this
.
dialogVisible
=
true
;
}
checkFun
(
row
:
any
){
this
.
dialogTit
=
"预案审核"
;
this
.
formData
=
Object
.
assign
({},
row
);
this
.
chKey
++
;
this
.
dialogVisible2
=
true
;
}
delFun
(
row
:
any
)
{
let
that
=
this
as
any
;
METHOD
.
deleteFun
(
...
...
@@ -178,6 +212,7 @@ export default class CamerasMg extends Vue {
closeDialog
()
{
//关闭窗口
this
.
dialogVisible
=
false
;
this
.
dialogVisible2
=
false
;
this
.
formData
=
{};
}
checkFile
(
url
:
any
)
{
...
...
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
View file @
6b0f4270
...
...
@@ -319,26 +319,6 @@ export default class GIS extends Vue {
}
);
}
// tianSlA() {
// console.log("dfsddddddddddddddddddddddddddddddddd")
// this.tianSlA.setVisible(true);
// this.tianSlB.setVisible(false);
// this.tianSlC.setVisible(false);
// };
// tianSlB() {
// console.log("gsfdgfdhgsgfhgfdhf")
// this.tianSlA.setVisible(false);
// this.tianSlB.setVisible(true);
// this.tianSlC.setVisible(false);
// };
// tianSlC() {
// this.tianSlA.setVisible(false)
// this.tianSlB.setVisible(false)
// this.tianSlC.setVisible(true)
// }
}
</
script
>
...
...
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