zhaoyk %!s(int64=2) %!d(string=hai) anos
pai
achega
073728f8dd

+ 1 - 1
adm_comp/package-lock.json

@@ -1,5 +1,5 @@
 {
-  "name": "adm",
+  "name": "adm-components",
   "version": "0.1.0",
   "lockfileVersion": 2,
   "requires": true,

+ 2 - 2
adm_comp/package.json

@@ -1,6 +1,6 @@
 {
-  "name": "adm",
-  "description": "数字化交付开发测试",
+  "name": "adm-components",
+  "description": "数字化交付基础组件",
   "version": "0.1.0",
   "private": true,
   "scripts": {

+ 8 - 5
adm_comp/src/App.vue

@@ -2,18 +2,21 @@
 	<!-- <router-view /> -->
 	<el-container>
 		<el-aside width="200px">
-			<el-menu :default-openeds="['1', '2']" :router="true" style="height: 100%;">
+			<el-menu :default-openeds="['1', '2', '3']" :router="true" style="height: 100%;">
 				<el-submenu index="1">
-					<template slot="title"><i class="el-icon-message"></i>数字化交付-组件</template>
+					<template slot="title">Possibility 系统图工具</template>
 					<el-menu-item index="/diagramTemplate">系统图-模板设计</el-menu-item>
 					<el-menu-item index="/diagramLegend">系统图-图例管理</el-menu-item>
 					<el-menu-item index="/diagram">系统图-编辑/展现</el-menu-item>
 					<el-menu-item index="/legendIcon">图例-图标管理</el-menu-item>
-					<!-- <el-menu-item index="/jobs">任务框架</el-menu-item>
-					<el-menu-item index="/map">平面图</el-menu-item> -->
 				</el-submenu>
 				<!-- <el-submenu index="2">
-					<template slot="title"><i class="el-icon-message"></i>系统图自动绘制演示</template>
+					<template slot="title">数字化交付-组件</template>
+					<el-menu-item index="/jobs">任务框架</el-menu-item>
+					<el-menu-item index="/map">平面图</el-menu-item>
+				</el-submenu>
+				<el-submenu index="3">
+					<template slot="title">系统图自动绘制演示</template>
 					<el-menu-item index="/diagramView/null/null">系统图 - 空模板</el-menu-item>
 					<el-menu-item index="/diagramView/test/null">系统图 - 示例</el-menu-item>
 					<el-menu-item index="/diagramView/test/test">系统图 - 泵反向</el-menu-item>

+ 1 - 1
adm_comp/src/views/DiagramView.vue

@@ -16,7 +16,7 @@
 	@Component({})
 	export default class DiagramView extends Vue {
 
-		url = "http://192.168.0.11:8084/"; //this['$common'].url
+		url = this['$common'].url;
 
 		mounted() {			
 			var pData:string = this.$route.params.data;

+ 1 - 1
adm_comp/src/views/Map.vue

@@ -33,7 +33,7 @@
 	@Component({})
 	export default class MapView extends Vue {
 		
-		url = "http://192.168.0.11:8084/"; //this['$common'].url
+		url = this['$common'].url;
 		
 		mapViewStyle = {
 			width: "100%",