From 48ea44a9803ccfde41e4615b1edd80fbcc8e0dd4 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Thu, 19 Sep 2019 17:22:48 +0800 Subject: [PATCH] =?UTF-8?q?desc:=20=E8=B0=83=E6=95=B4=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=EF=BC=8C=E8=B0=83=E6=95=B4=E7=90=8F?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=AF=BC=E5=85=A5=E8=BF=90=E8=A1=8C=E5=9B=BE?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/orderAuthor.js | 8 +- src/i18n/langs/en/rules.js | 3 +- src/i18n/langs/en/tip.js | 5 +- src/i18n/langs/zh/orderAuthor.js | 5 +- src/i18n/langs/zh/rules.js | 3 +- src/i18n/langs/zh/tip.js | 5 +- src/jmap/theme/chengdu_03/planConvert.js | 2 +- src/utils/baseUrl.js | 4 +- .../orderauthor/permission/create/index.vue | 3 +- .../orderauthor/permission/create/list.vue | 71 ++++------- .../orderauthor/permission/create/order.vue | 10 +- .../permission/create/permission.vue | 90 +++++++------- .../orderauthor/permission/create/qCode.vue | 2 +- src/views/planMonitor/editTool/index.vue | 2 +- src/views/planMonitor/editTool/menuBar.vue | 28 ++--- .../editTool/menus/createEmptyPlan.vue | 116 +++++++++++++++++- .../editTool/menus/editPlanName.vue | 4 +- .../editTool/menus/modifyingTask.vue | 2 + .../editTool/menus/openRunPlan.vue | 68 ++++++---- 19 files changed, 273 insertions(+), 158 deletions(-) diff --git a/src/i18n/langs/en/orderAuthor.js b/src/i18n/langs/en/orderAuthor.js index 3acd72024..d0967c8d9 100644 --- a/src/i18n/langs/en/orderAuthor.js +++ b/src/i18n/langs/en/orderAuthor.js @@ -100,11 +100,17 @@ export default { permission: 'Permission', orderSelectionItem: 'Order selection item', orderDetails: 'Order details', + universalPackage: '万能权限', + createPackage: '创建权限', + package: '权限包', + basePackage: '基础权限', statusType: 'Status type', private: 'Private', public: 'Public', pleaseEnterContent: 'Please enter content', selectGoods: 'Select Goods', month: ' month', - yuan: ' yuan' + yuan: ' yuan', + back: '返回', + next: '下一步' }; diff --git a/src/i18n/langs/en/rules.js b/src/i18n/langs/en/rules.js index a9ce8043b..3cc5b53ab 100644 --- a/src/i18n/langs/en/rules.js +++ b/src/i18n/langs/en/rules.js @@ -275,5 +275,6 @@ export default { inputMaxDuration: 'Please input max duration', accessNumber: 'Please input the number of permissions', courseNameEmpty: 'Course name cannot be empty', - purchaseMonth: 'Please input the number of months to buy' + purchaseMonth: 'Please input the number of months to buy', + pleaseEnterGoodPrice: '请输入商品价格' }; diff --git a/src/i18n/langs/en/tip.js b/src/i18n/langs/en/tip.js index 2bd83d3cc..099b00bde 100644 --- a/src/i18n/langs/en/tip.js +++ b/src/i18n/langs/en/tip.js @@ -170,5 +170,8 @@ export default { selectAPieceOfData: 'Please select a piece of data', selectSpeedLimitValueTip: 'Please select the speed limit value, click the "release" button, and issue the command!', addTrainIdTip: 'Add train identification number: successful', - editTrainIdTip: 'Modify train identification number: successful' + editTrainIdTip: 'Modify train identification number: successful', + enterPrice: '请输入价格', + publishMap: '获取发布地图', + addPackage: '请添加权限' }; diff --git a/src/i18n/langs/zh/orderAuthor.js b/src/i18n/langs/zh/orderAuthor.js index d117c5175..937191068 100644 --- a/src/i18n/langs/zh/orderAuthor.js +++ b/src/i18n/langs/zh/orderAuthor.js @@ -105,8 +105,11 @@ export default { createPackage: '创建权限', package: '权限包', basePackage: '基础权限', + universalPackage: '万能权限', pleaseEnterContent: '请输入内容', selectGoods: '选择商品', month: '月', - yuan: '元' + yuan: '元', + back: '返回', + next: '下一步' }; diff --git a/src/i18n/langs/zh/rules.js b/src/i18n/langs/zh/rules.js index 172dd7090..33058ef11 100644 --- a/src/i18n/langs/zh/rules.js +++ b/src/i18n/langs/zh/rules.js @@ -277,5 +277,6 @@ export default { enterTheServiceNumber: '请输入表号', enterTheTripNumber: '请输入车次号', enterTheTargetCode: '请输入目的地号', - selectStation: '请选择车站' + selectStation: '请选择车站', + pleaseEnterGoodPrice: '请输入商品价格' }; diff --git a/src/i18n/langs/zh/tip.js b/src/i18n/langs/zh/tip.js index 9c412700c..0d9f05f2e 100644 --- a/src/i18n/langs/zh/tip.js +++ b/src/i18n/langs/zh/tip.js @@ -170,5 +170,8 @@ export default { selectAPieceOfData: '请选择一条数据', selectSpeedLimitValueTip: '请选择限速值后,点击“下达”按钮,下达命令!', addTrainIdTip: '添加列车识别号:成功', - editTrainIdTip: '修改列车识别号:成功' + editTrainIdTip: '修改列车识别号:成功', + enterPrice: '请输入价格', + publishMap: '获取发布地图', + addPackage: '请添加权限' }; diff --git a/src/jmap/theme/chengdu_03/planConvert.js b/src/jmap/theme/chengdu_03/planConvert.js index 3f7684b29..30e023917 100644 --- a/src/jmap/theme/chengdu_03/planConvert.js +++ b/src/jmap/theme/chengdu_03/planConvert.js @@ -27,7 +27,7 @@ export default { importData(Sheet, JsonData) { var dataList = convertSheetToList(Sheet, false); var needList = Object.keys(this.ExcelConfig.columns); - + debugger; if (dataList && dataList.length) { for (var rowIndex = this.ExcelConfig.beginRow; rowIndex < dataList.length; rowIndex += 1) { for (var colIndex = this.ExcelConfig.beginCol; colIndex < dataList[this.ExcelConfig.beginCol].length; colIndex += this.ExcelConfig.fieldNum + 1) { diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index f997f31f4..09e20008f 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -4,9 +4,9 @@ export function getBaseUrl() { if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; // BASE_API = 'https://test.joylink.club/jlcloud'; - BASE_API = 'http://192.168.3.5:9000'; // 袁琪 + // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.6:9000'; // 旭强 - // BASE_API = 'http://192.168.3.41:9000'; // 王兴杰 + BASE_API = 'http://192.168.3.41:9000'; // 王兴杰 } else { BASE_API = process.env.VUE_APP_BASE_API; } diff --git a/src/views/orderauthor/permission/create/index.vue b/src/views/orderauthor/permission/create/index.vue index 9bd8a2c07..1273141b5 100644 --- a/src/views/orderauthor/permission/create/index.vue +++ b/src/views/orderauthor/permission/create/index.vue @@ -70,7 +70,8 @@ export default { permissionId: good.permissionId, name: good.name, remarks: good.remarks, - price: good.price + price: good.price, + list: good.list }]; this.$refs.orderForm.setOrderName(good, permission); this.display = 1; diff --git a/src/views/orderauthor/permission/create/list.vue b/src/views/orderauthor/permission/create/list.vue index 0cbb46879..7f03b3d15 100644 --- a/src/views/orderauthor/permission/create/list.vue +++ b/src/views/orderauthor/permission/create/list.vue @@ -1,7 +1,16 @@