37 changed files with 1130 additions and 447 deletions
Binary file not shown.
@ -0,0 +1,192 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
||||
|
<link rel="icon" href="../favicon.ico"> |
||||
|
<title id="sys_title">欢迎使用牛栏山二锅头防伪查询系统</title> |
||||
|
<script src="./jquery.min.js"></script> |
||||
|
<script src="../config.js"></script> |
||||
|
</head> |
||||
|
<style> |
||||
|
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu { |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
} |
||||
|
body { |
||||
|
height: 100%; |
||||
|
-moz-osx-font-smoothing: grayscale; |
||||
|
-webkit-font-smoothing: antialiased; |
||||
|
text-rendering: optimizeLegibility; |
||||
|
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif; |
||||
|
} |
||||
|
|
||||
|
label { |
||||
|
font-weight: 700; |
||||
|
} |
||||
|
|
||||
|
html { |
||||
|
height: 100%; |
||||
|
box-sizing: border-box; |
||||
|
} |
||||
|
*, |
||||
|
*:before, |
||||
|
*:after { |
||||
|
box-sizing: inherit; |
||||
|
} |
||||
|
.flex-box { |
||||
|
display: -webkit-box; |
||||
|
display: -webkit-flex; |
||||
|
/* Safari */ |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
} |
||||
|
.flex-box-column { |
||||
|
display: -webkit-box; |
||||
|
display: -webkit-flex; |
||||
|
/* Safari */ |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
flex-direction: column; |
||||
|
} |
||||
|
.search-input { |
||||
|
background: transparent; |
||||
|
width: 150px; |
||||
|
border: 1px solid #969696; |
||||
|
-webkit-appearance: none; |
||||
|
border-radius: 5px; |
||||
|
padding: 0 10px; |
||||
|
color: #333; |
||||
|
height: 35px; |
||||
|
font-size: 16px; |
||||
|
transition: background-color 50000s ease-in-out 0s; |
||||
|
-webkit-text-fill-color: #333 !important; |
||||
|
} |
||||
|
|
||||
|
.search-container { |
||||
|
position: relative; |
||||
|
width: 100vw; |
||||
|
min-height: 100%; |
||||
|
background-image: url('./img/search-bg.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
.content-block { |
||||
|
position: relative; |
||||
|
margin-top: 42vh; |
||||
|
width: 320px; |
||||
|
color: #fff; |
||||
|
} |
||||
|
.content-block .title { |
||||
|
font-size: 18px; |
||||
|
line-height: 30px; |
||||
|
} |
||||
|
.content-box { |
||||
|
position: relative; |
||||
|
top:5px; |
||||
|
width: 100%; |
||||
|
min-height: 200px; |
||||
|
background: #fff; |
||||
|
border-radius: 20px; |
||||
|
padding: 15px; |
||||
|
word-wrap:break-word; |
||||
|
/* font-weight: 550; */ |
||||
|
} |
||||
|
.content-box .content-text { |
||||
|
font-size: 14px; |
||||
|
line-height: 30px; |
||||
|
color: #000000; |
||||
|
} |
||||
|
.content-box .num-text { |
||||
|
font-size: 13px; |
||||
|
line-height: 30px; |
||||
|
color: #C02932; |
||||
|
} |
||||
|
.text-indent-1 { |
||||
|
text-indent:1em |
||||
|
} |
||||
|
.aplayer-block { |
||||
|
position: relative; |
||||
|
/* bottom: 20px; */ |
||||
|
margin: 20px 0; |
||||
|
width: 100%; |
||||
|
height: 50px; |
||||
|
background: #fff; |
||||
|
border-radius: 25px; |
||||
|
} |
||||
|
.aplayer-block audio { |
||||
|
width: 100%; |
||||
|
} |
||||
|
.nla-public { |
||||
|
position: absolute; |
||||
|
right: 15px; |
||||
|
width: 80px; |
||||
|
height: 80px; |
||||
|
bottom: 10px; |
||||
|
} |
||||
|
</style> |
||||
|
<body> |
||||
|
<div class="search-container flex-box-column"> |
||||
|
<div class="content-block"> |
||||
|
|
||||
|
<p class="title text-indent-1">查询结果:</p> |
||||
|
<div id="patch" class="content-box"> |
||||
|
<img src="img/nls.jpg" class="nla-public"> |
||||
|
<p class="content-text">尊敬的客户您好!</p> |
||||
|
<p class="content-text text-indent-1">您所查询的商品编码为:</p> |
||||
|
<p class="num-text" id="gyhl_code">86.121.1377451536954687488/F574AH121Y7#.F</p> |
||||
|
<p class="content-text text-indent-1">您查询的是由"北京顺鑫农业股份有限公司牛栏山酒厂"生产的正牌产品,请放心使用,谢谢您的查询。</p> |
||||
|
<br> |
||||
|
<p class="content-text">查询次数:<span id="scan_count"></span>,首次查询时间为:<br> <span id="first_scan"></span></p> |
||||
|
</div> |
||||
|
<div class="aplayer-block"> |
||||
|
<audio id="play1" controls="controls" > |
||||
|
<source src="aa.mp3"></source> |
||||
|
</audio> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
</div> |
||||
|
</body> |
||||
|
<script> |
||||
|
var SHOW_PIC_BASE_URL = config.SHOW_URL; |
||||
|
var SYS_TITLE = config.TITLE; |
||||
|
// $("#sys_title").html(SYS_TITLE) |
||||
|
var param = ''; |
||||
|
var code = ''; |
||||
|
|
||||
|
// param = decodeURIComponent(window.location.href.split('?')[1]) |
||||
|
param = window.location.href.split('?')[1] || '' |
||||
|
code = param.split('&')[0] || '0000LH5D2B82' |
||||
|
|
||||
|
function checkSocureData() { |
||||
|
if(code) |
||||
|
{ |
||||
|
$.ajax({ |
||||
|
url: config.API_URL+"/scan/code/"+code, |
||||
|
type: "GET", |
||||
|
dataType: "json", |
||||
|
success: function(res) { |
||||
|
console.log(res.code); |
||||
|
if(res.code == 200) |
||||
|
{ |
||||
|
$("#gyhl_code").text(res.data.gyhl_code) |
||||
|
$("#scan_count").text(res.data.scan_count) |
||||
|
$("#first_scan").text(res.data.first_scan) |
||||
|
} else { |
||||
|
console.log(res.msg) |
||||
|
} |
||||
|
}, |
||||
|
error: function(err) { |
||||
|
console.log(err); |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
checkSocureData() |
||||
|
</script> |
||||
|
</html> |
After Width: | Height: | Size: 707 B |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 485 B |
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 394 B |
File diff suppressed because one or more lines are too long
@ -0,0 +1,192 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
||||
|
<link rel="icon" href="./favicon.ico"> |
||||
|
<title id="sys_title">欢迎使用牛栏山二锅头防伪查询系统</title> |
||||
|
<script src="./fwm/jquery.min.js"></script> |
||||
|
<script src="./config.js"></script> |
||||
|
</head> |
||||
|
<style> |
||||
|
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu { |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
} |
||||
|
body { |
||||
|
height: 100%; |
||||
|
-moz-osx-font-smoothing: grayscale; |
||||
|
-webkit-font-smoothing: antialiased; |
||||
|
text-rendering: optimizeLegibility; |
||||
|
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif; |
||||
|
} |
||||
|
|
||||
|
label { |
||||
|
font-weight: 700; |
||||
|
} |
||||
|
|
||||
|
html { |
||||
|
height: 100%; |
||||
|
box-sizing: border-box; |
||||
|
} |
||||
|
*, |
||||
|
*:before, |
||||
|
*:after { |
||||
|
box-sizing: inherit; |
||||
|
} |
||||
|
.flex-box { |
||||
|
display: -webkit-box; |
||||
|
display: -webkit-flex; |
||||
|
/* Safari */ |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
} |
||||
|
.flex-box-column { |
||||
|
display: -webkit-box; |
||||
|
display: -webkit-flex; |
||||
|
/* Safari */ |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
flex-direction: column; |
||||
|
} |
||||
|
.search-input { |
||||
|
background: transparent; |
||||
|
width: 150px; |
||||
|
border: 1px solid #969696; |
||||
|
-webkit-appearance: none; |
||||
|
border-radius: 5px; |
||||
|
padding: 0 10px; |
||||
|
color: #333; |
||||
|
height: 35px; |
||||
|
font-size: 16px; |
||||
|
transition: background-color 50000s ease-in-out 0s; |
||||
|
-webkit-text-fill-color: #333 !important; |
||||
|
} |
||||
|
|
||||
|
.search-container { |
||||
|
position: relative; |
||||
|
width: 100vw; |
||||
|
min-height: 100%; |
||||
|
background-image: url('./fwm/img/search-bg.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
.content-block { |
||||
|
position: relative; |
||||
|
margin-top: 42vh; |
||||
|
width: 320px; |
||||
|
color: #fff; |
||||
|
} |
||||
|
.content-block .title { |
||||
|
font-size: 18px; |
||||
|
line-height: 30px; |
||||
|
} |
||||
|
.content-box { |
||||
|
position: relative; |
||||
|
top:5px; |
||||
|
width: 100%; |
||||
|
min-height: 200px; |
||||
|
background: #fff; |
||||
|
border-radius: 20px; |
||||
|
padding: 15px; |
||||
|
word-wrap:break-word; |
||||
|
/* font-weight: 550; */ |
||||
|
} |
||||
|
.content-box .content-text { |
||||
|
font-size: 14px; |
||||
|
line-height: 30px; |
||||
|
color: #000000; |
||||
|
} |
||||
|
.content-box .num-text { |
||||
|
font-size: 13px; |
||||
|
line-height: 30px; |
||||
|
color: #C02932; |
||||
|
} |
||||
|
.text-indent-1 { |
||||
|
text-indent:1em |
||||
|
} |
||||
|
.aplayer-block { |
||||
|
position: relative; |
||||
|
/* bottom: 20px; */ |
||||
|
margin: 20px 0; |
||||
|
width: 100%; |
||||
|
height: 50px; |
||||
|
background: #fff; |
||||
|
border-radius: 25px; |
||||
|
} |
||||
|
.aplayer-block audio { |
||||
|
width: 100%; |
||||
|
} |
||||
|
.nla-public { |
||||
|
position: absolute; |
||||
|
right: 15px; |
||||
|
width: 80px; |
||||
|
height: 80px; |
||||
|
bottom: 10px; |
||||
|
} |
||||
|
</style> |
||||
|
<body> |
||||
|
<div class="search-container flex-box-column"> |
||||
|
<div class="content-block"> |
||||
|
|
||||
|
<p class="title text-indent-1">查询结果:</p> |
||||
|
<div id="patch" class="content-box"> |
||||
|
<img src="./fwm/img/nls.jpg" class="nla-public"> |
||||
|
<p class="content-text">尊敬的客户您好!</p> |
||||
|
<p class="content-text text-indent-1">您所查询的商品编码为:</p> |
||||
|
<p class="num-text" id="gyhl_code">86.121.1377451536954687488/F574AH121Y7#.F</p> |
||||
|
<p class="content-text text-indent-1">您查询的是由"北京顺鑫农业股份有限公司牛栏山酒厂"生产的正牌产品,请放心使用,谢谢您的查询。</p> |
||||
|
<br> |
||||
|
<p class="content-text">查询次数:<span id="scan_count"></span>,首次查询时间为:<br> <span id="first_scan"></span></p> |
||||
|
</div> |
||||
|
<div class="aplayer-block"> |
||||
|
<audio id="play1" controls="controls" > |
||||
|
<source src="./fwm/aa.mp3"></source> |
||||
|
</audio> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
</div> |
||||
|
</body> |
||||
|
<script> |
||||
|
var SHOW_PIC_BASE_URL = config.SHOW_URL; |
||||
|
var SYS_TITLE = config.TITLE; |
||||
|
// $("#sys_title").html(SYS_TITLE) |
||||
|
var param = ''; |
||||
|
var code = ''; |
||||
|
|
||||
|
// param = decodeURIComponent(window.location.href.split('?')[1]) |
||||
|
param = window.location.href.split('?')[1] || '' |
||||
|
code = param.split('&')[0] || '0000LH5D2B82' |
||||
|
|
||||
|
function checkSocureData() { |
||||
|
if(code) |
||||
|
{ |
||||
|
$.ajax({ |
||||
|
url: config.API_URL+"/scan/code/"+code, |
||||
|
type: "GET", |
||||
|
dataType: "json", |
||||
|
success: function(res) { |
||||
|
console.log(res.code); |
||||
|
if(res.code == 200) |
||||
|
{ |
||||
|
$("#gyhl_code").text(res.data.gyhl_code) |
||||
|
$("#scan_count").text(res.data.scan_count) |
||||
|
$("#first_scan").text(res.data.first_scan) |
||||
|
} else { |
||||
|
console.log(res.msg) |
||||
|
} |
||||
|
}, |
||||
|
error: function(err) { |
||||
|
console.log(err); |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
checkSocureData() |
||||
|
</script> |
||||
|
</html> |
@ -1,111 +0,0 @@ |
|||||
import request from '@/utils/request'; |
|
||||
//获取企业列表
|
|
||||
export function getEnterpriseList(params) { |
|
||||
return request({ |
|
||||
url: '/company/search', |
|
||||
method: 'post', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
//删除企业
|
|
||||
export function deleteEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/company/delete', |
|
||||
method: 'post', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
//获取企业详情
|
|
||||
export function getEnterpriseDetails(params) { |
|
||||
return request({ |
|
||||
url: '/company/get/'+params, |
|
||||
method: 'get' |
|
||||
}); |
|
||||
} |
|
||||
//修改企业信息
|
|
||||
export function editEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/company/edit', |
|
||||
method: 'post', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
//添加企业
|
|
||||
export function addEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/company/add', |
|
||||
method: 'post', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
//区域查询接口
|
|
||||
export function getArea(params) { |
|
||||
return request({ |
|
||||
url: '/common/getComboList_2/40010/'+params, |
|
||||
method: 'get' |
|
||||
}); |
|
||||
} |
|
||||
//行业大类查询接口
|
|
||||
export function getBigIndustryList() { |
|
||||
return request({ |
|
||||
url: '/common/getComboList_1/40008', |
|
||||
method: 'get' |
|
||||
}); |
|
||||
} |
|
||||
//行业小类查询接口
|
|
||||
export function getSmallIndustryList(params) { |
|
||||
return request({ |
|
||||
url: '/common/getComboList_2/40009/'+params, |
|
||||
method: 'get' |
|
||||
}); |
|
||||
} |
|
||||
//审核企业信息
|
|
||||
export function approveEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/company/audit', |
|
||||
method: 'post', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
//启
|
|
||||
export function enableEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/api-enterprise/enterprise/enable', |
|
||||
method: 'put', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
//停
|
|
||||
export function disableEnterprise(params) { |
|
||||
return request({ |
|
||||
url: '/api-enterprise/enterprise/disable', |
|
||||
method: 'put', |
|
||||
data:params |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
//企业审核列表
|
|
||||
export function enApplyList(params) { |
|
||||
return request({ |
|
||||
url: '/api-enterprise/enApply/page', |
|
||||
method: 'get', |
|
||||
params |
|
||||
}); |
|
||||
} |
|
||||
//公司审核页面的详情
|
|
||||
export function enApplyDetail(params) { |
|
||||
return request({ |
|
||||
url: '/api-enterprise/enApply/detail', |
|
||||
method: 'get', |
|
||||
params |
|
||||
}); |
|
||||
} |
|
@ -0,0 +1,21 @@ |
|||||
|
import request from '@/utils/request'; |
||||
|
|
||||
|
//添加送货
|
||||
|
export function sentReceipt(params) { |
||||
|
return request({ |
||||
|
url: '/receipt/sent', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
||||
|
//上传回执单
|
||||
|
export function uploadReceipt(params) { |
||||
|
return request({ |
||||
|
url: '/receipt/upload', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,36 @@ |
|||||
|
import request from '@/utils/request'; |
||||
|
//总数摘要信息
|
||||
|
export function summaryPortal(params) { |
||||
|
return request({ |
||||
|
url: '/portal/summary', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
//柱状图按月信息
|
||||
|
export function columnPortal(params) { |
||||
|
return request({ |
||||
|
url: '/portal/column', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
//汇总表格信息
|
||||
|
export function tablePortal(params) { |
||||
|
return request({ |
||||
|
url: '/portal/table', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
||||
|
//成品统计
|
||||
|
export function printList(params) { |
||||
|
return request({ |
||||
|
url: '/print/list', |
||||
|
method: 'post', |
||||
|
data:params |
||||
|
}); |
||||
|
} |
Loading…
Reference in new issue