soundSetCore.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. <template>
  2. <div>
  3. <div
  4. :class="isField ? 'soundBtnWrap' : 'soundBtnFixed'"
  5. v-if="!basdisabled"
  6. >
  7. <el-button
  8. type="primary"
  9. @click="allin"
  10. v-if="teamStatus != 'resetTeam' && !basdisabled"
  11. >全选</el-button
  12. >
  13. <el-button
  14. type="danger"
  15. @click="deleteRow"
  16. v-if="teamStatus != 'resetTeam' && !basdisabled"
  17. >删除</el-button
  18. >
  19. <el-button type="primary" @click="soundVisible = true" v-if="!basdisabled"
  20. >添加</el-button
  21. >
  22. </div>
  23. <div class="wall" v-if="!basdisabled"></div>
  24. <div class="coreWrap">
  25. <el-checkbox-group v-model="checkList" @change="lookCheck">
  26. <el-collapse v-model="chioseActiveSound">
  27. <el-collapse-item
  28. v-for="(item, index) in activeSoundList"
  29. :name="item.id"
  30. :key="index"
  31. >
  32. <template slot="title">
  33. <div class="coreItemTitle">
  34. <el-checkbox :label="item.id" :disabled="basdisabled">{{
  35. item.sound
  36. }}</el-checkbox>
  37. </div>
  38. </template>
  39. <div class="coreItem">
  40. <div class="coreItemRow">
  41. <p class="title">计划招生人数:</p>
  42. <el-input
  43. :disabled="basdisabled"
  44. style="width: 180px"
  45. v-model="item.expectedStudentNum"
  46. ></el-input>
  47. </div>
  48. </div>
  49. <el-divider></el-divider>
  50. <chioseMusic
  51. :activeSoundList="activeSoundList"
  52. :item="item"
  53. @lookMusic="lookMusic"
  54. :basdisabled="basdisabled"
  55. />
  56. <div class="coreItemRow">
  57. <p class="title">教辅:</p>
  58. <select-all
  59. style="width: 558px !important"
  60. v-model="item.markChioseList"
  61. :disabled="basdisabled"
  62. clearable
  63. filterable
  64. multiple
  65. >
  66. <el-option
  67. v-for="(item, index) in item.markList"
  68. :key="index"
  69. :label="item.name"
  70. :value="item.id"
  71. >
  72. <span style="float: left">{{ item.name }}</span>
  73. <span
  74. style="
  75. float: right;
  76. color: #8492a6;
  77. font-size: 13px;
  78. padding-right: 20px;
  79. "
  80. >{{ item.groupPurchasePrice | moneyFormat }}元</span
  81. >
  82. </el-option>
  83. </select-all>
  84. </div>
  85. </el-collapse-item>
  86. </el-collapse>
  87. </el-checkbox-group>
  88. </div>
  89. <el-dialog
  90. title="声部选择"
  91. :visible.sync="soundVisible"
  92. v-if="soundVisible"
  93. >
  94. <chioseSoundList
  95. :soundList="soundList"
  96. :activeSound="activeSound"
  97. @chioseSound="chioseSound"
  98. />
  99. </el-dialog>
  100. </div>
  101. </template>
  102. <script>
  103. import store from "@/store";
  104. import { formatData } from "@/utils/utils";
  105. import {
  106. getSubject,
  107. getDefaultSubject,
  108. getSoundTree,
  109. findMusicGroupSubjectInfo,
  110. updateSubjectInfo,
  111. getSubjectGoods,
  112. } from "@/api/buildTeam";
  113. import dayjs from "dayjs";
  114. import chioseSoundList from "./chioseSoundList";
  115. import chioseMusic from "./chioseMusic";
  116. import { findIndex } from "lodash";
  117. import numeral from "numeral";
  118. export default {
  119. components: { chioseSoundList, chioseMusic },
  120. data() {
  121. return {
  122. soundList: [], // 接口返回的一级二级声部
  123. soundVisible: false, // 设置声部弹窗
  124. childSoundList: [],
  125. activeSoundList: [], //列表上的声部
  126. activeSound: null, // 展开的列表
  127. chioseActiveSound: [],
  128. soundList: [], // 接口返回的一级二级声部
  129. childSoundList: [],
  130. teamStatus: "", // 乐团状态
  131. checkList: [],
  132. basdisabled: false,
  133. teamid: "",
  134. isField: true,
  135. };
  136. },
  137. mounted() {
  138. if (this.$route.query.id) {
  139. this.teamid = this.$route.query.id;
  140. }
  141. window.addEventListener("scroll", this.getScroll);
  142. this.$nextTick((res) => {
  143. this.init();
  144. });
  145. },
  146. deactivated() {
  147. window.removeEventListener("scroll", this.getScroll);
  148. },
  149. beforeDestroy() {
  150. this.setStore();
  151. window.removeEventListener("scroll", this.getScroll);
  152. },
  153. activated() {
  154. if (
  155. (this.teamid && this.teamid != this.$route.query.id) ||
  156. this.teamStatus != this.$route.query.type
  157. ) {
  158. this.init();
  159. } else {
  160. if (!this.teamid && this.activeSoundList.length < 1) {
  161. this.init();
  162. }
  163. }
  164. this.teamStatus = this.$route.query.type;
  165. if (
  166. this.teamStatus == "look" ||
  167. this.teamStatus == "teamAudit" ||
  168. this.teamStatus == "feeAudit" ||
  169. this.teamStatus == "teamCanceled"
  170. ) {
  171. this.basdisabled = true;
  172. } else {
  173. this.basdisabled = false;
  174. }
  175. },
  176. deactivated() {
  177. this.activeSoundList = [];
  178. },
  179. methods: {
  180. setStore() {
  181. localStorage.setItem(
  182. `${this.teamid}sound`,
  183. JSON.stringify(this.activeSoundList)
  184. );
  185. },
  186. init() {
  187. // 获取第一页的数据
  188. // this.topfor = this.$store.getters.topinfo;
  189. // let type = this.topfor.type;
  190. // let section = this.topfor.section;
  191. this.topfor =
  192. JSON.parse(localStorage.getItem(`${this.$route.query.id}base`)) ||
  193. this.$store.getters.topinfo;
  194. this.teamStatus = this.$route.query.type;
  195. if (
  196. this.teamStatus == "look" ||
  197. this.teamStatus == "teamAudit" ||
  198. this.teamStatus == "feeAudit" ||
  199. this.teamStatus == "teamCanceled"
  200. ) {
  201. this.basdisabled = true;
  202. } else {
  203. this.basdisabled = false;
  204. }
  205. let sotrage = JSON.parse(
  206. localStorage.getItem(`${this.$route.query.id}sound`)
  207. );
  208. getSoundTree({ tenantId: 1 }).then((res) => {
  209. if (res.code == 200) {
  210. this.soundList = res.data.rows;
  211. if (sotrage && sotrage[0]?.id) {
  212. // this.$set(data,'activeSoundList',sotrage)
  213. this.activeSoundList = sotrage;
  214. let activeSound = [];
  215. this.activeSoundList.forEach((item) => {
  216. activeSound.push(item.id);
  217. });
  218. this.chioseActiveSound = activeSound;
  219. this.activeSound = activeSound;
  220. this.changeActiveSound(activeSound.join(","));
  221. } else {
  222. if (this.teamStatus == "newTeam") {
  223. this.getDefaultSubject();
  224. } else {
  225. this.teamid = this.$route.query.id;
  226. if (this.teamid) {
  227. findMusicGroupSubjectInfo({ musicGroupId: this.teamid }).then(
  228. (res) => {
  229. if (res.code == 200) {
  230. // 如果没有一个声部 则请求默认声部
  231. if (res.data?.musicGroupSubjectPlans?.length > 0) {
  232. let activeSound = [];
  233. this.activeSoundList = res.data?.musicGroupSubjectPlans.map(
  234. (item) => {
  235. activeSound.push(item.subjectId);
  236. return {
  237. id: parseInt(item.subjectId),
  238. sound: item.subName,
  239. expectedStudentNum: item.expectedStudentNum,
  240. chioseMusic: [],
  241. markChioseList: [],
  242. goodsList: [],
  243. markList: [],
  244. };
  245. }
  246. );
  247. this.activeSound = activeSound;
  248. this.chioseActiveSound = activeSound;
  249. this.changeActiveSound(activeSound.join(","));
  250. // 格式化商品和教辅
  251. res.data.musicGroupSubjectGoodsGroups.forEach(
  252. (shop) => {
  253. let index = findIndex(this.activeSoundList, (o) => {
  254. return o.id == shop.subjectId;
  255. });
  256. if (index != -1) {
  257. if (shop.type == "ACCESSORIES") {
  258. shop.goodsIdList.split(",").forEach((item) => {
  259. this.activeSoundList[
  260. index
  261. ].markChioseList.push(parseInt(item));
  262. });
  263. } else if (shop.type == "INSTRUMENT") {
  264. // 商品
  265. let typeJson = Object.keys(
  266. JSON.parse(shop.kitGroupPurchaseTypeJson)
  267. );
  268. this.activeSoundList[index].chioseMusic.push({
  269. musical: parseInt(shop.goodsIdList),
  270. type: typeJson,
  271. groupPrice: shop.price,
  272. borrowPrice: shop.depositFee,
  273. groupRemissionCourseFee: Boolean(
  274. shop.groupRemissionCourseFee
  275. ),
  276. });
  277. }
  278. }
  279. }
  280. );
  281. } else {
  282. this.getDefaultSubject();
  283. }
  284. // 这里开始
  285. }
  286. }
  287. );
  288. }
  289. }
  290. }
  291. }
  292. });
  293. getSubject({ tenantId: 1 }).then((res) => {
  294. if (res.code == 200) {
  295. this.childSoundList = res.data;
  296. }
  297. });
  298. },
  299. getDefaultSubject() {
  300. let type = this.topfor.type;
  301. let section = this.topfor.section;
  302. getDefaultSubject({
  303. chargeTypeId: type,
  304. organId: section,
  305. number: 1,
  306. }).then((res) => {
  307. if (res.code == 200) {
  308. let activeSound = [];
  309. this.activeSoundList = res.data.map((item) => {
  310. activeSound.push(item.id);
  311. return this.initSound(item);
  312. });
  313. this.activeSound = activeSound;
  314. this.chioseActiveSound = activeSound;
  315. this.changeActiveSound(activeSound.join(","));
  316. }
  317. });
  318. },
  319. lookCheck(val) {
  320. this.checkList = [...new Set(val)];
  321. },
  322. chioseSound(activeSound) {
  323. // 同步数据
  324. this.activeSound = [...new Set(activeSound)];
  325. let newSoundList = [];
  326. for (let i in this.childSoundList) {
  327. if (this.activeSound.includes(this.childSoundList[i].id)) {
  328. newSoundList.push(this.initSound(this.childSoundList[i]));
  329. }
  330. }
  331. let idList = this.activeSoundList.map((item) => {
  332. return item.id;
  333. });
  334. for (let x in newSoundList) {
  335. const indexof = idList.indexOf(newSoundList[x]?.id);
  336. if (indexof > -1) {
  337. newSoundList[x] = this.activeSoundList[indexof];
  338. }
  339. }
  340. this.activeSoundList = newSoundList;
  341. let newActiveSound = [];
  342. this.activeSoundList.forEach((item) => {
  343. newActiveSound.push(item.id);
  344. });
  345. this.activeSound = newActiveSound;
  346. this.chioseActiveSound = newActiveSound;
  347. this.changeActiveSound(newActiveSound.join(","));
  348. this.soundVisible = false;
  349. },
  350. initSound(item) {
  351. let obj = {
  352. id: item.id,
  353. sound: item.name,
  354. expectedStudentNum: item.expectedStudentNum,
  355. chioseMusic: [
  356. {
  357. musical: "",
  358. type: ["GROUP"],
  359. groupPrice: 0,
  360. borrowPrice: 1500,
  361. groupRemissionCourseFee: Boolean(item.groupRemissionCourseFee),
  362. },
  363. ],
  364. markChioseList: [],
  365. goodsList: [],
  366. markList: [],
  367. };
  368. return obj;
  369. },
  370. changeActiveSound(val) {
  371. // 写入声部商品和辅件
  372. getSubjectGoods({
  373. subjectIds: val,
  374. chargeTypeId: this.topfor.type,
  375. musicGroupId: this.teamid
  376. }).then((res) => {
  377. if (res.code == 200) {
  378. if (res.data) {
  379. let keys = Object.keys(res.data);
  380. this.activeSoundList.forEach((item) => {
  381. if (keys.indexOf(item.id + "") != -1) {
  382. let goodList = [];
  383. let markList = [];
  384. res.data[item.id].forEach((shop) => {
  385. if (shop.type == "INSTRUMENT") {
  386. goodList.push(shop);
  387. } else if (shop.type == "ACCESSORIES") {
  388. markList.push(shop);
  389. }
  390. });
  391. item.goodsList = goodList;
  392. item.markList = markList;
  393. }
  394. });
  395. }
  396. }
  397. });
  398. },
  399. lookMusic() {},
  400. submitInfo(type) {
  401. // 计划招生人数
  402. // 可选乐器
  403. // 教辅
  404. if (this.activeSoundList.length <= 0) {
  405. this.$message.error(`请至少设置一个声部`);
  406. return;
  407. }
  408. let flag = true;
  409. this.activeSoundList.forEach((item) => {
  410. if (!item.expectedStudentNum) {
  411. this.$message.error(`请填写${item.sound}的预计招生人数`);
  412. flag = false;
  413. return;
  414. }
  415. if (!item.chioseMusic[0]?.musical) {
  416. this.$message.error(`请至少一个选择${item.sound}的可选乐器`);
  417. flag = false;
  418. return;
  419. }
  420. item.chioseMusic.forEach((music) => {
  421. if (music.type.indexOf("LEASE") != -1) {
  422. if (!music.borrowPrice || parseFloat(music.borrowPrice) <= 0) {
  423. this.$message.error(`请填写正确的${item.sound}租赁押金`);
  424. flag = false;
  425. }
  426. }
  427. });
  428. });
  429. if (!flag) return;
  430. // 新建团
  431. let obj = {};
  432. // if (this.teamStatus == "newTeam") {
  433. // this.initCreateTeam(obj);
  434. // }
  435. // 初始化声部
  436. obj.musicGroupSubjectGoodsGroups = [];
  437. obj.musicGroupSubjectPlans = [];
  438. this.activeSoundList.forEach((active) => {
  439. // 格式化声部数据
  440. let item = {
  441. expectedStudentNum: active.expectedStudentNum,
  442. subName: active.sound,
  443. subjectId: active.id,
  444. };
  445. obj.musicGroupSubjectPlans.push(item);
  446. // 格式化商品数据 chioseMusic: [{ musical: '', type: ["GROUP"], groupPrice: 0, borrowPrice: 1500 }],
  447. active.chioseMusic.forEach((music) => {
  448. let goodsItem = null;
  449. let depositFee = music.borrowPrice;
  450. let price = music.groupPrice;
  451. let groupRemissionCourseFee;
  452. if (music.type.indexOf("GROUP") != -1) {
  453. groupRemissionCourseFee = music.groupRemissionCourseFee * 1;
  454. } else {
  455. groupRemissionCourseFee = 0;
  456. }
  457. let index = findIndex(active.goodsList, (o) => {
  458. return o.id == music.musical;
  459. });
  460. if (index != -1) {
  461. goodsItem = active.goodsList[index];
  462. }
  463. let kitGroupPurchaseTypeJson = {};
  464. music.type.forEach((type) => {
  465. kitGroupPurchaseTypeJson[type] = 0;
  466. });
  467. // if (Array.isArray(music.type)) {
  468. // music.type.forEach((type) => {
  469. // kitGroupPurchaseTypeJson[type] = 0;
  470. // });
  471. // }else{
  472. // // 字符串
  473. // let arr = [ music.type]
  474. // arr.forEach((type) => {
  475. // kitGroupPurchaseTypeJson[type] = 0;
  476. // });
  477. // }
  478. kitGroupPurchaseTypeJson = JSON.stringify(kitGroupPurchaseTypeJson);
  479. if (goodsItem) {
  480. let some = {
  481. subjectId: active.id,
  482. type: "INSTRUMENT",
  483. goodsIdList: music.musical,
  484. name: goodsItem.name,
  485. kitGroupPurchaseTypeJson,
  486. depositFee,
  487. price,
  488. groupRemissionCourseFee,
  489. };
  490. obj.musicGroupSubjectGoodsGroups.push(some);
  491. }
  492. });
  493. // 格式化辅件
  494. // markChioseList: [],
  495. // goodsList: [],
  496. // markList: [],
  497. active.markChioseList.forEach((ass) => {
  498. let index = findIndex(active.markList, (o) => {
  499. return o.id == ass;
  500. });
  501. let goodsItem = null;
  502. if (index != -1) {
  503. goodsItem = active.markList[index];
  504. }
  505. if (goodsItem) {
  506. let some = {
  507. subjectId: active.id,
  508. type: "ACCESSORIES",
  509. goodsIdList: ass,
  510. name: goodsItem.name,
  511. price: goodsItem.groupPurchasePrice,
  512. };
  513. obj.musicGroupSubjectGoodsGroups.push(some);
  514. }
  515. });
  516. });
  517. if (this.teamStatus == "newTeam") {
  518. } else {
  519. obj.musicGroupId = this.teamid;
  520. if (type) {
  521. obj.musicGroupStatus = "AUDIT";
  522. } else {
  523. obj.musicGroupStatus = "DRAFT";
  524. }
  525. if (type == 2) {
  526. this.$confirm("是否提交审核?", "提示", {
  527. confirmButtonText: "确定",
  528. cancelButtonText: "取消",
  529. type: "warning",
  530. })
  531. .then(() => {
  532. updateSubjectInfo(obj).then((res) => {
  533. if (res.code == 200) {
  534. this.$message.success("提交成功");
  535. this.$store.dispatch("delVisitedViews", this.$route);
  536. this.$router.push({
  537. path: "/teamList",
  538. });
  539. }
  540. });
  541. })
  542. .catch(() => {});
  543. } else {
  544. updateSubjectInfo(obj).then((res) => {
  545. if (res.code == 200) {
  546. this.setStore();
  547. if (type == 1) {
  548. this.$message.success("已提交审核");
  549. let query = this.$route.query;
  550. this.$store.dispatch("delVisitedViews", this.$route);
  551. this.$router.push({
  552. path: "/teamList",
  553. query: {
  554. ...query,
  555. },
  556. });
  557. } else {
  558. this.$message.success("保存成功");
  559. }
  560. // this.$emit("chiosetab", 2);
  561. // 创建乐团,只会到声部了
  562. }
  563. });
  564. }
  565. }
  566. },
  567. deleteRow() {
  568. if (this.checkList.length < 1) {
  569. this.$message.error("请至少勾选一个");
  570. return;
  571. }
  572. this.$confirm("确定删除选中声部?", "提示", {
  573. confirmButtonText: "确定",
  574. cancelButtonText: "取消",
  575. type: "warning",
  576. })
  577. .then(() => {
  578. for (let i = 0; i < this.activeSoundList.length; i++) {
  579. let index = this.checkList.indexOf(this.activeSoundList[i].id);
  580. if (index != -1) {
  581. this.activeSoundList.splice(i, 1);
  582. this.activeSound.splice(i, 1);
  583. i--;
  584. }
  585. }
  586. this.checkList = [];
  587. this.$message.success("删除成功");
  588. })
  589. .catch(() => {});
  590. },
  591. allin() {
  592. this.checkList = [];
  593. this.activeSoundList.forEach((item, index) => {
  594. this.checkList.push(item.id);
  595. });
  596. },
  597. // initCreateTeam(obj) {
  598. // let enrollClasses;
  599. // this.topfor.startClass
  600. // ? (enrollClasses = this.topfor.startClass.join(","))
  601. // : (enrollClasses = null);
  602. // obj.musicGroup = {
  603. // settlementType: this.topfor.salary,
  604. // applyExpireDate: dayjs(this.topfor.time).format("YYYY-MM-DD HH:mm:ss"),
  605. // chargeTypeId: this.topfor.type,
  606. // cooperationOrganId: this.topfor.school,
  607. // courseViewType: this.topfor.courseViewType,
  608. // teamTeacherId: this.topfor.boss,
  609. // educationalTeacherId: this.topfor.teacher,
  610. // enrollClasses,
  611. // name: this.topfor.name,
  612. // organId: this.topfor.section,
  613. // paymentPattern: this.topfor.paymentPattern,
  614. // paymentValidStartDate: this.topfor.paymentValidStartDate
  615. // ? dayjs(this.topfor.paymentValidStartDate).format("YYYY-MM-DD")
  616. // : this.topfor.paymentValidStartDate,
  617. // paymentValidEndDate: this.topfor.paymentValidEndDate
  618. // ? dayjs(this.topfor.paymentValidEndDate).format("YYYY-MM-DD")
  619. // : this.topfor.paymentValidEndDate,
  620. // // paymentMonths:obj.months 有待确认
  621. // schoolId: this.topfor.address,
  622. // expectStartGroupDate: this.topfor.startTime,
  623. // isClassroomLessons: this.topfor.isClass,
  624. // status: "DRAFT",
  625. // ownershipType: this.topfor.ownershipType,
  626. // repairUserId: this.topfor.repairUserId,
  627. // feeType: this.topfor.feeType,
  628. // directorUserId: this.topfor.head,
  629. // };
  630. // return obj;
  631. // },
  632. getScroll() {
  633. this.scrollTop =
  634. window.pageYOffset ||
  635. document.documentElement.scrollTop ||
  636. document.body.scrollTop;
  637. if (!!this.scrollTop && this.scrollTop >= 210) {
  638. this.isField = false;
  639. } else {
  640. this.isField = true;
  641. }
  642. },
  643. },
  644. watch: {
  645. activeSoundList: {
  646. immediate: true,
  647. deep: true,
  648. handler(n) {
  649. let chioseSoundNum = 0;
  650. let PlannedCount = 0;
  651. let activeSoundList = this.activeSoundList;
  652. if (n) {
  653. let Count = 0;
  654. if (n.length > 0) {
  655. for (let item in n) {
  656. Count += parseInt(n[item]?.expectedStudentNum) || 0;
  657. }
  658. }
  659. chioseSoundNum = n.length;
  660. PlannedCount = Count;
  661. this.$emit("getNumber", chioseSoundNum, PlannedCount);
  662. }
  663. },
  664. },
  665. },
  666. };
  667. </script>
  668. <style lang="scss" scoped>
  669. .wall {
  670. height: 60px;
  671. margin-bottom: 20px;
  672. }
  673. .soundBtnWrap {
  674. width: 100%;
  675. position: absolute;
  676. background-color: #fff;
  677. z-index: 100;
  678. padding: 20px;
  679. }
  680. .soundBtnFixed {
  681. top: 125px;
  682. left: 250px; // 205
  683. width: 100%;
  684. position: fixed;
  685. background-color: #fff;
  686. z-index: 100;
  687. padding: 20px;
  688. }
  689. /deep/.el-collapse-item__header {
  690. background-color: #edeef0;
  691. }
  692. .coreItemTitle {
  693. background-color: #edeef0;
  694. height: 46px;
  695. line-height: 46px;
  696. padding: 0 20px;
  697. }
  698. .coreItem {
  699. padding: 25px 0 0;
  700. }
  701. .coreItemRow {
  702. padding: 0 20px;
  703. // line-height: 50px;
  704. display: flex;
  705. flex-direction: row;
  706. align-items: center;
  707. p {
  708. margin-right: 10px;
  709. }
  710. .title {
  711. width: 140px;
  712. text-align: right;
  713. }
  714. }
  715. .marginLeft10 {
  716. margin-left: 10px;
  717. }
  718. /deep/.el-collapse-item__header {
  719. border-bottom: 1px solid #fff;
  720. }
  721. </style>