apply-clients 7.1.36-yuchuan-21 → 7.1.36-yuchuan-22

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,191 +1,191 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:paged>
3
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.searchCondition'>
4
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="col-sm-2">
6
- <label class="font_normal_body">客户名称</label>
7
- <input type="text" class="input_search" style="width:60%"
8
- v-model="model.f_user_name"
9
- placeholder='客户名称'
10
- :size="model.f_user_name ? model.f_user_name.length : 6"
11
- condition="f_user_name like '%{}%'">
12
- </div>
13
- <div class="col-sm-2">
14
- <label class="font_normal_body">工程编号</label>
15
- <input type="text" class="input_search" style="width:60%"
16
- v-model="model.f_project_code"
17
- placeholder='工程编号'
18
- :size="model.f_project_code ? model.f_project_code.length : 10"
19
- condition="f_project_code like '%{}%'">
20
- </div>
21
- <div class="col-sm-2">
22
- <label class="font_normal_body">联系电话</label>
23
- <input type="text" class="input_search" style="width:60%"
24
- v-model="model.f_phone"
25
- placeholder='联系电话'
26
- :size="model.f_phone ? model.f_phone.length : 11"
27
- condition="f_phone like '%{}%'">
28
- </div>
29
- <div class="col-sm-2">
30
- <label class="font_normal_body">用户地址</label>
31
- <input type="text" class="input_search" style="width:60%"
32
- v-model="model.f_project_address"
33
- placeholder='用户地址'
34
- :size="model.f_project_address ? model.f_project_address.length : 11"
35
- condition="f_project_address like '%{}%'">
36
- </div>
37
- <div class="col-sm-2">
38
- <label class="font_normal_body">报建类型</label>
39
- <v-select :value.sync="model.f_apply_type" v-model="model.f_apply_type"
40
- placeholder='报建类型'
41
- value-single="true"
42
- :options='$parent.$parent.applyType'
43
- close-on-select
44
- condition="f_apply_type = '{}'"
45
- ></v-select>
46
- </div>
47
- <div class="col-sm-2">
48
- <label class="font_normal_body">报建来源</label>
49
- <v-select :value.sync="model.f_apply_source" v-model="model.f_apply_source"
50
- placeholder='报建来源'
51
- value-single="true"
52
- :options='$parent.$parent.applySource'
53
- close-on-select
54
- condition="f_apply_source = '{}'"
55
- ></v-select>
56
- </div>
57
- <div class="col-sm-2">
58
- <label class="font_normal_body">状态</label>
59
- <v-select :value.sync="model.f_process_state" v-model="model.f_process_state"
60
- placeholder='状态'
61
- value-single="true"
62
- :options='$parent.$parent.processState'
63
- close-on-select
64
- condition="f_process_state = '{}'"
65
- ></v-select>
66
- </div>
67
- <div class="form-group col-sm-2">
68
- <label for="startDate" class="font_normal_body">开始时间</label>
69
- <datepicker id="startDate" placeholder="开始日期"
70
- style="width: 60%!important;"
71
- v-model="model.startDate"
72
- :value.sync="model.startDate"
73
- :format="'yyyy-MM-dd 00:00:00'"
74
- :show-reset-button="true"
75
- condition="f_orderdate >= '{}'">
76
- </datepicker>
77
- </div>
78
- <div class="form-group col-sm-2">
79
- <label for="endDate" class="font_normal_body">结束时间</label>
80
- <datepicker id="endDate" placeholder="结束日期"
81
- style="width: 60%!important;"
82
- v-model="model.endDate"
83
- :value.sync="model.endDate"
84
- :format="'yyyy-MM-dd 23:59:59'"
85
- :show-reset-button="true"
86
- condition="f_orderdate <= '{}'">
87
- </datepicker>
88
- </div>
89
- <div class="col-sm-2 form-group" style="float:right">
90
- <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
91
- <button class="button_search button_spacing" @click="$parent.$parent.clearmsg">清空</button>
92
- <button class="button_search button_spacing" @click="$parent.$parent.idsearch()" v-el:cba>新增</button>
93
- </div>
94
- </div>
95
- </criteria>
96
- <data-grid :model="model"
97
- partial='list'
98
- style="overflow: auto"
99
- class="list_area table_sy"
100
- v-ref:grid >
101
- <template partial='head'>
102
- <tr>
103
- <th style="text-align:center"><nobr>工程编号</nobr></th>
104
- <th style="text-align:center"><nobr>客户名称</nobr></th>
105
- <th style="text-align:center"><nobr>电话</nobr></th>
106
- <th style="text-align:center"><nobr>地址</nobr></th>
107
- <th style="text-align:center"><nobr>来源</nobr></th>
108
- <th style="text-align:center"><nobr>状态</nobr></th>
109
- <th style="text-align:center"><nobr>报建类型</nobr></th>
110
- <th style="text-align:center"><nobr>土地获取方式</nobr></th>
111
- <th style="text-align:center"><nobr>建设规模及内容</nobr></th>
112
- </tr>
113
- </template>
114
- <template partial='body' style="height: 80vh">
115
- <tr>
116
- <td style="text-align:center"><nobr>{{ row.f_project_code }}</nobr></td>
117
- <td style="text-align:center"><nobr>{{ row.f_user_name }}</nobr></td>
118
- <td style="text-align:center"><nobr>{{ row.f_phone }}</nobr></td>
119
- <td style="text-align:center"><nobr>{{ row.f_project_address }}</nobr></td>
120
- <td style="text-align:center"><nobr>{{ row.f_apply_source }}</nobr></td>
121
- <td style="text-align:center"><nobr>{{ row.f_process_state }}</nobr></td>
122
- <td style="text-align:center"><nobr>{{ row.f_apply_type }}</nobr></td>
123
- <td style="text-align:center"><nobr>{{ row.f_land_acquisition_methods }}</nobr></td>
124
- <td style="text-align:center"><nobr>{{ row.f_construction_content }}</nobr></td>
125
- </tr>
126
- </template>
127
- </data-grid>
128
- </criteria-paged>
129
- </template>
130
-
131
- <script>
132
- import {PagedList} from 'vue-client'
133
-
134
- export default {
135
- title: '政府报建',
136
- data () {
137
- return {
138
- model: new PagedList('rs/sql/getApplyPushList', 30, null),
139
- row: null,
140
- applyType: [{label: '全部', value: ''}, {label: '散户', value: '散户'}, {label: '小区', value: '小区'},{label: '商业', value: '商业'},{label: '工业', value: '工业'}],
141
- applySource: [{label: '全部', value: ''}, {label: '燃气公司', value: '燃气公司'}, {label: '工建', value: '工建'}],
142
- handingLinks: [{label: '全部', value: ''}, {label: '报装申请', value: '报装申请'}, {label: '报建受理', value: '报建受理'}, {label: '现场勘察', value: '现场勘察'}, {label: '收费标准', value: '收费标准'}, {label: '报装缴费', value: '报装缴费'}, {label: '合同签订', value: '合同签订'}, {label: '设计出图', value: '设计出图'}, {label: '工程派工', value: '工程派工'}, {label: '工程队派工', value: '工程队派工'}, {label: '监理单位派工', value: '监理单位派工'}, {label: '工程施工', value: '工程施工'}, {label: '点火通气', value: '点火通气'}, {label: '完工', value: '完工'}],
143
- processState: [{label: '全部', value: ''}, {label: '受理', value: '受理'}, {label: '施工', value: '施工'}, {label: '完工', value: '完工'}],
144
- criteriaShow: false,
145
- isdeal: true
146
- }
147
- },
148
- props: {
149
- id: {
150
- type: String
151
- }
152
- },
153
- ready () {
154
- this.search()
155
- },
156
- load () {
157
- },
158
- watch: {
159
- },
160
- methods: {
161
- search (args) {
162
- // this.$refs.cp.$refs.cri.search()
163
- this.$dispatch('search')
164
- },
165
- searchCondition (args) {
166
- args.condition += this.orgcondition ? this.orgcondition : ''
167
- args.tablename = 't_third_apply'
168
- console.log('看看是啥', args)
169
- this.model.search(args.condition, args.model)
170
- // this.$dispatch('search')
171
- },
172
- idsearch () {
173
- this.$emit('add', '111')
174
- },
175
- clearmsg () {
176
- this.$refs.paged.$refs.criteria.model = {}
177
- },
178
- applyDetails (self) {
179
- console.log('查看报装详情 --- ' + self)
180
- }
181
- },
182
- computed: {
183
- }
184
- }
185
- </script>
186
- <style scoped>
187
- .form-input-group label {
188
- text-align: right;
189
- width: auto;
190
- }
191
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:paged>
3
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.searchCondition'>
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="col-sm-2">
6
+ <label class="font_normal_body">客户名称</label>
7
+ <input type="text" class="input_search" style="width:60%"
8
+ v-model="model.f_user_name"
9
+ placeholder='客户名称'
10
+ :size="model.f_user_name ? model.f_user_name.length : 6"
11
+ condition="f_user_name like '%{}%'">
12
+ </div>
13
+ <div class="col-sm-2">
14
+ <label class="font_normal_body">工程编号</label>
15
+ <input type="text" class="input_search" style="width:60%"
16
+ v-model="model.f_project_code"
17
+ placeholder='工程编号'
18
+ :size="model.f_project_code ? model.f_project_code.length : 10"
19
+ condition="f_project_code like '%{}%'">
20
+ </div>
21
+ <div class="col-sm-2">
22
+ <label class="font_normal_body">联系电话</label>
23
+ <input type="text" class="input_search" style="width:60%"
24
+ v-model="model.f_phone"
25
+ placeholder='联系电话'
26
+ :size="model.f_phone ? model.f_phone.length : 11"
27
+ condition="f_phone like '%{}%'">
28
+ </div>
29
+ <div class="col-sm-2">
30
+ <label class="font_normal_body">用户地址</label>
31
+ <input type="text" class="input_search" style="width:60%"
32
+ v-model="model.f_project_address"
33
+ placeholder='用户地址'
34
+ :size="model.f_project_address ? model.f_project_address.length : 11"
35
+ condition="f_project_address like '%{}%'">
36
+ </div>
37
+ <div class="col-sm-2">
38
+ <label class="font_normal_body">报建类型</label>
39
+ <v-select :value.sync="model.f_apply_type" v-model="model.f_apply_type"
40
+ placeholder='报建类型'
41
+ value-single="true"
42
+ :options='$parent.$parent.applyType'
43
+ close-on-select
44
+ condition="f_apply_type = '{}'"
45
+ ></v-select>
46
+ </div>
47
+ <div class="col-sm-2">
48
+ <label class="font_normal_body">报建来源</label>
49
+ <v-select :value.sync="model.f_apply_source" v-model="model.f_apply_source"
50
+ placeholder='报建来源'
51
+ value-single="true"
52
+ :options='$parent.$parent.applySource'
53
+ close-on-select
54
+ condition="f_apply_source = '{}'"
55
+ ></v-select>
56
+ </div>
57
+ <div class="col-sm-2">
58
+ <label class="font_normal_body">状态</label>
59
+ <v-select :value.sync="model.f_process_state" v-model="model.f_process_state"
60
+ placeholder='状态'
61
+ value-single="true"
62
+ :options='$parent.$parent.processState'
63
+ close-on-select
64
+ condition="f_process_state = '{}'"
65
+ ></v-select>
66
+ </div>
67
+ <div class="form-group col-sm-2">
68
+ <label for="startDate" class="font_normal_body">开始时间</label>
69
+ <datepicker id="startDate" placeholder="开始日期"
70
+ style="width: 60%!important;"
71
+ v-model="model.startDate"
72
+ :value.sync="model.startDate"
73
+ :format="'yyyy-MM-dd 00:00:00'"
74
+ :show-reset-button="true"
75
+ condition="f_orderdate >= '{}'">
76
+ </datepicker>
77
+ </div>
78
+ <div class="form-group col-sm-2">
79
+ <label for="endDate" class="font_normal_body">结束时间</label>
80
+ <datepicker id="endDate" placeholder="结束日期"
81
+ style="width: 60%!important;"
82
+ v-model="model.endDate"
83
+ :value.sync="model.endDate"
84
+ :format="'yyyy-MM-dd 23:59:59'"
85
+ :show-reset-button="true"
86
+ condition="f_orderdate <= '{}'">
87
+ </datepicker>
88
+ </div>
89
+ <div class="col-sm-2 form-group" style="float:right">
90
+ <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
91
+ <button class="button_search button_spacing" @click="$parent.$parent.clearmsg">清空</button>
92
+ <button class="button_search button_spacing" @click="$parent.$parent.idsearch()" v-el:cba>新增</button>
93
+ </div>
94
+ </div>
95
+ </criteria>
96
+ <data-grid :model="model"
97
+ partial='list'
98
+ style="overflow: auto"
99
+ class="list_area table_sy"
100
+ v-ref:grid >
101
+ <template partial='head'>
102
+ <tr>
103
+ <th style="text-align:center"><nobr>工程编号</nobr></th>
104
+ <th style="text-align:center"><nobr>客户名称</nobr></th>
105
+ <th style="text-align:center"><nobr>电话</nobr></th>
106
+ <th style="text-align:center"><nobr>地址</nobr></th>
107
+ <th style="text-align:center"><nobr>来源</nobr></th>
108
+ <th style="text-align:center"><nobr>状态</nobr></th>
109
+ <th style="text-align:center"><nobr>报建类型</nobr></th>
110
+ <th style="text-align:center"><nobr>土地获取方式</nobr></th>
111
+ <th style="text-align:center"><nobr>建设规模及内容</nobr></th>
112
+ </tr>
113
+ </template>
114
+ <template partial='body' style="height: 80vh">
115
+ <tr>
116
+ <td style="text-align:center"><nobr>{{ row.f_project_code }}</nobr></td>
117
+ <td style="text-align:center"><nobr>{{ row.f_user_name }}</nobr></td>
118
+ <td style="text-align:center"><nobr>{{ row.f_phone }}</nobr></td>
119
+ <td style="text-align:center"><nobr>{{ row.f_project_address }}</nobr></td>
120
+ <td style="text-align:center"><nobr>{{ row.f_apply_source }}</nobr></td>
121
+ <td style="text-align:center"><nobr>{{ row.f_process_state }}</nobr></td>
122
+ <td style="text-align:center"><nobr>{{ row.f_apply_type }}</nobr></td>
123
+ <td style="text-align:center"><nobr>{{ row.f_land_acquisition_methods }}</nobr></td>
124
+ <td style="text-align:center"><nobr>{{ row.f_construction_content }}</nobr></td>
125
+ </tr>
126
+ </template>
127
+ </data-grid>
128
+ </criteria-paged>
129
+ </template>
130
+
131
+ <script>
132
+ import {PagedList} from 'vue-client'
133
+
134
+ export default {
135
+ title: '政府报建',
136
+ data () {
137
+ return {
138
+ model: new PagedList('rs/sql/getApplyPushList', 30, null),
139
+ row: null,
140
+ applyType: [{label: '全部', value: ''}, {label: '散户', value: '散户'}, {label: '小区', value: '小区'},{label: '商业', value: '商业'},{label: '工业', value: '工业'}],
141
+ applySource: [{label: '全部', value: ''}, {label: '燃气公司', value: '燃气公司'}, {label: '工建', value: '工建'}],
142
+ handingLinks: [{label: '全部', value: ''}, {label: '报装申请', value: '报装申请'}, {label: '报建受理', value: '报建受理'}, {label: '现场勘察', value: '现场勘察'}, {label: '收费标准', value: '收费标准'}, {label: '报装缴费', value: '报装缴费'}, {label: '合同签订', value: '合同签订'}, {label: '设计出图', value: '设计出图'}, {label: '工程派工', value: '工程派工'}, {label: '工程队派工', value: '工程队派工'}, {label: '监理单位派工', value: '监理单位派工'}, {label: '工程施工', value: '工程施工'}, {label: '点火通气', value: '点火通气'}, {label: '完工', value: '完工'}],
143
+ processState: [{label: '全部', value: ''}, {label: '受理', value: '受理'}, {label: '施工', value: '施工'}, {label: '完工', value: '完工'}],
144
+ criteriaShow: false,
145
+ isdeal: true
146
+ }
147
+ },
148
+ props: {
149
+ id: {
150
+ type: String
151
+ }
152
+ },
153
+ ready () {
154
+ this.search()
155
+ },
156
+ load () {
157
+ },
158
+ watch: {
159
+ },
160
+ methods: {
161
+ search (args) {
162
+ // this.$refs.cp.$refs.cri.search()
163
+ this.$dispatch('search')
164
+ },
165
+ searchCondition (args) {
166
+ args.condition += this.orgcondition ? this.orgcondition : ''
167
+ args.tablename = 't_third_apply'
168
+ console.log('看看是啥', args)
169
+ this.model.search(args.condition, args.model)
170
+ // this.$dispatch('search')
171
+ },
172
+ idsearch () {
173
+ this.$emit('add', '111')
174
+ },
175
+ clearmsg () {
176
+ this.$refs.paged.$refs.criteria.model = {}
177
+ },
178
+ applyDetails (self) {
179
+ console.log('查看报装详情 --- ' + self)
180
+ }
181
+ },
182
+ computed: {
183
+ }
184
+ }
185
+ </script>
186
+ <style scoped>
187
+ .form-input-group label {
188
+ text-align: right;
189
+ width: auto;
190
+ }
191
+ </style>