本地提交

yangwl
Yangwl 2 months ago
parent f98504bb2e
commit 78b84ce853

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 榄菊管理系统
VUE_APP_TITLE = 榄菊生产管理系统
# 开发环境配置
ENV = 'development'

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 榄菊管理系统
VUE_APP_TITLE = 榄菊生产管理系统
NODE_ENV = production

@ -6,7 +6,7 @@
"license": "MIT",
"scripts": {
"###": "高版本node请使用如下配置启动 SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"dev": "vue-cli-service serve",
"dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
@ -46,14 +46,12 @@
"highlight.js": "9.18.5",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsbarcode": "^3.11.6",
"jsencrypt": "3.0.0-rc.1",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"moment": "^2.29.4",
"nprogress": "0.2.0",
"print-js": "^1.6.0",
"qrcode": "^1.5.4",
"quill": "1.3.7",
"screenfull": "5.0.2",
"sortablejs": "1.10.2",
@ -64,7 +62,6 @@
"vue-cropper": "0.5.5",
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vue-seamless-scroll": "^1.1.23",
"vuedraggable": "2.24.3",
"vuex": "3.6.0",
"xlsx": "^0.17.0"

@ -35,8 +35,8 @@ export default {
},
data() {
return {
title: '管理系统',
logo: logoImg
title: '榄菊生产管理系统',
// logo: logoImg
}
}
}

@ -77,7 +77,6 @@ export default {
height: 100%;
margin: 0 -5px;
.border-box-content {
padding: 20px;
box-sizing: border-box;

@ -161,7 +161,7 @@ export default {
justify-content: end;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.jpg");
background-image: url("../assets/images/login-background-none.jpg");
background-size: cover;
}
.title {

@ -13,7 +13,19 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['mes:scrap:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-tabs type="border-card" @tab-click="handleTabClick">
<el-tab-pane label="当月产线产量汇总" >
<el-table :data="tableData" border style="width: 100%" :header-cell-style="getHeaderCellStyle" :summary-method="getSummaries" show-summary>
@ -326,6 +338,12 @@ export default {
handleQuery() {
this.getList();
},
/** 导出按钮操作 */
handleExport() {
this.download('mes/reportWork/getmonthProductionSut/export', {
...this.queryParams
}, `汇总报表_${new Date().getTime()}.xlsx`)
}
}
};

@ -518,7 +518,7 @@ export default {
this.refreshNewWorkerTable = true // refreshProTabletrue
this.newWorkerLoading = false // false
this.generateBarcode(this.printData.productDate); //
this.generateBarcode(this.printData.printDate); //
})
},
@ -686,16 +686,17 @@ export default {
}
.my-print-foot {
margin-top: 10px;
}
.my-print-foot0 {
margin-top: -1px;
padding-top:2px;
border-top: 1px solid black;
width: 94%;
margin-top: 20px;
}
@media print {
body {
font-family: 'Arial', sans-serif; /* 设置字体为'Arial'或其他清晰的无衬线字体 */
font-size: 14px; /* 设置字体大小 */
}
.my-print-table .el-table {
border-collapse: collapse; /* 合并表格边框 */
}
}
.fy{

@ -0,0 +1,34 @@
<template>
<div>
<!-- <u-action-sheet :actions="list" :title="title" :show="show"></u-action-sheet>-->
<!-- <u-button @click="show = true">打开ActionSheet</u-button>-->
<el-button>默认按钮</el-button>
</div>
</template>
<script>
export default {
data() {
return {
title:'标题',
list: [
{
name:'选项一',
subname:"选项一描述",
color:'#ffaa7f',
fontSize:'20'
},
{
name: '选项二禁用',
disabled:true
},
{
name: '开启load加载', //
loading:true
}
],
show: false
};
}
};
</script>

@ -35,6 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.202.20:8080`,
target: `http://localhost:8080`,
// target: `http://192.168.3.93:8080`,
// target: `http://192.168.3.158:8080`,

Loading…
Cancel
Save