87 lines
2.4 KiB
HTML
87 lines
2.4 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html charset="utf-8">
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
||
|
|
<title>HYSZ DTM DEMO--1</title>
|
||
|
|
<!-- 引入样式 -->
|
||
|
|
<!--
|
||
|
|
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
||
|
|
-->
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="element-ui@2.15.12\lib\theme-chalk\index.css">
|
||
|
|
|
||
|
|
<script src="vue.min.js"></script>
|
||
|
|
<!--
|
||
|
|
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
|
||
|
|
-->
|
||
|
|
<script src="element-ui@2.15.12\lib\index.js"></script>
|
||
|
|
|
||
|
|
<script src="DtmSysNavi.umd.js"></script>
|
||
|
|
<script src="axios.min.js"></script>
|
||
|
|
<script src="socket.io.js"></script>
|
||
|
|
<link rel="stylesheet" href="../src/asserts/extendicon/iconfont.css">
|
||
|
|
<script src="https://cdn.jsdelivr.net/npm/dayjs"></script>
|
||
|
|
<script src="eel.js"></script>
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body style="font-family:Roboto, Arial, sans-serif;'overflow-y':'hidden';padding:0;margin: 0">
|
||
|
|
<div id="element-App" :style="{'overflow-y':'hidden'}">
|
||
|
|
<dtm-sys-navi></dtm-sys-navi>
|
||
|
|
</div>
|
||
|
|
<script>
|
||
|
|
var serverUrl = 'http://127.0.0.1:5050';
|
||
|
|
var wsUrl = "ws://127.0.0.1:5080/ws";
|
||
|
|
console.log("serverUrl=",serverUrl)
|
||
|
|
function adjustEleInViewPort(){
|
||
|
|
console.log('window resize in vue.edit.html')
|
||
|
|
}
|
||
|
|
//window.addEventListener( "resize",adjustEleInViewPort,false);
|
||
|
|
// create instance
|
||
|
|
const VueVM = (window.app = new Vue({
|
||
|
|
components: {
|
||
|
|
'dtm-sys-navi':DtmSysNavi,
|
||
|
|
},
|
||
|
|
data: {
|
||
|
|
destroy: false,
|
||
|
|
projectResource:{},
|
||
|
|
project:{name:"CB-IHU12"},
|
||
|
|
edittingTask:null,
|
||
|
|
fullTaskEditorVisible:false
|
||
|
|
},
|
||
|
|
methods:{
|
||
|
|
|
||
|
|
},
|
||
|
|
mounted() {
|
||
|
|
const baseURL='http://localhost:2990/jira/rest/api/2';
|
||
|
|
return ;//cyx
|
||
|
|
|
||
|
|
}
|
||
|
|
}));
|
||
|
|
// mount gantt to DOM
|
||
|
|
VueVM.$mount('#element-App');
|
||
|
|
function destroy() {
|
||
|
|
VueVM.destroy = true;
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped >
|
||
|
|
/*
|
||
|
|
.el-dialog__body{
|
||
|
|
padding: 2px 2px 2px 2px;
|
||
|
|
margin: 2px 2px 2px 2px;
|
||
|
|
}
|
||
|
|
.el-dialog__header {
|
||
|
|
background: lightblue;
|
||
|
|
font-size: 28px;
|
||
|
|
padding: 2px 2px;
|
||
|
|
height: 40px;
|
||
|
|
}*/
|
||
|
|
.el-divider--horizontal{
|
||
|
|
margin: 4px 2px 4px 2px;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
|