safecheck-client 3.0.33-72 → 3.0.33-74

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.
@@ -16,7 +16,7 @@
16
16
  close-on-select value-single >
17
17
  </v-select>
18
18
  </div>
19
- <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
19
+ <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
20
20
  </div>
21
21
  <div class="leftplan-center safe_plan_list">
22
22
  <div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
@@ -399,6 +399,7 @@
399
399
  a:'1',
400
400
  opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
401
401
  currentorder:'按时间降序',
402
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
402
403
  checkplan : new SearchList(true),
403
404
  selectPlan:{id:''},
404
405
  upCheckPlan:{
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div class="form-group col-sm-2" style="float: right">
52
52
  <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
53
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
53
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
54
54
  </div>
55
55
  <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
56
56
  <div slot="modal-header" class="modal-header">
@@ -178,6 +178,7 @@
178
178
  data() {
179
179
  return {
180
180
  model:new PagedList('/rs/sql/planItem', 100, {}),
181
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
181
182
  a:'1',
182
183
  opt:[{label:"测试",value:"测试"}],
183
184
  showCondtion:false,
@@ -51,9 +51,9 @@
51
51
  v-model='model.userType'
52
52
  :value.sync="model.userType"
53
53
  :options='$parent.$parent.userTypes'
54
- condition="tuf.f_gasproperties = '{}'"
55
- :value-single="true"
56
- close-on-select clear-button></v-select>
54
+ condition="tuf.f_gasproperties in {} "
55
+ :multiple="true"
56
+ ></v-select>
57
57
  </div>
58
58
  <div class="col-sm-2 form-group" >
59
59
  <label class="font_normal_body">气表类型</label>