apply-clients 4.1.66 → 4.1.70

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,208 +1,208 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-4">
8
- <label class="font_normal_body">项目名称:</label>
9
- <input type="text" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="search" condition=" f_entry_name = '{}' " placeholder='请输入'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">报建编号:</label>
14
- <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
- v-on:keyup.enter="search"
16
- condition="f_apply_num = '{}'">
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body">合同编号:</label>
20
- <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
21
- v-on:keyup.enter="search"
22
- condition="f_contract_number = '{}'">
23
- </div>
24
- <div class="form-group col-sm-2 button-range">
25
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
- <div
28
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
29
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
30
- class="button_spacing"
31
- style="float: right">
32
- </div>
33
- </div>
34
- </div>
35
- <div class="row" v-show="$parent.$parent.criteriaShow">
36
- <div class="form-group col-sm-3">
37
- <label class="font_normal_body">报建类型:</label>
38
- <v-select
39
- v-model="model.f_apply_type"
40
- placeholder='报建类型'
41
- condition="f_apply_type like '%{}%'"
42
- :value.sync="model.f_apply_type"
43
- :options='$parent.$parent.applytype'
44
- class="select select_list"
45
- :value-single="true"
46
- @change="$parent.$parent.applyTypeChange()"
47
- close-on-select ></v-select>
48
- </div>
49
- <div class="form-group col-sm-3">
50
- <label class="font_normal_body">办理环节:</label>
51
- <v-select
52
- v-model="model.defname"
53
- placeholder='办理环节'
54
- condition="defname = '{}'"
55
- :value.sync="model.defname"
56
- :options='$parent.$parent.defnames'
57
- class="select select_list"
58
- :value-single="true"
59
- close-on-select ></v-select>
60
- </div>
61
- <!-- <div class="form-group col-sm-3">-->
62
- <!-- <label class="font_normal_body">联系电话:</label>-->
63
- <!-- <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"-->
64
- <!-- v-on:keyup.enter="search"-->
65
- <!-- condition="f_phone like '%{}%'">-->
66
- <!-- </div>-->
67
- <!-- <div class="form-group col-sm-3">-->
68
- <!-- <label class="font_normal_body">用户地址:</label>-->
69
- <!-- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"-->
70
- <!-- v-on:keyup.enter="search"-->
71
- <!-- condition="f_address like '%{}%'">-->
72
- <!-- </div>-->
73
- <div class="form-group col-sm-3">
74
- <label for="startDate" class="font_normal_body">开始时间:</label>
75
- <datepicker id="startDate" placeholder="开始日期"
76
- style="width: 60%!important;"
77
- v-model="model.startDate"
78
- :value.sync="model.startDate"
79
- :format="'yyyy-MM-dd HH:mm:ss'"
80
- :show-reset-button="true"
81
- condition="f_apply_date >= '{}'">
82
- </datepicker>
83
- </div>
84
- <div class="form-group col-sm-3">
85
- <label for="endDate" class="font_normal_body">结束时间:</label>
86
- <datepicker id="endDate" placeholder="结束日期"
87
- style="width: 60%!important;"
88
- v-model="model.endDate"
89
- :value.sync="model.endDate"
90
- :format="'yyyy-MM-dd HH:mm:ss'"
91
- :show-reset-button="true"
92
- condition="f_apply_date <= '{}'">
93
- </datepicker>
94
- </div>
95
- </div>
96
- </div>
97
- </criteria>
98
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
- <template partial='head'>
100
- <tr>
101
- <th style="white-space: nowrap;">序号</th>
102
- <th style="white-space: nowrap;">报建编号</th>
103
- <th style="white-space: nowrap;">项目名称</th>
104
- <th style="white-space: nowrap;">合同编号</th>
105
- <!-- <th style="white-space: nowrap;">电话</th>-->
106
- <!-- <th style="white-space: nowrap;">地址</th>-->
107
- <th style="white-space: nowrap;">报建类型</th>
108
- <th style="white-space: nowrap;">办理环节</th>
109
- <th style="white-space: nowrap;">流程状态</th>
110
- <th style="white-space: nowrap;">报建日期</th>
111
- </tr>
112
- </template>
113
- <template partial='body'>
114
- <tr>
115
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
116
- <nobr>{{$index+1}}</nobr>
117
- </td>
118
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
119
- <nobr>{{row.f_apply_num}}</nobr>
120
- </td>
121
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
122
- <nobr>{{row.f_entry_name}}</nobr>
123
- </td>
124
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
125
- <nobr>{{row.f_contract_number}}</nobr>
126
- </td>
127
- <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
128
- <!-- <nobr>{{row.f_phone}}</nobr>-->
129
- <!-- </td>-->
130
- <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
131
- <!-- <nobr>{{row.f_address}}</nobr>-->
132
- <!-- </td>-->
133
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
134
- <nobr>{{row.f_apply_type}}</nobr>
135
- </td>
136
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
137
- <nobr>{{row.defname}}</nobr>
138
- </td>
139
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
140
- <nobr>{{row.f_sub_state}}</nobr>
141
- </td>
142
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
143
- <nobr>{{row.f_apply_date}}</nobr>
144
- </td>
145
- </tr>
146
- </template>
147
- </data-grid>
148
- </criteria-paged>
149
- </div>
150
- </template>
151
- <script>
152
- import {PagedList} from 'vue-client'
153
- import {HttpResetClass} from 'vue-client'
154
- import {isEmpty} from '../../Util'
155
- export default {
156
- title: '勘探详情',
157
- props: ['showData'],
158
- data () {
159
- return {
160
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
161
- model: new PagedList('rs/sql/supervisory', 20, {
162
- data: {
163
- id: `${this.$login.f.name}`,
164
- orgid: this.$login.f.orgid
165
- }
166
- }),
167
- defnames: [{label: '全部', value: ''}], // 流程节点
168
- criteriaShow: false
169
- }
170
- },
171
- ready () {
172
- // 调用查询
173
- this.search()
174
- },
175
- events: {
176
- },
177
- methods: {
178
- // 查询
179
- search () {
180
- this.$dispatch('search')
181
- },
182
- clear () {
183
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
184
- this.$refs.cp.$refs.cri.model[key] = []
185
- })
186
- },
187
- applyTypeChange () {
188
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
189
- let http = new HttpResetClass()
190
- http.load('POST', 'rs/logic/getDefnameByType', {
191
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
192
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
193
- this.defnames = [{label: '全部', value: ''}, ...res.data]
194
- })
195
- } else {
196
- this.defnames = [{label: '全部', value: ''}]
197
- }
198
- },
199
- check (val) {
200
- this.$dispatch('apply', val)
201
- }
202
- },
203
- computed: {
204
- }
205
- }
206
- </script>
207
- <style scoped>
208
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-4">
8
+ <label class="font_normal_body">项目名称:</label>
9
+ <input type="text" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="search" condition=" f_entry_name = '{}' " placeholder='请输入'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">报建编号:</label>
14
+ <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
+ v-on:keyup.enter="search"
16
+ condition="f_apply_num = '{}'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">合同编号:</label>
20
+ <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
21
+ v-on:keyup.enter="search"
22
+ condition="f_contract_number = '{}'">
23
+ </div>
24
+ <div class="form-group col-sm-2 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
+ <div
28
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
29
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
30
+ class="button_spacing"
31
+ style="float: right">
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div class="row" v-show="$parent.$parent.criteriaShow">
36
+ <div class="form-group col-sm-3">
37
+ <label class="font_normal_body">报建类型:</label>
38
+ <v-select
39
+ v-model="model.f_apply_type"
40
+ placeholder='报建类型'
41
+ condition="f_apply_type like '%{}%'"
42
+ :value.sync="model.f_apply_type"
43
+ :options='$parent.$parent.applytype'
44
+ class="select select_list"
45
+ :value-single="true"
46
+ @change="$parent.$parent.applyTypeChange()"
47
+ close-on-select ></v-select>
48
+ </div>
49
+ <div class="form-group col-sm-3">
50
+ <label class="font_normal_body">办理环节:</label>
51
+ <v-select
52
+ v-model="model.defname"
53
+ placeholder='办理环节'
54
+ condition="defname = '{}'"
55
+ :value.sync="model.defname"
56
+ :options='$parent.$parent.defnames'
57
+ class="select select_list"
58
+ :value-single="true"
59
+ close-on-select ></v-select>
60
+ </div>
61
+ <!-- <div class="form-group col-sm-3">-->
62
+ <!-- <label class="font_normal_body">联系电话:</label>-->
63
+ <!-- <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"-->
64
+ <!-- v-on:keyup.enter="search"-->
65
+ <!-- condition="f_phone like '%{}%'">-->
66
+ <!-- </div>-->
67
+ <!-- <div class="form-group col-sm-3">-->
68
+ <!-- <label class="font_normal_body">用户地址:</label>-->
69
+ <!-- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"-->
70
+ <!-- v-on:keyup.enter="search"-->
71
+ <!-- condition="f_address like '%{}%'">-->
72
+ <!-- </div>-->
73
+ <div class="form-group col-sm-3">
74
+ <label for="startDate" class="font_normal_body">开始时间:</label>
75
+ <datepicker id="startDate" placeholder="开始日期"
76
+ style="width: 60%!important;"
77
+ v-model="model.startDate"
78
+ :value.sync="model.startDate"
79
+ :format="'yyyy-MM-dd HH:mm:ss'"
80
+ :show-reset-button="true"
81
+ condition="f_apply_date >= '{}'">
82
+ </datepicker>
83
+ </div>
84
+ <div class="form-group col-sm-3">
85
+ <label for="endDate" class="font_normal_body">结束时间:</label>
86
+ <datepicker id="endDate" placeholder="结束日期"
87
+ style="width: 60%!important;"
88
+ v-model="model.endDate"
89
+ :value.sync="model.endDate"
90
+ :format="'yyyy-MM-dd HH:mm:ss'"
91
+ :show-reset-button="true"
92
+ condition="f_apply_date <= '{}'">
93
+ </datepicker>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </criteria>
98
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
+ <template partial='head'>
100
+ <tr>
101
+ <th style="white-space: nowrap;">序号</th>
102
+ <th style="white-space: nowrap;">报建编号</th>
103
+ <th style="white-space: nowrap;">项目名称</th>
104
+ <th style="white-space: nowrap;">合同编号</th>
105
+ <!-- <th style="white-space: nowrap;">电话</th>-->
106
+ <!-- <th style="white-space: nowrap;">地址</th>-->
107
+ <th style="white-space: nowrap;">报建类型</th>
108
+ <th style="white-space: nowrap;">办理环节</th>
109
+ <th style="white-space: nowrap;">流程状态</th>
110
+ <th style="white-space: nowrap;">报建日期</th>
111
+ </tr>
112
+ </template>
113
+ <template partial='body'>
114
+ <tr>
115
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
116
+ <nobr>{{$index+1}}</nobr>
117
+ </td>
118
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
119
+ <nobr>{{row.f_apply_num}}</nobr>
120
+ </td>
121
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
122
+ <nobr>{{row.f_entry_name}}</nobr>
123
+ </td>
124
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
125
+ <nobr>{{row.f_contract_number}}</nobr>
126
+ </td>
127
+ <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
128
+ <!-- <nobr>{{row.f_phone}}</nobr>-->
129
+ <!-- </td>-->
130
+ <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
131
+ <!-- <nobr>{{row.f_address}}</nobr>-->
132
+ <!-- </td>-->
133
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
134
+ <nobr>{{row.f_apply_type}}</nobr>
135
+ </td>
136
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
137
+ <nobr>{{row.defname}}</nobr>
138
+ </td>
139
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
140
+ <nobr>{{row.f_sub_state}}</nobr>
141
+ </td>
142
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
143
+ <nobr>{{row.f_apply_date}}</nobr>
144
+ </td>
145
+ </tr>
146
+ </template>
147
+ </data-grid>
148
+ </criteria-paged>
149
+ </div>
150
+ </template>
151
+ <script>
152
+ import {PagedList} from 'vue-client'
153
+ import {HttpResetClass} from 'vue-client'
154
+ import {isEmpty} from '../../Util'
155
+ export default {
156
+ title: '勘探详情',
157
+ props: ['showData'],
158
+ data () {
159
+ return {
160
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
161
+ model: new PagedList('rs/sql/supervisory', 20, {
162
+ data: {
163
+ id: `${this.$login.f.name}`,
164
+ orgid: this.$login.f.orgid
165
+ }
166
+ }),
167
+ defnames: [{label: '全部', value: ''}], // 流程节点
168
+ criteriaShow: false
169
+ }
170
+ },
171
+ ready () {
172
+ // 调用查询
173
+ this.search()
174
+ },
175
+ events: {
176
+ },
177
+ methods: {
178
+ // 查询
179
+ search () {
180
+ this.$dispatch('search')
181
+ },
182
+ clear () {
183
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
184
+ this.$refs.cp.$refs.cri.model[key] = []
185
+ })
186
+ },
187
+ applyTypeChange () {
188
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
189
+ let http = new HttpResetClass()
190
+ http.load('POST', 'rs/logic/getDefnameByType', {
191
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
192
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
193
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
194
+ })
195
+ } else {
196
+ this.defnames = [{label: '全部', value: ''}]
197
+ }
198
+ },
199
+ check (val) {
200
+ this.$dispatch('apply', val)
201
+ }
202
+ },
203
+ computed: {
204
+ }
205
+ }
206
+ </script>
207
+ <style scoped>
208
+ </style>
@@ -1,40 +1,40 @@
1
- <template>
2
-
3
- </template>
4
-
5
- <script>
6
- import {HttpResetClass} from 'vue-client'
7
- export default {
8
- title: '报表测试',
9
- props: {
10
- data: {
11
- type: Object
12
- }
13
- },
14
- data () {
15
- return {
16
- model: null
17
- }
18
- },
19
- created () {
20
- let http = new HttpResetClass()
21
- let data = {
22
- id: this.data.id
23
- }
24
- http.load('POST', 'rs/report/test', {data}, {resolveMsg: null, rejectMsg: null})
25
- .then(res => {
26
- this.model = res.data
27
- })
28
- }
29
- }
30
- </script>
31
-
32
- <style scoped>
33
- .my-swipe .van-swipe-item {
34
- color: #fff;
35
- font-size: 20px;
36
- line-height: 150px;
37
- text-align: center;
38
- background-color: #39a9ed;
39
- }
40
- </style>
1
+ <template>
2
+
3
+ </template>
4
+
5
+ <script>
6
+ import {HttpResetClass} from 'vue-client'
7
+ export default {
8
+ title: '报表测试',
9
+ props: {
10
+ data: {
11
+ type: Object
12
+ }
13
+ },
14
+ data () {
15
+ return {
16
+ model: null
17
+ }
18
+ },
19
+ created () {
20
+ let http = new HttpResetClass()
21
+ let data = {
22
+ id: this.data.id
23
+ }
24
+ http.load('POST', 'rs/report/test', {data}, {resolveMsg: null, rejectMsg: null})
25
+ .then(res => {
26
+ this.model = res.data
27
+ })
28
+ }
29
+ }
30
+ </script>
31
+
32
+ <style scoped>
33
+ .my-swipe .van-swipe-item {
34
+ color: #fff;
35
+ font-size: 20px;
36
+ line-height: 150px;
37
+ text-align: center;
38
+ background-color: #39a9ed;
39
+ }
40
+ </style>
@@ -35,7 +35,7 @@
35
35
  <div class="right col-sm-7">
36
36
  <p :title="row.f_filename" class="clears"><strong>文件名:</strong>{{row.f_filename}}</p>
37
37
  <p :title="row.f_username" class="clears"><strong>操作员:</strong><span>{{row.f_username}}</span></p>
38
- <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{row.fusetype}}</span></p>
38
+ <p :title="row.fusetype" class="clears"><strong>文件类型:</strong><span>{{row.fusetype}}</span></p>
39
39
  <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{row.f_uploaddate}}</span></p>
40
40
  <p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{row.fremarks}}</p>
41
41
  <p class="clears">
@@ -66,7 +66,7 @@
66
66
  class="select select_list"
67
67
  :value.sync="headers.fusetype"
68
68
  v-model="headers.fusetype"
69
- :options="$appdata.getParam('使用类型')"
69
+ :options="$appdata.getParam('文件类型')"
70
70
  :valueSingle="true"></input-select>
71
71
  </div>
72
72
  </div>
@@ -151,7 +151,7 @@ export default {
151
151
  })
152
152
 
153
153
  for (var i = 0; i < getFile.data.length; i++) {
154
- // 如果使用类型包含导入字样,则是execl文件导入的,不做显示
154
+ // 如果文件类型包含导入字样,则是execl文件导入的,不做显示
155
155
  if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
156
156
  getFile.data.splice(i,1)
157
157
  i--
@@ -208,7 +208,7 @@ export default {
208
208
  },
209
209
  computed: {
210
210
  typeOfUse () {
211
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
211
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('文件类型')]
212
212
  }
213
213
  },
214
214
  events: {
package/dist.rar DELETED
Binary file