openatc-components 0.2.80 → 0.2.81

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 (58) hide show
  1. package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  2. package/package/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +101 -0
  3. package/package/kisscomps/components/ChannelRealtimeIntersection/index.js +2 -0
  4. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +34 -4
  5. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +535 -0
  6. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +105 -9
  7. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  8. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  9. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  10. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  11. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +13 -1
  12. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +17 -94
  13. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
  14. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +11 -7
  15. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +9 -5
  16. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +7 -5
  17. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +41 -10
  18. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +9 -5
  19. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
  20. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  21. package/package/kisscomps/components/Stages/index.vue +2 -1
  22. package/package/kisscomps/components/patternList/patternList.vue +0 -4
  23. package/package/kisscomps/index.js +2 -0
  24. package/package/kissui.min.js +1 -1
  25. package/package.json +1 -1
  26. package/src/api/cross.js +4 -0
  27. package/src/api/template.js +4 -0
  28. package/src/i18n/language/zh.js +2 -2
  29. package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  30. package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +101 -0
  31. package/src/kisscomps/components/ChannelRealtimeIntersection/index.js +2 -0
  32. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +34 -4
  33. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +535 -0
  34. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +105 -9
  35. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  36. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  37. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  38. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  39. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +13 -1
  40. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +17 -94
  41. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
  42. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +11 -7
  43. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +9 -5
  44. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +7 -5
  45. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +41 -10
  46. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +9 -5
  47. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
  48. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  49. package/src/kisscomps/components/Stages/index.vue +2 -1
  50. package/src/kisscomps/components/patternList/patternList.vue +0 -4
  51. package/src/kisscomps/index.js +2 -0
  52. package/src/router/index.js +1 -1
  53. package/src/views/intersection.vue +76 -28
  54. package/src/views/overView.vue +1 -1
  55. package/static/styles/commonkanban.scss +3 -3
  56. package/static/styles/overview.scss +2 -2
  57. package/static/styles/schemeconfig.scss +38 -23
  58. package/src/node_modules/.package_versions.json +0 -1
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="priority-control">
2
+ <div class="priority-control manual-common-content">
3
3
  <!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.prioritycontrol')}}</div> -->
4
4
  <el-row>
5
5
  <el-col :span="12">
@@ -86,13 +86,13 @@
86
86
  </el-col>
87
87
  </el-row>
88
88
  <div class="footer" v-if="realtimeStatusModalvisible">
89
- <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
90
- <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
89
+ <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
90
+ <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
91
91
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
92
92
  </div>
93
93
  <div class="footer" v-if="!realtimeStatusModalvisible">
94
- <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
95
- <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
94
+ <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
95
+ <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
96
96
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
97
97
  </div>
98
98
  </div>
@@ -114,6 +114,10 @@ export default {
114
114
  },
115
115
  phaseList: {
116
116
  type: Array
117
+ },
118
+ isShowBack: {
119
+ type: Boolean,
120
+ default: true
117
121
  }
118
122
  },
119
123
  data () {
@@ -10,7 +10,7 @@
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
12
  <template>
13
- <div>
13
+ <div style="overflow: hidden;">
14
14
  <div class="cross-mess">{{$t('openatccomponents.overview.crossinfo')}}</div>
15
15
  <div class="cross-module">
16
16
  <div class="cross-content">
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tentativeplan-control">
2
+ <div class="tentativeplan-control manual-common-content">
3
3
  <!-- <div class="title" style="margin-bottom: 18px">
4
4
  {{ $t('openatccomponents.overview.tentativeplan') }}
5
5
  </div> -->
@@ -92,7 +92,7 @@
92
92
  </el-form>
93
93
  </el-col>
94
94
  </el-row>
95
- <el-row>
95
+ <el-row style="margin-top: 20px;">
96
96
  <el-radio v-model="isRing" :label="false" @change="changeRing">{{
97
97
  $t('openatccomponents.common.ringStyle')
98
98
  }}</el-radio>
@@ -126,14 +126,14 @@
126
126
  >
127
127
  </pattern-list>
128
128
  </el-row>
129
- <el-row>
129
+ <el-row style="margin-top: 20px;">
130
130
  <el-tabs v-model="activeTab" type="card">
131
131
  <el-tab-pane
132
132
  v-if="!isRing"
133
133
  :label="$t('openatccomponents.pattern.ringConfig')"
134
134
  name="kanban"
135
135
  >
136
- <div style="width: 100%; overflow: hidden; margin-top: 20px">
136
+ <div style="width: 100%; overflow: hidden;">
137
137
  <kan-ban
138
138
  v-for="n in ringCount"
139
139
  :key="n"
@@ -315,19 +315,19 @@
315
315
  </el-tabs>
316
316
  </el-row>
317
317
  <div class="footer" v-if="realtimeStatusModalvisible">
318
- <el-button @click="handleClose()">{{
318
+ <el-button v-if="isShowBack" @click="handleClose()">{{
319
319
  $t('openatccomponents.button.Back')
320
320
  }}</el-button>
321
- <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
321
+ <el-button @click="toAutoControl()" v-if="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>
325
325
  </div>
326
326
  <div class="footer" v-if="!realtimeStatusModalvisible">
327
- <el-button @click="handleClose()">{{
327
+ <el-button v-if="isShowBack" @click="handleClose()">{{
328
328
  $t('openatccomponents.button.Back')
329
329
  }}</el-button>
330
- <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
330
+ <el-button @click="toAutoControl()" v-if="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>
@@ -359,6 +359,10 @@ export default {
359
359
  },
360
360
  patternSelect: {
361
361
  type: Array
362
+ },
363
+ isShowBack: {
364
+ type: Boolean,
365
+ default: true
362
366
  }
363
367
  },
364
368
  watch: {
@@ -298,6 +298,7 @@ export default {
298
298
  dirListSetTheme (list) {
299
299
  let dirArr = []
300
300
  let color = getTheme() === 'light' ? '#606266' : '#F1F3F4'
301
+ let pedColor = getTheme() === 'light' ? '#606266' : 'rgba(255, 255, 255, 0.6)'
301
302
  for (let rec of list) {
302
303
  let recd = {
303
304
  ...rec,
@@ -305,7 +306,7 @@ export default {
305
306
  }
306
307
  dirArr.push(recd)
307
308
  for(let i=0;i<rec.peddirection.length;i++) {
308
- rec.peddirection[i].color = color
309
+ rec.peddirection[i].color = pedColor
309
310
  }
310
311
  }
311
312
  return dirArr
@@ -3,7 +3,6 @@
3
3
  <BoardCard
4
4
  :patternId="patternId"
5
5
  :contrloType="contrloType"
6
- :patternType="patternType"
7
6
  :stagesChange="stagesChange"
8
7
  :patternStatusList="patternStatusList"
9
8
  :cycles="cycles"
@@ -537,9 +536,6 @@ export default {
537
536
  patternStatusList: {
538
537
  type: Array
539
538
  },
540
- patternType: {
541
- type: String
542
- },
543
539
  patternId: {
544
540
  type: Number
545
541
  },
@@ -7,6 +7,7 @@ import lockingPhaselControlModal from './components/SchemeConfig/lockingPhaselCo
7
7
  import Channelization from './components/Channelization/index'
8
8
  import ChannelizationFlowStatistic from './components/ChannelizationFlowStatistic/index'
9
9
  import DrawChannelization from './components/DrawChannelization/index'
10
+ import ChannelRealtimeIntersection from './components/ChannelRealtimeIntersection/index'
10
11
  import FaultDetailModal from './components/FaultDetailModal/index'
11
12
  import CommonKanban from './components/CommonKanban/index'
12
13
  import patternList from './components/patternList/index'
@@ -47,6 +48,7 @@ const components = {
47
48
  Channelization,
48
49
  ChannelizationFlowStatistic,
49
50
  DrawChannelization,
51
+ ChannelRealtimeIntersection,
50
52
  FaultDetailModal,
51
53
  PatternStatus,
52
54
  BoardCard,