作者 shenhailong

安检清单 前端所有功能

此 diff 太大无法显示。
... ... @@ -10,10 +10,12 @@
"build": "node build/build.js"
},
"dependencies": {
"@xkeshi/vue-barcode": "^1.0.0",
"axios": "^0.19.0",
"echarts": "^3.3.2",
"element-ui": "^2.13.0",
"eslint": "^5.14.1",
"eslint-plugin-html": "^6.0.2",
"fecha": "^4.2.0",
"file-saver": "^2.0.2",
"font-awesome": "^4.7.0",
... ... @@ -62,7 +64,7 @@
"http-proxy-middleware": "^0.19.1",
"json-loader": "^0.5.4",
"mockjs": "^1.0.1-beta3",
"node-sass": "^4.14.1",
"node-sass": "^4.5.0",
"opn": "^4.0.2",
"optimize-css-assets-webpack-plugin": "^1.3.0",
"ora": "^1.0.0",
... ...
... ... @@ -12,6 +12,8 @@ export const updateMT2201 = params => { return http.put(`${baseUrl}/updateMt2201
export const addMt2201 = params => { return http.post(`${baseUrl}/addMt2201`,params)};
export const selectSecurityAwba = params => { return http.get(`${baseUrl}/selectSecurityAwba`,params)};
export const getLostLoadChange = params => { return http.get(`${baseUrl}/getLostLoadChange`, params)};
export const saveLostChange = params => { return http.get(`${baseUrl}/saveLostChange`, params)};
... ...
import http from '../http.js'
import axios from "axios";
let baseUrl = 'wltp-security-declaration/security'
export const getList = params => { return http.get(`${baseUrl}/list`, params)};
export const remove = params => { return axios.delete(`${baseUrl}/remove`, { params: params }); };
export const edit = params => { return http.put(`${baseUrl}/edit`, params)};
export const add = params => { return http.post(`${baseUrl}/add`,params)};
... ...
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
... ... @@ -17,6 +16,10 @@ import * as socketApi from './api/socket'
import '@/styles/index.scss'
import sys_init from '@/common/init/sys_init'
// 条形组件
import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件
Vue.component('barcode', VueBarcode);
//定义一个全局过滤器实现日期格式化
Vue.filter('datefmt',function(input,fmtstring){
... ...
... ... @@ -85,6 +85,7 @@ import outConfigure from './views/airtransport/outConfigure.vue'
import queryFlightConfigure from './views/airtransport/queryFlightConfigure.vue'
import Consigner from './views/consigner/consigner.vue'
import Consignee from './views/consigner/consignee.vue'
import Security from './views/security/security.vue'
... ... @@ -187,6 +188,15 @@ let routes = [
]
},
{
path: '/sec',
component: Home,
name: '安检清单申报管理',
iconCls: 'el-icon-collection',
children: [
{path: '/security', component: Security, name: '安检清单申报'}
]
},
{
path: '/nmms2',
component: Home,
name: '进港业务申报',
... ...
此 diff 太大无法显示。