Commit e336c754 authored by 张俊's avatar 张俊

页面修改

parent b6d9024e
...@@ -93,25 +93,25 @@ export default { ...@@ -93,25 +93,25 @@ export default {
headers: [ headers: [
{ {
label: "字段编码", label: "字段编码",
prop: "code", prop: "name",
align: "left", align: "left",
minWidth: "20%" minWidth: "20%"
}, },
{ {
label: "字段名称", label: "字段名称",
prop: "name", prop: "label",
align: "left", align: "left",
minWidth: "20%" minWidth: "20%"
}, },
{ {
label: "字段类型", label: "字段类型",
prop: "type", prop: "show_type",
align: "center", align: "center",
width: "150" width: "150"
}, },
{ {
label: "字段描述", label: "字段描述",
prop: "desc", prop: "descript",
align: "left", align: "left",
minWidth: "50%" minWidth: "50%"
} }
......
...@@ -219,14 +219,14 @@ export default { ...@@ -219,14 +219,14 @@ export default {
header_arr: [ header_arr: [
{ {
prop: "name", prop: "name",
label: "字段名称", label: "字段编码",
minWidth: "20%", minWidth: "20%",
align: "left" align: "left"
}, },
{ {
prop: "field_type", prop: "label",
label: "字段编码", label: "字段名称",
width: "100px", minWidth: "20%",
align: "center" align: "center"
}, },
{ {
......
...@@ -156,8 +156,8 @@ ...@@ -156,8 +156,8 @@
<p <p
style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;" style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
> >
数据资产看板 数据分析中心
<img style="vertical-align:-9px;" src="@/assets/imgs/home_btn_enter.png" alt /> <img style="vertical-align:-9px;cursor:pointer;" @click="$router.push('/data_analysis')" src="@/assets/imgs/home_btn_enter.png" alt />
</p> </p>
<div class="data_charts" style="width:100%;"> <div class="data_charts" style="width:100%;">
<div class="data_charts_left"> <div class="data_charts_left">
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
<p <p
style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;" style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
> >
数据资产看板 数据分析中心
<img style="vertical-align:-9px;" src="@/assets/imgs/home_btn_enter.png" alt /> <img style="vertical-align:-9px;cursor:pointer;" @click="$router.push('/data_analysis')" src="@/assets/imgs/home_btn_enter.png" alt />
</p> </p>
<div class="data_charts" style="width:100%;"> <div class="data_charts" style="width:100%;">
<div class="data_charts_left" style="width:590px;"> <div class="data_charts_left" style="width:590px;">
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
{{ now_user == 0||now_user == 4 ? "我的应用" : "平台应用" }} {{ now_user == 0||now_user == 4 ? "我的应用" : "平台应用" }}
<img <img
@click="gotoyy" @click="gotoyy"
style="vertical-align:-9px;" style="vertical-align:-9px;cursor: pointer;"
src="@/assets/imgs/home_btn_enter.png" src="@/assets/imgs/home_btn_enter.png"
alt alt
/> />
......
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
<nor-card title="应用状态" class="service_card"> <nor-card title="应用状态" class="service_card">
<template> <template>
<div style="height:115px;padding-top:10px;"> <div style="height:115px;padding-top:10px;">
<waveIcon :state="yx_state.state" style="margin:10px auto;"></waveIcon> <waveIcon :state="yx_state.state=='running'?'运行中':'停止'" style="margin:10px auto;"></waveIcon>
<p <p
style="color: #58617a;font-size: 16px;text-align:center;" style="color: #58617a;font-size: 16px;text-align:center;"
>{{ yx_state.state }}</p> >{{ yx_state.state=='running'?'运行中':'停止' }}</p>
</div> </div>
</template> </template>
</nor-card> </nor-card>
...@@ -144,10 +144,10 @@ ...@@ -144,10 +144,10 @@
<p <p
style="color: #707693;font-size: 16px;text-align:center;" style="color: #707693;font-size: 16px;text-align:center;"
>服务状态</p> >服务状态</p>
<waveIcon :state="micor_state.state" style="margin:10px auto;"></waveIcon> <waveIcon :state="micor_state.state=='running'?'运行中':'停止'" style="margin:10px auto;"></waveIcon>
<p <p
style="color: #58617a;font-size: 16px;text-align:center;" style="color: #58617a;font-size: 16px;text-align:center;"
>{{ micor_state.state }}</p> >{{ micor_state.state=='running'?'运行中':'停止' }}</p>
</div> </div>
<div style="height:115px;" class="service_num service_card_box"> <div style="height:115px;" class="service_num service_card_box">
...@@ -236,9 +236,9 @@ ...@@ -236,9 +236,9 @@
<el-select v-model="publicForm.area" placeholder="请选择服务领域"> <el-select v-model="publicForm.area" placeholder="请选择服务领域">
<el-option <el-option
v-for="item in area_arr" v-for="item in area_arr"
:key="item.value" :key="item.id"
:label="item.label" :label="item.name"
:value="item.value" :value="item.id"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -334,52 +334,7 @@ export default { ...@@ -334,52 +334,7 @@ export default {
public_flag:false, public_flag:false,
now_micor_service:0, now_micor_service:0,
image_arr: [], image_arr: [],
area_arr: [ area_arr: [],
{
label: "经济建设",
value: 0
},
{
label: "城市管理",
value: 1
},
{
label: "城市建设",
value: 2
},
{
label: "道路交通",
value: 3
},
{
label: "环境资源",
value: 4
},
{
label: "民生服务",
value: 5
},
{
label: "空间地理",
value: 6
},
{
label: "文化休闲",
value: 7
},
{
label: "社会团体",
value: 8
},
{
label: "教育机构",
value: 9
},
{
label: "其他",
value: 10
}
],
now_image_version:[], now_image_version:[],
form: { form: {
name: "", name: "",
...@@ -576,6 +531,7 @@ export default { ...@@ -576,6 +531,7 @@ export default {
this.getServiceBaseInfo(); this.getServiceBaseInfo();
this.get_service_list(); this.get_service_list();
this.get_app_generl(); this.get_app_generl();
this.get_service_arae();
if (this.$route.query.showstate) { if (this.$route.query.showstate) {
this.now_service = 1; this.now_service = 1;
} }
...@@ -584,6 +540,17 @@ export default { ...@@ -584,6 +540,17 @@ export default {
}, },
methods: { methods: {
get_service_arae(){
this.$http
.get('/apaas/service/v3/service/manager/servarea')
.then(response => {
let data = response.data.data
this.area_arr = data
})
.catch(function(response) {
});
},
public_service(){ public_service(){
this.$refs.actiondialog.show(); this.$refs.actiondialog.show();
}, },
...@@ -1217,6 +1184,7 @@ background:khaki; ...@@ -1217,6 +1184,7 @@ background:khaki;
.imagebox { .imagebox {
overflow: hidden; overflow: hidden;
margin-bottom: 20px; margin-bottom: 20px;
padding-left: 40px;
} }
.imagebox span { .imagebox span {
width: 165px; width: 165px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment