safecheck-client 3.0.39-67 → 3.0.39-69
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safecheck-client",
|
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
|
4
|
-
"version": "3.0.39-
|
|
4
|
+
"version": "3.0.39-69",
|
|
5
5
|
"description": "安检模块 前端组件",
|
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -127,6 +127,20 @@
|
|
|
127
127
|
v-model=model.f_address condition="f_address like '%{}%'"/>
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
|
+
<div class="row app-row">
|
|
131
|
+
<div class="col-xs-4">
|
|
132
|
+
<img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
133
|
+
<label class="font text-left">安检员:</label>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="col-xs-8">
|
|
136
|
+
<v-select :value.sync="model.check" v-model='model.check'
|
|
137
|
+
:value-single="true"
|
|
138
|
+
class="select_list select"
|
|
139
|
+
:options='$parent.$parent.checkers'
|
|
140
|
+
placeholder='安检员'
|
|
141
|
+
close-on-select width="100%"></v-select>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
130
144
|
<div class="row text-center" style="margin-top: 20px;">
|
|
131
145
|
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
|
|
132
146
|
@click="$parent.$parent.selfSearch">查询
|
|
@@ -177,10 +191,6 @@
|
|
|
177
191
|
style="background-color:#499edf;float: right;margin-right:10px;"
|
|
178
192
|
@click="$parent.$parent.$parent.Handle(row)">处理
|
|
179
193
|
</button>
|
|
180
|
-
<button type="button" name="button" class="btn btn-primary"
|
|
181
|
-
style="background-color:#499edf;float: right;margin-right:10px;"
|
|
182
|
-
@click="$parent.$parent.$parent.reassign(row)">转单
|
|
183
|
-
</button>
|
|
184
194
|
</div>
|
|
185
195
|
</div>
|
|
186
196
|
</div>
|
|
@@ -188,28 +198,6 @@
|
|
|
188
198
|
</div>
|
|
189
199
|
</list>
|
|
190
200
|
</criteria-paged>
|
|
191
|
-
<modal :show.sync="showModal" v-ref:modal :backdrop="false">
|
|
192
|
-
<div slot="modal-header" class="modal-header">
|
|
193
|
-
<h4 class="modal-title">
|
|
194
|
-
选择安检员
|
|
195
|
-
</h4>
|
|
196
|
-
</div>
|
|
197
|
-
<div slot="modal-body" class="modal-body">
|
|
198
|
-
<div class="col-xs-12">
|
|
199
|
-
<div class="col-xs-4">
|
|
200
|
-
<v-select :value.sync="check" v-model='check'
|
|
201
|
-
:value-single="true"
|
|
202
|
-
class="select_list select"
|
|
203
|
-
:options='checkers' placeholder='安检员'
|
|
204
|
-
close-on-select width="100%"></v-select>
|
|
205
|
-
</div>
|
|
206
|
-
</div>
|
|
207
|
-
</div>
|
|
208
|
-
<div slot="modal-footer" class="modal-footer">
|
|
209
|
-
<button class="btn btn-default" @click="iscancel()">取消</button>
|
|
210
|
-
<button class="btn btn-default" @click="manyisok()">确认</button>
|
|
211
|
-
</div>
|
|
212
|
-
</modal>
|
|
213
201
|
</div>
|
|
214
202
|
</template>
|
|
215
203
|
<script>
|
|
@@ -235,12 +223,11 @@ export default {
|
|
|
235
223
|
data() {
|
|
236
224
|
return {
|
|
237
225
|
checkers: [],
|
|
238
|
-
check: '',
|
|
239
226
|
showModal: false,
|
|
240
227
|
f_filialeids: '',
|
|
241
228
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/AndroidGetcheckpaper`, 20, {
|
|
242
229
|
condition: 'this.condition',
|
|
243
|
-
|
|
230
|
+
f_filialeid: `'${Vue.user.orgid}'`,
|
|
244
231
|
f_checker_id: `'${Vue.user.id}'`
|
|
245
232
|
}),
|
|
246
233
|
criteriaShow: false,
|
|
@@ -270,7 +257,13 @@ export default {
|
|
|
270
257
|
condition += " and f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
|
|
271
258
|
}
|
|
272
259
|
}
|
|
273
|
-
|
|
260
|
+
if (this.$refs.paged.$refs.cri.model.check) {
|
|
261
|
+
if (this.$refs.paged.$refs.cri.model.check.toString().trim()) {
|
|
262
|
+
condition += " and f_checker_name like '%" + this.$refs.paged.$refs.cri.model.check + "%'"
|
|
263
|
+
}
|
|
264
|
+
}else{
|
|
265
|
+
condition += " and f_checker_name like '%" + Vue.user.name+ "%'"
|
|
266
|
+
}
|
|
274
267
|
this.model.search(condition)
|
|
275
268
|
},
|
|
276
269
|
hidden() {
|
|
@@ -281,10 +274,14 @@ export default {
|
|
|
281
274
|
if (row.f_userinfo_code) {
|
|
282
275
|
let http = new HttpResetClass()
|
|
283
276
|
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/提取用户档案`, {data: {condition: "f_userinfo_code= '" + row.f_userinfo_code + "'",
|
|
284
|
-
groupitem:'', orderitem: 'f_residential_area,CAST(build as int),f_unit,CAST(floor1 as int),f_room', f_check_type: '',f_filialeid:
|
|
277
|
+
groupitem:'', orderitem: 'f_residential_area,CAST(build as int),f_unit,CAST(floor1 as int),f_room', f_check_type: '',f_filialeid:'',
|
|
285
278
|
f_user_name: '', myCycle: '', fyCycle: '', f_user_type: '', f_sign: '', f_residential_area: '', f_address: '', f_user_state: '', f_orgids: '', f_unit: '', f_building: ''
|
|
286
279
|
}}).then(
|
|
287
280
|
(res) => {
|
|
281
|
+
if(res.data.length==0){
|
|
282
|
+
this.$showMessage('未查询到当前用户档案信息')
|
|
283
|
+
return
|
|
284
|
+
}
|
|
288
285
|
let info = res.data[0]
|
|
289
286
|
info.id = ''
|
|
290
287
|
info.f_state = '未检'
|
|
@@ -6,9 +6,9 @@ let specialComp = {
|
|
|
6
6
|
'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
|
|
7
7
|
'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper.vue'], resolve) },
|
|
8
8
|
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList.vue'], resolve) },
|
|
9
|
-
'check-plan': (resolve) => { require(['./pc/CheckPlan.vue'], resolve) },
|
|
10
|
-
'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
|
11
|
-
'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew.vue'], resolve) },
|
|
9
|
+
// 'check-plan': (resolve) => { require(['./pc/CheckPlan.vue'], resolve) },
|
|
10
|
+
// 'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
|
11
|
+
// 'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew.vue'], resolve) },
|
|
12
12
|
}
|
|
13
13
|
exports.specialComp = specialComp
|
|
14
14
|
|