import {SearchList, date} from 'vue-client'
import {all} from 'vue-client'
import {HttpResetClass} from 'vue-client'
import Vue from "vue"

export default class Comp {
  /*async constructor() {
    await this.ready()
  }*/
  // 用户安检信息列表
  all = new all()

  // 新增安检计划时保存的数据
  newPlan = {}

  http = new HttpResetClass()
  isAndNot = ["是", "否"]
  data=[]
 async getCheckPlanItem(f){
    if(Vue.android){
      this.all.$androidUtil.bzLogic(('FetchCheckPaper', {id: "this.item.id"}))
    }else{
      let response=await this.http.load("POST", "/api/af-safecheck/sql/androidGetuserinfo", {
        data:{
          condition:"1=1"
        }
      }, {resolveMsg: null, rejectMsg: null})
      this.data=response.data
    }
   f()
  }

}
