add 项目搭建
This commit is contained in:
9
nladmin-ui/public/config.js
Normal file
9
nladmin-ui/public/config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
window.g = {
|
||||
dev: {
|
||||
VUE_APP_BASE_API: 'http://127.0.0.1:8011'
|
||||
},
|
||||
prod: {
|
||||
VUE_APP_BASE_API: 'http://127.0.0.1:8011'
|
||||
}
|
||||
|
||||
}
|
||||
BIN
nladmin-ui/public/favicon.ico
Normal file
BIN
nladmin-ui/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 622 B |
16
nladmin-ui/public/index.html
Normal file
16
nladmin-ui/public/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<script type="text/javascript" src="<%= BASE_URL %>config.js"></script>
|
||||
<title><%= webpackConfig.name %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
1
nladmin-ui/public/screen/index.html
Normal file
1
nladmin-ui/public/screen/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><title>欧伦可视化看板</title><link href=./static/css/app.7eb34c7823b484f76dbdbf24cd625cff.css rel=stylesheet></head><body class=clearfix><div id=app></div><script type=text/javascript src=./static/js/manifest.7b7124d31a251fc046ff.js></script><script type=text/javascript src=./static/js/app.12b9502b60b1dab9d8a5.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
nladmin-ui/public/screen/static/fonts/element-icons.535877f.woff
Normal file
BIN
nladmin-ui/public/screen/static/fonts/element-icons.535877f.woff
Normal file
Binary file not shown.
BIN
nladmin-ui/public/screen/static/fonts/element-icons.732389d.ttf
Normal file
BIN
nladmin-ui/public/screen/static/fonts/element-icons.732389d.ttf
Normal file
Binary file not shown.
BIN
nladmin-ui/public/screen/static/img/bg_tip.325767a.png
Normal file
BIN
nladmin-ui/public/screen/static/img/bg_tip.325767a.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
nladmin-ui/public/screen/static/img/bg_tip_1.46243f5.png
Normal file
BIN
nladmin-ui/public/screen/static/img/bg_tip_1.46243f5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
nladmin-ui/public/screen/static/img/header_bg_s.09202ca.png
Normal file
BIN
nladmin-ui/public/screen/static/img/header_bg_s.09202ca.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
nladmin-ui/public/screen/static/img/pie-bg_2_s.c10819a.png
Normal file
BIN
nladmin-ui/public/screen/static/img/pie-bg_2_s.c10819a.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
nladmin-ui/public/screen/static/img/table-bg_1.bb04dff.png
Normal file
BIN
nladmin-ui/public/screen/static/img/table-bg_1.bb04dff.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
webpackJsonp([4],{"2L/E":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={data:function(){return{loginname:"",password:"",baseUrl:this.$store.getters.baseUrl,setJxtTime:this.$store.getters.setJxtTime/1e3,setTime:this.$store.getters.setTime/1e3,options:[{value:"01",label:"仓储监控1"},{value:"02",label:"仓储监控2"}],value:this.$store.getters.pageNo,secCode:this.$store.getters.secCode||""}},created:function(){"02"===this.$store.getters.iskb?(console.log(this.$store.getters.iskb,1),"01"!==this.value&&this.secCode?this.$router.push("/screen02"):this.$router.push("/screen01")):console.log(this.$store.getters.iskb,2)},methods:{_config:function(){if(this.setTime<1||this.setJxtTime<1)this.$message({message:"刷新时间设置过短",type:"warning"});else if(this.setTime>10800||this.setJxtTime>10800)this.$message({message:"刷新时间设置过长",type:"warning"});else{var e={baseUrl:this.baseUrl,setTime:1e3*this.setTime,setJxtTime:1e3*this.setJxtTime,pageNo:this.value,iskb:"1",secCode:this.secCode};console.log(),this.$store.dispatch("setConfig",e),this.$router.push("/screen"+this.value)}}}},a={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"body-container"},[s("h1",[e._v("仓储监控")]),e._v(" "),s("div",{staticClass:"login_wrap"},[s("div",{staticClass:"login_cnt"},[s("div",{staticClass:"title-name"},[e._v("系统配置")]),e._v(" "),s("div",{staticClass:"login_card"},[s("div",{staticClass:"card_wrap"},[s("div",{staticClass:"inputOuter"},[s("label",[e._v("域名地址")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.baseUrl,expression:"baseUrl"}],staticClass:"inputStyle",attrs:{type:"text"},domProps:{value:e.baseUrl},on:{input:function(t){t.target.composing||(e.baseUrl=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"inputOuter"},[s("label",[e._v("看板")]),e._v(" "),s("el-select",{staticClass:"selectWraper",attrs:{placeholder:"请选择"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:1===Number(e.value),expression:"Number(value) === 1"}],staticClass:"inputOuter"},[s("label",[e._v("刷新时间(秒)")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.setJxtTime,expression:"setJxtTime"}],staticClass:"inputStyle",attrs:{type:"number"},domProps:{value:e.setJxtTime},on:{input:function(t){t.target.composing||(e.setJxtTime=t.target.value)}}})]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:2===Number(e.value),expression:"Number(value) === 2"}],staticClass:"inputOuter"},[s("label",[e._v("刷新时间(秒)")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.setTime,expression:"setTime"}],staticClass:"inputStyle",attrs:{type:"number"},domProps:{value:e.setTime},on:{input:function(t){t.target.composing||(e.setTime=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"inputOuter"},[s("label",[e._v("仓库编码")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.secCode,expression:"secCode"}],staticClass:"inputStyle",attrs:{type:"text"},domProps:{value:e.secCode},on:{input:function(t){t.target.composing||(e.secCode=t.target.value)}}})])]),e._v(" "),s("button",{staticClass:"btn",on:{click:e._config}},[e._v("配置")])])])])])},staticRenderFns:[]};var l=s("VU/8")(i,a,!1,function(e){s("6f9t")},"data-v-16b21ccb",null);t.default=l.exports},"6f9t":function(e,t){}});
|
||||
//# sourceMappingURL=4.e43104d0a0bc6d6e3e94.js.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"f8b57ab4d9de4af7357a",1:"aa1371a9cb75c5e6363a",2:"51f40f46d4c4ef29cd6c",3:"814b882c67752c331ed3",4:"e43104d0a0bc6d6e3e94"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.7b7124d31a251fc046ff.js.map
|
||||
File diff suppressed because one or more lines are too long
180
nladmin-ui/public/screen/static/result.json
Normal file
180
nladmin-ui/public/screen/static/result.json
Normal file
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"code":"1",
|
||||
"desc":"查询成功",
|
||||
"result":{
|
||||
"yDateMax":6000,
|
||||
"xDate":[
|
||||
{
|
||||
"id":"12-25"
|
||||
},
|
||||
{
|
||||
"id":"12-26"
|
||||
},
|
||||
{
|
||||
"id":"12-27"
|
||||
},
|
||||
{
|
||||
"id":"12-28"
|
||||
},
|
||||
{
|
||||
"id":"12-29"
|
||||
},
|
||||
{
|
||||
"id":"12-30"
|
||||
},
|
||||
{
|
||||
"id":"12-31"
|
||||
},
|
||||
{
|
||||
"id":"1-1"
|
||||
},
|
||||
{
|
||||
"id":"1-2"
|
||||
},
|
||||
{
|
||||
"id":"1-3"
|
||||
},
|
||||
{
|
||||
"id":"1-4"
|
||||
},
|
||||
{
|
||||
"id":"1-5"
|
||||
},
|
||||
{
|
||||
"id":"1-6"
|
||||
},
|
||||
{
|
||||
"id":"1-7"
|
||||
}
|
||||
],
|
||||
"yDate0":[
|
||||
{
|
||||
"num":"1000"
|
||||
},
|
||||
{
|
||||
"num":"1500"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"2300"
|
||||
},
|
||||
{
|
||||
"num":"4300"
|
||||
},
|
||||
{
|
||||
"num":"3900"
|
||||
},
|
||||
{
|
||||
"num":"2800"
|
||||
},
|
||||
{
|
||||
"num":"2600"
|
||||
},
|
||||
{
|
||||
"num":"2500"
|
||||
},
|
||||
{
|
||||
"num":"4500"
|
||||
},
|
||||
{
|
||||
"num":"1200"
|
||||
},
|
||||
{
|
||||
"num":"1800"
|
||||
},
|
||||
{
|
||||
"num":"1900"
|
||||
},
|
||||
{
|
||||
"num":"1700"
|
||||
}
|
||||
],
|
||||
"yDate1":[
|
||||
{
|
||||
"num":"900"
|
||||
},
|
||||
{
|
||||
"num":"1400"
|
||||
},
|
||||
{
|
||||
"num":"2600"
|
||||
},
|
||||
{
|
||||
"num":"2200"
|
||||
},
|
||||
{
|
||||
"num":"4200"
|
||||
},
|
||||
{
|
||||
"num":"3800"
|
||||
},
|
||||
{
|
||||
"num":"2500"
|
||||
},
|
||||
{
|
||||
"num":"2300"
|
||||
},
|
||||
{
|
||||
"num":"2400"
|
||||
},
|
||||
{
|
||||
"num":"4000"
|
||||
},
|
||||
{
|
||||
"num":"1000"
|
||||
},
|
||||
{
|
||||
"num":"1200"
|
||||
},
|
||||
{
|
||||
"num":"1100"
|
||||
},
|
||||
{
|
||||
"num":"1100"
|
||||
}
|
||||
],
|
||||
"yDate2":[
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"1200"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
},
|
||||
{
|
||||
"num":"0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user