quotationDialog.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <template>
  2. <el-dialog :visible.sync="dialogVisible" width="1080px" class="quotation_style" top="1vh">
  3. <div id="pdfContentsDiv" style="padding: 25px;height: auto;" v-watermark='userId'>
  4. <div slot="title" class="dialog-title quotation-title flex a-c j-s">
  5. <div>
  6. <img :src="queryOrders.logoImg" class="align" alt style="width: 28px; height: 28px;vertical-align: middle" />
  7. <span>{{ queryOrders.inscompany }}-报价单</span>
  8. </div>
  9. <div class="flex a-start" style="color: #333333;font-weight: 500;"
  10. v-if="queryOrders.jqapplyno || queryOrders.syapplyno">
  11. <span>投保单号:</span>
  12. <div class="flex f-c ">
  13. <span style="margin-right: 20px;" v-if="queryOrders.jqapplyno">{{ queryOrders.jqapplyno
  14. }}(交强)</span>
  15. <span style="margin-right: 20px;" v-if="queryOrders.syapplyno">{{ queryOrders.syapplyno
  16. }}(商业)</span>
  17. </div>
  18. </div>
  19. </div>
  20. <div class="tableInfo">
  21. <div class="header ">
  22. <span class="title">车辆信息</span>
  23. <div class="line"></div>
  24. <span style="position: absolute;color: #333333;top: 0;right: 0;">{{ queryOrders.orderno }}</span>
  25. </div>
  26. <el-descriptions :column="3" style="margin-top: 6px;">
  27. <el-descriptions-item label-class-name="my-label" content-class-name="my-content" label="车牌号">{{
  28. queryOrders.carinfo.licenseNo }}</el-descriptions-item>
  29. <el-descriptions-item label-class-name="my-label1" content-class-name="my-content" label="车架号">{{
  30. queryOrders.carinfo.vinNo }}</el-descriptions-item>
  31. <el-descriptions-item label-class-name="my-label2" content-class-name="my-content" label="发动机号">{{
  32. queryOrders.carinfo.engineNo }}</el-descriptions-item>
  33. <el-descriptions-item label-class-name="my-label" content-class-name="my-content" label="注册日期">{{
  34. queryOrders.carinfo.registerDate }}</el-descriptions-item>
  35. <el-descriptions-item label-class-name="my-label1" content-class-name="my-content" label="发证日期">{{
  36. queryOrders.carinfo.issueDate }}</el-descriptions-item>
  37. <el-descriptions-item label-class-name="my-label2" content-class-name="my-content" label="车辆用途">
  38. {{ queryOrders.carinfo.vehicleUse }}
  39. </el-descriptions-item>
  40. <el-descriptions-item label-class-name="my-label" content-class-name="my-content" label="座位数">
  41. {{ queryOrders.carinfo.seatCount }}
  42. </el-descriptions-item>
  43. <el-descriptions-item label-class-name="my-label1" content-class-name="my-content" label="车型">{{
  44. queryOrders.carinfo.modelcname }}</el-descriptions-item>
  45. </el-descriptions>
  46. </div>
  47. <div class="tableInfo">
  48. <div class="header">
  49. <span class="title">投被保人信息</span>
  50. <div class="line"></div>
  51. </div>
  52. <el-descriptions :column="3" style="margin-top: 6px;">
  53. <el-descriptions-item label-class-name="my-label" content-class-name="my-content" label="车主姓名">{{
  54. queryOrders.ownerinfo.name }}</el-descriptions-item>
  55. <el-descriptions-item label-class-name="my-label1" content-class-name="my-content" label="投保人姓名">{{
  56. queryOrders.applyinfo.name }}</el-descriptions-item>
  57. <el-descriptions-item label-class-name="my-label2" content-class-name="my-content" label="被保人姓名">{{
  58. queryOrders.insureinfo.name }}</el-descriptions-item>
  59. <el-descriptions-item label-class-name="my-label" content-class-name="my-content" label="车主身份证号">
  60. {{ queryOrders.ownerinfo.identifyNumber }}
  61. </el-descriptions-item>
  62. <el-descriptions-item label-class-name="my-label1" content-class-name="my-content" label="投保人身份证号">{{
  63. queryOrders.applyinfo.identifyNumber }}</el-descriptions-item>
  64. <el-descriptions-item label-class-name="my-label2" content-class-name="my-content" label="被保人身份证号">{{
  65. queryOrders.insureinfo.identifyNumber }}</el-descriptions-item>
  66. </el-descriptions>
  67. </div>
  68. <div class="tableInfo">
  69. <div class="header">
  70. <span class="title">保险期限</span>
  71. <div class="line"></div>
  72. </div>
  73. <div style="margin-top: 6px;">投保明细</div>
  74. <el-descriptions :column="2" style="margin-top: 6px;">
  75. <el-descriptions-item v-if="queryOrders.jqstartdate && queryOrders.jqenddate" label-class-name="my-label"
  76. content-class-name="my-content" label="车辆交强险保险期间">{{
  77. queryOrders.jqstartdate }}至{{ queryOrders.jqenddate }}</el-descriptions-item>
  78. <el-descriptions-item v-if="queryOrders.systartdate && queryOrders.syenddate" label-class-name="my-label3"
  79. content-class-name="my-content" label="车辆商业险保险期间">
  80. {{ queryOrders.systartdate }}至{{ queryOrders.syenddate }}
  81. </el-descriptions-item>
  82. </el-descriptions>
  83. </div>
  84. <div class="flex j-s a-start">
  85. <div :style="{ width: jqWidth }" v-if="queryOrders.jqstartdate">
  86. <el-table :data="jqProducts" stripe border :cell-style="{ padding: '4px 0' }" style="border-right: none !important;"
  87. :header-cell-style="{ background: '#D42426 ', fontWeight: '500', color: '#fff', padding: '4px 0' }">
  88. <el-table-column width="100" prop="label" align="center" label="产品类型">
  89. <template slot-scope="scope">
  90. <span style="font-weight: bold;color: #333;">{{ scope.row.label }}</span>
  91. </template>
  92. </el-table-column>
  93. <el-table-column prop="name" align="center" label="保险产品">
  94. </el-table-column>
  95. <el-table-column width="100" prop="totalPremium" align="center" label="总计(元)">
  96. <template slot-scope="scope">
  97. <span style="color:#D42426;font-weight: bold;font-size: 16px;">{{ scope.row.totalPremium }}</span>
  98. </template>
  99. </el-table-column>
  100. </el-table>
  101. </div>
  102. <div :style="{ width: syWidth, height: '100%' }" v-if="queryOrders.systartdate">
  103. <el-table :data="syProducts" stripe border :span-method="objectSpanMethod" :cell-style="{ padding: '4px 0' }"
  104. :header-cell-style="{ background: '#D42426 ', fontWeight: '500', color: '#fff', padding: '4px 0' }">
  105. <el-table-column width="100" prop="label" align="center" label="产品类型">
  106. <template slot-scope="scope">
  107. <span style="font-weight: bold;color: #333;">{{ scope.row.label }}</span>
  108. </template>
  109. </el-table-column>
  110. <el-table-column prop="name" align="center" label="险种">
  111. </el-table-column>
  112. <el-table-column align="center" width="90" prop="amount" label="保额">
  113. <template slot-scope="scope">
  114. <div v-if="['D4', 'SY_FJ_YBW2'].includes(scope.row.kindCode)">
  115. <span>{{ scope.row.unitAmount }}</span>/<span>{{ queryOrders.carinfo.seatCount - 1 }}座</span>
  116. </div>
  117. <div v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(
  118. scope.row.kindCode
  119. )
  120. ">
  121. <span>{{ scope.row.deductibleRate }}</span>
  122. </div>
  123. <div v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(
  124. scope.row.kindCode
  125. )
  126. ">
  127. <span>{{ scope.row.serviceTimes }}/次</span>
  128. </div>
  129. <div v-else>
  130. <span>{{ scope.row.amount }}</span>
  131. </div>
  132. </template>
  133. </el-table-column>
  134. <el-table-column align="center " width="100" prop="coveragePremium" label="保费(元)">
  135. <template slot-scope="scope">
  136. {{
  137. scope.row.label == '商业险' ? scope.row.coveragePremium : '-'
  138. }}
  139. </template>
  140. </el-table-column>
  141. <el-table-column align="center" width="100" prop="totalPremium" label="总计(元)">
  142. <template slot-scope="scope">
  143. <span style="color:#D42426;font-weight: bold;font-size: 16px;">{{ scope.row.totalPremium }}</span>
  144. </template>
  145. </el-table-column>
  146. </el-table>
  147. </div>
  148. </div>
  149. <el-table v-if="jyProducts.length > 0" :data="jyProducts" stripe border :span-method="objectSpanMethod1"
  150. :cell-style="{ padding: '4px 0' }"
  151. :header-cell-style="{ background: '#D42426 ', fontWeight: '500', color: '#fff', padding: '4px 0' }"
  152. style="width: 100%;margin-top:10px;">
  153. <el-table-column width="140" prop="label" align="center" label="驾意险名称">
  154. <template slot-scope="scope">
  155. <span style="font-weight: bold;color: #333;"> {{
  156. queryOrders.jyName
  157. }}</span>
  158. </template>
  159. </el-table-column>
  160. <el-table-column width="450" prop="name" align="center" label="保险责任">
  161. </el-table-column>
  162. <el-table-column align="center" prop="amount" label="保额">
  163. <template slot-scope="scope">
  164. {{
  165. scope.row.amount && scope.row.amount != 0 ? scope.row.amount : '-'
  166. }}
  167. </template>
  168. </el-table-column>
  169. <el-table-column align="center" prop="premium" label="保费(元)">
  170. <template slot-scope="scope">
  171. {{
  172. scope.row.premium && scope.row.premium != 0 ? scope.row.premium : '-'
  173. }}
  174. </template>
  175. </el-table-column>
  176. <el-table-column align="center" prop="each" label="每份">
  177. </el-table-column>
  178. <el-table-column align="center" prop="totalPremium" label="总计(元)">
  179. <template slot-scope="scope">
  180. <span style="color:#D42426;font-weight: bold;font-size: 16px;">{{ queryOrders.jypremium /
  181. (queryOrders.jyQuantity ? queryOrders.jyQuantity : 1)
  182. }}/每份</span>
  183. </template>
  184. </el-table-column>
  185. </el-table>
  186. <div class="flex a-c j-s" v-if="queryOrders.jyName" style="margin-top: 10px;color:#333;font-size: 16px;">
  187. <span>{{ queryOrders.jyName }}</span>
  188. <div>
  189. <span style="color: #868B98;">座位数:</span>
  190. <span>{{ queryOrders.carinfo.seatCount }}</span>
  191. </div>
  192. <div>
  193. <span style="color: #868B98;">每份:</span>
  194. <span>{{ queryOrders.jypremium /
  195. (queryOrders.jyQuantity ? queryOrders.jyQuantity : 1)
  196. }}/每份</span>
  197. </div>
  198. <div>
  199. <span style="color: #868B98;">份数:</span>
  200. <span>{{ queryOrders.jyQuantity ? queryOrders.jyQuantity
  201. : 1
  202. }}份</span>
  203. </div>
  204. <div style="color: #D42426;font-size: 18px; font-weight: bold;">
  205. <span>合计:</span>
  206. <span>{{
  207. queryOrders.jypremium }}元</span>
  208. </div>
  209. </div>
  210. <div class="payable_amount">
  211. <h3>
  212. <span v-if="queryOrders.jqpremium">交强险:{{ queryOrders.jqpremium + '元' }}</span>
  213. <span v-if="queryOrders.sypremium">车辆商业险:{{ queryOrders.sypremium + '元' }}</span>
  214. <span v-if="queryOrders.jypremium">驾意险:{{ queryOrders.jypremium + '元' }}</span>
  215. <span v-if="queryOrders.taxamount">车船税:{{ queryOrders.taxamount + '元' }}</span>
  216. </h3>
  217. <h2>
  218. <span v-if="queryOrders.sumpremium">应缴金额:<b style="color:#D42426;font-size:26px">{{ queryOrders.sumpremium
  219. }}</b> <span style="color:#D42426;font-size:20px">元</span></span>
  220. </h2>
  221. </div>
  222. <div style="margin: 10px 0;">报价时间:{{ queryOrders.createtime }}</div>
  223. <div>注:本报价单仅供参考,最终以出单价格为准。</div>
  224. </div>
  225. <span slot="footer" class="dialog-footer">
  226. <el-button type="primary" size="small" @click="copybjd()">截图</el-button>
  227. <el-button size="small" type="primary" plain @click="dialogVisible = false; allProducts = []">关闭</el-button>
  228. </span>
  229. </el-dialog>
  230. </template>
  231. <script>
  232. import html2Canvas from "html2canvas";
  233. import Cookies from "js-cookie";
  234. export default {
  235. name: "quotationDialog",
  236. props: {
  237. queryOrders: {
  238. type: Object,
  239. default: {}
  240. }
  241. },
  242. data() {
  243. return {
  244. dialogVisible: false,
  245. logoImg: '',
  246. userId: Cookies.get("user"),
  247. jqProducts: [{
  248. label: "交强险",
  249. }],
  250. syProducts: [],
  251. jyProducts: [],
  252. outOfBusinessVehicleUseoptions: [],
  253. businessVehicleUseoptions: [],
  254. }
  255. },
  256. created() {
  257. this.getDicType("businessVehicleUse"); //(车辆用途)营业
  258. this.getDicType("outOfBusinessVehicleUse"); //(车辆用途)非营业
  259. },
  260. computed: {
  261. jqWidth() {
  262. // 根据 v-if 的条件返回不同的宽度
  263. return this.queryOrders.jqstartdate && this.queryOrders.systartdate ? '30%' : '100%';
  264. },
  265. syWidth() {
  266. // 根据 v-if 的条件返回不同的宽度
  267. return this.queryOrders.jqstartdate && this.queryOrders.systartdate ? '70%' : '100%';
  268. }
  269. },
  270. methods: {
  271. spanMethod({ columnIndex }) {
  272. if (columnIndex === 0) {
  273. return [1, 2]; // 合并列
  274. }
  275. },
  276. getDicType(type) {
  277. this.$api.insCompany.dicType(type).then((res) => {
  278. if (res.code == 200) {
  279. this[type + "options"] = res.data.ddList;
  280. }
  281. });
  282. },
  283. setBackupVisible: function (backupVisible) {
  284. this.jyProducts=[];
  285. this.dialogVisible = backupVisible
  286. if (
  287. (this.queryOrders.carinfo.carnature &&
  288. this.queryOrders.carinfo.carnature == "02") ||
  289. this.queryOrders.carinfo.carnature == "非营业"
  290. ) {
  291. this.queryOrders.carinfo.vehicleUse = this.capTypedictTag(
  292. this.queryOrders.carinfo.vehicleUse,
  293. this.outOfBusinessVehicleUseoptions
  294. );
  295. } else {
  296. this.queryOrders.carinfo.vehicleUse = this.capTypedictTag(
  297. this.queryOrders.carinfo.vehicleUse,
  298. this.businessVehicleUseoptions
  299. );
  300. }
  301. this.queryOrders.ownerinfo.identifyNumber = this.queryOrders.ownerinfo.identifyNumber.slice(0, 4) + '******' + this.queryOrders.ownerinfo.identifyNumber.slice(14, 18);
  302. this.queryOrders.applyinfo.identifyNumber = this.queryOrders.applyinfo.identifyNumber.slice(0, 4) + '******' + this.queryOrders.applyinfo.identifyNumber.slice(14, 18);
  303. this.queryOrders.insureinfo.identifyNumber = this.queryOrders.insureinfo.identifyNumber.slice(0, 4) + '******' + this.queryOrders.insureinfo.identifyNumber.slice(14, 18);
  304. let data = JSON.parse(JSON.stringify(this.queryOrders))
  305. if (data.jqpremium) {
  306. this.jqProducts.forEach(e => { e.name = '交通事故强制责任险'; e.totalPremium = data.jqpremium });
  307. }
  308. if ((data.kindinfo && data.kindinfo.length > 0) || (data.accidentInfo && data.accidentInfo.length > 0)) {
  309. data.kindinfo && data.kindinfo.length > 0 ? data.kindinfo.forEach(el => { el.label = '商业险', el.name = el.kindName; el.totalPremium = data.sypremium }) : data.kindinfo
  310. data.accidentInfo && data.accidentInfo.length > 0 ? data.accidentInfo.forEach(e => { e.label = '驾意险'; e.totalPremium = data.jypremium; e.each = "每份" }) : data.accidentInfo
  311. this.syProducts = data.kindinfo && data.kindinfo.length > 0 ? data.kindinfo : [];
  312. this.jyProducts = data.accidentInfo && data.accidentInfo.length > 0 ? data.accidentInfo : [];
  313. }
  314. },
  315. objectSpanMethod({ row, column, rowIndex, columnIndex }) {
  316. if (columnIndex === 0) { // 假设我们要合并第三列(类型列)
  317. const rows = this.syProducts;
  318. let prevRow = rows[rowIndex - 1];
  319. if (prevRow && row.label === prevRow.label) {
  320. return [1, 0]; // 上一行与当前行相同,合并当前单元格
  321. } else {
  322. let rowspan = 1;
  323. for (let i = rowIndex + 1; i < rows.length; i++) {
  324. if (rows[i].label === row.label) {
  325. rowspan++;
  326. } else {
  327. break;
  328. }
  329. }
  330. return [rowspan, 1]; // 返回行合并数目和列合并数目
  331. }
  332. }
  333. if (columnIndex === 4) { // 假设我们要合并第三列(类型列)
  334. const rows = this.syProducts;
  335. let prevRow = rows[rowIndex - 1];
  336. if (prevRow && row.totalPremium === prevRow.totalPremium) {
  337. return [1, 0]; // 上一行与当前行相同,合并当前单元格
  338. } else {
  339. let rowspan = 1;
  340. for (let i = rowIndex + 1; i < rows.length; i++) {
  341. if (rows[i].totalPremium === row.totalPremium) {
  342. rowspan++;
  343. } else {
  344. break;
  345. }
  346. }
  347. return [rowspan, 1]; // 返回行合并数目和列合并数目
  348. }
  349. }
  350. },
  351. objectSpanMethod1({ row, column, rowIndex, columnIndex }) {
  352. if (columnIndex === 0) { // 假设我们要合并第三列(类型列)
  353. const rows = this.jyProducts;
  354. let prevRow = rows[rowIndex - 1];
  355. if (prevRow && row.label === prevRow.label) {
  356. return [1, 0]; // 上一行与当前行相同,合并当前单元格
  357. } else {
  358. let rowspan = 1;
  359. for (let i = rowIndex + 1; i < rows.length; i++) {
  360. if (rows[i].label === row.label) {
  361. rowspan++;
  362. } else {
  363. break;
  364. }
  365. }
  366. return [rowspan, 1]; // 返回行合并数目和列合并数目
  367. }
  368. }
  369. if (columnIndex === 4) { // 假设我们要合并第三列(类型列)
  370. const rows = this.jyProducts;
  371. let prevRow = rows[rowIndex - 1];
  372. if (prevRow && row.each === prevRow.each) {
  373. return [1, 0]; // 上一行与当前行相同,合并当前单元格
  374. } else {
  375. let rowspan = 1;
  376. for (let i = rowIndex + 1; i < rows.length; i++) {
  377. if (rows[i].each === row.each) {
  378. rowspan++;
  379. } else {
  380. break;
  381. }
  382. }
  383. return [rowspan, 1]; // 返回行合并数目和列合并数目
  384. }
  385. }
  386. if (columnIndex === 5) { // 假设我们要合并第三列(类型列)
  387. const rows = this.jyProducts;
  388. let prevRow = rows[rowIndex - 1];
  389. if (prevRow && row.totalPremium === prevRow.totalPremium) {
  390. return [1, 0]; // 上一行与当前行相同,合并当前单元格
  391. } else {
  392. let rowspan = 1;
  393. for (let i = rowIndex + 1; i < rows.length; i++) {
  394. if (rows[i].totalPremium === row.totalPremium) {
  395. rowspan++;
  396. } else {
  397. break;
  398. }
  399. }
  400. return [rowspan, 1]; // 返回行合并数目和列合并数目
  401. }
  402. }
  403. },
  404. capTypedictTag(val, option) {
  405. if (option.find((item) => item.dictValue == val)) {
  406. return option.find((item) => item.dictValue == val).dictTag;
  407. } else {
  408. return "-";
  409. }
  410. },
  411. // 截图粘贴
  412. copybjd() {
  413. html2Canvas(document.getElementById("pdfContentsDiv"), {
  414. allowTaint: true,
  415. taintTest: false,
  416. // useCORS: true
  417. }).then(function (canvas) {
  418. let base64Data = "";
  419. base64Data = canvas.toDataURL("image/png", 1);
  420. const date = new Date();
  421. const saveInfo = {
  422. download: date.getTime() + `.png`,
  423. href: base64Data,
  424. };
  425. const element = document.createElement("a");
  426. element.style.display = "none";
  427. for (const key in saveInfo) {
  428. element.setAttribute(key, saveInfo[key]);
  429. }
  430. document.body.appendChild(element);
  431. element.click();
  432. setTimeout(() => {
  433. document.body.removeChild(element);
  434. }, 300);
  435. });
  436. },
  437. }
  438. }
  439. </script>
  440. <style scoped lang="scss">
  441. .tableInfo {
  442. margin-bottom: 6px;
  443. .header {
  444. position: relative;
  445. .title {
  446. background: #D42426;
  447. border-radius: 2px 2px 0px 0px;
  448. color: #fff;
  449. padding: 2px 6px;
  450. box-sizing: border-box;
  451. display: inline-block;
  452. }
  453. .line {
  454. width: 100%;
  455. height: 1px;
  456. background: #D42426;
  457. }
  458. }
  459. }
  460. .vehicle {
  461. li {
  462. width: 33%;
  463. padding-top: 13px;
  464. display: inline-block;
  465. }
  466. span {
  467. color: #868B98;
  468. }
  469. margin: 10px 0 20px 0
  470. }
  471. .dialog-footer {
  472. button {
  473. width: 96px;
  474. text-align: center;
  475. }
  476. }
  477. .quotation-title {
  478. color: var(--themeColor);
  479. font-weight: bold;
  480. font-size: 16px;
  481. }
  482. .payable_amount {
  483. margin-top: 15px;
  484. text-align: right;
  485. padding: 5px 10px 0 0;
  486. background: rgba(212, 36, 38, 0.06);
  487. border-bottom: 4px #D42426 solid;
  488. color: #333333;
  489. h3>span {
  490. margin-left: 50px;
  491. }
  492. }
  493. /deep/ {
  494. // .el-table td.el-table__cell,
  495. // .el-table th.el-table__cell.is-leaf {
  496. // border-bottom: 1px solid #000;
  497. // }
  498. // .el-table--border .el-table__cell,
  499. // .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
  500. // border-right: 1px solid #000;
  501. // }
  502. .jqProductsClass {
  503. .el-table--border,
  504. .el-table--border,
  505. .el-table--group {
  506. border: 1px solid #000;
  507. border-right: none;
  508. }
  509. }
  510. .el-dialog__header {
  511. padding: 0;
  512. }
  513. .el-dialog__body {
  514. padding: 0;
  515. border-bottom: 1px solid #EEF1F6
  516. }
  517. .el-descriptions-item__label.is-bordered-label {
  518. color: #000;
  519. font-weight: bold;
  520. }
  521. .el-descriptions .is-bordered .el-descriptions-item__cell {
  522. text-align: center;
  523. border: 1px solid #000;
  524. }
  525. .el-descriptions :not(.is-bordered) .el-descriptions-item__cell {
  526. padding-bottom: 2px;
  527. }
  528. .el-descriptions-row {
  529. .my-label {
  530. color: #868B98;
  531. }
  532. .my-label1 {
  533. color: #868B98;
  534. margin-left: 50px;
  535. }
  536. .my-label2 {
  537. color: #868B98;
  538. margin-left: 100px;
  539. }
  540. .my-label3 {
  541. color: #868B98;
  542. margin-left: 80px;
  543. }
  544. .my-content {
  545. color: #333;
  546. }
  547. }
  548. }
  549. </style>