openatc-components 0.3.24 → 0.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/package/kisscomps/components/PhasePedSelect/index.vue +2 -2
  2. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +42 -1
  3. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +15 -11
  4. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +10 -6
  5. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +12 -8
  6. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +23 -14
  7. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +14 -10
  8. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  9. package/package/kissui.min.js +1 -1
  10. package/package.json +1 -1
  11. package/src/i18n/language/en.js +6 -6
  12. package/src/i18n/language/zh.js +6 -6
  13. package/src/kisscomps/components/PhasePedSelect/index.vue +2 -2
  14. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +42 -1
  15. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +15 -11
  16. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +10 -6
  17. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +12 -8
  18. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +23 -14
  19. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +14 -10
  20. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  21. package/src/views/schemeconfig.vue +17 -15
@@ -9,10 +9,10 @@
9
9
  ref="manual"
10
10
  label-position="left"
11
11
  :model="manualInfo"
12
- label-width="74px"
12
+ label-width="90px"
13
13
  >
14
14
  <el-form-item
15
- :label="$t('openatccomponents.overview.patternid') + ':'"
15
+ :label="$t('openatccomponents.overview.patternid')"
16
16
  prop="count"
17
17
  >
18
18
  <el-select
@@ -33,7 +33,7 @@
33
33
  <!-- <el-input v-model="manualInfo.tempDuration" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
34
34
  </el-form-item>
35
35
  <el-form-item
36
- :label="$t('openatccomponents.overview.delay') + ':'"
36
+ :label="$t('openatccomponents.overview.delay')"
37
37
  prop="intersection"
38
38
  >
39
39
  <el-input-number
@@ -55,10 +55,10 @@
55
55
  ref="manual"
56
56
  label-position="left"
57
57
  :model="manualInfo"
58
- label-width="74px"
58
+ label-width="90px"
59
59
  >
60
60
  <el-form-item
61
- :label="$t('openatccomponents.overview.patternoffset') + ':'"
61
+ :label="$t('openatccomponents.overview.patternoffset')"
62
62
  prop="count"
63
63
  >
64
64
  <el-input-number
@@ -74,7 +74,7 @@
74
74
  <!-- <el-input v-model="manualInfo.offset" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
75
75
  </el-form-item>
76
76
  <el-form-item
77
- :label="$t('openatccomponents.overview.duration') + ':'"
77
+ :label="$t('openatccomponents.overview.duration')"
78
78
  prop="intersection"
79
79
  >
80
80
  <el-input-number
@@ -318,7 +318,7 @@
318
318
  <el-button v-if="isShowBack" @click="handleClose()">{{
319
319
  $t('openatccomponents.button.Back')
320
320
  }}</el-button>
321
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
321
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
322
322
  <el-button type="primary" @click="handleManualControl()">{{
323
323
  $t('openatccomponents.overview.implement')
324
324
  }}</el-button>
@@ -327,7 +327,7 @@
327
327
  <el-button v-if="isShowBack" @click="handleClose()">{{
328
328
  $t('openatccomponents.button.Back')
329
329
  }}</el-button>
330
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
330
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
331
331
  <el-button type="primary" @click="handleManualControl()">{{
332
332
  $t('openatccomponents.overview.comfirm')
333
333
  }}</el-button>
@@ -363,6 +363,10 @@ export default {
363
363
  isShowBack: {
364
364
  type: Boolean,
365
365
  default: true
366
+ },
367
+ isShowRecovery: {
368
+ type: Boolean,
369
+ default: true
366
370
  }
367
371
  },
368
372
  watch: {
@@ -12,30 +12,32 @@
12
12
  <template>
13
13
  <div>
14
14
  <el-button type="primary" @click="handleOpenConfigPanel" style="margin: 20px;">打开控制面板</el-button>
15
- <el-dialog
15
+ <!-- <el-dialog
16
16
  refs="intersectionMapDialog"
17
17
  class="abow_dialog"
18
18
  :width="dialogWidth"
19
19
  :visible.sync="boxVisible"
20
20
  :close-on-click-modal="false"
21
21
  @close="oncancle"
22
- append-to-body>
23
- <scheme-config
24
- ref="rightpanel"
25
- :fromPage="fromPage"
26
- :agentId="agentId"
27
- :statusData="crossStatusData"
28
- :phaseList="phaseList2"/>
22
+ append-to-body> -->
29
23
  <!-- <scheme-config
30
24
  ref="rightpanel"
25
+ :fromPage="fromPage"
31
26
  :agentId="agentId"
32
- :lockPhaseBtnName="lockPhaseBtnName"
33
27
  :statusData="crossStatusData"
34
- :phaseList="phaseList"
35
- :realtimeStatusModalvisible="true"
36
- roadDirection="left"
37
- /> -->
38
- </el-dialog>
28
+ :phaseList="phaseList2"/> -->
29
+ <!-- </el-dialog> -->
30
+
31
+ <div v-if="boxVisible" style="height: 700px;width: 450px;">
32
+ <scheme-config
33
+ ref="rightpanel"
34
+ :agentId="agentId"
35
+ :statusData="crossStatusData"
36
+ :phaseList="phaseList2"
37
+ :realtimeStatusModalvisible="false"
38
+ :isShowBack="false"
39
+ :isShowRecovery="false"/>
40
+ </div>
39
41
  </div>
40
42
  </template>
41
43
  <script>
@@ -62,7 +64,7 @@ export default {
62
64
  agentId: '1511_207',
63
65
  Token: 'eyJraWQiOiIxNzAxODMyOTQ3MTUwIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJxeXl0aCIsImV4cCI6MTc2OTc4ODgwMCwiaWF0IjoxNzAxMzYwMDAwfQ.RIQpNEkJibL-RYllirDeNLi8G9-t8PecM_m7KlZNQXg',
64
66
  Token103: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
65
- boxVisible: true,
67
+ boxVisible: false,
66
68
  dialogWidth: '80%',
67
69
  crossStatusData: {} // 路口状态数据
68
70
  }