apply-clients 7.1.36-yuchuan-4.1 → 7.1.36-yuchuan-5

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.
@@ -1,83 +0,0 @@
1
- <template>
2
- <div id="unit" class="row" :class="{'binary':showItem}">
3
- <div :class="{'basic-main':!showItem,'binary-left':showItem}">
4
- <gongjian-apply-list @select-changed="idsearch" :styles="showItem?'col-sm-3':'col-sm-2'" v-if="stepControl"
5
- v-ref:jgDeviceAlarmlist></gongjian-apply-list>
6
- </div>
7
- <div class="binary-right">
8
- <gongjian-apply-dispose :recordlist="recordlist" :model="model" :oldmodel="oldmodel" v-show="showItem"
9
- :f_distribution_state="f_distribution_state" :row="row" : rowsdata="rowsdata1"
10
- :warehousename="warehousename"></gongjian-apply-dispose>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- export default {
17
- title: '政府报建',
18
- components: {},
19
- data() {
20
- return {
21
- f_alarmId: '',
22
- row: {},
23
- model: {},
24
- oldmodel: {},
25
- showItem: false,
26
- stepControl: true,
27
-
28
- // 分公司id串
29
- width: '100%',
30
- f_filialeids: this.$login.f.f_orgids,
31
- areaShow: false,
32
- areatype: '小区',
33
- arearow: {},
34
- style: 'col-sm-2'
35
- }
36
- },
37
- methods: {
38
- selected(obj) {
39
- this.style = 'col-sm-3 '
40
- if (obj.val && obj.val.id) {
41
- console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
42
- if (obj.val.f_filialeid !== this.f_filialeids) {
43
- this.refresh()
44
- return
45
- }
46
- this.areaShow = true
47
- this.$refs.addareamsg.cleardara()
48
- this.$refs.addareamsg.operation = 'modify'
49
- this.$refs.addareamsg.areatype = '小区'
50
- this.$refs.addareamsg.areamodel = Object.assign({}, obj.val)
51
- if (obj.val.f_slice_area && obj.val.f_area_code) {
52
- this.$refs.addareamsg.areamodel.slice_area = [{
53
- name: this.$refs.addareamsg.areamodel.f_slice_area,
54
- code: this.$refs.addareamsg.areamodel.f_area_code
55
- }]
56
- }
57
- this.$refs.addareamsg.initdata(obj.val)
58
- }
59
- },
60
- refresh() {
61
- this.areaShow = false
62
- this.$refs.arealist.$refs.paged.$refs.cri.search()
63
- },
64
- idsearch(row) {
65
- this.showItem = true
66
- this.model = JSON.parse(JSON.stringify(row.val));
67
- this.oldmodel = JSON.parse(JSON.stringify(row.val));
68
- },
69
- getAlarmData () {
70
- let data = {}
71
- }
72
- },
73
- events: {
74
- 'close'() {
75
- this.showItem = false
76
- this.$refs.stocklist.search()
77
- console.log('this.$refs', this.$refs)
78
- console.log('showitem', this.showItem)
79
- },
80
- }
81
- }
82
- </script>
83
-