work
Find a file
2019-02-27 09:05:01 +08:00
build first commit 2019-02-12 17:46:33 +08:00
config first commit 2019-02-12 17:46:33 +08:00
src write reademe 2019-02-27 08:31:29 +08:00
static first commit 2019-02-12 17:46:33 +08:00
.babelrc first commit 2019-02-12 17:46:33 +08:00
.editorconfig first commit 2019-02-12 17:46:33 +08:00
.eslintignore employee add 2019-02-26 09:13:20 +08:00
.eslintrc.js first commit 2019-02-12 17:46:33 +08:00
.gitignore first commit 2019-02-12 17:46:33 +08:00
.postcssrc.js first commit 2019-02-12 17:46:33 +08:00
.travis.yml first commit 2019-02-12 17:46:33 +08:00
favicon.ico first commit 2019-02-12 17:46:33 +08:00
index.html first commit 2019-02-12 17:46:33 +08:00
LICENSE first commit 2019-02-12 17:46:33 +08:00
package.json first commit 2019-02-12 17:46:33 +08:00
README.md 2/26日出现的问题以及解决方法 2019-02-27 09:05:01 +08:00

ERP

##work for nwow
###ERP project
####2019/2/12 add topmenu

2019/2/25 遇到的一些问题以及解决方案

#####tagsview的页面关闭操作

const view = { 
path: '/EmployeeInformation/NewEmployeeInformation',
 name: 'NewEmployeeInformation',
  fullPath: '/EmployeeInformation/NewEmployeeInformation',
   title: 'NewEmployeeInformation' 
   }  
   
this.$store.dispatch('delView', view).then(({ visitedViews }) => {})

#####拼接json 方法

         var resultJsonObject = {}
         for (const attr in jsonbject1) {
           resultJsonObject[attr] = jsonbject1[attr]
         }
         for (const attr in jsonbject2) {
           resultJsonObject[attr] = jsonbject2[attr]
         }
         return resultJsonObject} 

2019/2/26 遇到的一些问题以及解决方案

axios 向后端发送请求数据时如果为空或者underfined时判断一下
     var params = new URLSearchParams()
     // 判断是否为空值
     if (query.jobnumber !== '') {
       params.append('jobnumber', query.jobnumber) // 你要传给后台的参数值 key/value
     }
     return request({
       url: 'xxxx',
       method: 'post',
       data: params
     })
   }