zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<template>
  <div
    class="listDetailDialog"
    v-loading.fullscreen.lock="loading"
    element-loading-background="transparent"
  >
    <el-dialog
      :visible.sync="applyVisible"
      :title="title"
      :close-on-click-modal="false"
      :modal-append-to-body="true"
      :append-to-body="true"
      :destroy-on-close="true"
      @close="closeDialog('form')"
      width="60%"
      :scrollable="true"
    >
      <p
        class="listDetailDialogtitle"
        style="text-align: left; margin-left: 20px"
      >
        <span></span>
        {{ title }}
      </p>
      <KeysTable
        :list="detailList"
        :header="detailListHeader"
        :isShowPages="false"
        title=""
      ></KeysTable>
      <div style="text-align: center; margin-top: 20px">
        <el-button type="primary" @click="closeDialog('form')">关闭</el-button>
      </div>
    </el-dialog>
  </div>
</template>
 
<script>
import KeysTable from "../../comprehensiveTransaction/components/KeysTable.vue";
// import {
//   qryMainCreditInfo, //查询主授信人信息
//   qryReconcileInfoMap, //查询和解信息
//   qryCommunicationInfo, //查询律所历史沟通信息
//   saveCommunicationInfo, //  保存律所沟通记录
//   saveReconcileInfo, //保存律所信息
//   trialFirstPayment, //V贷首次还款试算
//   queryPaymentCalcLog, //查询首次还款试算明细
//   queryPaymentCalcResult, //查询首次还款试算结果
// } from "@comprehensive/serve/public";
// import {
//   lawCommunHistoryListHeader,
//   vLoanReconcileRepaymentTrialListHeader,
// } from "@comprehensive/utils/tableHeaders";
export default {
  props: ["title", "visible", "showList", "showListHeader"],
  data() {
    return {
      loading: false,
      detailList: [],
      detailListHeader: [...this.showListHeader],
    };
  },
  components: {
    KeysTable,
  },
  computed: {
    applyVisible: {
      get() {
        return this.visible;
      },
      set() {},
    },
  },
  async created() {
    console.log("selectWorkerInfo", this.selectWorkerInfo);
    this.init();
  },
  methods: {
    async init() {
      this.detailList = this.showList;
    },
    closeDialog(formName) {
      this.$emit("closeApply", false);
    },
  },
};
</script>
 
<style lang="stylus">
.listDetailDialog {
  .el-dialog {
    width: auto;
    max-width: calc(100% - 180px);
    min-width: 1280px;
    max-height: 100%;
    overflow: hidden;
    margin: 0 !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
 
    p {
      text-align: center;
      color: #222222;
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 20px;
    }
 
    .el-dialog__header {
      padding: 40px 0 30px;
 
      .el-dialog__title {
        margin: 0 0 0 20px;
      }
 
      .el-dialog__headerbtn {
        top: 12px;
      }
    }
 
    .el-dialog__body {
      padding: 0 20px 26px;
 
      .el-table {
        td, th {
          height: 48px;
          padding: 0;
 
          .cell {
            line-height: 18px;
          }
        }
      }
    }
 
    .el-dialog__footer {
      padding: 0;
    }
 
    .dialog-footer {
      padding: 0 0 40px;
    }
 
    .el-button {
      width: 120px;
      font-size: 14px;
      line-height: 20px;
      padding: 5px 0;
    }
 
    .el-form {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
 
      .el-form-item {
        display: flex;
        width: 45%;
        margin: 0 30px 24px 0;
 
        .el-form-item__label {
          color: #888;
        }
 
        .el-form-item__content {
          flex: 1;
 
          .el-date-editor {
            width: auto;
          }
 
          .el-select {
            display: block;
          }
        }
      }
    }
  }
}
 
.listDetailDialogtitle {
  margin: 0px 0 20px 0;
  padding: 0 0 0 10px;
  border-left: solid 2px #0081f0;
  line-height: 16px;
  font-size: 14px;
  color: #222222;
}
 
.el-dialog__body {
  max-height: 600px; /* 你可以根据需要调整这个值 */
  overflow-y: auto; /* 当内容超出最大高度时,显示垂直滚动条 */
}
 
.family-address-item .el-form-item__content {
  width: 50%; /* 或者你希望的特定宽度 */
}
</style>