Commit cfb4e018 authored by 王文琼's avatar 王文琼

init

parent df017a24
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<link rel="stylesheet" type="text/css" href="../dest/css/Cutting.css" /> <link rel="stylesheet" type="text/css" href="../dest/css/Cutting.css" />
</head> </head>
<body> <body>
<div id="app" style=" display:block" v-cloak> <div id="app" style=" display:block" v-cloak>
<div class="mui-content"> <div class="mui-content">
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</li> </li>
<li style=" padding: 0px 11px 2px 11px;position: relative; overflow: hidden;"> <li style=" padding: 0px 11px 2px 11px;position: relative; overflow: hidden;">
<p style="float: left;width: 20%; color: #060606;padding: 0; margin: 0;"> 时报时间: </p> <p style="float: left;width: 20%; color: #060606;padding: 0; margin: 0;"> 实报时间: </p>
<p style="float: left;width: 35%; color: #060606;padding: 0; margin: 0;">&nbsp;{{items.ReportDate}} </p> <p style="float: left;width: 35%; color: #060606;padding: 0; margin: 0;">&nbsp;{{items.ReportDate}} </p>
<p style="float: left;width: 16%; color: #060606;padding: 0; margin: 0;">实报人: </p> <p style="float: left;width: 16%; color: #060606;padding: 0; margin: 0;">实报人: </p>
<p style="float: left;width: 28%; color: #060606;padding: 0; margin: 0;">{{items.ReportUser}} </p> <p style="float: left;width: 28%; color: #060606;padding: 0; margin: 0;">{{items.ReportUser}} </p>
...@@ -393,14 +393,9 @@ ...@@ -393,14 +393,9 @@
IndexID: this.IndexID, IndexID: this.IndexID,
} }
Api.post('/api/vMES/Handover/Index', para, function(e) { Api.post('/api/vMES/Handover/Index', para, function(e) {
//console.log("Indexddddd::" + JSON.stringify(e)) //console.log("Indexddddd111::" + e.data)
if (e.success) { if (e.success) {
if(e.data.length>0){
that.itemsDetail = e.data; that.itemsDetail = e.data;
}else{
that.itemsDetail =[];
}
} }
}, function(b, bb, bbb) { }, function(b, bb, bbb) {
mui.toast(JSON.stringify(bbb.message)) mui.toast(JSON.stringify(bbb.message))
...@@ -415,7 +410,7 @@ ...@@ -415,7 +410,7 @@
PageSize: 10, PageSize: 10,
PageIndex: 1 PageIndex: 1
}; };
console.log("搜索文本:" + JSON.stringify(para)); //console.log("搜索文本:" + JSON.stringify(para));
if (event.keyCode == "13") { if (event.keyCode == "13") {
document.activeElement.blur(); //收起虚拟键盘 document.activeElement.blur(); //收起虚拟键盘
if (that.searchText == '') return; if (that.searchText == '') return;
...@@ -423,7 +418,7 @@ ...@@ -423,7 +418,7 @@
//console.log("eee::" + JSON.stringify(e)) //console.log("eee::" + JSON.stringify(e))
if (e.success) { if (e.success) {
var data = e.items.length; var data = e.items.length;
console.log("搜索到的内容::" + e.items) //console.log("搜索到的内容::" + e.items.length)
if (data > 0) { if (data > 0) {
that.itemsLeft = e.items; that.itemsLeft = e.items;
that.itemsDetail = e.items[0]; that.itemsDetail = e.items[0];
......
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