Commit 7a738e81 authored by 徐一鸣's avatar 徐一鸣

merge xym

parents 7ff6c47e f2d05d19
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
type="primary" type="primary"
@click="addRow()" @click="addRow()"
class="ces_toolbar_btn" class="ces_toolbar_btn"
>新增</el-button> >新增</el-button
>
<el-input <el-input
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
v-if="searchShow" v-if="searchShow"
...@@ -95,9 +96,19 @@ ...@@ -95,9 +96,19 @@
:header-cell-class-name="headerCellClassName" :header-cell-class-name="headerCellClassName"
v-cloak v-cloak
> >
<el-table-column v-if="isSelection" type="selection" align="center"></el-table-column> <el-table-column
v-if="isSelection"
type="selection"
align="center"
></el-table-column>
<!-- 序号 --> <!-- 序号 -->
<el-table-column v-if="isIndex" type="index" :label="indexLabel" width="80" align="center"></el-table-column> <el-table-column
v-if="isIndex"
type="index"
:label="indexLabel"
width="80"
align="center"
></el-table-column>
<!-- 数据栏 --> <!-- 数据栏 -->
<el-table-column <el-table-column
...@@ -114,28 +125,45 @@ ...@@ -114,28 +125,45 @@
<!-- 操作按钮 --> <!-- 操作按钮 -->
<span v-if="item.type === 'Button'"> <span v-if="item.type === 'Button'">
<b v-for="(btn, key) in item.btnList" :key="key"> <b v-for="(btn, key) in item.btnList" :key="key">
<em <em v-if="btn.label == '分配'">
class="action" <em
v-if="btn.label == '分配'||btn.label == '已分配'" v-if="btn.label == '分配' && scope.row.state == 0"
> class="cur_pointer"
<em v-if="btn.label == '分配'&&scope.row.state == 0" style="color: #0f2683" @click="handleClick(btn.type, scope.row)">{{ btn.label }}</em> style="color: #0f2683"
<em v-if="btn.label == '已分配'&&scope.row.state == 1">{{ btn.label }}</em> @click="handleClick(btn.type, scope.row)"
>
分配
</em>
<em v-if="btn.label == '分配' && scope.row.state == 1">
已分配
</em>
</em> </em>
<em <em
class="action" class="cur_pointer"
v-else-if="btn.label == '删除'&&btn.local" v-else-if="btn.label == '删除' && btn.local"
:class="btn.type" :class="btn.type"
:style="{color: btn.label=='删除' ? '#830f53' : '#0f2683'}" :style="{
color: btn.label == '删除' ? '#830f53' : '#0f2683',
}"
@click="deleteLocal(scope)" @click="deleteLocal(scope)"
>{{ btn.label }}</em> >{{ btn.label }}</em
>
<em <em
class="action" class="cur_pointer"
v-else v-else
:class="btn.type" :class="btn.type"
:style="{color: btn.label=='删除' ? '#830f53' : '#0f2683'}" :style="{
color: btn.label == '删除' ? '#830f53' : '#0f2683',
}"
@click="handleClick(btn.type, scope.row)" @click="handleClick(btn.type, scope.row)"
>{{ btn.label }}</em> >{{ btn.label }}</em
<em v-if="btn.line" style="padding:0 20px;color:#edf0ff">{{ btn.line }}</em> >
<em v-if="btn.line" style="padding:0 20px;color:#edf0ff">
{{ btn.line }}
</em>
</b> </b>
</span> </span>
<!--href 链接--> <!--href 链接-->
...@@ -171,7 +199,9 @@ ...@@ -171,7 +199,9 @@
trigger="hover" trigger="hover"
:content="scope.row[item.prop]" :content="scope.row[item.prop]"
> >
<div slot="reference" class="overlit">{{ scope.row[item.prop] }}</div> <div slot="reference" class="overlit">
{{ scope.row[item.prop] }}
</div>
</el-popover> </el-popover>
<!-- others --> <!-- others -->
<span v-else>{{ scope.row[item.prop] }}</span> <span v-else>{{ scope.row[item.prop] }}</span>
...@@ -210,7 +240,7 @@ ...@@ -210,7 +240,7 @@
:disabled="pagination.page == 1" :disabled="pagination.page == 1"
></el-button> ></el-button>
&nbsp;&nbsp;第{{ pagination.page }}页 / 共{{ &nbsp;&nbsp;第{{ pagination.page }}页 / 共{{
Math.ceil(pagination.total / pagination.rowsPerPage) Math.ceil(pagination.total / pagination.rowsPerPage)
}}页 }}页
<el-button <el-button
icon="el-icon-arrow-right" icon="el-icon-arrow-right"
...@@ -218,9 +248,9 @@ ...@@ -218,9 +248,9 @@
size="mini" size="mini"
@click="handleCurrentChange(1)" @click="handleCurrentChange(1)"
:disabled=" :disabled="
pagination.page >= pagination.page >=
Math.ceil(pagination.total / pagination.rowsPerPage) Math.ceil(pagination.total / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div> </div>
</div> </div>
...@@ -240,7 +270,7 @@ export default { ...@@ -240,7 +270,7 @@ export default {
"v-apaas-table-input": tableInput, "v-apaas-table-input": tableInput,
"v-apaas-table-select": tableSelect, "v-apaas-table-select": tableSelect,
"v-apaas-table-umhref": tableUmhref, "v-apaas-table-umhref": tableUmhref,
"d-confirm": DConfirm "d-confirm": DConfirm,
}, },
props: { props: {
// 表格型号:mini,medium,small // 表格型号:mini,medium,small
...@@ -265,78 +295,78 @@ export default { ...@@ -265,78 +295,78 @@ export default {
// }, // },
searchShow: { searchShow: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
url: { url: {
type: String, type: String,
default: "" default: "",
}, },
detailsUrl: { detailsUrl: {
type: String, type: String,
default: "" default: "",
}, },
rowprop: { rowprop: {
type: String, type: String,
default: "" default: "",
}, },
ready: { ready: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
addRowBtn: { addRowBtn: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
couldNotEdit: { couldNotEdit: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
refreshInit: { type: Boolean }, refreshInit: { type: Boolean },
sortBy: { sortBy: {
type: String, type: String,
default: "" default: "",
}, },
searchNoName: { type: Boolean, default: false }, searchNoName: { type: Boolean, default: false },
emptyText: { emptyText: {
type: String, type: String,
default: "暂无数据" default: "暂无数据",
}, },
autoAdd: { autoAdd: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
border: { border: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
stripe: { stripe: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
radius: { radius: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
pageSizeShow: { pageSizeShow: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
paginationShow: { paginationShow: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
headerCellClassName: { headerCellClassName: {
type: String, type: String,
default: "" default: "",
}, },
filterList: { filterList: {
type: Array, type: Array,
default: null default: null,
}, },
showHeader: { showHeader: {
type: Boolean, type: Boolean,
default: true default: true,
} },
}, },
data() { data() {
return { return {
...@@ -344,7 +374,7 @@ export default { ...@@ -344,7 +374,7 @@ export default {
pagination: { pagination: {
rowsPerPage: 10, rowsPerPage: 10,
page: 1, page: 1,
total: 0 total: 0,
}, },
delSelect: null, delSelect: null,
helper: helper, helper: helper,
...@@ -353,23 +383,23 @@ export default { ...@@ -353,23 +383,23 @@ export default {
pageOptions: [ pageOptions: [
{ {
value: "10", value: "10",
label: "10" label: "10",
}, },
{ {
value: "20", value: "20",
label: "20" label: "20",
}, },
{ {
value: "50", value: "50",
label: "50" label: "50",
} },
], ],
search: "", search: "",
times: null, times: null,
showFliterList: false, showFliterList: false,
filterData: null, // 筛选条件 filterData: null, // 筛选条件
filterToggle: null, // 控制筛选条件的展开和收起 filterToggle: null, // 控制筛选条件的展开和收起
filterLength: 0 // 每行最多可容纳多少个过滤条件 filterLength: 0, // 每行最多可容纳多少个过滤条件
}; };
}, },
mounted() { mounted() {
...@@ -387,25 +417,25 @@ export default { ...@@ -387,25 +417,25 @@ export default {
if (val) { if (val) {
this.getDataFromApiSync(); this.getDataFromApiSync();
} }
} },
}, },
url: { url: {
handler(val) { handler(val) {
this.getDataFromApiSync(); this.getDataFromApiSync();
}, },
deep: true deep: true,
}, },
filterList: { filterList: {
handler(val) { handler(val) {
this.initFilterData(); this.initFilterData();
}, },
deep: true deep: true,
} },
}, },
methods: { methods: {
//本地删除 //本地删除
deleteLocal(val){ deleteLocal(val) {
this.selectedTabsPage.splice(val.$index, 1)  this.selectedTabsPage.splice(val.$index, 1);
}, },
// get data // get data
getDataFromApiSync() { getDataFromApiSync() {
...@@ -420,14 +450,14 @@ export default { ...@@ -420,14 +450,14 @@ export default {
} }
} else { } else {
this.getDataFromApi().then( this.getDataFromApi().then(
data => { (data) => {
this.selectedTabsPage = JSON.parse(JSON.stringify(data.newArr)); this.selectedTabsPage = JSON.parse(JSON.stringify(data.newArr));
this.pagination.total = data.total; this.pagination.total = data.total;
if (this.autoAdd) { if (this.autoAdd) {
this.addRow(); this.addRow();
} }
}, },
err => { (err) => {
console.log("失败" + err); console.log("失败" + err);
} }
); );
...@@ -440,7 +470,7 @@ export default { ...@@ -440,7 +470,7 @@ export default {
this.all_url = `/static/data.json`; this.all_url = `/static/data.json`;
this.$http this.$http
.get(this.all_url) .get(this.all_url)
.then(response => { .then((response) => {
let newArr = response.data.data[this.url]; let newArr = response.data.data[this.url];
// if it is true url, total is response's total // if it is true url, total is response's total
let total = newArr.length; let total = newArr.length;
...@@ -485,7 +515,7 @@ export default { ...@@ -485,7 +515,7 @@ export default {
this.$message({ this.$message({
showClose: true, showClose: true,
message: this.label + "成功", message: this.label + "成功",
type: "success" type: "success",
}); });
}, },
switchChange(val) { switchChange(val) {
...@@ -557,7 +587,7 @@ export default { ...@@ -557,7 +587,7 @@ export default {
if (this.filterList && this.filterList.length) { if (this.filterList && this.filterList.length) {
this.filterData = {}; this.filterData = {};
this.filterToggle = {}; this.filterToggle = {};
this.filterList.forEach(item => { this.filterList.forEach((item) => {
this.$set(this.filterData, item.prop, []); this.$set(this.filterData, item.prop, []);
this.$set(this.filterToggle, item.prop, false); this.$set(this.filterToggle, item.prop, false);
}); });
...@@ -570,8 +600,8 @@ export default { ...@@ -570,8 +600,8 @@ export default {
this.filterData[prop].push(filter); this.filterData[prop].push(filter);
} }
console.log(this.filterData); console.log(this.filterData);
} },
} },
}; };
</script> </script>
...@@ -621,7 +651,7 @@ em { ...@@ -621,7 +651,7 @@ em {
font-style: normal; font-style: normal;
user-select: none; user-select: none;
} }
em.action { .cur_pointer {
cursor: pointer; cursor: pointer;
} }
.ces-table .el-table--mini td, .ces-table .el-table--mini td,
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<script> <script>
import sideNavBar from "@/components/side-nav-bar"; import sideNavBar from "@/components/side-nav-bar";
import { mapState } from "vuex";
export default { export default {
components: { components: {
...@@ -22,6 +23,11 @@ export default { ...@@ -22,6 +23,11 @@ export default {
data: () => ({ data: () => ({
navList: [], navList: [],
}), }),
computed: {
...mapState({
fwglNav: "fwglNav",
}),
},
watch: { watch: {
"$route.fullPath"(path) { "$route.fullPath"(path) {
this.initNavList(); this.initNavList();
...@@ -31,61 +37,10 @@ export default { ...@@ -31,61 +37,10 @@ export default {
initNavList() { initNavList() {
let level = parseInt(this.$route.params.level); let level = parseInt(this.$route.params.level);
// 普通用户 this.navList = this.fwglNav[level].map((item, index) => ({
if (level == 0) { name: item,
this.navList = [ path: `/fwgl/list/${level}/${index}`,
{ }));
name: "注册发布的服务",
path: `/fwgl/list/${level}/0`,
},
{
name: "申请的服务",
path: `/fwgl/list/${level}/1`,
},
{
name: "审批的服务",
path: `/fwgl/list/${level}/2`,
},
{
name: "云资源服务",
path: `/fwgl/list/${level}/3`,
},
];
}
// 组织管理员
else if (level == 1) {
this.navList = [
{
name: "组织服务管理",
path: `/fwgl/list/${level}/0`,
},
{
name: "服务审批管理",
path: `/fwgl/list/${level}/1`,
},
{
name: "云资源管理",
path: `/fwgl/list/${level}/2`,
},
];
}
// 超级管理员
else if (level == 2) {
this.navList = [
{
name: "平台服务管理",
path: `/fwgl/list/${level}/0`,
},
{
name: "服务审批管理",
path: `/fwgl/list/${level}/1`,
},
{
name: "云资源管理",
path: `/fwgl/list/${level}/2`,
},
];
}
}, },
}, },
mounted() { mounted() {
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<div class="list_container"> <div class="list_container">
<el-breadcrumb separator="/" class="bread_crumb"> <el-breadcrumb separator="/" class="bread_crumb">
<el-breadcrumb-item>我的服务</el-breadcrumb-item> <el-breadcrumb-item>我的服务</el-breadcrumb-item>
<el-breadcrumb-item>{{ $route.params.name }}</el-breadcrumb-item> <el-breadcrumb-item>{{ pathName }}</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
<div class="table_container"> <div class="table_container">
<ces-table <ces-table
class="r_yhgl_table" class="r_yhgl_table"
size="mini" size="mini"
url="tableData" url="tableData"
:detailsUrl="`/fwgl/servicedetail/${$route.params.level}/`" :detailsUrl="`/fwgl/servicedetail/${level}/`"
:border="false" :border="false"
:headers="headers" :headers="headers"
:searchShow="true" :searchShow="true"
...@@ -22,9 +22,11 @@ ...@@ -22,9 +22,11 @@
@action-delete="deleteItem" @action-delete="deleteItem"
@action-edit="editItem" @action-edit="editItem"
@action-sold-out="soldOutItem" @action-sold-out="soldOutItem"
@action-sold-out-2="soldOutItem2"
@action-cancel="cancelItem" @action-cancel="cancelItem"
@action-examine="examineItem" @action-examine="examineItem"
@action-detail="detailItem" @action-detail="detailItem"
@action-allot="allotItem"
></ces-table> ></ces-table>
</div> </div>
<dialog-action <dialog-action
...@@ -37,9 +39,12 @@ ...@@ -37,9 +39,12 @@
<script> <script>
import cesTable from "@/components/table-um"; import cesTable from "@/components/table-um";
import dialogAction from "@/components/dialog-action"; import dialogAction from "@/components/dialog-action";
import { mapState } from "vuex";
export default { export default {
data: () => ({ data: () => ({
level: 0, // 用户等级
type: 0, // 访问的页面
headers: [], headers: [],
url: "", url: "",
detailsUrl: "ss/", detailsUrl: "ss/",
...@@ -87,11 +92,301 @@ export default { ...@@ -87,11 +92,301 @@ export default {
}, },
], ],
}), }),
computed: {
...mapState({
fwglNav: "fwglNav",
}),
pathName() {
return this.fwglNav[this.level][this.type];
},
},
components: { components: {
cesTable, cesTable,
dialogAction, dialogAction,
}, },
methods: { methods: {
initHeader() {
let level = this.level;
let type = this.type;
// 普通用户 --- 注册发布的服务
if (level == 0 && type == 0) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{
label: "注册发布时间",
prop: "address",
type: "",
align: "center",
},
{ label: "服务类型", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 240,
btnList: [
{
type: "action-edit",
label: "编辑",
line: "|",
},
{
type: "action-sold-out",
label: "申请下架",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 普通用户 --- 申请的服务
else if (level == 0 && type == 1) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "申请时间", prop: "address", type: "", align: "center" },
{ label: "服务类型", prop: "address", type: "", align: "center" },
{ label: "申请状态", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
btnList: [
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 普通用户 --- 审批的服务
else if (level == 0 && type == 2) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "address", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "请求方式", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "审批时间", prop: "address", type: "", align: "center" },
{ label: "服务类型", prop: "address", type: "", align: "center" },
{ label: "审批状态", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-examine",
label: "审批",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 普通用户 --- 云资源服务
else if (level == 0 && type == 3) {
this.headers = [
{ label: "工作区域", prop: "name", type: "href", align: "center" },
{ label: "网络环境", prop: "name", type: "", align: "center" },
{ label: "CPU(核)", prop: "name", type: "", align: "center" },
{ label: "内存(GB)", prop: "name", type: "", align: "center" },
{ label: "资源总量(GB)", prop: "name", type: "", align: "center" },
{ label: "实例数(个)", prop: "name", type: "", align: "center" },
{ label: "申请时间", prop: "name", type: "", align: "center" },
{ label: "申请状态", prop: "name", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-detail",
label: "查看详情",
},
],
},
];
}
// 组织管理员 --- 组织服务管理
else if (level == 1 && type == 0) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "date", type: "", align: "center" },
{ label: "请求方式", prop: "date", type: "", align: "center" },
{ label: "服务描述", prop: "date", type: "", align: "left" },
{ label: "注册发布时间", prop: "date", type: "", align: "center" },
{ label: "服务类型", prop: "date", type: "", align: "center" },
{ label: "服务状态", prop: "date", type: "", align: "center" },
];
}
// 组织管理员 --- 服务审批管理
else if (level == 1 && type == 1) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "date", type: "", align: "center" },
{ label: "请求方式", prop: "date", type: "", align: "center" },
{ label: "服务描述", prop: "date", type: "", align: "left" },
{ label: "审批时间", prop: "date", type: "", align: "center" },
{ label: "服务类型", prop: "date", type: "", align: "center" },
{ label: "审批状态", prop: "date", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-examine",
label: "审批",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 组织管理员 --- 云资源管理
else if (level == 1 && type == 2) {
this.headers = [
{ label: "工作区域", prop: "name", type: "href", align: "center" },
{ label: "网络环境", prop: "name", type: "", align: "center" },
{ label: "CPU(核)", prop: "name", type: "", align: "center" },
{ label: "内存(GB)", prop: "name", type: "", align: "center" },
{ label: "资源总量(GB)", prop: "name", type: "", align: "center" },
{ label: "实例数(个)", prop: "name", type: "", align: "center" },
{ label: "使用用户", prop: "name", type: "", align: "center" },
{ label: "用户申请时间", prop: "name", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-allot",
label: "分配",
},
],
},
];
}
// 超级管理员 --- 组织服务管理
else if (level == 2 && type == 0) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "date", type: "", align: "center" },
{ label: "请求方式", prop: "date", type: "", align: "center" },
{ label: "服务描述", prop: "date", type: "", align: "left" },
{ label: "注册发布时间", prop: "date", type: "", align: "center" },
{ label: "服务类型", prop: "date", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 240,
btnList: [
{
type: "action-edit",
label: "编辑",
line: "|",
},
{
type: "action-sold-out-2",
label: "下架",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 超级管理员 --- 服务审批管理
else if (level == 2 && type == 1) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "date", type: "", align: "center" },
{ label: "请求方式", prop: "date", type: "", align: "center" },
{ label: "服务描述", prop: "date", type: "", align: "left" },
{ label: "审批时间", prop: "date", type: "", align: "center" },
{ label: "服务类型", prop: "date", type: "", align: "center" },
{ label: "审批状态", prop: "date", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-examine",
label: "审批",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// 超级管理员 --- 云资源管理
else if (level == 2 && type == 2) {
this.headers = [
{ label: "所属组织", prop: "name", type: "href", align: "center" },
{ label: "CPU使用量", prop: "name", type: "", align: "center" },
{ label: "内存使用量", prop: "name", type: "", align: "center" },
{ label: "工作区域数量", prop: "name", type: "", align: "center" },
{ label: "创建时间", prop: "name", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
btnList: [
{
type: "action-delete",
label: "删除",
},
],
},
];
}
// Error
else {
this.headers = [];
throw Error("The page doesn't exist");
}
},
deleteItem(item) { deleteItem(item) {
this.confirmOptions.title = ""; this.confirmOptions.title = "";
this.confirmOptions.message = "是否删除该条服务?"; this.confirmOptions.message = "是否删除该条服务?";
...@@ -104,10 +399,12 @@ export default { ...@@ -104,10 +399,12 @@ export default {
this.$refs.myConfirm.showModel(); this.$refs.myConfirm.showModel();
}, },
editItem(item) { editItem(item) {
this.$router.push(`/fwgl/serviceedit/${this.$route.params.level}/${item.id}`); this.$router.push(
`/fwgl/serviceedit/${this.$route.params.level}/${item.id}`
);
}, },
soldOutItem(item) { soldOutItem(item) {
this.confirmOptions.title = "是否删除该条服务?"; this.confirmOptions.title = "提示";
this.confirmOptions.message = this.confirmOptions.message =
"下架此服务会导致用户被迫暂停对服务的调用,下架前需向超级管理员发送通知,超级管理员通过后此服务将会从服务超市中下架。"; "下架此服务会导致用户被迫暂停对服务的调用,下架前需向超级管理员发送通知,超级管理员通过后此服务将会从服务超市中下架。";
this.confirmOptions.btnCancelText = ""; this.confirmOptions.btnCancelText = "";
...@@ -118,6 +415,17 @@ export default { ...@@ -118,6 +415,17 @@ export default {
}; };
this.$refs.myConfirm.showModel(); this.$refs.myConfirm.showModel();
}, },
soldOutItem2(item) {
this.confirmOptions.title = "提示";
this.confirmOptions.message = "下架此服务会导致用户被迫暂停对服务的调用";
this.confirmOptions.btnCancelText = "";
this.confirmOptions.btnSubmitText = "确定";
this.confirmOptions.confirmSubmit = () => {
console.log("soldOutItem2 - " + item.name);
this.$refs.myConfirm.hideModel();
};
this.$refs.myConfirm.showModel();
},
cancelItem(item) { cancelItem(item) {
console.log("cancelItem - " + item.name); console.log("cancelItem - " + item.name);
}, },
...@@ -127,164 +435,17 @@ export default { ...@@ -127,164 +435,17 @@ export default {
detailItem(item) { detailItem(item) {
console.log("detailItem - " + item.name); console.log("detailItem - " + item.name);
}, },
allotItem(item) {
console.log("allotItem - " + item.name);
},
confirmSubmit(item) { confirmSubmit(item) {
console.log(item.name); console.log(item.name);
}, },
}, },
mounted() { created() {
let level = parseInt(this.$route.params.level); this.level = parseInt(this.$route.params.level);
let type = parseInt(this.$route.params.type); this.type = parseInt(this.$route.params.type);
this.initHeader();
if (level == 0 && type == 0) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务url", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{
label: "注册发布时间",
prop: "address",
type: "",
align: "center",
},
{ label: "服务类型", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 240,
btnList: [
{
type: "action-edit",
label: "编辑",
line: "|",
},
{
type: "action-sold-out",
label: "申请下架",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
} else if (level == 0 && type == 1) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "申请时间", prop: "address", type: "", align: "left" },
{ label: "服务类型", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-cancel",
label: "取消",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
} else if (level == 0 && type == 2) {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "address", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "请求方式", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "审批时间", prop: "address", type: "", align: "center" },
{ label: "服务类型", prop: "address", type: "", align: "center" },
{ label: "审批状态", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-examine",
label: "审批",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
} else if (level == 0 && type == 2) {
this.headers = [
{ label: "工作区域", prop: "name", type: "href", align: "left" },
{ label: "网络环境", prop: "name", type: "", align: "center" },
{ label: "CPU(核)", prop: "name", type: "", align: "center" },
{ label: "内存(GB)", prop: "name", type: "", align: "center" },
{ label: "资源总量(GB)", prop: "name", type: "", align: "center" },
{ label: "实例数(个)", prop: "name", type: "", align: "center" },
{ label: "申请时间", prop: "name", type: "", align: "center" },
{ label: "申请状态", prop: "name", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 160,
btnList: [
{
type: "action-detail",
label: "查看详情",
},
],
},
];
} else {
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务url", prop: "date", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" },
{
label: "注册发布时间",
prop: "address",
type: "",
align: "center",
},
{ label: "服务类型", prop: "address", type: "", align: "center" },
{
label: "操作",
type: "Button",
align: "center",
width: 240,
btnList: [
{
type: "action-edit",
label: "编辑",
line: "|",
},
{
type: "action-sold-out",
label: "申请下架",
line: "|",
},
{
type: "action-delete",
label: "删除",
},
],
},
];
}
}, },
}; };
</script> </script>
......
import Vuex from 'vuex' import Vuex from "vuex";
import Vue from 'vue' import Vue from "vue";
Vue.use(Vuex); Vue.use(Vuex);
const store = new Vuex.Store({ const store = new Vuex.Store({
state: { state: {
role: 1,//0:普通用户,1:组织管理员,2:超级管理员 role: 1, // 0:普通用户,1:组织管理员,2:超级管理员
serviceShopMenu: "shopDataList", // 服务超市侧边栏 serviceShopMenu: "shopDataList", // 服务超市侧边栏
fwglNav: [
["注册发布的服务", "申请的服务", "审批的服务", "云资源服务"], //普通用户
["组织服务管理", "服务审批管理", "云资源管理"], //组织管理员
["平台服务管理", "服务审批管理", "云资源管理"], //超级管理员
], // 服务管理列表,onlyRead
}, },
modules: { modules: {},
},
mutations: { mutations: {
rolefun(state, newValue) { rolefun(state, newValue) {
state.role = newValue; state.role = newValue;
...@@ -20,4 +23,4 @@ const store = new Vuex.Store({ ...@@ -20,4 +23,4 @@ const store = new Vuex.Store({
}, },
}); });
export default store export default store;
\ No newline at end of file
{ {
"data": { "data": {
"tableData": [ "tableData": [
{ {
"date": "2016-05-02", "date": "2016-05-02",
"name": "王小虎", "name": "王小虎",
"address": "0", "address": "0",
"id": "ssss2722" "id": "ssss2722",
}, "state": 0
{ },
"date": "2016-05-04", {
"name": "王小虎", "date": "2016-05-04",
"address": "0", "name": "王小虎",
"id": "ssss2224" "address": "0",
}, "id": "ssss2224",
{ "state": 0
"date": "2016-05-01", },
"name": "王小虎", {
"address": "0", "date": "2016-05-01",
"id": "ssss222" "name": "王小虎",
}, "address": "0",
{ "id": "ssss222",
"date": "2016-05-03", "state": 1
"name": "王小虎", },
"address": "0", {
"id": "ssss22" "date": "2016-05-03",
} "name": "王小虎",
], "address": "0",
"tableData1": [ "id": "ssss22",
{ "state": 0
"id": 1, }
"date": "2016-05-02", ],
"name": "王小虎", "tableData1": [
"address": "上海市普陀区金沙江路 1518 弄" {
}, "id": 1,
{ "date": "2016-05-02",
"id": 2, "name": "王小虎",
"date": "2016-05-04", "address": "上海市普陀区金沙江路 1518 弄"
"name": "王小虎", },
"address": "上海市普陀区金沙江路 1517 弄" {
}, "id": 2,
{ "date": "2016-05-04",
"id": 3, "name": "王小虎",
"date": "2016-05-01", "address": "上海市普陀区金沙江路 1517 弄"
"name": "王小虎", },
"address": "上海市普陀区金沙江路 1519 弄", {
"children": [ "id": 3,
{ "date": "2016-05-01",
"id": 31, "name": "王小虎",
"date": "2016-05-01", "address": "上海市普陀区金沙江路 1519 弄",
"name": "王小虎", "children": [
"address": "上海市普陀区金沙江路 1519 弄" {
}, "id": 31,
{ "date": "2016-05-01",
"id": 32, "name": "王小虎",
"date": "2016-05-01", "address": "上海市普陀区金沙江路 1519 弄"
"name": "王小虎", },
"address": "上海市普陀区金沙江路 1519 弄" {
} "id": 32,
] "date": "2016-05-01",
}, "name": "王小虎",
{ "address": "上海市普陀区金沙江路 1519 弄"
"id": 4, }
"date": "2016-05-03",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1516 弄"
}
],
"service_size_arr":[
{
"id": 1,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 2,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 3,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 4,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 5,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
}
],
"params_arr":[
{
"id": 1,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl":"贵阳市"
},
{
"id": 2,
"zdmc": "地区生产总值",
"zdbm": "GDP",
"zdlx": "字符串",
"zdsm": "这是一个地区的总值",
"zdsl":"1235",
"children": [
{
"id": 21,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl":"贵阳市"
}
]
}
],
"params_use_arr":[
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
}
],
"creat_app":[
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yycjsj": "2016-05-02 12:20:35",
"yybscs":12
}
],
"check_app":[
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yyspsj": "2016-05-02 12:20:35",
"spzt":12
}
],
"nor_service_list":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02 12:20:35",
"bdycs": "12"
},
{
"id": 2,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 3,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 4,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 5,
"fwmc": "贵州行政区划要素",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
}
],
"nor_apply_service":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "待审批"
}
],
"nor_service_sh":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
}
],
"nor_cloud":[
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state":1
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state":0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state":0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state":0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state":1
}
],
"nor_cloud_manage":[
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
}
],
"min_service_params_arr":[
{
"id":1,
"wfwmc":"apaas-mapvideos",
"jkzt":"N/A",
"jklj":"http://mapvideo.wodcloud.com/mapvideos/",
"wfwms":"地图视频融合应用服务"
}
],
"apply_params_arr":[
{
"id":1,
"wfwmc":"apaas-mapvideos",
"jkzt":"N/A",
"jklj":"http://mapvideo.wodcloud.com/mapvideos/",
"wfwms":"地图视频融合应用服务"
}
],
"fwzc_fwcs": [
{
"id": 1,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 2,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 13,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 11,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
}
],
"qqcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
],
"fhcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"type": "ssdNWssdNWssdNWssdNWssdNWssdNWssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
] ]
} },
} {
\ No newline at end of file "id": 4,
"date": "2016-05-03",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1516 弄"
}
],
"service_size_arr": [
{
"id": 1,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 2,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 3,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 4,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
},
{
"id": 5,
"fwcs": "100",
"fwl": "100",
"ggsm": "每日可访问100次,访问量为1000PV"
}
],
"params_arr": [
{
"id": 1,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl": "贵阳市"
},
{
"id": 2,
"zdmc": "地区生产总值",
"zdbm": "GDP",
"zdlx": "字符串",
"zdsm": "这是一个地区的总值",
"zdsl": "1235",
"children": [
{
"id": 21,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl": "贵阳市"
}
]
}
],
"params_use_arr": [
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
}
],
"creat_app": [
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yycjsj": "2016-05-02 12:20:35",
"yybscs": 12
}
],
"check_app": [
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yyspsj": "2016-05-02 12:20:35",
"spzt": 12
}
],
"nor_service_list": [
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02 12:20:35",
"bdycs": "12"
},
{
"id": 2,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 3,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 4,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 5,
"fwmc": "贵州行政区划要素",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
}
],
"nor_apply_service": [
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "待审批"
}
],
"nor_service_sh": [
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
}
],
"nor_cloud": [
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state": 1
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state": 0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state": 0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state": 0
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过",
"state": 1
}
],
"nor_cloud_manage": [
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
}
],
"min_service_params_arr": [
{
"id": 1,
"wfwmc": "apaas-mapvideos",
"jkzt": "N/A",
"jklj": "http://mapvideo.wodcloud.com/mapvideos/",
"wfwms": "地图视频融合应用服务"
}
],
"apply_params_arr": [
{
"id": 1,
"wfwmc": "apaas-mapvideos",
"jkzt": "N/A",
"jklj": "http://mapvideo.wodcloud.com/mapvideos/",
"wfwms": "地图视频融合应用服务"
}
],
"fwzc_fwcs": [
{
"id": 1,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 2,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 13,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 11,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
}
],
"qqcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
],
"fhcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"type": "ssdNWssdNWssdNWssdNWssdNWssdNWssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
]
}
}
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