newAssociatedPage.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. <template>
  2. <div class="newAssociatedPage">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" class="form-box">
  4. <el-form-item label="关键字" prop="name">
  5. <el-input
  6. style="width:160px;"
  7. maxlength="10"
  8. v-model="queryParams.searchValue"
  9. placeholder="实验室"
  10. clearable
  11. size="small"
  12. />
  13. </el-form-item>
  14. <el-form-item label="安全分类" prop="typeId">
  15. <el-select v-model="queryParams.typeId" placeholder="请选择安全分类" style="width:160px;">
  16. <el-option
  17. v-for="dict in typeList"
  18. :key="dict.id"
  19. :label="dict.typeName"
  20. :value="dict.id"
  21. ></el-option>
  22. </el-select>
  23. </el-form-item>
  24. <el-form-item label="安全分级" prop="level">
  25. <el-select v-model="queryParams.level" placeholder="请选择安全分级" style="width:160px;">
  26. <el-option
  27. v-for="item in levelList"
  28. :key="item.id"
  29. :label="item.classifiedName"
  30. :value="item.id">
  31. </el-option>
  32. </el-select>
  33. </el-form-item>
  34. <el-form-item label="关联时间" prop="senseState">
  35. <el-date-picker
  36. :clearable="false"
  37. v-model="dateRange"
  38. size="small"
  39. style="width: 240px"
  40. value-format="yyyy-MM-dd"
  41. type="daterange"
  42. range-separator="-"
  43. start-placeholder="开始日期"
  44. end-placeholder="结束日期"
  45. ></el-date-picker>
  46. </el-form-item>
  47. <el-form-item style="float: right;">
  48. <el-col :span="1.5">
  49. <p class="reset-button-one"
  50. @click="backButton"
  51. style="float: right;"
  52. >返回</p>
  53. <p class="add-button-one-90"
  54. @click="handleAdd(1)"
  55. style="float: right;margin-right:20px;"
  56. >新增</p>
  57. </el-col>
  58. </el-form-item>
  59. <el-form-item>
  60. <p class="inquire-button-one" style="margin-right:10px;" @click="handleQuery">查询</p>
  61. <p class="reset-button-one" @click="resetQuery">重置</p>
  62. </el-form-item>
  63. </el-form>
  64. <el-table v-loading="loading" border :data="tableData">
  65. <el-table-column label="实验室" align="left" prop="name" width="300" show-overflow-tooltip/>
  66. <el-table-column label="安全分类" align="left" prop="typeName" width="140">
  67. <template slot-scope="scope">
  68. <span v-for="(item,index) in typeList" :key="index" v-if="item.id == scope.row.typeId">{{item.typeName}}</span>
  69. </template>
  70. </el-table-column>
  71. <el-table-column label="安全分级" align="left" prop="leveName" width="140">
  72. <template slot-scope="scope">
  73. <span v-for="(item,index) in levelList" :key="index" v-if="item.id == scope.row.level">{{item.classifiedName}}</span>
  74. </template>
  75. </el-table-column>
  76. <el-table-column label="危险源" align="left" prop="labSensorHazardRelationsList" show-overflow-tooltip>
  77. <template slot-scope="scope">
  78. <span style="margin-right:10px;" v-for="(item,index) in scope.row.labSensorHazardRelationsList" :key="index">
  79. {{item.hazardName}} - {{item.sensorName}}
  80. </span>
  81. </template>
  82. </el-table-column>
  83. <el-table-column label="关联时间" align="left" prop="relationTime" width="200"/>
  84. <el-table-column label="状态" align="left" prop="senseState" width="140"/>
  85. <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="100">
  86. <template slot-scope="scope">
  87. <div class="table-button-box">
  88. <p class="table-button-null"></p>
  89. <p class="table-button-p" @click="handleDelete(scope.row)">移除</p>
  90. <p class="table-button-null"></p>
  91. </div>
  92. </template>
  93. </el-table-column>
  94. </el-table>
  95. <pagination :page-sizes="[20, 30, 40, 50]"
  96. v-show="total>0"
  97. :total="total"
  98. layout="total, prev, pager, next, sizes, jumper"
  99. :page.sync="queryParams.pageNum"
  100. :limit.sync="queryParams.pageSize"
  101. @pagination="getList"
  102. />
  103. <el-dialog title='关联实验室' v-if="dialogAssociatedOpen" :visible.sync="dialogAssociatedOpen" width="1200px"
  104. :close-on-click-modal="false">
  105. <div style="height: 600px;overflow: hidden;display: flex;flex-direction: column;flex:1;">
  106. <el-form :model="param" ref="queryForm" :inline="true" label-width="80px">
  107. <el-form-item label="关键字" prop="searchValue">
  108. <el-input
  109. maxlength="10"
  110. v-model="param.searchValue"
  111. placeholder="实验室"
  112. clearable
  113. size="small"
  114. />
  115. </el-form-item>
  116. <el-form-item label="安全分类" prop="typeId" label-width="80px">
  117. <el-select v-model="param.typeId" placeholder="请选择安全分类" clearable size="small">
  118. <el-option
  119. v-for="dict in typeList"
  120. :key="dict.id"
  121. :label="dict.typeName"
  122. :value="dict.id"
  123. ></el-option>
  124. </el-select>
  125. </el-form-item>
  126. <el-form-item label="安全分级" prop="level" label-width="80px">
  127. <el-select v-model="param.level" placeholder="请选择安全分级" clearable size="small">
  128. <el-option
  129. v-for="dict in levelList"
  130. :key="dict.id"
  131. :label="dict.classifiedName"
  132. :value="dict.id"
  133. ></el-option>
  134. </el-select>
  135. </el-form-item>
  136. <el-form-item>
  137. <p class="inquire-button-one" style="margin-right:10px;" @click="onSearch">查询</p>
  138. <p class="reset-button-one" @click="resetForm">重置</p>
  139. </el-form-item>
  140. </el-form>
  141. <!--<div style="display: flex;background: rgb(202,229,253);height:40px;line-height:40px;font-size:16px;padding:0 82px;margin-bottom:20px;">-->
  142. <!--<p style="margin-right:24px;">已选择 <span style="color:#0183FA;">{{allNum}}</span> 项</p>-->
  143. <!--<p style="color:#0183FA;cursor: pointer;" @click="allButton(1)">全选本页</p>-->
  144. <!--<p style="color:#0183FA;margin:0 32px 0 30px;cursor: pointer;" @click="allButton(2)">选择全部</p>-->
  145. <!--</div>-->
  146. <el-table ref="table" v-loading="loading" border :data="dialogTableData" @selection-change="handleSelectionChange" :row-key="getRowKeys">
  147. <el-table-column type="selection" width="55" :reserve-selection="true" align="center" />
  148. <el-table-column label="实验室" width="220" align="center" prop="name" show-overflow-tooltip/>
  149. <el-table-column label="安全分类" width="100" align="center" prop="typeId" show-overflow-tooltip>
  150. <template slot-scope="scope">
  151. <span v-for="(item,index) in typeList" :key="index" v-if="item.id == scope.row.typeId">{{item.typeName}}</span>
  152. </template>
  153. </el-table-column>
  154. <el-table-column label="安全分级" width="100" align="center" prop="level" show-overflow-tooltip>
  155. <template slot-scope="scope">
  156. <span v-for="(item,index) in levelList" :key="index" v-if="item.id == scope.row.level">{{item.classifiedName}}</span>
  157. </template>
  158. </el-table-column>
  159. <el-table-column label="危险源" align="left">
  160. <template slot-scope="scope">
  161. <div style="margin-bottom:10px;">
  162. <div v-for="(item,index) in scope.row.buttonList" :key="index"
  163. style="display: inline-block;padding:0 10px;border:1px solid #E0E0E0;margin:10px 10px 0 0;">
  164. <span style="line-height:40px;font-size:14px;">{{item.hazardSubjectName}}-{{item.sensorName}}</span>
  165. <span class="el-icon-circle-close" @click="delMinObj(scope.row.buttonList,index)"
  166. style="cursor: pointer;width:14px;height:14px;margin-left:10px;margin-top:14px;color:#666;"></span>
  167. </div>
  168. <p v-if="scope.row.buttonType == 0"
  169. @click="addObjButton(1,scope.row)"
  170. style="color:#0183FA;font-size:16px;border:1px solid #0183FA;
  171. border-radius:4px;width:88px;height:30px;line-height:30px;
  172. display: inline-block;margin:5px 0 0 10px;text-align: center;cursor: pointer;">新增危险源</p>
  173. <div v-if="scope.row.buttonType == 1"
  174. style="display: flex;margin-top:10px;">
  175. <el-select v-model="scope.row.hazardSubjectId" placeholder="请选择危险源"
  176. @change="(val)=>hardwareChange(val,scope.row)"
  177. style="width:168px;">
  178. <el-option
  179. v-for="dict in scope.row.labHazardSubVOList"
  180. :key="dict.xyId"
  181. :label="dict.label"
  182. :value="dict.xyId"
  183. ></el-option>
  184. </el-select>
  185. <p style="width:30px;text-align: center;line-height:40px;">-</p>
  186. <el-select v-model="scope.row.sensorId" placeholder="请选择传感器"
  187. @change="(val)=>sensorChange(val,scope.row)"
  188. style="width:168px;">
  189. <el-option
  190. v-for="dict in scope.row.labSensorList"
  191. :key="dict.id"
  192. :label="dict.name"
  193. :value="dict.id"
  194. ></el-option>
  195. </el-select>
  196. <p style="color:#CCCCCC;font-size:16px;border:1px solid #E0E0E0;
  197. border-radius:4px;width:80px;height:30px;line-height:30px;
  198. display: inline-block;margin:5px 0 0 10px;text-align: center;cursor: pointer;" @click="addObjButton(2,scope.row)">取消</p>
  199. <p style="color:#0183FA;font-size:16px;border:1px solid #0183FA;
  200. border-radius:4px;width:80px;height:30px;line-height:30px;
  201. display: inline-block;margin:5px 0 0 10px;text-align: center;cursor: pointer;" @click="addObjButton(3,scope.row)">确定</p>
  202. </div>
  203. </div>
  204. </template>
  205. </el-table-column>
  206. </el-table>
  207. <pagination
  208. v-show="dialogTotal>0"
  209. :total="dialogTotal"
  210. :page.sync="param.pageNum"
  211. :limit.sync="param.pageSize"
  212. @pagination="getList"
  213. />
  214. </div>
  215. <div slot="footer" class="dialog-footer">
  216. <div style="display: flex">
  217. <p style="flex:1;"></p>
  218. <p style="cursor: pointer;border-radius:6px;width:70px;line-height:30px;font-size:12px;text-align:center;margin-right:17px;color:#999999;background:#E0E0E0;" @click="handleAdd(2)">取消</p>
  219. <p style="cursor: pointer;border-radius:6px;width:70px;line-height:30px;font-size:12px;text-align:center;color:#fff;background:#0045AF;" @click="handleAdd(3)">确定</p>
  220. <p style="flex:1;"></p>
  221. </div>
  222. </div>
  223. </el-dialog>
  224. </div>
  225. </template>
  226. <script>
  227. import { optionHardware } from "@/api/laboratory/hardware";
  228. import { optionSensor } from "@/api/laboratory/sensor";
  229. import { listClassifiedAll } from "@/api/laboratory/classified";
  230. import { listClasstypeAll } from "@/api/laboratory/classtype";
  231. import { getLabRiskPlanJoinSub,getLabRiskPlanNoJoinSub,deleteRiskPlanJoinSub,riskPlanJoinSub,riskPlanBatchJoinSub } from "@/api/evacuation3_2/index";
  232. export default {
  233. name: 'newAssociatedPage',
  234. props:{
  235. associationData:{},
  236. },
  237. data() {
  238. return {
  239. loading:false,
  240. levelList:[],
  241. typeList:[],
  242. // 查询参数
  243. dateRange:[],
  244. queryParams:{
  245. pageNum: 1,
  246. pageSize:20,
  247. searchValue:"",
  248. },
  249. total:0,
  250. tableData:[],
  251. /***************关联危险源开始****************/
  252. // 选中数组
  253. ids: [],
  254. // 非单个禁用
  255. single: true,
  256. // 非多个禁用
  257. multiple: true,
  258. // 查询数据
  259. param:{
  260. pageNum:1,
  261. pageSize:10,
  262. },
  263. dialogTotal:5,
  264. //关联实验室
  265. dialogAssociatedOpen:false,
  266. dialogTableData:[],
  267. //传感器
  268. sensorList:[],
  269. sensorListData:[],
  270. //设备
  271. hardwareList:[],
  272. /***************关联危险源结束****************/
  273. allNum:0,
  274. }
  275. },
  276. created(){
  277. this.getListAll();
  278. },
  279. mounted(){
  280. this.getList();
  281. },
  282. methods:{
  283. getListAll(){
  284. optionSensor({}).then(response => {
  285. this.sensorList = response.data;
  286. this.sensorListData = JSON.parse(JSON.stringify(response.data))
  287. });
  288. optionHardware({}).then(response => {
  289. this.hardwareList = response.data;
  290. });
  291. listClassifiedAll().then(response=>{
  292. if(response.code==200){
  293. this.levelList=response.data
  294. }
  295. })
  296. listClasstypeAll().then(response=>{
  297. if(response.code==200){
  298. this.typeList=response.data;
  299. }
  300. });
  301. },
  302. //新增关联实验室弹窗
  303. handleAdd(type){
  304. let self = this;
  305. if (type == 1){
  306. this.resetForm();
  307. this.$set(this,'allNum',0);
  308. this.$set(this,'dialogAssociatedOpen',true);
  309. }else if(type == 2){
  310. this.$set(this,'dialogAssociatedOpen',false);
  311. }else if(type == 3){
  312. let list = JSON.parse(JSON.stringify(this.$refs.table.selection));
  313. if(!list[0]){
  314. this.msgError('请勾选需要关联的实验室');
  315. return
  316. }
  317. let newList = [];
  318. for(let i=0;i<list.length;i++){
  319. let obj = {
  320. riskPlanId:self.associationData.id,
  321. subjectId:list[i].id,
  322. labSensorHazardRelations:list[i].buttonList,
  323. }
  324. newList.push(obj);
  325. }
  326. let newObj = {
  327. riskPlanId:self.associationData.id,
  328. yesOrNo:0,
  329. labRiskPlanSubVos:newList,
  330. }
  331. riskPlanJoinSub(newObj).then(response => {
  332. if(response.data.ifConflict == 1){
  333. self.$confirm(response.data.message, "警告", {
  334. confirmButtonText: "确定",
  335. cancelButtonText: "取消",
  336. type: "warning"
  337. }).then(function() {
  338. let newData = {
  339. riskPlanId:self.associationData.id,
  340. yesOrNo:1,
  341. labRiskPlanSubVos:newList,
  342. }
  343. riskPlanJoinSub(newData).then(response => {
  344. self.msgSuccess(response.msg);
  345. self.resetQuery();
  346. self.$set(self,'dialogAssociatedOpen',false);
  347. });
  348. }).then(() => {
  349. }).catch(() => {});
  350. }else{
  351. self.msgSuccess(response.msg);
  352. self.resetQuery();
  353. self.$set(self,'dialogAssociatedOpen',false);
  354. }
  355. });
  356. }
  357. },
  358. //查询
  359. onSearch(){
  360. this.$set(this.param,'pageNum',1);
  361. this.getLabRiskPlanNoJoinSub();
  362. },
  363. //重置
  364. resetForm(){
  365. this.$set(this,'param',{
  366. pageNum:1,
  367. pageSize:20,
  368. searchValue:"",
  369. typeId:"",
  370. level:"",
  371. });
  372. this.$set(this,'dialogTotal',0);
  373. this.$set(this,'dialogTableData',[]);
  374. this.onSearch();
  375. },
  376. //获取未关联实验室列表
  377. getLabRiskPlanNoJoinSub(){
  378. this.$set(this.param,'riskPlanId',this.associationData.id);
  379. getLabRiskPlanNoJoinSub(this.param).then(response => {
  380. for(let i=0;i<response.rows.length;i++){
  381. response.rows[i].buttonType = 0;
  382. response.rows[i].buttonList = [];
  383. response.rows[i].sensorId = null;
  384. response.rows[i].sensorName = null;
  385. response.rows[i].hazardSubjectId = null;
  386. response.rows[i].hazardSubjectName = null;
  387. }
  388. this.dialogTableData = response.rows;
  389. this.dialogTotal = response.total;
  390. this.loading = false;
  391. });
  392. },
  393. //新增对象至选中实验室
  394. addObjButton(type,item){
  395. if(type == 1){
  396. if(item.buttonList.length>8){
  397. this.msgError('最多添加9项')
  398. return
  399. }
  400. item.buttonType = 1;
  401. }else if(type == 2){
  402. item.buttonType = 0;
  403. }else if(type == 3){
  404. console.log('sensorId',item.sensorId)
  405. console.log('hazardSubjectId',item.hazardSubjectId)
  406. if(item.hazardSubjectId == null){
  407. this.msgError('请选择要添加的危险源')
  408. return
  409. }
  410. if(item.sensorId == null){
  411. this.msgError('请选择要添加的传感器')
  412. return
  413. }
  414. let obj = {
  415. sensorId:item.sensorId,
  416. sensorName:item.sensorName,
  417. hazardSubjectId:item.hazardSubjectId,
  418. hazardSubjectName:item.hazardSubjectName,
  419. };
  420. for(let i=0;i<item.buttonList.length;i++){
  421. if(item.buttonList[i].sensorId == item.sensorId && item.buttonList[i].hazardSubjectId == item.hazardSubjectId){
  422. this.msgError('该条件已存在');
  423. return
  424. }
  425. }
  426. item.buttonList.push(obj);
  427. item.sensorId = null;
  428. item.sensorName = null;
  429. item.hazardSubjectId = null;
  430. item.hazardSubjectName = null;
  431. item.buttonType = 0;
  432. this.$forceUpdate();
  433. }
  434. },
  435. //删除列表内的对象
  436. delMinObj(list,index){
  437. list.splice(index,1)
  438. this.$forceUpdate();
  439. },
  440. sensorChange(val,row){
  441. console.log('传感器')
  442. for(let i=0;i<row.labSensorList.length;i++){
  443. if(row.labSensorList[i].id == val){
  444. row.sensorId = row.labSensorList[i].id;
  445. row.sensorName = row.labSensorList[i].name;
  446. }
  447. }
  448. this.$forceUpdate();
  449. },
  450. hardwareChange(val,row){
  451. console.log('危险源')
  452. for(let i=0;i<row.labHazardSubVOList.length;i++){
  453. if(row.labHazardSubVOList[i].xyId == val){
  454. row.hazardSubjectId = row.labHazardSubVOList[i].xyId;
  455. row.hazardSubjectName = row.labHazardSubVOList[i].label;
  456. }
  457. }
  458. this.$forceUpdate();
  459. },
  460. //删除关联实验室
  461. handleDelete(item){
  462. let self = this;
  463. this.$confirm('您确定要移除该实验室吗?', "警告", {
  464. confirmButtonText: "确定",
  465. cancelButtonText: "取消",
  466. type: "warning"
  467. }).then(function() {
  468. let obj = {
  469. riskPlanId:self.associationData.id,
  470. subjectId:item.id
  471. }
  472. deleteRiskPlanJoinSub(obj).then((response) => {
  473. self.msgSuccess(response.msg)
  474. self.resetQuery();
  475. });
  476. }).then(() => {
  477. }).catch(() => {});
  478. },
  479. //查询
  480. handleQuery(){
  481. this.$set(this.queryParams,'pageNum',1);
  482. if(this.dateRange[0]){
  483. this.queryParams.startDate = this.dateRange[0]
  484. this.queryParams.endDate = this.dateRange[1]
  485. }else {
  486. this.queryParams.startDate = null
  487. this.queryParams.endDate = null
  488. }
  489. this.getList();
  490. },
  491. //重置
  492. resetQuery(){
  493. this.$set(this,'queryParams',{
  494. pageNum:1,
  495. pageSize:20,
  496. searchValue:"",
  497. typeId:"",
  498. level:"",
  499. });
  500. this.$set(this,'dateRange',[]);
  501. this.$set(this,'total',0);
  502. this.$set(this,'tableData',[]);
  503. this.handleQuery();
  504. },
  505. /** 查询列表 */
  506. getList() {
  507. let self = this;
  508. this.loading = true;
  509. this.$set(this.queryParams,'riskPlanId',this.associationData.id);
  510. getLabRiskPlanJoinSub(this.queryParams).then(response => {
  511. for(let i=0;i<response.rows.length;i++){
  512. for(let o=0;o<self.typeList.length;o++){
  513. if(response.rows[i].typeId == self.typeList[o].id){
  514. response.rows[i].typeName = self.typeList[o].typeName;
  515. }
  516. }
  517. for(let o=0;o<self.levelList.length;o++){
  518. if(response.rows[i].level == self.levelList[o].id){
  519. response.rows[i].leveName = self.levelList[o].classifiedName;
  520. }
  521. }
  522. response.rows[i].labSensorHazardRelationsList = [];
  523. for(let o=0;o<response.rows[i].labSensorHazardRelations.length;o++){
  524. let obj = {
  525. hazardName:response.rows[i].labSensorHazardRelations[o].hazardName,
  526. sensorName:response.rows[i].labSensorHazardRelations[o].sensorName,
  527. }
  528. response.rows[i].labSensorHazardRelationsList.push(obj);
  529. }
  530. }
  531. this.tableData = response.rows;
  532. this.total = response.total;
  533. this.loading = false;
  534. });
  535. },
  536. //返回
  537. backButton(){
  538. if(this.associationData.type == 1){
  539. this.$parent.tableClickButton(6)
  540. }else{
  541. this.$parent.tableClickButton(5)
  542. }
  543. },
  544. /*===记录勾选数据===
  545. 需要再el-table 添加 :row-key="getRowKeys"
  546. 需要在selection 添加 :reserve-selection="true"
  547. */
  548. getRowKeys(row) {
  549. return row.id
  550. },
  551. //勾选
  552. handleSelectionChange(selection){
  553. this.$set(this,'allNum',selection.length);
  554. // console.log('selection',selection)
  555. },
  556. allButton(type){
  557. let self = this;
  558. if(type == 1){
  559. let list = [];
  560. for(let i=0;i<self.dialogTableData.length;i++){
  561. list.push(self.dialogTableData[i].id);
  562. }
  563. let obj = {
  564. riskPlanId:self.associationData.id,
  565. subjectIds:list+''
  566. }
  567. riskPlanBatchJoinSub(obj).then(response => {
  568. this.msgSuccess(response.msg);
  569. this.resetQuery();
  570. this.$set(this,'dialogAssociatedOpen',false);
  571. });
  572. }else if(type == 2){
  573. let obj = {
  574. riskPlanId:self.associationData.id,
  575. searchValue:self.param.searchValue,
  576. typeId:self.param.typeId,
  577. level:self.param.level,
  578. subjectIds:'-1'
  579. };
  580. riskPlanBatchJoinSub(obj).then(response => {
  581. this.msgSuccess(response.msg);
  582. this.resetQuery();
  583. this.$set(this,'dialogAssociatedOpen',false);
  584. });
  585. }
  586. },
  587. },
  588. }
  589. </script>
  590. <style scoped lang="scss">
  591. .newAssociatedPage{
  592. flex: 1;
  593. display: flex !important;
  594. flex-direction: column;
  595. overflow: hidden;
  596. padding:20px;
  597. p {
  598. margin: 0;
  599. font-weight: 500;
  600. }
  601. }
  602. </style>