diff --git a/src/api/management/goods.js b/src/api/management/goods.js index 7c87f2e5a..6bb413c1b 100644 --- a/src/api/management/goods.js +++ b/src/api/management/goods.js @@ -109,3 +109,11 @@ export function getGoodsList() { method: 'get' }); } + +// 通过权限判断有无商品 +export function getPermissionGoods(id) { + return request({ + url: `/api/goods/list/permissionIds?permissionIds=${id}`, + method: 'get' + }); +} diff --git a/src/i18n/langs/en/map.js b/src/i18n/langs/en/map.js index c96e95fd3..cefaf9ebf 100644 --- a/src/i18n/langs/en/map.js +++ b/src/i18n/langs/en/map.js @@ -273,6 +273,7 @@ export default { signalUseType: 'Use the type:', potLampType: 'Light type:', signalDirectionType: 'The direction of the type:', + signalDirectionTypeX: 'The direction of the type:', signalPositionType: 'Signal position type:', signalOffset: 'The offset:', signalPositionX: 'Signal x:', diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js index 6c745f2a4..eb43e2c08 100644 --- a/src/i18n/langs/zh/map.js +++ b/src/i18n/langs/zh/map.js @@ -277,7 +277,8 @@ export default { lampPositionType: '灯位类型:', signalUseType: '用途类型:', potLampType: '点灯类型:', - signalDirectionType: '方向类型:', + signalDirectionType: '行驶方向:', + signalDirectionTypeX: '显示方向:', signalPositionType: '信号机位置类型:', signalOffset: '所属link偏移量:', signalLinkCode: '所属link', diff --git a/src/jmap/shape/Signal/index.js b/src/jmap/shape/Signal/index.js index d9546102b..2f0520bb0 100644 --- a/src/jmap/shape/Signal/index.js +++ b/src/jmap/shape/Signal/index.js @@ -33,7 +33,7 @@ class Signal extends Group { create() { const model = this.model; const style = this.style; - const drict = this.model.directionType == '01' ? -1 : 1; // 朝向 左:右 + const drict = this.model.directionShowType == '01' ? -1 : 1; // 朝向 左:右 const posit = this.model.positionType == '01' ? -1 : 1; // 位置 上:下 // 信号机高柱矮柱 @@ -262,7 +262,7 @@ class Signal extends Group { } } } - /* count 1单灯 2双灯 lightType 01物理点灯 02逻辑点灯*/ + /* count 1单灯 2双灯 lightType 01物理点灯 02逻辑点灯*/ openLateral() { if (this.count == 2 && this.model.lightType == '01') { if (this.lamps[0]) { diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 2e575c51e..871e8ec9c 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -6,7 +6,7 @@ export function getBaseUrl() { BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.6:9000'; // 旭强 - // BASE_API = 'http://192.168.3.4:9000' // 琰培 + // BASE_API = 'http://192.168.3.41:9000'; // 王兴杰 } else { BASE_API = process.env.VUE_APP_BASE_API; } diff --git a/src/views/map/mapdraft/mapedit/mapoperate/signal.vue b/src/views/map/mapdraft/mapedit/mapoperate/signal.vue index ba2e1bdea..e9ff51bdd 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/signal.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/signal.vue @@ -49,6 +49,16 @@ /> + + + + + + + + + 取 消 + 确 定 + + + + + + + diff --git a/src/views/orderauthor/permission/create/index.vue b/src/views/orderauthor/permission/create/index.vue index e0fac8748..bc341d131 100644 --- a/src/views/orderauthor/permission/create/index.vue +++ b/src/views/orderauthor/permission/create/index.vue @@ -8,15 +8,7 @@
- - - -
- - 下一步 - {{ $t('global.back') }} - -
+
@@ -84,6 +76,9 @@ export default { back() { this.display--; }, + permissionNext(code) { + this.display = 1; + }, turnback() { this.$router.go(-1); }, diff --git a/src/views/orderauthor/permission/create/permission.vue b/src/views/orderauthor/permission/create/permission.vue index 71f2d95fb..a3ef6b6d0 100644 --- a/src/views/orderauthor/permission/create/permission.vue +++ b/src/views/orderauthor/permission/create/permission.vue @@ -1,77 +1,88 @@