fromCheck9.vue 5.43 KB
<template>
  <a-modal
    :width="modalWidth"
    :style="modalStyle"
    :visible="visible"
    :maskClosable="false"
    @cancel="handleCancel">
    <template slot="footer">
      <a-button @click="handleCancel">关闭</a-button>
    </template>

    <div class="content">
      <div style="width: 100%;text-align: center;"><h1 style="font-size:100px">每周场车安全检查记录</h1></div>
      <table>
        <tr>
          <th style="width: 10%;">序号</th>
          <th style="width: 15%;">检查因素</th>
          <th style="width: 20%;">检查项目</th>
          <th style="width: 40%;">检查内容</th>
          <th style="width: 10%;">结果</th>
        </tr>
        <tr v-for="(item, index) in people" :key="index">
          <td class="font">{{ index + 1 }}</td>
          <td class="font">{{ item.checkFactors }}</td>
          <td class="font">{{ item.inspectionItems }}</td>
          <td class="font">{{ item.inspectionContent }}</td>

          <td :class="'text-center'">
          <th v-if="item.ischeck==1">✓</th>
          <th v-if="item.ischeck==0">✕</th>
          </td>

        </tr>

        <tr>
          <td colspan="5">
            检查情况记录:
            <br/>
            <textarea style="width: 98%;" name="" id="" cols="30" rows="10" v-model="record" disabled> </textarea>
          </td>
        </tr>
        <tr>
          <td colspan="3">设备编号:
            <j-dict-select-tag style="width: 60%" v-model="cloum20" title="编号" dictCode="device_number"
                               placeholder="请选择设备编号" disabled/>
          </td>
          <td colspan="3">特种设备安全总监:
            <a-input v-model="recorder" style="width: 40%" disabled></a-input>
          </td>
        </tr>
        <tr>
          <td colspan="6">检查日期:
            <j-date v-model="recordDate" disabled></j-date>
          </td>
        </tr>
        <tr style="height: 5px;">
          <td colspan="5" style="text-align: center;">
            <!--            <button style="width: 20rem;height: 3rem;" @click="submit">提交</button>-->
          </td>
        </tr>
      </table>
    </div>


  </a-modal>
</template>


<script>


export default {
  data() {
    return {
      visible: false,
      querySource: {},
      loading: false,
      drawno: '',
      modalWidth: '90%',
      modalStyle: {'top': '20px'},
      record: '',
      recorder: '',
      recordDate: '',
      dynamicModels: {},
      people: [
        {
          checkFactors: '设备因素',
          inspectionItems: '安全监控装置',
          inspectionContent: `装有安全监控系统的叉车,应符合以下要求:
1)乘驾式电动叉车、电液换向的乘驾式内燃平衡重式叉车、电
液换向的乘驾式内燃侧面式叉车应当设置司机坐(站)姿状态感
知系统,当司机不在正常操作位置时,车辆不能进行动力运行, 即使操纵载荷装卸控制装置,也不应当出现门架的倾斜和货叉架 的移动;当司机回到正常操作位置,但没有进行额外操作时,动 力运行、门架的倾斜和货叉架的移动均不应当自动发生。
2)应当设置符合《场(厂)内专用机动车辆安全技术规程》
(TSG 81—2022)的司机权限信息采集器,验证司机权限信息采  集器是否有效,当该采集器失效、拆除或者司机信息不正确时, 车辆不能启动
`,
          ischeck: 1,
        },
        {
          checkFactors: '环境因素',
          inspectionItems: '外部相关信息',
          inspectionContent: `根据政府监督、通报、预警、舆情信息等外部相关信息,结合本 单位实际,开展类比式隐患排查`,
          ischeck: 1,
        },
        {
          checkFactors: '管理因素',
          inspectionItems: '故障和异常情况排除',
          inspectionContent: `场车使用中出现故障或者发生异常情况,使用单位应当停止使
用,对其进行检查,消除事故隐患,并且记录,记录存入安全技 术档案
`,
          ischeck: 1,
        },
      ],
    }
  },
  methods: {
    handleCancel() {
      this.visible = false
    },
    ck(record) {
      this.visible = true;
      this.people[0].ischeck = record.cloum1;
      this.people[1].ischeck = record.cloum2;
      this.people[2].ischeck = record.cloum3;
      this.record = record.record;
      this.recorder = record.recorder;
      this.recordDate = record.recordDate;
      this.cloum20 = record.cloum20;
    }
  }
  ,
  mounted() {
  }
  ,
}
</script>


<style scoped>
.app-body {
  width: 100%;
  height: 100%;
}

.content {
  width: 99.1%;
  height: 100%;
  border: 1px solid yellowgreen;
  margin: 0 auto;
  overflow: auto;
}

body {
  font-size: 1rem;
}

table,
td,
th {
  border-collapse: collapse;
  border-spacing: 0;
}

table {
  width: 100%;
  margin-top: 10px;
}

td,
th {
  border: 2px solid #000000;
  padding: 5px 10px;
}

th {
  background: #42b983;
  font-size: 3vw;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
}

.font {
  font-size: 2.8vw;
}

tr:nth-of-type(odd) {
  background: #fff;
}

tr:nth-of-type(even) {
  background: #eee;
}

button {
  outline: none;
  padding: 5px 8px;
  color: #fff;
  border: 1px solid #bcbcbc;
  border-radius: 3px;
  background-color: #009a61;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

.text-center {
  text-align: center;
}
</style>

<style lang="less">
.app_container {
  width: 100%;
  height: 100%;
  background: #ffff !important;
}
</style>