apply-clients 4.1.54-weinan → 4.1.55-weinan
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.
package/package.json
CHANGED
|
@@ -1,251 +1,204 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="p-10">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div partial class="auto">
|
|
6
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
7
|
-
<label class="">报建编号:</label>
|
|
8
|
-
<div class="col-xs-8" >
|
|
9
|
-
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
13
|
-
<label class=""
|
|
14
|
-
<div class="col-xs-8" >
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<div class="col-xs-
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
.font{
|
|
207
|
-
font: 15px PingFang-SC-Medium;
|
|
208
|
-
color: #666666;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.button_shrink_top {
|
|
212
|
-
width: 34px;
|
|
213
|
-
height: 34px;
|
|
214
|
-
border: solid 1px #6aa6e2;
|
|
215
|
-
background-size: 100%;
|
|
216
|
-
background-image: url("../../../static/newStyle/stretch_top.png")
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.button_shrink_bottom {
|
|
220
|
-
width: 34px;
|
|
221
|
-
height: 34px;
|
|
222
|
-
border: solid 1px #6aa6e2;
|
|
223
|
-
background-size: 100%;
|
|
224
|
-
background-image: url("../../../static/newStyle/stretch_bottom.png")
|
|
225
|
-
}
|
|
226
|
-
</style>
|
|
227
|
-
<style lang="less">
|
|
228
|
-
.app-input {
|
|
229
|
-
label {
|
|
230
|
-
float: left;
|
|
231
|
-
}
|
|
232
|
-
.select {
|
|
233
|
-
button {
|
|
234
|
-
border: none;
|
|
235
|
-
outline: none;
|
|
236
|
-
text-align: left;
|
|
237
|
-
.btn-placeholder {
|
|
238
|
-
color: #ACA899
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
.datepicker {
|
|
243
|
-
.form-control:focus {
|
|
244
|
-
border: none!important;
|
|
245
|
-
outline: none!important;
|
|
246
|
-
-webkit-box-shadow: none;
|
|
247
|
-
box-shadow: none;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="p-10">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div partial class="auto">
|
|
6
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
7
|
+
<label class="">报建编号:</label>
|
|
8
|
+
<div class="col-xs-8" >
|
|
9
|
+
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
13
|
+
<label class="">开始时间:</label>
|
|
14
|
+
<div class="col-xs-8" >
|
|
15
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
16
|
+
style="width: 100%!important;"
|
|
17
|
+
v-model="model.startDate"
|
|
18
|
+
:value.sync="model.startDate"
|
|
19
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
20
|
+
:show-reset-button="true"
|
|
21
|
+
condition="act.finishtime >= '{}'">
|
|
22
|
+
</datepicker>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
26
|
+
<label class="">结束时间:</label>
|
|
27
|
+
<div class="col-xs-8" >
|
|
28
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
29
|
+
style="width: 100%!important;"
|
|
30
|
+
v-model="model.endDate"
|
|
31
|
+
:value.sync="model.endDate"
|
|
32
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
33
|
+
:show-reset-button="true"
|
|
34
|
+
condition="act.finishtime <= '{}'">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row form-group text-right" style="">
|
|
39
|
+
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
40
|
+
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
41
|
+
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</criteria>
|
|
45
|
+
<list :model="model" partial='list'>
|
|
46
|
+
<div partial class="auto app-text panel">
|
|
47
|
+
<div class="panel-body panel-self">
|
|
48
|
+
<div class="col-xs-12">
|
|
49
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
50
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="col-xs-12">
|
|
53
|
+
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
54
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-xs-12">
|
|
57
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
58
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-xs-12">
|
|
61
|
+
<p class="col-xs-3 text-left font"><b>用户类型:</b></p>
|
|
62
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_user_type }}</p>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-xs-12">
|
|
65
|
+
<p class="col-xs-3 text-left font"><b>入户安装提交时间:</b></p>
|
|
66
|
+
<p class="col-xs-9 text-left input-font">{{ row.finishtime }}</p>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-xs-12 text-right">
|
|
69
|
+
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看</button>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</list>
|
|
74
|
+
</criteria-paged>
|
|
75
|
+
</div>
|
|
76
|
+
</template>
|
|
77
|
+
<script>
|
|
78
|
+
import Vue from 'vue'
|
|
79
|
+
import { PagedList, HttpResetClass } from 'vue-client'
|
|
80
|
+
import {isEmpty} from '../Util'
|
|
81
|
+
export default {
|
|
82
|
+
title: '报建流程',
|
|
83
|
+
data () {
|
|
84
|
+
return {
|
|
85
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`, 20, {
|
|
86
|
+
// model: new PagedList('rs/sql/supervisory', 20, {
|
|
87
|
+
data: {
|
|
88
|
+
id: Vue.user.id,
|
|
89
|
+
orgid: Vue.user.orgid
|
|
90
|
+
// id: '35814',
|
|
91
|
+
// orgid: '10101'
|
|
92
|
+
}
|
|
93
|
+
}),
|
|
94
|
+
criteriaShow: false,
|
|
95
|
+
// applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
96
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
|
|
97
|
+
defnames: [{label: '全部', value: ''}],
|
|
98
|
+
applyNatures: [{label: '全部', value: ''}] // 报建性质
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
ready () {
|
|
102
|
+
this.search()
|
|
103
|
+
},
|
|
104
|
+
methods: {
|
|
105
|
+
dialNumber (phone) {
|
|
106
|
+
this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
|
|
107
|
+
if (res === 'confirm') {
|
|
108
|
+
this.$androidUtil.makeAPhoneCall(phone)
|
|
109
|
+
}
|
|
110
|
+
})
|
|
111
|
+
},
|
|
112
|
+
clear () {
|
|
113
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
114
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
115
|
+
})
|
|
116
|
+
},
|
|
117
|
+
// 查询
|
|
118
|
+
search () {
|
|
119
|
+
this.$refs.cp.$refs.cri.search()
|
|
120
|
+
},
|
|
121
|
+
click (row) {
|
|
122
|
+
let _this = this
|
|
123
|
+
this.$dispatch('gotoson', {
|
|
124
|
+
_this: _this,
|
|
125
|
+
title: '详情信息',
|
|
126
|
+
safe: true
|
|
127
|
+
})
|
|
128
|
+
this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
|
|
129
|
+
},
|
|
130
|
+
applyTypeChange () {
|
|
131
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
132
|
+
let http = new HttpResetClass()
|
|
133
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
|
|
134
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
135
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
136
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
137
|
+
|
|
138
|
+
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
139
|
+
})
|
|
140
|
+
} else {
|
|
141
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
142
|
+
|
|
143
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
events: {
|
|
148
|
+
},
|
|
149
|
+
watch: {
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</script>
|
|
153
|
+
<style scoped>
|
|
154
|
+
.panel-self{
|
|
155
|
+
border-radius: 10px;
|
|
156
|
+
border:1px solid #499EDF;
|
|
157
|
+
background-color: #F8F8F8;
|
|
158
|
+
}
|
|
159
|
+
.font{
|
|
160
|
+
font: 15px PingFang-SC-Medium;
|
|
161
|
+
color: #666666;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.button_shrink_top {
|
|
165
|
+
width: 34px;
|
|
166
|
+
height: 34px;
|
|
167
|
+
border: solid 1px #6aa6e2;
|
|
168
|
+
background-size: 100%;
|
|
169
|
+
background-image: url("../../../static/newStyle/stretch_top.png")
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.button_shrink_bottom {
|
|
173
|
+
width: 34px;
|
|
174
|
+
height: 34px;
|
|
175
|
+
border: solid 1px #6aa6e2;
|
|
176
|
+
background-size: 100%;
|
|
177
|
+
background-image: url("../../../static/newStyle/stretch_bottom.png")
|
|
178
|
+
}
|
|
179
|
+
</style>
|
|
180
|
+
<style lang="less">
|
|
181
|
+
.app-input {
|
|
182
|
+
label {
|
|
183
|
+
float: left;
|
|
184
|
+
}
|
|
185
|
+
.select {
|
|
186
|
+
button {
|
|
187
|
+
border: none;
|
|
188
|
+
outline: none;
|
|
189
|
+
text-align: left;
|
|
190
|
+
.btn-placeholder {
|
|
191
|
+
color: #ACA899
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.datepicker {
|
|
196
|
+
.form-control:focus {
|
|
197
|
+
border: none!important;
|
|
198
|
+
outline: none!important;
|
|
199
|
+
-webkit-box-shadow: none;
|
|
200
|
+
box-shadow: none;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
</style>
|
|
@@ -1,119 +1,83 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="padding: 10px">
|
|
3
|
-
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
-
<div class="panel-body panel-self">
|
|
5
|
-
<div class="col-xs-12">
|
|
6
|
-
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
7
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_num }}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="col-xs-12">
|
|
10
|
-
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
11
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-xs-12">
|
|
14
|
-
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
15
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-xs-12">
|
|
18
|
-
<p class="col-xs-3 text-left font"><b
|
|
19
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-12">
|
|
22
|
-
<p class="col-xs-3 text-left font"><b
|
|
23
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.
|
|
24
|
-
</div>
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
watch: {
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</script>
|
|
90
|
-
|
|
91
|
-
<style scoped>
|
|
92
|
-
.app-text {
|
|
93
|
-
font-size: 12px;
|
|
94
|
-
}
|
|
95
|
-
.panel-self{
|
|
96
|
-
border-radius: 10px;
|
|
97
|
-
border:1px solid #499EDF;
|
|
98
|
-
background-color: #F8F8F8;
|
|
99
|
-
}
|
|
100
|
-
.row{
|
|
101
|
-
padding: 0 40px;
|
|
102
|
-
text-align: center;
|
|
103
|
-
height: auto;
|
|
104
|
-
}
|
|
105
|
-
.item{
|
|
106
|
-
border-radius: 2em;
|
|
107
|
-
border: 1px solid silver;
|
|
108
|
-
line-height: 25px;
|
|
109
|
-
}
|
|
110
|
-
.arrow{
|
|
111
|
-
width: 100%;
|
|
112
|
-
color: #5ac0d9;
|
|
113
|
-
font-weight: bold;
|
|
114
|
-
}
|
|
115
|
-
.selectIndex{
|
|
116
|
-
background-color: #5ac0d9;
|
|
117
|
-
color: #ffffff;
|
|
118
|
-
}
|
|
119
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="padding: 10px">
|
|
3
|
+
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
+
<div class="panel-body panel-self">
|
|
5
|
+
<div class="col-xs-12">
|
|
6
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
7
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_num }}</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-xs-12">
|
|
10
|
+
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
11
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-xs-12">
|
|
14
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
15
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-xs-12">
|
|
18
|
+
<p class="col-xs-3 text-left font"><b>用户类型:</b></p>
|
|
19
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_user_type }}</p>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12">
|
|
22
|
+
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
23
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_date }}</p>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
import {HttpResetClass} from 'vue-client'
|
|
32
|
+
export default {
|
|
33
|
+
title: '流程节点',
|
|
34
|
+
props: ['selectdata'],
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
defnames: [],
|
|
38
|
+
flag:false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
ready () {
|
|
42
|
+
this.initial()
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
async shouju(row){
|
|
46
|
+
console.log("进入方法:",this.selectdata)
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
},
|
|
50
|
+
watch: {
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
</script>
|
|
54
|
+
|
|
55
|
+
<style scoped>
|
|
56
|
+
.app-text {
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
}
|
|
59
|
+
.panel-self{
|
|
60
|
+
border-radius: 10px;
|
|
61
|
+
border:1px solid #499EDF;
|
|
62
|
+
background-color: #F8F8F8;
|
|
63
|
+
}
|
|
64
|
+
.row{
|
|
65
|
+
padding: 0 40px;
|
|
66
|
+
text-align: center;
|
|
67
|
+
height: auto;
|
|
68
|
+
}
|
|
69
|
+
.item{
|
|
70
|
+
border-radius: 2em;
|
|
71
|
+
border: 1px solid silver;
|
|
72
|
+
line-height: 25px;
|
|
73
|
+
}
|
|
74
|
+
.arrow{
|
|
75
|
+
width: 100%;
|
|
76
|
+
color: #5ac0d9;
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
}
|
|
79
|
+
.selectIndex{
|
|
80
|
+
background-color: #5ac0d9;
|
|
81
|
+
color: #ffffff;
|
|
82
|
+
}
|
|
83
|
+
</style>
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
type="number"
|
|
212
212
|
placeholder="使用年限"
|
|
213
213
|
v-model="item.f_service_life"
|
|
214
|
-
@change="outdate(item)"
|
|
214
|
+
@change="outdate(item,i)"
|
|
215
215
|
:value="item.f_service_life"
|
|
216
216
|
:readonly="mark === 1"/>
|
|
217
217
|
</div>
|
|
@@ -780,19 +780,17 @@ export default {
|
|
|
780
780
|
this.query = {}
|
|
781
781
|
this.condition = "1 = 1"
|
|
782
782
|
},
|
|
783
|
-
outdate(item){
|
|
783
|
+
outdate(item,index){
|
|
784
784
|
console.log("数据",item)
|
|
785
|
-
debugger
|
|
786
785
|
if (item.f_make_date){
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
item.f_expire_date = Y+M+D+h+m+s
|
|
786
|
+
let t = new Date(item.f_make_date);//你已知的时间
|
|
787
|
+
let Y = t.getFullYear()+parseInt(item.f_service_life)+ '-'
|
|
788
|
+
let M = (t.getMonth()+1 < 10 ? '0'+(t.getMonth()+1):t.getMonth()+1) + '-'
|
|
789
|
+
let D = (t.getDate()< 10 ? '0'+t.getDate():t.getDate())+ ' '
|
|
790
|
+
let h = (t.getHours() < 10 ? '0'+t.getHours():t.getHours())+ ':'
|
|
791
|
+
let m = (t.getMinutes() < 10 ? '0'+t.getMinutes():t.getMinutes())+ ':'
|
|
792
|
+
let s = t.getSeconds() < 10 ? '0'+t.getSeconds():t.getSeconds()
|
|
793
|
+
this.$set('userinfo.devices['+index+'].f_expire_date',Y+M+D+h+m+s)
|
|
796
794
|
}
|
|
797
795
|
|
|
798
796
|
}
|
|
@@ -276,13 +276,13 @@
|
|
|
276
276
|
},
|
|
277
277
|
// 任意select选中时触发事件
|
|
278
278
|
'select_cascade'(index){
|
|
279
|
-
if (this.data.fields[index].label === '是否具备安装条件'&& this.show_data.fields[index].value === '否') {
|
|
279
|
+
if (this.data.f_apply_type === '居民报建'&&this.data.fields[index].label === '是否具备安装条件'&& this.show_data.fields[index].value === '否') {
|
|
280
280
|
this.show_data.fields[index+9].required = false
|
|
281
281
|
this.show_data.fields[index+10].required = false
|
|
282
282
|
this.show_data.fields[index+11].required = false
|
|
283
283
|
this.show_data.fields[index+12].required = false
|
|
284
284
|
this.show_data.fields[index+13].required = false
|
|
285
|
-
}else if (this.data.fields[index].label === '是否具备安装条件'&& this.show_data.fields[index].value === '是') {
|
|
285
|
+
}else if (this.data.fields[index].label === '居民报建'&&this.data.fields[index].label === '是否具备安装条件'&& this.show_data.fields[index].value === '是') {
|
|
286
286
|
this.show_data.fields[index+9].required = true
|
|
287
287
|
this.show_data.fields[index+10].required = true
|
|
288
288
|
this.show_data.fields[index+11].required = true
|