safecheck-client 4.0.1-73 → 4.0.1-75

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.
@@ -2,7 +2,7 @@
2
2
  <div style="width: 100%;height: 100%">
3
3
  <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
4
  <label class="font_normal_body">所属部门</label>
5
- <right-tree-safe-dep :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe-dep>
5
+ <right-tree-safe-dep v-ref:selector :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe-dep>
6
6
  </div>
7
7
  <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
8
  <label class="font_normal_body">{{ roleLable }}</label>
@@ -65,7 +65,8 @@
65
65
  selVal: '',
66
66
  organizationname:this.$login.f.organizationname,
67
67
  resids: [],
68
- changeval: ''
68
+ changeval: '',
69
+ show: true
69
70
  }
70
71
  },
71
72
  watch: {
@@ -86,6 +87,12 @@
86
87
  await this.filterUser(this.resids)
87
88
  },
88
89
  methods: {
90
+ async clear() {
91
+ const emptyValue = this.valueMultiple ? [] : '';
92
+ this.selVal = emptyValue;
93
+ this.valuechange(emptyValue);
94
+ this.$refs.selector.clear()
95
+ },
89
96
  async search() {
90
97
  let http = new HttpResetClass()
91
98
  const res = await http.load('POST', '/rs/search', {
@@ -6,6 +6,7 @@
6
6
  <div class="row" v-show="!$parent.$parent.$parent.showItemAll">
7
7
  <div :class="$parent.$parent.style2" style="margin: 0px">
8
8
  <role-selector-safe-dep
9
+ v-ref:selector
9
10
  role-name="安检员"
10
11
  role-lable="安&nbsp;检&nbsp;员&nbsp;"
11
12
  @re-res="$parent.$parent.getRes"
@@ -259,6 +260,7 @@ export default {
259
260
  clean(){
260
261
  this.$refs.paged.$refs.criteria.model.f_checker_id = ''
261
262
  this.$refs.paged.$refs.criteria.model.f_check_book_id = []
263
+ this.$refs.paged.$refs.criteria.$refs.selector.clear()
262
264
  },
263
265
  getchecker(val){
264
266
  this.$refs.paged.$refs.criteria.model.f_checker_id = ''
@@ -185,6 +185,7 @@
185
185
  <th><nobr>小区名称</nobr></th>
186
186
  <th><nobr>安检状态</nobr></th>
187
187
  <th><nobr>地址</nobr></th>
188
+ <th><nobr>上次安检时间</nobr></th>
188
189
  <th><nobr>创建时间</nobr></th>
189
190
  </tr>
190
191
  </template>
@@ -197,6 +198,7 @@
197
198
  <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
198
199
  <td style="text-align: center"><nobr>{{row.f_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
199
200
  <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
201
+ <td style="text-align: center"><nobr>{{row.f_last_check_date_old}}</nobr></td>
200
202
  <td style="text-align: center"><nobr>{{row.f_create_time}}</nobr></td>
201
203
  </template>
202
204
  </data-grid>