1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| <template>
| <div class="setting-wrap">
| <el-form
| ref="form"
| label-width="100px"
| label-position="left"
| :model="config"
| class="bs-el-form"
| >
| <el-form-item
| label="标题"
| label-width="100px"
| >
| <el-input
| v-model="config.title"
| placeholder="请输入标题"
| />
| </el-form-item>
| <PosWhSetting :config="config" />
| </el-form>
| </div>
| </template>
| <script>
| import PosWhSetting from 'data-room-ui/BigScreenDesign/RightSetting/PosWhSetting.vue'
| export default {
| name: 'CurrentTimeSetting',
| components: {
| PosWhSetting
| },
| data () {
| return {
| activeName: 'data'
| }
| },
| computed: {
| config: {
| get () {
| return this.$store.state.bigScreen.activeItemConfig
| },
| set (val) {
| this.$store.state.bigScreen.activeItemConfig = val
| }
| }
| },
| watch: {
| },
| mounted () {},
| methods: {
| }
| }
| </script>
|
| <style lang="scss" scoped>
| @import "../assets/style/settingWrap.scss";
| .setting-wrap{
| padding: 16px;
| }
| </style>
|
|