同步数据修改
parent
b5e3ae96aa
commit
213a68f952
@ -1,45 +1,46 @@
|
||||
{
|
||||
"name": "my-project",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"stage": "vue-cli-service build --mode stage",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.18.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"element-china-area-data": "^5.0.2",
|
||||
"element-ui": "^2.8.2",
|
||||
"file-saver": "^2.0.2",
|
||||
"js-cookie": "^2.2.0",
|
||||
"mockjs": "^1.0.1-beta3",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinyin": "^2.10.2",
|
||||
"vue": "^2.5.16",
|
||||
"vue-router": "^3.0.1",
|
||||
"vue2-verify": "^1.1.5",
|
||||
"vuedraggable": "^2.17.0",
|
||||
"vuex": "^3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^3.0.0-beta.15",
|
||||
"@vue/cli-plugin-eslint": "^3.0.0-beta.15",
|
||||
"@vue/cli-plugin-unit-jest": "^3.0.0-beta.15",
|
||||
"@vue/cli-service": "^3.0.0-beta.15",
|
||||
"@vue/eslint-config-prettier": "^3.0.0-rc.3",
|
||||
"@vue/test-utils": "^1.0.0-beta.16",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-jest": "^23.0.1",
|
||||
"sass-loader": "^7.0.1",
|
||||
"vue-template-compiler": "^2.5.16"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not ie <= 8"
|
||||
]
|
||||
"name": "my-project",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"stage": "vue-cli-service build --mode stage",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.18.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"element-china-area-data": "^5.0.2",
|
||||
"element-ui": "^2.8.2",
|
||||
"file-saver": "^2.0.2",
|
||||
"js-cookie": "^2.2.0",
|
||||
"mockjs": "^1.0.1-beta3",
|
||||
"node-sass": "^7.0.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinyin": "^2.10.2",
|
||||
"vue": "^2.5.16",
|
||||
"vue-router": "^3.0.1",
|
||||
"vue2-verify": "^1.1.5",
|
||||
"vuedraggable": "^2.17.0",
|
||||
"vuex": "^3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^3.0.0-beta.15",
|
||||
"@vue/cli-plugin-eslint": "^3.0.0-beta.15",
|
||||
"@vue/cli-plugin-unit-jest": "^3.0.0-beta.15",
|
||||
"@vue/cli-service": "^3.0.0-beta.15",
|
||||
"@vue/eslint-config-prettier": "^3.0.0-rc.3",
|
||||
"@vue/test-utils": "^1.0.0-beta.16",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-jest": "^23.0.1",
|
||||
"sass-loader": "^7.0.1",
|
||||
"vue-template-compiler": "^2.5.16"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not ie <= 8"
|
||||
]
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
window.global_config = {
|
||||
|
||||
|
||||
|
||||
"BASE_URL":"https://www.udims.com/UDIC_UDI_Server"
|
||||
|
||||
|
||||
"BASE_URL":"http://127.0.0.1:9995",
|
||||
// "BASE_URL":"https://www.udims.com/UDIC_UDI_Server"
|
||||
// "BASE_URL":"http://127.0.0.1:9995"
|
||||
"BASE_URL":"http://127.0.0.1:9994"
|
||||
};
|
||||
|
||||
|
@ -0,0 +1,23 @@
|
||||
// 添加日期范围
|
||||
export function addDateRange(params, dateRange) {
|
||||
let search = params;
|
||||
search.startDate = null
|
||||
search.endDate = null;
|
||||
if (null != dateRange && '' != dateRange) {
|
||||
search.startDate = dateRange[0];
|
||||
search.endDate = dateRange[1];
|
||||
}
|
||||
return search;
|
||||
}
|
||||
|
||||
// 回显数据字典
|
||||
export function selectDictLabel(datas, value) {
|
||||
var actions = [];
|
||||
Object.keys(datas).map((key) => {
|
||||
if (datas[key].value == ('' + value)) {
|
||||
actions.push(datas[key].label);
|
||||
return false;
|
||||
}
|
||||
})
|
||||
return actions.join('');
|
||||
}
|
Loading…
Reference in New Issue