hejianhao
2025-04-16 dab2d210ca06c1faa514c6388fbd5de1ab355360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
  <div>
  <el-dialog
    title="查看四长四员"
    :visible="value"
    width="50%"
    :modal='false'
    :show-close="false"
    class="custom-height"
    :before-close="onCancel">
      <div class="see-details">
        <ul>
          <li><span>姓名:</span>{{seedata.name}}</li>
          <li><span>联系电话:</span>{{seedata.phone}}</li>
          <li><span>身份证号码:</span>{{seedata.idCard}}</li>
          <li><span>职位:</span>{{seedata.position}}</li>
          <li><span>登录账号:</span>{{seedata.account}}</li>
          <li><span>管辖区域:</span>{{seedata.buildings && seedata.buildings.join(",")}}</li>
          <li><span>账号状态:</span>
            <el-radio v-model="seedata.status" :label="1" :disabled="seedata.status !== 1">启用</el-radio>
            <el-radio v-model="seedata.status"  :label="2" :disabled="seedata.status !== 2">禁用</el-radio>
          </li>
        </ul>
 
      </div>
      <!-- 底部按钮 -->
      <span slot="footer" class="dialog-footer">
        <el-button @click="onCancel">关 闭</el-button>
      </span>
    </el-dialog>
  </div>
</template>
 
<script>
export default {
  props: {
    value: {type: Boolean},
    seedata:{type: Object}
  },
 
  methods:{
    onCancel() {
      this.$emit('change', false);
    },
  }
}
</script>
 
<style lang="less" scoped>
.see-details  { 
  ul li {
    line-height: 35px; 
    color: #909399;
    font-size: 14px;
    span {
      display: inline-block;
      width: 100px;
      text-align: right;
      color: #606266;
    }
  }
 
}
</style>