<template>
  <div class="flex-row">
    <div class="basic-main">
      <criteria-paged :model="model" v-ref:paged @sort="sort">
        <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
          <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
            <div class="row">
              <div class="col-sm-4" style="width: 20%">
                <label class="font_normal_body">小区名称</label>
                <input type="text" class="input_search" v-model="model.f_residential_area"
                       style="width: 60%" placeholder="小区" condition="tcp.f_residential_area like '%{}%'">
              </div>
              <div class="col-sm-4" style="width: 20%">
                <label class="font_normal_body">安检计划</label>
                <input type="text" class="input_search" v-model="$parent.$parent.model.f_check_plan.f_plan_name"
                       @click="$parent.$parent.showChooser"
                       style="width: 60%" placeholder="安检计划" readonly="readonly">
              </div>
              <div class="col-sm-4" style="width: 20%">
                <label class="font_normal_body">安检类型</label>
                <v-select :value.sync="model.f_safecheck_type" v-model='model.f_safecheck_type'
                          :value-single="true" style="width: 60%"
                          class="select_list select"
                          :options='$parent.$parent.safetype' placeholder='安检类型'
                          close-on-select
                          condition="tcp.f_safecheck_type = '{}'"></v-select>
              </div>
              <div class="col-sm-4" style="width: 20%">
                <label class="font_normal_body" style="margin-right: 2px">客户类型</label>
                <v-select :value.sync="model.f_check_type" v-model='model.f_check_type'
                          :value-single="true" style="width: 60%"
                          class="select_list select"
                          :options='$parent.$parent.check_types' placeholder='客户类型'
                          close-on-select
                          condition="tcp.f_check_type = '{}'"></v-select>
              </div>
              <div class="col-sm-4" style="width: auto;margin-top:8px;float: right">
                <!--                <export-excel-plus :data="$parent.$parent.searchData"
                                                   :field="$parent.$parent.excelHeaders"
                                                   :exportprogress="true"
                                                   sqlurl="api/af-safecheck/logic/exportfileplus"
                                                   sql-name='QueryCheckPaper'
                                                   :template-name=$parent.$parent.excelTitle  :choose-col="true"></export-excel-plus>-->
                <export-excel :data="$parent.$parent.searchData"
                                   :field="$parent.$parent.excelHeaders"
                                   :exportprogress="true" v-ref:exports
                                   sqlurl="api/af-safecheck/logic/exportfile" sql-name="QueryCheckPaper"
                                   :choose-col="true">
                </export-excel>
                <!--                <export-excel :data="$parent.$parent.searchData"-->
                <!--                              :field="$parent.$parent.excelHeaders"-->
                <!--                              sqlurl="api/af-safecheck/logic/exportfile" sql-name="QueryCheckPaper" :template-name="$parent.$parent.excelTitle"></export-excel>-->
                <button class="button_spacing button_search" @click="search()">查询</button>
                <div style="float: right" class="button_spacing"
                     :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
                     @click="$parent.$parent.hidden()"></div>
              </div>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">客户编号</label>
              <input type="text" class="input_search" v-model="model.f_userinfo_code"
                     style="width: 60%" placeholder="客户编号" condition="tcp.f_userinfo_code='{}'">
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">客户名称</label>
              <input type="text" class="input_search" v-model="model.f_user_name"
                     style="width: 60%" placeholder="客户名称" condition="tcp.f_user_name = '{}'">
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">客户电话</label>
              <input type="text" class="input_search" v-model="model.f_user_phone"
                     style="width: 60%" placeholder="客户电话" condition="tcp.f_user_phone = '{}'">
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">详细地址</label>
              <input type="text" class="input_search" v-model="model.f_address"
                     style="width: 60%" placeholder="详细地址" condition="tcp.f_address like '%{}%'">
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">气表类型</label>
              <v-select
                class="select_list select"
                placeholder='气表类型' style="width: 60%"
                v-model='model.f_meter_classify'
                :value.sync="model.f_meter_classify"
                :options='$parent.$parent.meter_classify'
                condition="uf.f_meter_classify = '{}'"
                :value-single="true"
                close-on-select clear-button></v-select>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">安检状态</label>
              <v-select id="f_entry"
                        class="select_list select"
                        placeholder='安检状态' style="width: 60%"
                        v-model='model.f_entry'
                        :value.sync="$parent.$parent.model.f_entry"
                        :options='$parent.$parent.f_entry_status'
                        condition=""
                        :value-single="true"
                        close-on-select clear-button></v-select>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">开始时间</label>
              <datepicker
                class="select_list select"
                :value.sync="model.f_check_start"
                placeholder='开始时间' style="width: 60%"
                :disabled-days-of-week="[]"
                :format="'yyyy-MM-dd'"
                :show-rest-button="reset"
                v-model="model.f_check_start"
                condition="tcp.f_upload_date > ='{} 00:00:00'">
              </datepicker>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">结束时间</label>
              <datepicker
                :value.sync="model.f_check_end"
                placeholder='结束时间' style="width: 60%"
                :disabled-days-of-week="[]"
                :format="'yyyy-MM-dd'"
                :show-rest-button="reset"
                v-model="model.f_check_end"
                condition="tcp.f_upload_date <=  '{} 23:59:59'">
              </datepicker>
            </div>
            <div class="col-sm-8" style="width: 40%" v-if="$parent.$parent.criteriaShow">
              <role-selector
                role-name="安检员"
                role-lable="安&nbsp;检&nbsp;员&nbsp;"
                @re-res="$parent.$parent.getRes"
                :value.sync="model.f_checker_id"
                v-model="model.f_checker_id"
                condition="tcp.f_checker_name = '{}'">
              </role-selector>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">调价居民</label>
              <v-select id="f_gasuser"
                        placeholder='调价居民'
                        class="select select_list"
                        style="width: 60%"
                        :value.sync="model.f_gasuser"
                        :value-single="true"
                        :options='$parent.$parent.gasusertypes'
                        v-model="model.f_gasuser"
                        condition="{}='是'"
                        close-on-select clear-button></v-select>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">气表品牌</label>
              <v-select id="f_meter_brand"
                        placeholder='气表品牌'
                        class="select select_list"
                        style="width: 60%"
                        :value.sync="model.f_meter_brand"
                        :value-single="true"
                        :options='$parent.$parent.f_meter_brands'
                        v-model="model.f_meter_brand"
                        condition="gb.f_meter_brand = '{}'"
                        close-on-select clear-button></v-select>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">是否热水器</label>
              <v-select
                        placeholder='是否热水器'
                        class="select select_list"
                        style="width: 60%"
                        :value.sync="model.reshuiqi"
                        :value-single="true"
                        :options='$parent.$parent.reshuiqis'
                        v-model="model.reshuiqi"
                        condition="f_reshuiqi = '{}'"
                        close-on-select clear-button></v-select>
            </div>
            <div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
              <label class="font_normal_body">是否壁挂炉</label>
              <v-select
                        placeholder='是否壁挂炉'
                        class="select select_list"
                        style="width: 60%"
                        :value.sync="model.bigualu"
                        :value-single="true"
                        :options='$parent.$parent.bigualus'
                        v-model="model.bigualu"
                        condition="f_bigualu = '{}'"
                        close-on-select clear-button></v-select>
            </div>


            <modal :show.sync="$parent.$parent.showModal" v-ref:modal>
              <div slot="modal-header" class="modal-header">
                <h4 class="modal-title">
                  选择计划
                </h4>
              </div>
              <div slot="modal-body" class="modal-body">
                <plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
              </div>
              <div slot="modal-footer" class="modal-footer" style="text-align: center">
                <button class="button_search" @click="$parent.$parent.ok">确认</button>
                <button class="button_search" @click="$parent.$parent.cancel">取消</button>
              </div>
            </modal>
          </div>
        </criteria>
        <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
          <template partial='head'>
            <tr>
              <th>
                <nobr>回访</nobr>
              </th>
              <th>
                <nobr>客户编号</nobr>
              </th>
              <th>
                <nobr>客户名称</nobr>
              </th>
              <th>
                <nobr>客户电话</nobr>
              </th>
              <th>
                <nobr>客户类型</nobr>
              </th>
              <th>
                <data-order field="f_address" name="客户地址"></data-order>
              </th>
              <th>
                <nobr>安检状态</nobr>
              </th>
              <th>
                <data-order field="f_offsite_time" name="安检时间"></data-order>
              </th>
              <th>
                <nobr>安检员</nobr>
              </th>
              <th>
                <nobr>计划名称</nobr>
              </th>
              <th>
                <nobr>热水器</nobr>
              </th>
              <th>
                <nobr>壁挂炉</nobr>
              </th>
              <th>
                <nobr>累购气量</nobr>
              </th>
              <th>
                <nobr>已用气量</nobr>
              </th>
              <th>
                <nobr>剩余气量</nobr>
              </th>
              <th>
                <nobr>气表品牌</nobr>
              </th>
              <th>
                <nobr>备注</nobr>
              </th>
              <th>
                <nobr>上传时间</nobr>
              </th>
              <th>
                <nobr>操作</nobr>
              </th>
            </tr>
          </template>
          <template partial='body'>
            <td style="text-align: center;">
              <nobr v-if="row.f_user_phone && row.f_revisit !== '是'">
                <button-link type="button" class="btn btn-link"
                             @click="$parent.$parent.$parent.playWav(row.f_user_phone,row)">回访
                </button-link>
              </nobr>
              <nobr v-if="row.f_revisit === '是'">已回访</nobr>
            </td>
            <td style="text-align: center">{{ row.f_userinfo_code }}</td>
            <td style="text-align: center">{{ row.f_user_name }}</td>
            <td style="text-align: center">{{ row.f_user_phone }}</td>
            <td style="text-align: center">{{ row.f_check_type }}</td>
            <td style="text-align: center">{{ row.f_address }}</td>
            <td style="text-align: center">{{ row.f_entry_status }}</td>
            <td style="text-align: center">{{ row.f_offsite_time }}</td>
            <td style="text-align: center">{{ row.f_checker_name }}</td>
            <td style="text-align: center">{{ row.f_plan_name }}</td>
            <td style="text-align: center">{{ row.reshuiqi }}</td>
            <td style="text-align: center">{{ row.bigualu }}</td>

            <td style="text-align: center">{{ row.leigouqiliang }}</td>
            <td style="text-align: center">{{ row.yiyongqiliang }}</td>
            <td style="text-align: center">{{ row.shengyuqiliang }}</td>
            <td style="text-align: center">{{ row.f_meter_brand }}</td>
            <td style="text-align: center">{{ row.f_repair_approved_note }}</td>
            <td style="text-align: center">{{ row.f_upload_date }}</td>
            <td style="text-align: center">
              <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
              <button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
                      @click="$parent.$parent.$parent.print(row)">
                打印
              </button>
            </td>
          </template>
        </data-grid>
      </criteria-paged>
      <check-msg v-if="showcheckmsg" :show="true" :data="checkInfo"></check-msg>
    </div>
    <!--回访-->
    <modal :show.sync="showVisit" v-ref:modal backdrop="false">
      <header slot="modal-header" class="modal-header">
      </header>
      <article slot="modal-body" class="modal-body">
        <safecheck-visitinfo v-if="showVisit" :row="visitrow" :phone="wavflie"
                             @show-obj="watchShow"></safecheck-visitinfo>
      </article>
      <footer slot="modal-footer" class="modal-footer">
      </footer>
    </modal>
  </div>

</template>

<script>
import {PagedList} from 'vue-client'
import Vue from 'vue'
import co from 'co'
import * as Util from '../Util'
import HttpResetClass from 'vue-client/src/plugins/HttpResetClass'

//获取json配置文件
let asyncReady = async function (self) {
  // 获取配置信息
  try {
    let res = await Vue.resetget(`/api/af-safecheck/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
    Vue.config = res.data
  } catch (error) {
    // 忽略704,文件找不到异常R
    Vue.config = {"telephone":{"RepairsConfig":{"data":[{"details":[{"f_project":"是否换表","f_is_must":true,"type":"checkbox"},{"f_project":"换表类型","f_is_must":true,"options":[{"data":"换计费器"},{"data":"换新表"},{"data":"气表清零"}],"type":"selector"},{"f_project":"换表原因","f_is_must":true,"type":"string"},{"f_project":"旧表底数","f_is_must":true,"type":"string"},{"f_project":"剩余气量","f_is_must":true,"type":"string"},{"f_project":"补气气量","f_is_must":true,"type":"string"},{"f_project":"旧表照片","f_is_must":true,"type":"picture"},{"f_project":"新表品牌","f_is_must":true,"options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"前锋"},{"data":"承德"},{"data":"郑州"},{"data":"浙江威星"},{"data":"郑州片卡"},{"data":"贝特"},{"data":"机表"},{"data":"郑州3代"},{"data":"建安A物联小表"},{"data":"建安B物联小表"},{"data":"建安C物联小表"},{"data":"新奥物联系统结算"},{"data":"威星物联表端结算"},{"data":"威星物联系统结算"},{"data":"天信物联系统结算"},{"data":"思达特物联表端结算"},{"data":"新势力"},{"data":"天信"},{"data":"天和"},{"data":"思达特"},{"data":"建安B物联大表"},{"data":"金卡工业"},{"data":"建安温补卡表"},{"data":"先锋2.0"},{"data":"威星小表"},{"data":"苍南新IC"},{"data":"航宇星工业"},{"data":"威星新"},{"data":"威星老"},{"data":"先锋1.0"},{"data":"苍南新CPU"}],"type":"selector"},{"f_project":"新表型号","f_is_must":true,"options":[{"data":"G1.6"},{"data":"G2.5"},{"data":"G4.0"},{"data":"G6"},{"data":"G10"},{"data":"G16"},{"data":"G25"},{"data":"J2.5"},{"data":"J2.5右"},{"data":"J2.5左"},{"data":"J1.6右"},{"data":"J1.6左"},{"data":"QF316B-442J"},{"data":"QF316B-M1-D"},{"data":"QF316B-102D"},{"data":"QF316B-442D"},{"data":"QF316B-102"},{"data":"CGLB-xxB"},{"data":"机表"}],"type":"selector"},{"f_project":"新表号","f_is_must":true,"type":"string"},{"f_project":"新表底数","f_is_must":true,"type":"string"},{"f_project":"新表照片","f_is_must":true,"type":"picture"},{"f_project":"备注","type":"string"}],"f_type":"换表"},{"details":[{"f_project":"维修内容","type":"string"},{"f_project":"处理结果","options":[{"data":"用户无法联系"},{"data":"维修完成"}],"type":"selector"},{"f_project":"备注","type":"string"},{"f_project":"维修前照片","type":"picture"},{"f_project":"维修后照片","type":"picture"}],"f_type":"其他维修"}]},"DevicesConfig2":{"户内管":{"checkmust":"false","items":{"状态":{"options":[{"isdefect":"false","data":"正常"},{"isdefect":"true","data":"密封","level":"B2"}],"type":"selector"},"检验日期":{"type":"date","checkmust":"false"},"测试压力":{"type":"string","checkmust":"false"}}},"燃气表":{"checkmust":"true","items":{"表底数":{"type":"number","checkmust":"true"},"检验日期":{"type":"date"},"燃气表照片":{"type":"picture"}}}},"FaultAll":{"savebutten":true,"jabutten":false,"wwcbutten":false,"wwxbutten":false},"LoginApp":{"loginSafe":true,"weakPassword":true},"SubstitConfigCivil":{"data":[{"details":[{"f_project":"表号","f_is_must":true,"type":"string"},{"f_project":"气表品牌","f_is_must":true,"options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"其他"}],"type":"selector"},{"f_project":"气表型号","f_is_must":true,"type":"selector"},{"f_project":"表类型","f_is_must":true,"options":[{"data":"气量卡表"},{"data":"金额卡表"},{"data":"机表"},{"data":"物联网表"}],"type":"selector"},{"f_project":"表向","options":[{"data":"左表"},{"data":"右表"}],"type":"selector"},{"f_project":"表基数","f_is_must":true,"type":"number"},{"f_project":"燃气表照片","f_is_must":true,"type":"picture"}],"f_type":"表具信息"},{"details":[{"f_project":"用户是否为超期(半年)重新检测","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"true"}],"type":"radio"},{"f_project":"户内燃气设施外观完好,无损坏","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"经过测试后，管道是否有压降","f_is_must":true,"options":[{"data":"是","f_status":"false"},{"data":"否","f_status":"true"}],"type":"radio"},{"f_project":"换作业区内无明火，按标准置换","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"确认用户的燃气炉具、热水器符合安全规范,连接管两端已连接并且管卡牢固","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"已告知用户公司营业厅地址及需要携带的材料","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"已向用户宣传安全用气常识、操作规范,并告知24小时客服电话","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"严格按照作业标准及步骤进行操作","f_is_must":true,"options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"严密性试验时间为（单位：分钟）","f_is_must":true,"type":"number"},{"f_project":"严密性试验压力（单位：kPa）","f_is_must":true,"type":"number"}],"f_type":"置换作业"},{"details":[{"f_project":"有无燃气险","type":"checkbox"},{"f_project":"购买日期","type":"date"},{"f_project":"备注","type":"string"}],"f_type":"燃气险服务"},{"details":[{"f_project":"有无家财险","type":"checkbox"},{"f_project":"购买日期","type":"date"},{"f_project":"备注","type":"string"}],"f_type":"家财险服务"},{"details":[{"f_project":"有无灶具设备","type":"checkbox"},{"f_project":"灶具品牌","options":[{"data":"方太"},{"data":"老板"},{"data":"华帝"},{"data":"美的"},{"data":"海尔"},{"data":"林内"},{"data":"西门子"},{"data":"苏泊尔"},{"data":"万家乐"},{"data":"万和"},{"data":"其他"}],"type":"selector"},{"f_project":"灶具型号","type":"string"},{"f_project":"产品类型","options":[{"data":"单灶"},{"data":"双灶"}],"type":"radios"},{"f_project":"熄火保护","options":[{"data":"有"},{"data":"无"}],"type":"radios"},{"f_project":"购买日期","type":"date"},{"f_project":"合格证","options":[{"data":"有"},{"data":"无"}],"type":"radios"},{"f_project":"灶具照片","type":"picture"}],"f_type":"灶具信息"},{"details":[{"f_project":"有无壁挂炉设备","type":"checkbox"},{"f_project":"壁挂炉品牌","options":[{"data":"史密斯"},{"data":"林内"},{"data":"能率"},{"data":"海尔"},{"data":"美的"},{"data":"万和"},{"data":"万家乐"},{"data":"华帝"},{"data":"博世"},{"data":"其他"}],"type":"selector"},{"f_project":"壁挂炉型号","type":"string"},{"f_project":"购买日期","type":"date"},{"f_project":"合格证","options":[{"data":"有"},{"data":"无"}],"type":"radios"},{"f_project":"壁挂炉照片","type":"picture"}],"f_type":"壁挂炉信息"},{"details":[{"f_project":"有无热水器设备","type":"checkbox"},{"f_project":"热水器品牌","options":[{"data":"方太"},{"data":"老板"},{"data":"华帝"},{"data":"美的"},{"data":"海尔"},{"data":"林内"},{"data":"西门子"},{"data":"苏泊尔"},{"data":"万家乐"},{"data":"万和"},{"data":"其他"}],"type":"selector"},{"f_project":"热水器型号","type":"string"},{"f_project":"购买日期","type":"date"},{"f_project":"合格证","options":[{"data":"有"},{"data":"无"}],"type":"radios"},{"f_project":"热水器照片","type":"picture"}],"f_type":"热水器信息"},{"details":[{"f_project":"有无报警器设备","type":"checkbox"},{"f_project":"购买日期","type":"date"},{"f_project":"报警器照片","type":"picture"}],"f_type":"报警器信息"},{"details":[{"f_project":"有无切断阀设备","type":"checkbox"},{"f_project":"购买日期","type":"date"},{"f_project":"切断阀照片","type":"picture"}],"f_type":"切断阀信息"},{"details":[{"f_project":"有无自闭阀设备","type":"checkbox"},{"f_project":"购买日期","type":"date"},{"f_project":"自闭阀照片","type":"picture"}],"f_type":"自闭阀信息"},{"details":[{"f_project":"有无连接管设备","type":"checkbox"},{"f_project":"产品类型","options":[{"data":"橡胶管"},{"data":"金属波纹管"}],"type":"selector"},{"f_project":"购买日期","type":"date"},{"f_project":"连接管照片","type":"picture"}],"f_type":"连接管信息"}]},"Outlay":{"data":{"报修单":{"civil":[{"title":"全局拍照","checkmust":true}],"nocivil":[{"title":"全局拍照","checkmust":true}]},"置换通气单":{"civil":[{"title":"燃气设施全景","checkmust":true},{"title":"两头管箍","checkmust":true}],"nocivil":[{"title":"调压、计量设施整体图片","checkmust":true},{"title":"燃气设施全景","checkmust":true},{"title":"其他","checkmust":true}]}}},"globals2":{"cc_base_url":"http://aotesoft.f3322.net:8300","LOCAL_PATH_PREFIX":"/data/data/com.aofeng.hybridwork/files/","reader":"com.aofeng.hybrid.pos.reader.ZTChangAnReader","lastNewFormDate":"1980-01-01 00:00:00","printer":"com.aofeng.hybrid.pos.printer.ZTPrinter","f_repairman_id":"x","version":"0","REMOTE_WWW_PREFIX":"","txtServiceStopped":"false","ProjectNativeMethod":"com.aofeng.hybridwork.android.ProjectNativeMethod","startService":"true","f_subcompany":"changan","pos":"false","entities":["t_serviceworkorder","t_oppointment","t_service","t_complaint","t_consult","t_service_acitivity","t_servicework","t_notwork","t_delayapply","t_delayreply","t_reminder","t_site_back","t_servicesend","t_recall","t_servicedelete","t_servicerepair","t_details","t_doorrepair","t_accidenttreatment","t_gaiconduit","t_liconduit","t_failure","t_failurecase","t_material","t_baseuserinfo","t_repairimg"],"REMOTE_BZ_PREFIX":"thiswillremove","f_user_id":"aaa","SCREEN_ORIENTATION":"0","msgCount":"0","cloud_url":"http://113.140.20.122:4004/","device":"com.aofeng.hybrid.pos.device.ZTDevice","full_screen":"true"},"HandPos":{"data":[{"orgnames":[{"area":"AoDe/HeDong","orgname":"临沂市罗庄区奥德燃气有限公司","orgid":"1123"},{"area":"AoDe/LinYi","orgname":"奥德集团有限公司临沂分公司","orgid":"20284"}],"domain":"http://192.168.10.38:8504/","zonename":"华东大区"},{"orgnames":[{"area":"AoDe/TanCheng","orgname":"郯城奥德燃气有限公司","orgid":"31306"},{"area":"AoDe/PingYi","orgname":"平邑奥德燃气有限公司","orgid":"31307"},{"area":"AoDe/YiNan","orgname":"奥德集团有限公司沂南分公司","orgid":"21106"},{"area":"AoDe/MengYin","orgname":"奥德集团有限公司蒙阴分公司","orgid":"31309"},{"area":"AoDe/LinYiHongAo","orgname":"临沂鸿奥燃气有限公司","orgid":"21360"},{"area":"AoDe/YiShui","orgname":"奥德集团有限公司沂水分公司","orgid":"31310"},{"area":"AoDe/FeiXian","orgname":"奥德集团有限公司费县分公司","orgid":"31311"},{"area":"AoDe/JuNan","orgname":"莒南奥德燃气有限公司","orgid":"31312"},{"area":"AoDe/LanShan","orgname":"临沂市兰山区奥德燃气有限公司","orgid":"31313"},{"area":"AoDe/LinShu","orgname":"临沭奥德燃气有限公司","orgid":"31314"},{"area":"AoDe/KaiFaQu","orgname":"临沂经济开发区奥德燃气有限公司","orgid":"31315"},{"area":"AoDe/LinYiChangHong","orgname":"临沂长虹燃气有限公司","orgid":"31316"},{"area":"AoDe/JuXian","orgname":"莒县奥德燃气有限公司","orgid":"31317"},{"area":"AoDe/DaDian","orgname":"莒南奥德燃气有限公司(大店)","orgid":"31319"},{"area":"AoDe/ZongBaoQu","orgname":"奥德集团有限公司临沂综保区分公司","orgid":"31320"}],"domain":"http://192.168.10.38:8506/","zonename":"华东大区"},{"orgnames":[{"area":"AoDe/ZhouKou","orgname":"周口奥德燃气有限公司","orgid":"13810"},{"area":"AoDe/HuaZhongDaQu","orgname":"山东鸿奥燃气有限公司","orgid":"364083"},{"area":"AoDe/HuaZhongDaQu","orgname":"宁阳鸿奥燃气有限公司","orgid":"364084"},{"area":"AoDe/HuaZhongDaQu","orgname":"单县鸿奥燃气有限公司","orgid":"9892"},{"area":"AoDe/HuaZhongDaQu","orgname":"聊城奥德能源有限公司","orgid":"364085"},{"area":"AoDe/HuaZhongDaQu","orgname":"泗水奥德燃气有限公司","orgid":"9898"},{"area":"AoDe/HuaZhongDaQu","orgname":"梁山奥德燃气有限公司","orgid":"13326"},{"area":"AoDe/HuaZhongDaQu","orgname":"冠县奥德燃气有限公司","orgid":"364086"},{"area":"AoDe/HuaZhongDaQu","orgname":"成武鸿奥燃气有限公司","orgid":"364087"},{"area":"AoDe/HuaZhongDaQu","orgname":"东明鸿奥燃气有限公司","orgid":"13798"},{"area":"AoDe/HuaZhongDaQu","orgname":"鄄城鸿奥燃气有限公司","orgid":"13804"},{"area":"AoDe/HuaZhongDaQu","orgname":"宁陵奥德燃气有限公司","orgid":"364088"},{"area":"AoDe/HuaZhongDaQu","orgname":"泰安奥德能源有限公司","orgid":"364089"},{"area":"AoDe/HuaZhongDaQu","orgname":"邹城奥德能源有限公司","orgid":"16866"},{"area":"AoDe/HuaZhongDaQu","orgname":"曹县鸿奥燃气有限公司","orgid":"364090"},{"area":"AoDe/HuaZhongDaQu","orgname":"济宁奥德燃气有限公司","orgid":"72464"},{"area":"AoDe/HuaZhongDaQu","orgname":"临清市奥德燃气有限公司","orgid":"364091"},{"area":"AoDe/HuaZhongDaQu","orgname":"嘉祥奥德燃气有限公司","orgid":"364092"},{"area":"AoDe/HuaZhongDaQu","orgname":"微山奥德燃气有限公司","orgid":"97428"},{"area":"AoDe/HuaZhongDaQu","orgname":"菏泽奥德燃气有限公司","orgid":"364093"},{"area":"AoDe/HuaZhongDaQu","orgname":"菏泽牡丹奥德能源有限公司","orgid":"136255"}],"domain":"http://192.168.10.38:8508/","zonename":"华中大区"},{"orgnames":[{"area":"AoDe/JianChang","orgname":"建昌奥德燃气有限公司","orgid":"16474"},{"area":"AoDe/ShenYang","orgname":"沈阳奥德燃气有限公司","orgid":"17054"},{"area":"AoDe/ShenYangXinMin","orgname":"沈阳奥德燃气有限公司新民分公司","orgid":"17060"},{"area":"AoDe/DiaoBingShan","orgname":"调兵山奥德燃气有限公司","orgid":"17072"},{"area":"AoDe/ChangTu","orgname":"昌图奥德燃气有限公司","orgid":"17078"},{"area":"AoDe/TieLingGuanShu","orgname":"铁岭奥德管输燃气有限公司","orgid":"17090"},{"area":"AoDe/XiFeng","orgname":"西丰奥德燃气有限公司","orgid":"17096"},{"area":"AoDe/DongGang","orgname":"东港奥德燃气有限公司","orgid":"17102"},{"area":"AoDe/QianYang","orgname":"丹东前阳奥德燃气有限公司","orgid":"17108"},{"area":"AoDe/DongGangGuShan","orgname":"东港孤山奥德燃气有限公司","orgid":"17114"},{"area":"AoDe/LiaoYangXian","orgname":"辽阳县奥德燃气输配有限公司","orgid":"17120"},{"area":"AoDe/KeZuo","orgname":"科尔沁左翼中旗奥德燃气有限公司","orgid":"17138"},{"area":"AoDe/HuoLinHe","orgname":"霍林郭勒市恒通燃气有限责任公司","orgid":"17150"},{"area":"AoDe/HeiShan","orgname":"黑山奥德燃气有限公司","orgid":"17162"},{"area":"AoDe/QingHeMen","orgname":"阜新市清河门区奥德燃气有限公司","orgid":"17186"},{"area":"AoDe/BeiZhen","orgname":"北镇奥德能源有限公司","orgid":"17198"},{"area":"AoDe/XinMinXingLongPu","orgname":"沈阳奥德燃气有限公司新民兴隆堡","orgid":"397979"},{"area":"AoDe/DongBeiDaQu","orgname":"辽宁中奥燃气有限公司","orgid":"17066"},{"area":"AoDe/DongBeiDaQu","orgname":"铁岭奥德燃气有限公司","orgid":"17084"},{"area":"AoDe/DongBeiDaQu","orgname":"辽阳奥德燃气有限公司","orgid":"17126"},{"area":"AoDe/DongBeiDaQu","orgname":"大连奥德燃气有限公司","orgid":"17132"},{"area":"AoDe/DongBeiDaQu","orgname":"库伦旗奥德燃气有限公司","orgid":"17144"},{"area":"AoDe/DongBeiDaQu","orgname":"乌拉盖管理区奥德燃气有限公司","orgid":"17156"},{"area":"AoDe/DongBeiDaQu","orgname":"台安奥德燃气有限公司","orgid":"17168"},{"area":"AoDe/DongBeiDaQu","orgname":"阜新奥德燃气有限公司","orgid":"17174"},{"area":"AoDe/DongBeiDaQu","orgname":"彰武奥德燃气有限公司","orgid":"17180"},{"area":"AoDe/DongBeiDaQu","orgname":"北镇奥德能源有限公司","orgid":"17198"},{"area":"AoDe/DongBeiDaQu","orgname":"灯塔恒泰利燃气有限公司","orgid":"17204"},{"area":"AoDe/DongBeiDaQu","orgname":"鞍山中奥燃气有限公司","orgid":"17210"},{"area":"AoDe/DongBeiDaQu","orgname":"通远堡奥德燃气有限公司","orgid":""},{"area":"AoDe/DongBeiDaQu","orgname":"辽阳中奥能源有限公司","orgid":""}],"domain":"http://192.168.10.38:8509/","zonename":"东北大区"},{"orgnames":[{"area":"AoDe/XiongXian","orgname":"雄县新长虹燃气有限公司","orgid":"47372"},{"area":"AoDe/WuQiang","orgname":"武强县武希天然气有限公司","orgid":"72268"},{"area":"AoDe/QingXian","orgname":"阜平奥德燃气有限公司","orgid":"76516"},{"area":"AoDe/LiXian","orgname":"蠡县奥德燃气有限公司","orgid":"120196"},{"area":"AoDe/AnGuo","orgname":"安国奥德燃气有限公司","orgid":"126122"},{"area":"AoDe/BoTou","orgname":"泊头中奥燃气有限公司","orgid":"395361"},{"area":"AoDe/ChiCheng","orgname":"赤城县民乐燃气有限公司","orgid":"915447"},{"area":"AoDe/GuYuan","orgname":"沽源奥德燃气有限公司","orgid":"915459"},{"area":"AoDe/ShenZe","orgname":"深泽县中奥燃气有限公司","orgid":"915471"},{"area":"AoDe/WenAn","orgname":"文安县奥德燃气有限公司","orgid":"915483"},{"area":"AoDe/WenAnZuoGeZhuang","orgname":"文安县奥德燃气有限公司左各庄分公司","orgid":"915495"},{"area":"AoDe/ShangYi","orgname":"尚义县中奥能源有限公司","orgid":"915507"},{"area":"AoDe/TianJin","orgname":"天津奥德天然气有限公司","orgid":"915531"},{"area":"AoDe/AoDe/HuaBeiDaQu","orgname":"沧州金海岸燃气销售有限公司","orgid":"915543"},{"area":"AoDe/HuaBeiDaQu","orgname":"张家口奥德伟业燃气有限公司","orgid":"915555"},{"area":"AoDe/QingXianJueDaoZhuang","orgname":"青县奥德燃气有限公司觉道庄","orgid":"915561"},{"area":"AoDe/HuaBeiDaQu","orgname":"无极县中奥新能源有限公司","orgid":"915579"},{"area":"AoDe/CangXianBeiLiZhuang","orgname":"沧州金海岸燃气销售有限公司北李庄","orgid":"915585"},{"area":"AoDe/HuaBeiDaQu","orgname":"保定奥嘉能源有限公司","orgid":"915591"},{"area":"AoDe/LiXianDongKou","orgname":"蠡县奥德燃气有限公司蠡县东口","orgid":"120196"},{"area":"AoDe/HuaBeiDaQu","orgname":"天津中能气燃气科技有限公司","orgid":"915647"},{"area":"AoDe/CangXian","orgname":"沧县奥德燃气有限公司","orgid":"1872846"}],"domain":"http://192.168.10.38:8513/","zonename":"华北大区"},{"orgnames":[{"area":"AoDe/HeiLongJiangQuYu","orgname":"延寿奥德燃气有限公司","orgid":"98214"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"巴彦中奥能源有限公司","orgid":"113527"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"莫力达瓦达斡尔族自治旗奥德燃气有限公司","orgid":"117232"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"青冈奥德燃气有限公司","orgid":"125912"},{"area":"AoDe/TongHe","orgname":"通河奥德燃气有限公司","orgid":"398315"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"黑龙江奥德燃气有限公司","orgid":"398321"},{"area":"AoDe/YiChun","orgname":"伊春鸿奥燃气有限公司","orgid":"398327"},{"area":"AoDe/GuYuan","orgname":"沽源奥德燃气有限公司","orgid":"915459"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"绥芬河奥德燃气有限公司","orgid":"398333"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"东宁奥德燃气有限公司","orgid":"398339"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"密山奥德燃气有限公司","orgid":"398345"},{"area":"AoDe/HaiLin","orgname":"海林奥德燃气有限公司","orgid":"398353"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"集贤奥德燃气有限公司","orgid":"398359"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"林甸奥德燃气有限公司","orgid":"398365"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"大庆奥德燃气有限公司","orgid":"398371"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"宝清奥德燃气有限公司","orgid":"398383"},{"area":"AoDe/YouYi","orgname":"友谊奥德燃气有限公司","orgid":"398389"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"鹤岗奥德燃气有限公司","orgid":"398401"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"突泉奥德燃气有限公司","orgid":"398407"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"扎赉特旗奥德燃气有限公司","orgid":"1127749"},{"area":"AoDe/HeiLongJiangQuYu","orgname":"吉林奥德燃气有限公司","orgid":"吉林奥德燃气有限公司"}],"domain":"http://192.168.10.38:8510/","zonename":"黑龙江区域"},{"orgnames":[{"area":"AoDe/ZhuangBeiJiTuan","orgname":"盘锦德奥燃气有限公司","orgid":"104300"},{"area":"AoDe/ZhuangBeiJiTuan","orgname":"盘锦奥祥燃气有限公司","orgid":"916183"}],"domain":"http://192.168.10.38:8514/","zonename":"奥德装备集团"},{"orgnames":[{"area":"AoDe/GuangXiQuYu","orgname":"靖西奥德燃气有限公司","orgid":"115588"},{"area":"AoDe/GuangXiQuYu","orgname":"隆林奥德燃气有限公司","orgid":"403814"},{"area":"AoDe/GuangXiQuYu","orgname":"马山奥德燃气有限公司","orgid":"916093"},{"area":"AoDe/GuangXiQuYu","orgname":"大新奥德能源有限公司","orgid":"916105"},{"area":"AoDe/GuangXiQuYu","orgname":"西林奥德燃气有限公司","orgid":""},{"area":"AoDe/GuangXiQuYu","orgname":"凌云县中奥能源有限公司","orgid":"916129"},{"area":"AoDe/GuangXiQuYu","orgname":"乐业奥德能源有限公司","orgid":"916141"}],"domain":"http://192.168.10.38:8512/","zonename":"广西区域"},{"orgnames":[{"area":"AoDe/SuWanQuYu","orgname":"宝应奥德燃气有限公司","orgid":"117026"},{"area":"AoDe/SuWanQuYu","orgname":"枣庄奥德新能源有限公司","orgid":"129268"},{"area":"AoDe/SuWanQuYu","orgname":"枣庄长虹新能源有限公司","orgid":"129269"},{"area":"AoDe/SuWanQuYu","orgname":"东海县奥德燃气有限公司","orgid":"129270"},{"area":"AoDe/XuZhou","orgname":"徐州奥德燃气有限公司","orgid":"徐州奥德燃气有限公司"},{"area":"AoDe/SuWanQuYu","orgname":"新沂奥德燃气有限公司","orgid":"129272"},{"area":"AoDe/SuWanQuYu","orgname":"枣庄奥通新能源有限公司","orgid":"129273"},{"area":"AoDe/SuWanQuYu","orgname":"明光奥德燃气有限公司","orgid":"1861837"}],"domain":"http://192.168.10.38:8507/","zonename":"苏皖区域"},{"orgnames":[{"area":"AoDe/LuBeiQuYu","orgname":"庆云鸿奥能源有限公司","orgid":"122740"},{"area":"AoDe/LuBeiQuYu","orgname":"商河奥德能源有限公司","orgid":"915931"},{"area":"AoDe/LuBeiQuYu","orgname":"宁津嘉和盛燃气有限公司","orgid":"915943"},{"area":"AoDe/LuBeiQuYu","orgname":"平原奥德能源有限公司","orgid":"915955"},{"area":"AoDe/LuBeiQuYu","orgname":"武城奥德能源有限公司","orgid":"915967"},{"area":"AoDe/LuBeiQuYu","orgname":"夏津奥德燃气有限公司","orgid":"915979"},{"area":"AoDe/LuBeiQuYu","orgname":"齐河奥德能源有限公司","orgid":"915991"},{"area":"AoDe/LuBeiQuYu","orgname":"东营奥德燃气有限公司","orgid":"916003"},{"area":"AoDe/LuBeiQuYu","orgname":"禹城奥德能源有限公司","orgid":"916015"},{"area":"AoDe/LuBeiQuYu","orgname":"济南奥德燃气有限公司","orgid":"916021"}],"domain":"http://192.168.10.38:8511/","zonename":"鲁北区域"}]},"InstallConfigBusiness":{"data":[{"details":[{"f_project":"表号","f_is_must":true,"type":"string"},{"f_project":"气表品牌","f_is_must":true,"options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"其他"}],"type":"selector"},{"f_project":"气表型号","f_is_must":true,"type":"selector"},{"f_project":"备注","type":"string"},{"f_project":"燃气表照片","type":"picture"}],"f_type":"表具信息"}]},"InstallConfigCivil":{"data":[{"details":[{"f_project":"表号","f_is_must":true,"type":"string"},{"f_project":"气表品牌","f_is_must":true,"options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"其他"}],"type":"selector"},{"f_project":"气表型号","f_is_must":true,"type":"selector"},{"f_project":"表类型","f_is_must":true,"options":[{"data":"气量卡表"},{"data":"金额卡表"},{"data":"机表"},{"data":"物联网表"}],"type":"selector"},{"f_project":"备注","type":"string"},{"f_project":"燃气表照片","type":"picture"}],"f_type":"表具信息"}]},"SubstitConfigBusiness":{"data":[{"details":[{"f_project":"用气设备名称","type":"string"},{"f_project":"负荷(锅炉/功率)","type":"string"}],"f_remarks":"设备","f_type":"设备信息"},{"details":[{"f_project":"有无控制器","type":"checkbox"},{"f_project":"设备名称","options":[{"data":"控制器"},{"data":"IC卡表"},{"data":"远传物联网表"}],"type":"selector"},{"f_project":"型号","type":"string"},{"f_project":"生产厂家","type":"string"},{"f_project":"铅封号","type":"string"},{"f_project":"备注","type":"string"}],"f_remarks":"设备","f_type":"控制器信息"},{"details":[{"f_project":"表号","f_is_must":true,"type":"string"},{"f_project":"气表品牌","f_is_must":true,"options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"其他"}],"type":"selector"},{"f_project":"气表型号","f_is_must":true,"type":"selector"},{"f_project":"表类型","f_is_must":true,"options":[{"data":"气量卡表"},{"data":"金额卡表"},{"data":"机表"},{"data":"物联网表"}],"type":"selector"},{"f_project":"表向","options":[{"data":"左表"},{"data":"右表"}],"type":"selector"},{"f_project":"表基数","f_is_must":true,"type":"number"},{"f_project":"燃气表照片","f_is_must":true,"type":"picture"}],"f_type":"表具信息"},{"details":[{"f_project":"气表品牌","options":[{"data":"中元新"},{"data":"三龙"},{"data":"鸿鹄"},{"data":"秦川"},{"data":"新奥新"},{"data":"中元老"},{"data":"新奥老"},{"data":"福禄克"},{"data":"苍南老CPU"},{"data":"振达"},{"data":"航宇星民用"},{"data":"航宇星民用双模"},{"data":"德力西1.0"},{"data":"宁波鹏盛"},{"data":"德力西2.0"},{"data":"建安民用"},{"data":"金卡民用"},{"data":"其他"}],"type":"selector"},{"f_project":"表具类型","options":[{"data":"腰轮流量计"},{"data":"涡轮流量计"},{"data":"超声流量计"},{"data":"热式质量流量计"},{"data":"机械表"},{"data":"普通卡表"},{"data":"带温压补偿的卡表"},{"data":"带温压补偿的远传物联网表"},{"data":"远传物联网表"},{"data":"其他"}],"f_remarks":"设备","type":"selector"},{"f_project":"计量方式","options":[{"data":"次高压计量"},{"data":"中压计量"},{"data":"低压计量"}],"type":"selector"},{"f_project":"流量范围(m³/h)","type":"string"},{"f_project":"口径(mm)","type":"string"},{"f_project":"准确度","type":"string"},{"f_project":"表基数","type":"number"},{"f_project":"铅封位置加铅封号","type":"string"}],"f_type":"计量表具信息"},{"details":[{"f_project":"户内外燃气设施完整，外观无明显异常","options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"是否喷涂警示色","options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"燃气管道支撑稳固","options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"燃气管道连接牢固","options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"穿墙燃气管道是否加装套管、打密封胶","options":[{"data":"是","f_status":"true"},{"data":"否","f_status":"false"}],"type":"radio"},{"f_project":"进行户内燃气设施严密性试验,试验压力为<>kPa","type":"number"},{"f_project":"严密性试验时间为<>分钟,无压降","type":"number"},{"f_project":"供气压力（单位：kPa）","type":"number"},{"f_project":"切断压力（单位：kPa）","type":"number"},{"f_project":"放散压力（单位：kPa）","type":"number"}],"f_type":"置换作业"}]},"ApproveConfig":{"salegas":true,"othercharge":true,"cardreissue":false,"readcard":false,"ispos":true,"changetable":false}},"safecheck":{"SafecheckType":{"送气类型":{"非民用":"Aspirated","民用":"Aspirated"},"散户安检":{"非民用":"DevicesSetConfig","民用":"DevicesConfig"},"点火通气":{"非民用":"Ventilation","民用":"Ventilation"},"年度普检":{"非民用":"DevicesSetConfig","民用":"DevicesConfig"},"专项计划":{"非民用":"DevicesSetConfig","民用":"DevicesConfig"}},"DevicesConfig":{"安检详情":{"index":2,"checkmust":true,"items":{"热水器烟道过长":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":54,"checkmust":true,"type":"radio"},"A3胶管老化或过长":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":4,"checkmust":true,"type":"radio"},"D6燃气管道缺失管卡":{"options":[{"isdefect":true,"data":"是","level":"三级，安装管卡重新固定"},{"isdefect":false,"data":"否","isdefault":true}],"index":26,"checkmust":true,"type":"radio"},"E7使用私自改装的燃气具":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":45,"checkmust":true,"type":"radio"},"是否为强排式":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":55,"checkmust":true,"type":"radio"},"C4厨房存在第二火源":{"options":[{"isdefect":true,"data":"是","level":"一级，客户移除"},{"isdefect":false,"data":"否","isdefault":true}],"index":18,"checkmust":true,"type":"radio"},"C5厨房或燃气设施房间住人":{"options":[{"isdefect":true,"data":"是","level":"一级，客户整改"},{"isdefect":false,"data":"否","isdefault":true}],"index":19,"checkmust":true,"type":"radio"},"E2燃气表故障":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":40,"checkmust":true,"type":"radio"},"D13管道、设备连接泄漏检测":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":33,"checkmust":true,"type":"radio"},"E3私接燃气设施":{"options":[{"isdefect":true,"data":"是","level":"二级，补办手续后合格使用"},{"isdefect":false,"data":"否","isdefault":true}],"index":41,"checkmust":true,"type":"radio"},"D17外观检查是否完好":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":37,"checkmust":true,"type":"radio"},"D7燃气管道锈蚀严重":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":27,"checkmust":true,"type":"radio"},"C1燃气管道缠绕或掉挂物品":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":15,"checkmust":true,"type":"radio"},"B2安全距离不够":{"options":[{"isdefect":true,"data":"是","level":"三级，客户移开相邻物符合安全距离"},{"isdefect":false,"data":"否","isdefault":true}],"index":13,"checkmust":true,"type":"radio"},"住户信息确认":{"index":56,"type":"text"},"A2胶管穿墙":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全胶管，改造或更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":3,"checkmust":true,"type":"radio"},"A5燃气灶具超期":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":6,"checkmust":true,"type":"radio"},"C3燃气燃烧具包裹":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":17,"checkmust":true,"type":"radio"},"D4燃气管道穿越卫生间":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":24,"checkmust":true,"type":"radio"},"D11计量表检定有效性":{"options":[{"data":"有效","isdefault":true},{"isdefect":true,"data":"无效","level":"三级"}],"index":31,"checkmust":true,"type":"radio"},"安全隐患状态C":{"index":14,"type":"text"},"A9是否使用国家命令禁止的燃气器具":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":10,"checkmust":true,"type":"radio"},"安全隐患状态D":{"index":20,"type":"text"},"E4私拆私改燃气管道":{"options":[{"isdefect":true,"data":"是","level":"二级，补办手续后合格使用"},{"isdefect":false,"data":"否","isdefault":true}],"index":42,"checkmust":true,"type":"radio"},"安全隐患状态A":{"index":1,"type":"text"},"安全隐患状态B":{"index":11,"type":"text"},"安全隐患状态E":{"index":38,"type":"text"},"D14防拆装置完好性":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":34,"checkmust":true,"type":"radio"},"热水器和壁挂炉安检事项":{"index":52,"type":"text"},"安全用气常识":{"index":49,"type":"text"},"热水器烟道走公共烟道":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":53,"checkmust":true,"type":"radio"},"居住类型":{"options":[{"isdefect":false,"data":"租房户"},{"isdefect":false,"data":"自有房","isdefault":true}],"index":57,"checkmust":true,"type":"radio"},"E9小火是否走数":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"一级，不走数更换"}],"index":47,"checkmust":true,"type":"radio"},"D16调压、立管出的防撞设施/围栏是否完好":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":36,"checkmust":true,"type":"radio"},"燃气使用安全注意事项":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级，没有的补发"}],"index":50,"checkmust":true,"type":"radio"},"出现漏气紧急处理方法":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":51,"checkmust":true,"type":"radio"},"C2燃气管道及表具包裹":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":16,"checkmust":true,"type":"radio"},"E1计量表具锈蚀严重":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":39,"checkmust":true,"type":"radio"},"B1燃气具附近堆放可燃、易燃物":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":12,"checkmust":true,"type":"radio"},"A7热水器未安装烟道":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":8,"checkmust":true,"type":"radio"},"是否为壁挂炉用户":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否"}],"index":61,"checkmust":true,"type":"radio"},"E10防盗卡扣是否缺失":{"options":[{"isdefect":true,"data":"是","level":"三级，补全"},{"isdefect":false,"data":"否","isdefault":true}],"index":48,"checkmust":true,"type":"radio"},"管卡已发放，用户承诺自行立即安装":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":59,"type":"radio"},"A8燃气热水器装在浴室内":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":9,"checkmust":true,"type":"radio"},"A6是否是开放式厨房":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":7,"checkmust":true,"type":"radio"},"D15重要阀门检查":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":35,"checkmust":true,"type":"radio"},"D12气体和流向标识":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":32,"checkmust":true,"type":"radio"},"D10管道防腐":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":30,"checkmust":true,"type":"radio"},"E8断电是否关阀":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"一级，不管阀更换"}],"index":46,"checkmust":true,"type":"radio"},"D9灶前阀门损坏":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":29,"checkmust":true,"type":"radio"},"D2燃气管道作为其它电器设备的接地线":{"options":[{"isdefect":true,"data":"是","level":"三级，发现即拆除"},{"isdefect":false,"data":"否","isdefault":true}],"index":22,"checkmust":true,"type":"radio"},"A4胶管两端接口处未安装喉卡":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":5,"checkmust":true,"type":"radio"},"D1燃气管道穿锅台、水池":{"options":[{"isdefect":true,"data":"是","level":"三级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":21,"checkmust":true,"type":"radio"},"E5灶具熄火保护装置不正常":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":43,"checkmust":true,"type":"radio"},"A1软管中间有接口":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":2,"checkmust":true,"type":"radio"},"是否为热水器用户":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否"}],"index":60,"checkmust":true,"type":"radio"},"D8燃气管道及设备漏气":{"options":[{"isdefect":true,"data":"是","level":"一级，控制泄漏，修复漏气部位或停气处理"},{"isdefect":false,"data":"否","isdefault":true}],"index":28,"checkmust":true,"type":"radio"},"E6使用燃气具与气质不符":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":44,"checkmust":true,"type":"radio"},"D3燃气管道(软管)穿越吊顶":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":23,"checkmust":true,"type":"radio"},"D5燃气管道(软管)暗埋墙体或地板":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":25,"checkmust":true,"type":"radio"},"用户是否同意整改":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":58,"type":"radio"}}},"附属设备信息":{"index":5,"checkmust":true,"items":{"报警器照片":{"index":6,"checkmust":true,"type":"picture"},"切断阀购买时间":{"index":9,"checkmust":true,"type":"date"},"报警器":{"index":1,"type":"text"},"连接管购买时间":{"index":19,"checkmust":true,"type":"date"},"自闭阀":{"index":12,"type":"text"},"报警器是否正常":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":4,"checkmust":true,"type":"radio"},"自闭阀购买时间":{"index":14,"checkmust":true,"type":"date"},"报警器产品现状":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":2,"checkmust":true,"type":"radio"},"是否使用国家明令禁止的燃气用具及相关附属设备（直排式、羊角阀等）":{"options":[{"isdefect":true,"data":"是","level":"三级"},{"isdefect":false,"data":"否","isdefault":true}],"index":21,"checkmust":true,"type":"radio"},"连接管产品类型":{"options":[{"isdefect":false,"data":"橡胶管"},{"isdefect":false,"data":"金属波纹管"}],"index":18,"checkmust":true,"type":"radio"},"报警器安装位置是否合适":{"options":[{"data":"是"},{"isdefect":true,"data":"否","level":"三级"}],"index":5,"checkmust":true,"type":"radio"},"连接管产品现状":{"correlation":true,"correlationnum":3,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":17,"checkmust":true,"type":"radio"},"连接管":{"index":16,"type":"text"},"切断阀是否正常":{"options":[{"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级"}],"index":10,"checkmust":true,"type":"radio"},"报警器购买时间":{"index":3,"checkmust":true,"type":"date"},"切断阀照片":{"index":11,"checkmust":true,"type":"picture"},"连接管照片":{"index":20,"checkmust":true,"type":"picture"},"切断阀":{"index":7,"type":"text"},"切断阀产品现状":{"correlation":true,"correlationnum":3,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":8,"checkmust":true,"type":"radio"},"自闭阀照片":{"index":15,"checkmust":true,"type":"picture"},"自闭阀产品现状":{"correlation":true,"correlationnum":2,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":13,"checkmust":true,"type":"radio"}}},"燃气器具信息":{"index":4,"checkmust":true,"items":{"壁挂炉照片":{"index":12,"checkmust":true,"type":"picture"},"其他产品现状":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":19,"checkmust":true,"type":"radio"},"壁挂炉产品现状":{"correlation":true,"correlationnum":3,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":9,"checkmust":true,"type":"radio"},"器具照片":{"index":22,"checkmust":true,"type":"picture"},"器具购买时间":{"index":21,"checkmust":true,"type":"date"},"其他器具备注":{"index":23,"type":"string"},"热水器购买时间":{"index":16,"checkmust":true,"type":"date"},"燃气灶产品类型":{"options":[{"isdefect":false,"data":"单灶"},{"isdefect":false,"data":"双灶"}],"index":3,"checkmust":true,"type":"radio"},"燃气灶熄火保护":{"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"data":"无"}],"index":4,"checkmust":true,"type":"radio"},"燃气灶产品品牌":{"options":[{"isdefect":false,"data":"方太"},{"isdefect":false,"data":"老板"},{"isdefect":false,"data":"华帝"},{"isdefect":false,"data":"美的"},{"isdefect":false,"data":"海尔"},{"isdefect":false,"data":"林内"},{"isdefect":false,"data":"西门子"},{"isdefect":false,"data":"苏泊尔"},{"isdefect":false,"data":"万家乐"},{"isdefect":false,"data":"万和"},{"isdefect":false,"data":"其他"}],"index":5,"checkmust":true,"type":"selector"},"壁挂炉":{"index":8,"type":"text"},"壁挂炉产品品牌":{"options":[{"isdefect":false,"data":"史密斯"},{"isdefect":false,"data":"林内"},{"isdefect":false,"data":"能率"},{"isdefect":false,"data":"海尔"},{"isdefect":false,"data":"美的"},{"isdefect":false,"data":"万和"},{"isdefect":false,"data":"万家乐"},{"isdefect":false,"data":"华帝"},{"isdefect":false,"data":"博世"},{"isdefect":false,"data":"其他"}],"index":10,"checkmust":true,"type":"selector"},"器具名称":{"index":20,"checkmust":true,"type":"string"},"燃气灶购买时间":{"index":6,"checkmust":true,"type":"date"},"燃气灶照片":{"index":7,"checkmust":true,"type":"picture"},"热水器":{"index":13,"type":"text"},"其他器具":{"index":18,"type":"text"},"热水器照片":{"index":17,"checkmust":true,"type":"picture"},"燃气灶产品现状":{"correlation":true,"correlationnum":5,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":2,"checkmust":true,"type":"radio"},"壁挂炉购买时间":{"index":11,"checkmust":true,"type":"date"},"燃气灶":{"index":1,"type":"text"},"热水器产品现状":{"correlation":true,"correlationnum":3,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无"}],"index":14,"checkmust":true,"type":"radio"},"热水器产品品牌":{"options":[{"isdefect":false,"data":"方太"},{"isdefect":false,"data":"老板"},{"isdefect":false,"data":"华帝"},{"isdefect":false,"data":"美的"},{"isdefect":false,"data":"海尔"},{"isdefect":false,"data":"林内"},{"isdefect":false,"data":"西门子"},{"isdefect":false,"data":"苏泊尔"},{"isdefect":false,"data":"万家乐"},{"isdefect":false,"data":"万和"},{"isdefect":false,"data":"其他"}],"index":15,"checkmust":true,"type":"selector"}}},"其他未定级隐患":{"index":6,"checkmust":false,"items":{"隐患拍照2":{"index":4,"checkmust":false,"type":"picture"},"隐患拍照1":{"index":2,"checkmust":false,"type":"picture"},"隐患拍照4":{"index":8,"checkmust":false,"type":"picture"},"隐患拍照3":{"index":6,"checkmust":false,"type":"picture"},"隐患信息1":{"isdefect":true,"index":1,"checkmust":false,"type":"string"},"隐患信息2":{"isdefect":true,"index":3,"checkmust":false,"type":"string"},"隐患信息3":{"isdefect":true,"index":5,"checkmust":false,"type":"string"},"隐患信息4":{"isdefect":true,"index":7,"checkmust":false,"type":"string"}}},"燃气表":{"index":1,"checkmust":true,"items":{}},"保险服务":{"index":3,"checkmust":true,"items":{"燃气险":{"index":1,"type":"text"},"燃气险购买时间":{"index":3,"checkmust":true,"type":"date"},"家财险购买时间":{"index":7,"checkmust":true,"type":"date"},"家财险":{"index":5,"type":"text"},"燃气险备注":{"index":4,"type":"string"},"家财险备注":{"index":8,"type":"string"},"有无燃气险":{"correlation":true,"correlationnum":2,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":2,"checkmust":true,"type":"radio"},"有无家财险":{"correlation":true,"correlationnum":2,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":6,"checkmust":true,"type":"radio"}}}},"DevicesConfig1":{"安检详情":{"index":2,"checkmust":true,"items":{"热水器烟道过长":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":43,"checkmust":true,"type":"radio"},"D6燃气管道缺失管卡":{"options":[{"isdefect":true,"data":"是","level":"三级，安装管卡重新固定"},{"isdefect":false,"data":"否","isdefault":true}],"index":22,"checkmust":true,"type":"radio"},"E7使用私自改装的燃气具":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":33,"checkmust":true,"type":"radio"},"是否为强排式":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":46,"checkmust":true,"type":"radio"},"C4厨房存在第二火源":{"options":[{"isdefect":true,"data":"是","level":"一级，客户移除"},{"isdefect":false,"data":"否","isdefault":true}],"index":14,"checkmust":true,"type":"radio"},"C5厨房或燃气设施房间住人":{"options":[{"isdefect":true,"data":"是","level":"一级，客户整改"},{"isdefect":false,"data":"否","isdefault":true}],"index":15,"checkmust":true,"type":"radio"},"E2燃气表故障":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":28,"checkmust":true,"type":"radio"},"热水器未安装烟道":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":44,"checkmust":true,"type":"radio"},"E3私接燃气设施":{"options":[{"isdefect":true,"data":"是","level":"二级，补办手续后合格使用"},{"isdefect":false,"data":"否","isdefault":true}],"index":29,"checkmust":true,"type":"radio"},"D7燃气管道锈蚀严重":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":23,"checkmust":true,"type":"radio"},"C1燃气管道缠绕或掉挂物品":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":11,"checkmust":true,"type":"radio"},"B2安全距离不够":{"options":[{"isdefect":true,"data":"是","level":"三级，客户移开相邻物符合安全距离"},{"isdefect":false,"data":"否","isdefault":true}],"index":9,"checkmust":true,"type":"radio"},"住户信息确认":{"index":47,"type":"text"},"A2胶管穿墙":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全胶管，改造或更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":3,"checkmust":true,"type":"radio"},"C3燃气燃烧具包裹":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":13,"checkmust":true,"type":"radio"},"D4燃气管道穿越卫生间":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":20,"checkmust":true,"type":"radio"},"A4胶管过长":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全胶管，改造或更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":5,"checkmust":true,"type":"radio"},"安全隐患状态C":{"index":10,"type":"text"},"安全隐患状态D":{"index":16,"type":"text"},"E4私拆私改燃气管道":{"options":[{"isdefect":true,"data":"是","level":"二级，补办手续后合格使用"},{"isdefect":false,"data":"否","isdefault":true}],"index":30,"checkmust":true,"type":"radio"},"安全隐患状态A":{"index":1,"type":"text"},"安全隐患状态B":{"index":7,"type":"text"},"安全隐患状态E":{"index":26,"type":"text"},"热水器和壁挂炉安检事项":{"index":41,"type":"text"},"安全用气常识":{"index":38,"type":"text"},"热水器烟道走公共烟道":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":42,"checkmust":true,"type":"radio"},"居住类型":{"options":[{"isdefect":false,"data":"租房户"},{"isdefect":false,"data":"自有房","isdefault":true}],"index":48,"checkmust":true,"type":"radio"},"E9小火是否走数":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"一级，不走数更换"}],"index":35,"checkmust":true,"type":"radio"},"燃气使用安全注意事项":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级，没有的补发"}],"index":39,"checkmust":true,"type":"radio"},"出现漏气紧急处理方法":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":40,"checkmust":true,"type":"radio"},"C2燃气管道及表具包裹":{"options":[{"isdefect":true,"data":"是","level":"二级，客户拆除遮挡物"},{"isdefect":false,"data":"否","isdefault":true}],"index":12,"checkmust":true,"type":"radio"},"A3胶管老化":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":4,"checkmust":true,"type":"radio"},"E1计量表具锈蚀严重":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":27,"checkmust":true,"type":"radio"},"B1燃气具附近堆放可燃、易燃物":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":8,"checkmust":true,"type":"radio"},"是否为壁挂炉用户":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否"}],"index":52,"checkmust":true,"type":"radio"},"E10防盗卡扣是否缺失":{"options":[{"isdefect":true,"data":"是","level":"三级，补全"},{"isdefect":false,"data":"否","isdefault":true}],"index":36,"checkmust":true,"type":"radio"},"管卡已发放，用户承诺自行立即安装":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":50,"type":"radio"},"燃气热水器装在浴室内":{"options":[{"isdefect":true,"data":"是"},{"isdefect":false,"data":"否","isdefault":true}],"index":45,"checkmust":true,"type":"radio"},"E7是否现场安装了防盗卡扣":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"三级，补全"}],"index":37,"type":"radio"},"E8断电是否关阀":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否","level":"一级，不管阀更换"}],"index":34,"checkmust":true,"type":"radio"},"D9灶前阀门损坏":{"options":[{"isdefect":true,"data":"是","level":"一级，更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":25,"checkmust":true,"type":"radio"},"D2燃气管道作为其它电器设备的接地线":{"options":[{"isdefect":true,"data":"是","level":"三级，发现即拆除"},{"isdefect":false,"data":"否","isdefault":true}],"index":18,"checkmust":true,"type":"radio"},"D1燃气管道穿锅台、水池":{"options":[{"isdefect":true,"data":"是","level":"三级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":17,"checkmust":true,"type":"radio"},"E5灶具熄火保护装置不正常":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":31,"checkmust":true,"type":"radio"},"A1软管中间有接口":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":2,"checkmust":true,"type":"radio"},"A5胶管两端接口处未安装喉卡":{"options":[{"isdefect":true,"data":"是","level":"一级"},{"isdefect":false,"data":"否","isdefault":true}],"index":6,"checkmust":true,"type":"radio"},"是否为热水器用户":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否"}],"index":51,"checkmust":true,"type":"radio"},"D8燃气管道及设备漏气":{"options":[{"isdefect":true,"data":"是","level":"一级，控制泄漏，修复漏气部位或停气处理"},{"isdefect":false,"data":"否","isdefault":true}],"index":24,"checkmust":true,"type":"radio"},"E6使用燃气具与气质不符":{"options":[{"isdefect":true,"data":"是","level":"三级，不安全灶具，客户更换"},{"isdefect":false,"data":"否","isdefault":true}],"index":32,"checkmust":true,"type":"radio"},"D3燃气管道(软管)穿越吊顶":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":19,"checkmust":true,"type":"radio"},"D5燃气管道(软管)暗埋墙体或地板":{"options":[{"isdefect":true,"data":"是","level":"二级，规范安装"},{"isdefect":false,"data":"否","isdefault":true}],"index":21,"checkmust":true,"type":"radio"},"用户是否同意整改":{"options":[{"isdefect":false,"data":"是","isdefault":true},{"isdefect":true,"data":"否"}],"index":49,"type":"radio"}}},"增值业务":{"index":3,"checkmust":true,"items":{"自闭阀备注":{"index":22,"checkmust":false,"type":"string"},"金属波纹管照片":{"index":41,"checkmust":true,"type":"picture"},"金属波纹管备注":{"index":42,"checkmust":false,"type":"string"},"燃气灶备注":{"index":7,"checkmust":false,"type":"string"},"*家财险*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":48,"checkmust":true,"type":"radio"},"燃气灶照片":{"index":6,"checkmust":true,"type":"picture"},"燃气险到期剩余":{"index":45,"checkmust":true,"type":"string"},"家财险购买年份":{"index":49,"checkmust":true,"type":"date"},"热水器到期剩余":{"index":15,"checkmust":true,"type":"string"},"切断阀照片":{"index":31,"checkmust":true,"type":"picture"},"切断阀备注":{"index":32,"checkmust":false,"type":"string"},"燃气灶型号":{"options":[{"isdefect":false,"data":"单灶"},{"isdefect":false,"data":"双灶"}],"index":2,"checkmust":true,"type":"radio"},"燃气灶到期剩余":{"index":5,"checkmust":true,"type":"string"},"燃气灶购买年份":{"index":4,"checkmust":true,"type":"date"},"自闭阀到期剩余":{"index":20,"checkmust":true,"type":"string"},"热水器购买年份":{"index":14,"checkmust":true,"type":"date"},"*壁挂炉*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":8,"checkmust":true,"type":"radio"},"橡胶管到期剩余":{"index":35,"checkmust":true,"type":"string"},"*燃气灶*":{"correlation":true,"correlationnum":6,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":1,"checkmust":true,"type":"radio"},"有无熄火保护装置":{"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"data":"无"}],"index":3,"checkmust":true,"type":"radio"},"壁挂炉购买年份":{"index":9,"checkmust":true,"type":"date"},"报警器到期剩余":{"index":25,"checkmust":true,"type":"string"},"热水器备注":{"index":17,"checkmust":false,"type":"string"},"*报警器*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":23,"checkmust":true,"type":"radio"},"热水器照片":{"index":16,"checkmust":true,"type":"picture"},"自闭阀购买年份":{"index":19,"checkmust":true,"type":"date"},"自闭阀照片":{"index":21,"checkmust":true,"type":"picture"},"橡胶管备注":{"index":37,"checkmust":false,"type":"string"},"橡胶管照片":{"index":36,"checkmust":true,"type":"picture"},"*燃气险*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":43,"checkmust":true,"type":"radio"},"*热水器*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":13,"checkmust":true,"type":"radio"},"*橡胶管*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":33,"checkmust":true,"type":"radio"},"壁挂炉到期剩余":{"index":10,"checkmust":true,"type":"string"},"切断阀到期剩余":{"index":30,"checkmust":true,"type":"string"},"橡胶管购买年份":{"index":34,"checkmust":true,"type":"date"},"壁挂炉照片":{"index":11,"checkmust":true,"type":"picture"},"报警器照片":{"index":26,"checkmust":true,"type":"picture"},"燃气险备注":{"index":47,"checkmust":false,"type":"string"},"燃气险照片":{"index":46,"checkmust":true,"type":"picture"},"报警器备注":{"index":27,"checkmust":false,"type":"string"},"金属波纹管购买年份":{"index":39,"checkmust":true,"type":"date"},"壁挂炉备注":{"index":12,"checkmust":false,"type":"string"},"报警器购买年份":{"index":24,"checkmust":true,"type":"date"},"金属波纹管到期剩余":{"index":40,"checkmust":true,"type":"string"},"*金属波纹管*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":38,"checkmust":true,"type":"radio"},"*切断阀*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":28,"checkmust":true,"type":"radio"},"燃气险购买年份":{"index":44,"checkmust":true,"type":"date"},"*自闭阀*":{"correlation":true,"correlationnum":4,"options":[{"isdefect":false,"data":"有"},{"isdefect":false,"selcorrelation":true,"data":"无","isdefault":true}],"index":18,"checkmust":true,"type":"radio"},"家财险到期剩余":{"index":50,"checkmust":true,"type":"string"},"家财险照片":{"index":51,"checkmust":true,"type":"picture"},"家财险备注":{"index":52,"checkmust":false,"type":"string"},"切断阀购买年份":{"index":29,"checkmust":true,"type":"date"}}},"燃气表":{"index":1,"checkmust":true,"items":{}}},"DevicesSetConfig":{"安检详情":{"index":2,"checkmust":true,"items":{"外观检查":{"options":[{"isdefect":false,"data":"无明显损伤"},{"isdefect":false,"data":"表面清洁"},{"isdefect":true,"data":"其他","level":"一级"}],"index":28,"type":"checkbox"},"是否有切断阀":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":56,"type":"radio"},"是否知道抢险电话":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":65,"type":"radio"},"过滤器状态":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"异常，需清理"}],"index":47,"type":"checkbox"},"安全放散阀测试":{"options":[{"isdefect":false,"data":"阀门能有效密闭"},{"isdefect":true,"data":"测试压力大"},{"isdefect":true,"data":"不正常"},{"isdefect":true,"data":"未测试"},{"isdefect":true,"data":"不适用"}],"index":51,"type":"checkbox"},"用户是否清楚操作指引":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否","level":"未定级隐患"}],"index":59,"type":"radio"},"调压、立管出的防撞设施/围栏是否完好":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否","level":"三级"}],"index":38,"type":"radio"},"体积修正仪报警信息":{"options":[{"isdefect":false,"data":"没有"},{"isdefect":true,"data":"有"},{"isdefect":true,"data":"压力异常"},{"isdefect":true,"data":"温度异常"},{"isdefect":true,"data":"超量程"},{"isdefect":true,"data":"电池电量低"},{"isdefect":true,"data":"其他"}],"index":34,"type":"checkbox"},"计量设备：涡轮/台":{"index":4,"type":"number"},"外露中低压管道":{"index":14,"type":"text"},"润滑油注油/ml":{"index":33,"type":"number"},"外观检查是否完好":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否","level":"三级"}],"index":60,"type":"radio"},"小流量计量情况":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"异常","level":"三级"},{"isdefect":true,"data":"未测试","level":"三级"}],"index":31,"type":"checkbox"},"穿墙管检查":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"腐蚀","level":"三级"},{"isdefect":true,"data":"变形","level":"三级"},{"isdefect":true,"data":"套管保护不好","level":"三级"}],"index":24,"type":"checkbox"},"计量设备：超声/台":{"index":6,"type":"number"},"泄露的丝扣/处":{"index":17,"type":"number"},"轻度腐蚀/处":{"index":20,"type":"number"},"用气设备":{"index":39,"type":"text"},"计量设备：腰轮/台":{"index":5,"type":"number"},"用气设备：烧嘴/个":{"index":11,"type":"number"},"用气设备：商用燃气具/台":{"index":12,"type":"number"},"应急知识":{"index":64,"type":"text"},"是否有操作指引":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否","level":"未定级隐患"}],"index":58,"type":"radio"},"泄露的法兰/处":{"index":16,"type":"number"},"泄露的焊缝/处":{"index":18,"type":"number"},"计量设备: 热式质量/台":{"index":7,"type":"number"},"管道、设备连接泄漏解决措施":{"index":49,"type":"string"},"中度腐蚀/处":{"index":21,"type":"number"},"用气设备：其他":{"index":13,"type":"string"},"用气设备：干燥机/台":{"index":10,"type":"number"},"是否有副路":{"options":[{"isdefect":false,"data":"是"},{"isdefect":false,"data":"否"}],"index":44,"type":"radio"},"运行声音检查":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"异常","level":"一级"}],"index":29,"type":"checkbox"},"排污口密闭检查":{"options":[{"isdefect":false,"data":"齐全/清晰"},{"isdefect":true,"data":"不齐全/不清晰"}],"index":52,"type":"checkbox"},"防护设施":{"index":37,"type":"text"},"防拆装置完好性":{"options":[{"isdefect":false,"data":"铅封、封堵、锁具完好"},{"isdefect":true,"data":"其他"}],"index":27,"type":"checkbox"},"计量装置":{"index":25,"type":"text"},"计量设备：皮膜/台":{"index":8,"type":"number"},"是否熟悉漏气基本处理流程":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":66,"type":"radio"},"用户操作":{"index":61,"type":"text"},"重要阀门检查":{"options":[{"isdefect":false,"data":"阀柄齐全"},{"isdefect":true,"data":"阀柄不齐全"}],"index":62,"type":"checkbox"},"调压设备：自装/台":{"index":3,"type":"number"},"燃气泄漏检测":{"options":[{"isdefect":false,"data":"检测法兰、丝扣、焊缝未发现泄漏"},{"isdefect":true,"data":"检测发现泄露","level":"一级"}],"index":15,"type":"checkbox"},"副路是否能正常使用":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":45,"type":"radio"},"润滑油油位":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"异常","level":"二级"}],"index":32,"type":"checkbox"},"设备数量":{"index":1,"type":"text"},"重要阀门操作":{"options":[{"isdefect":false,"data":"阀门开关灵活"},{"isdefect":true,"data":"阀门开关不灵活"}],"index":63,"type":"checkbox"},"温度压力":{"options":[{"isdefect":false,"data":"显示与现场工况吻合"},{"isdefect":true,"data":"不吻合","level":"一级"}],"index":30,"type":"checkbox"},"出口压力/Kpa":{"index":43,"type":"number"},"管道防腐":{"options":[{"isdefect":false,"data":"防腐良好"},{"isdefect":true,"data":"有腐蚀"},{"isdefect":true,"data":"其他"}],"index":19,"type":"checkbox"},"严重腐蚀/处":{"index":22,"type":"number"},"线路连接":{"options":[{"isdefect":false,"data":"可靠"},{"isdefect":true,"data":"不可靠","level":"二级"}],"index":36,"type":"checkbox"},"远传":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"不正常"}],"index":35,"type":"checkbox"},"调压装置":{"index":41,"type":"text"},"安全系统":{"index":53,"type":"text"},"过滤器压差/Mpa":{"index":46,"type":"number"},"管道支架":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"间距不符合标准","level":"三级"},{"isdefect":true,"data":"变形脱落","level":"三级"}],"index":23,"type":"checkbox"},"计量表检定有效性":{"options":[{"isdefect":false,"data":"在检定期内"},{"isdefect":true,"data":"超期"}],"index":26,"type":"checkbox"},"设备的连接管道":{"options":[{"isdefect":false,"data":"钢管"},{"isdefect":false,"data":"橡胶管"},{"isdefect":false,"data":"波纹管"}],"index":40,"type":"checkbox"},"调压设备：橇装/套":{"index":2,"type":"number"},"是否知道控制阀门的位置和开关方法":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":67,"type":"radio"},"报警器是否正常":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":55,"type":"radio"},"气体和流向标识":{"options":[{"isdefect":false,"data":"齐全/清晰"},{"isdefect":true,"data":"不齐全/不清晰"}],"index":50,"type":"checkbox"},"管道、设备连接泄漏检测":{"options":[{"isdefect":false,"data":"无泄漏"},{"isdefect":true,"data":"有泄漏"}],"index":48,"type":"checkbox"},"切断阀是否正常":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":57,"type":"radio"},"输出压力波动":{"options":[{"isdefect":false,"data":"正常"},{"isdefect":true,"data":"异常"}],"index":42,"type":"checkbox"},"用气设备：锅炉/台":{"index":9,"type":"number"},"是否有报警器":{"options":[{"isdefect":false,"data":"是"},{"isdefect":true,"data":"否"}],"index":54,"type":"radio"}}},"其他未定级隐患":{"index":3,"checkmust":false,"items":{"隐患拍照2":{"index":4,"checkmust":false,"type":"picture"},"隐患拍照1":{"index":2,"checkmust":false,"type":"picture"},"隐患拍照4":{"index":8,"checkmust":false,"type":"picture"},"隐患拍照3":{"index":6,"checkmust":false,"type":"picture"},"隐患信息1":{"isdefect":true,"index":1,"checkmust":false,"type":"string"},"隐患信息2":{"isdefect":true,"index":3,"checkmust":false,"type":"string"},"隐患信息3":{"isdefect":true,"index":5,"checkmust":false,"type":"string"},"隐患信息4":{"isdefect":true,"index":7,"checkmust":false,"type":"string"}}},"燃气表":{"index":1,"checkmust":false,"items":{}}},"clearPhone":{"cleardata":[{"deletetable":true,"tables":[{"tablename":"t_notice"},{"tablename":"t_check_paper"},{"tablename":"t_paper_overall_imgs"},{"tablename":"t_devices_items_lists"},{"tablename":"t_check_plan_item"},{"tablename":"t_check_plan"},{"tablename":"t_phone_state"},{"tablename":"t_plan_item_meter"},{"tablename":"t_plan_item_device"},{"tablename":"t_device_info"},{"tablename":"t_defect_info"},{"tablename":"t_devices_items"},{"tablename":"t_paper_devices"},{"tablename":"t_telchangematter"},{"tablename":"t_phonehandplan"},{"tablename":"t_phonehandplanimgs"}],"module":"安检"},{"deletetable":true,"tables":[{"tablename":"t_phonehandplan"},{"tablename":"t_phonehandplanimgs"}],"module":"抄表"},{"deletetable":true,"tables":[{"tablename":"t_serviceworkorder"},{"tablename":"t_oppointment"},{"tablename":"t_service"},{"tablename":"t_complaint"},{"tablename":"t_consult"},{"tablename":"t_service_acitivity"},{"tablename":"t_servicework"},{"tablename":"t_notwork"},{"tablename":"t_delayapply"},{"tablename":"t_delayreply"},{"tablename":"t_reminder"},{"tablename":"t_site_back"},{"tablename":"t_servicesend"},{"tablename":"t_recall"},{"tablename":"t_servicedelete"},{"tablename":"t_servicerepair"},{"tablename":"t_details"},{"tablename":"t_doorrepair"},{"tablename":"t_accidenttreatment"},{"tablename":"t_gaiconduit"},{"tablename":"t_liconduit"},{"tablename":"t_firstgascheck"},{"tablename":"t_failure"},{"tablename":"t_failurecase"},{"tablename":"t_material"},{"tablename":"t_baseuserinfo"},{"tablename":"t_repairimg"},{"tablename":"t_teldeviceservice"},{"tablename":"t_detailimg"},{"tablename":"t_substitution"},{"tablename":"t_install"},{"tablename":"t_retail"}],"module":"工单"}]},"ApproveConfig":{"livedispose":"true","checkphone":"123456或者96777","writeback":"false","approve":"true","addresstype":"A","templatename":"奥德安检结果单","safeCheckToRepair":"true","userproperties":"true","showmore":"true"}}}
    /*if (error.status !== 704) {
      throw error
    }*/
  }
}

let select = function * (self) {
  let http = new HttpResetClass()
  let getGasman = yield http.load('POST', '/rs/search', {
    source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
    userid: self.$login.f.id
  }, {resolveMsg: null, rejectMsg: null})
  console.log('获取安检员', getGasman)
  self.checkersid.push({label: '全部', value: ''})
  getGasman.data.forEach((checker) => {
    self.checkersid.push({label: checker.name, value: checker.id})
  })
}

export default {
  title: '安检结果查看',
  data () {
    let model = new PagedList('api/af-safecheck/sql/查找安检单', 20, {
      f_plan_id: 'this.f_plan_id',
      f_approved: 'this.f_approved',
      f_entry_status: 'this.f_entry',
      f_no_checkplan: 'this.f_no_checkplan',
      f_filialeid: 'this.f_filialeid',
      orderitem: '\'f_offsite_time desc\''
    })
    model.f_plan_id = ''
    model.f_approved = ''
    model.f_entry = ''
    model.f_no_checkplan = ''
    model.f_filialeid = `('${this.$login.f.orgid}')`
    return {
      showVisit: false,
      wavflie: '',
      row: null,
      visitrow: {},
      meter_classify: this.$appdata.getParam('气表类型'),
      model: model,
      excelTitle: '安检结果查看导出',
      excelHeaders: {
        'f_userinfo_code': '客户编号',
        'f_user_name': '客户姓名',
        'f_user_phone': '客户电话',
        'f_check_type': '客户类型',
        'f_address': '客户地址',
        'f_entry_status': '安检状态',
        'f_offsite_time': '安检时间',
        'f_checker_name': '安检员',
        'f_plan_name': '计划名称',
        'bigualu': '壁挂炉',
        'reshuiqi': '热水器',
        'leigouqiliang': '累购气量',
        'yiyongqiliang': '已用气量',
        'shengyuqiliang': '剩余气量',
        'f_meter_brand': '气表品牌',
        'f_repair_approved_note': '备注',
        'f_upload_date': '上传时间'
      },
      searchData: {
        condition: '1=1',
        orderitem: 'f_offsite_time desc',
        f_plan_id: '',
        f_approved: '',
        f_entry_status: '',
        f_no_checkplan: '',
        f_filialeid: `('${this.$login.f.orgid}')`,
        f_filialeids: ''
      },
      fun: this.$login.f,
      checkersid: [],
      reshuiqis: [
        {label: '全部', value: ''},
        {label: '是', value: '是'},
        {label: '否', value: '否'}],
      bigualus: [
        {label: '全部', value: ''},
        {label: '是', value: '是'},
        {label: '否', value: '否'}],
      check_types: [
        {label: '民用', value: '民用'},
        {label: '非民用', value: '非民用'}],
      safetype: [
        {label: '散户安检', value: '散户安检'},
        {label: '年度普检', value: '年度普检'},
        {label: '专项计划', value: '专项计划'}],
      criteriaShow: false,
      showModal: false,
      f_approval_states: this.$appdata.getParam('安检单审核状态'),
      f_entry_status: this.$appdata.getParam('安检状态'),
      f_checkplans: this.$appdata.getParam('有无计划'),
      showcheckmsg: false,
      checkInfo: {},
      orderDefault: '\'f_offsite_time\'',
      orderFields: {
        f_offsite_time: 'no'
      },
      gasusertypes: [{label: '全部', value: ''}, {label: '热水器', value: 'tcp.f_reshuiqi'}, {
        label: '壁挂炉',
        value: 'tcp.f_bigualu'
      }],
      f_meter_brands: []
    }
  },
  methods: {
    watchShow (val) {
      this.visitrow = {}
      this.showVisit = val
      // this.search()
    },
    playWav (val, val2) {
      console.log('7777777777777')
      console.log('回访数据' + JSON.stringify(val2))
      this.wavflie = val
      this.visitrow = val2
      this.showVisit = true
    },
    getRes (obj) {
      this.model.f_filialeid = this.$login.convertToIn(obj.resids)
      this.searchData.f_filialeid = this.$login.convertToIn(obj.resids)
    },
    change (row) {
      //Vue.$login = {jwt: row.f_checker_id}
      row.f_upload_state = '已传'
      this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
    },
    readConfig () {
      let gen = asyncReady(this)
      return co(gen)
    },
    showChooser () {
      this.showModal = true
    },
    hidden () {
      this.criteriaShow = !this.criteriaShow
    },
    refresh () {
      this.$refs.paged.$refs.criteria.search()
    },
    ok () {
      this.showModal = false
      if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
        this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
      }
    },
    cancel () {
      this.showModal = false
      this.model.f_check_plan = {f_plan_name: '', id: ''}
    },
    print (row) {
      this.showcheckmsg = true
      this.checkInfo = row
    },
    sort (field, rule) {
      // 将所有排序方式设为不排序，实现相互排斥
      for (let key in this.orderFields) {
        if (key === field) {
          this.orderFields[key] = rule
        } else {
          this.orderFields[key] = 'no'
        }
      }
      // 如果新规则不排序，还原为默认排序
      if (rule === 'no') {
        this.model.paramSource.orderitem = `'${this.orderDefault}'`
      } else {
        this.model.paramSource.orderitem = `'${field} ${rule}'`
      }
      this.search()
    },
    search () {
      this.$refs.paged.$refs.criteria.search()
    },

    selfSearch (args) {
      console.log('9999999999999999')
      //this.excelTitle='安检结果查看导出'+Util.toStandardTimeString().substring(11,19).replace(new RegExp( ':' , "g" ),""),
      this.excelTitle = '安检结果查看导出'
      //args.condition+=" and f_check_type='民用'"
      this.model.search(args.condition, args.model, args.condValue)
    },
    initMeter_brands () {
      let http = new HttpResetClass()
      http.load('post', '/api/af-safecheck/sql/safe_singleTable_GroupBy', {
        'data': {
          'items': 'f_meter_brand',
          'tablename': 't_gasbrand',
          'condition': '1=1',
          'groupitem': 'f_meter_brand'
        }
      }, {rejectMsg: null, resolveMsg: null}).then((res) => {
        if (res.data) {
          this.f_meter_brands = [{label: '全部', value: ''}]
          res.data.forEach((re) => {
            this.f_meter_brands.push({label: re.f_meter_brand, value: re.f_meter_brand})
          })
        }
      })
    }
  },

  ready () {
    this.$refs.paged.$refs.criteria.model.f_check_end = Util.toStandardTimeString().substring(0, 10)
    this.$refs.paged.$refs.criteria.model.f_check_start = Util.getPreMonth(this.$refs.paged.$refs.criteria.model.f_check_end)
    this.initMeter_brands()
    this.function = this.f
    console.log(this.f)
    //this.remind()
    let gen = select(this)
    co(gen)
  },
  watch: {
    'model.f_no_checkplan' (val) {
      if (this.model.f_no_checkplan == '有计划安检') {
        this.showChooser()
      }
      if (val) {
        this.searchData.f_no_checkplan = val
      }
    },
    'model.condition' (val) {
      if (val) {
        this.searchData.condition = val
      }
    },
    'model.f_entry' (val) {
      if (val) {
        this.searchData.f_entry_status = val
      }
    },
    'model.f_plan_id' (val) {
      if (val) {
        this.searchData.f_plan_id = val
      }
    },
    'model.f_approved' (val) {
      if (val) {
        this.searchData.f_approved = val
      }
    },
    'model.f_filialeids' (val) {
      if (val) {
        this.searchData.f_filialeid = val
      }
    }
  }

}
</script>
