index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797
  1. <template>
  2. <div id="volumeManagementAdd">
  3. <div class="boxWidth">
  4. <el-form
  5. label-position="right"
  6. label-width="120px"
  7. :model="listData"
  8. :rules="rules"
  9. ref="listData"
  10. >
  11. <el-form-item label="适用业务层级" :required="true">
  12. <el-select
  13. v-model="eduType"
  14. placeholder="请选择教育类型"
  15. @change="changeEduType"
  16. >
  17. <el-option
  18. v-for="(item, index) in eduTypeOptions"
  19. :key="index"
  20. :label="item.educationName"
  21. :value="item.id"
  22. >
  23. </el-option>
  24. </el-select>
  25. <el-select
  26. v-model="courType"
  27. placeholder="请选择业务层次"
  28. @change="changecourseType"
  29. >
  30. <el-option
  31. v-for="(item, index) in newCourTypeOptions"
  32. :key="index"
  33. :label="item.projectName + '-' + item.businessName"
  34. :value="item.id"
  35. >
  36. </el-option>
  37. </el-select>
  38. <el-popover
  39. ref="popovers"
  40. placement="bottom"
  41. trigger="click"
  42. @show="showHandle"
  43. @hide="hideHandle"
  44. :disabled="courType ? false : true"
  45. >
  46. <el-radio-group v-model="sujectApis" class="dis_flexbox">
  47. <el-radio
  48. v-for="(item, index) in newSujectOption"
  49. :label="item.newId"
  50. :key="index"
  51. >{{ item.subjectName }}</el-radio
  52. >
  53. </el-radio-group>
  54. <div style="display: block; text-align: center; margin-top: 10px">
  55. <el-button size="mini" type="primary" @click="submitSujectArray"
  56. >确定</el-button
  57. >
  58. </div>
  59. <el-button
  60. slot="reference"
  61. style="margin-left: 12px"
  62. @click="getMessage"
  63. >请选择科目</el-button
  64. >
  65. </el-popover>
  66. </el-form-item>
  67. <el-form-item label="">
  68. <!-- <span v-if="Object.keys(newSujectApis).length == 0"
  69. >未选项目类型</span
  70. > -->
  71. <div
  72. v-if="Object.keys(newSujectApis).length !== 0"
  73. style="display: flex"
  74. >
  75. <div class="listBoxStys">
  76. {{
  77. newSujectApis.educationName +
  78. " - " +
  79. newSujectApis.projectName +
  80. " - " +
  81. newSujectApis.businessName +
  82. " - " +
  83. newSujectApis.subjectName
  84. }}
  85. <i class="el-icon-error closeIcons" @click="closeType"></i>
  86. </div>
  87. </div>
  88. </el-form-item>
  89. <el-form-item label="标题前缀" prop="prefixName">
  90. <el-input v-model="listData.prefixName"></el-input>
  91. </el-form-item>
  92. <el-form-item label="模块卷标题" prop="moduleName">
  93. <el-input v-model="listData.moduleName"></el-input>
  94. </el-form-item>
  95. <el-form-item label="是否发布" prop="publishStatus">
  96. <el-radio-group v-model="listData.publishStatus">
  97. <el-radio :label="1">是</el-radio>
  98. <el-radio :label="0">否</el-radio>
  99. </el-radio-group>
  100. </el-form-item>
  101. <el-form-item label="管理章卷">
  102. <div class="dis_plays">
  103. <div>
  104. <el-button size="small" @click="openBoxs">添加章卷</el-button>
  105. </div>
  106. <div style="color: #f56c6c">
  107. <span style="margin-right: 10px"
  108. >章卷总数:{{ tableData.length }}</span
  109. >
  110. <!-- <span>总时长:{{ minTimeAll }}分钟</span> -->
  111. </div>
  112. </div>
  113. <el-table
  114. :data="tableData"
  115. border
  116. :header-cell-style="{
  117. 'background-color': '#eee',
  118. padding: '8px',
  119. color: '#333',
  120. }"
  121. :default-sort="{ prop: 'sort', order: 'ascending' }"
  122. >
  123. <el-table-column
  124. v-for="(item, index) in tableSet"
  125. :width="item.width"
  126. :key="index"
  127. :label="item.label"
  128. align="center"
  129. :show-overflow-tooltip="true"
  130. header-align="center"
  131. :sortable="item.prop === 'sort'"
  132. sort-by="sort"
  133. :prop="item.prop"
  134. >
  135. <template slot-scope="scope">
  136. <span v-if="item.scope === 'types'">{{
  137. scope.row[item.prop] === 1
  138. ? "录播"
  139. : scope.row[item.prop] === 2
  140. ? "直播"
  141. : scope.row[item.prop] === 3
  142. ? "回放"
  143. : "未知"
  144. }}</span>
  145. <span v-else-if="item.scope === 'Status'">
  146. {{
  147. scope.row[item.prop] === 1
  148. ? "发布"
  149. : scope.row[item.prop] === 0
  150. ? "未发布"
  151. : "未知"
  152. }}
  153. </span>
  154. <div v-else-if="item.scope === 'inputs'">
  155. <el-input-number
  156. style="width: 50px"
  157. size="small"
  158. :controls="false"
  159. v-model="scope.row[item.prop]"
  160. controls-position="right"
  161. :min="0"
  162. ></el-input-number>
  163. </div>
  164. <span v-else>{{ scope.row[item.prop] }}</span></template
  165. >
  166. </el-table-column>
  167. <el-table-column
  168. label="操作"
  169. align="center"
  170. fixed="right"
  171. width="100px"
  172. >
  173. <template slot-scope="scope">
  174. <el-button type="text" @click="delList(scope.row, scope.$index)"
  175. >删除</el-button
  176. >
  177. </template>
  178. </el-table-column>
  179. </el-table>
  180. </el-form-item>
  181. <el-form-item>
  182. <el-button @click="backPage">取消</el-button>
  183. <el-button type="primary" @click="submitIns('listData')"
  184. >确定</el-button
  185. >
  186. </el-form-item>
  187. </el-form>
  188. </div>
  189. <el-dialog
  190. :visible.sync="dialogVisible"
  191. width="800px"
  192. :show-close="false"
  193. :close-on-click-modal="false"
  194. >
  195. <div slot="title" class="hearders">
  196. <div class="leftTitle">添加章卷</div>
  197. <div class="rightBoxs">
  198. <img
  199. src="@/assets/images/Close@2x.png"
  200. alt=""
  201. @click="dialogVisible = false"
  202. />
  203. </div>
  204. </div>
  205. <search-box-new
  206. ref="searchBox"
  207. :formData="formData"
  208. :formList="formList"
  209. @search="getInfos(1)"
  210. @init="init"
  211. />
  212. <el-table
  213. ref="multipleTable"
  214. :data="boxtableData"
  215. border
  216. @select-all="selectAll"
  217. @select="select"
  218. :row-key="getRowKeys"
  219. :header-cell-style="{
  220. 'background-color': '#eee',
  221. padding: '8px',
  222. color: '#333',
  223. }"
  224. >
  225. <el-table-column
  226. align="center"
  227. type="selection"
  228. width="55"
  229. header-align="center"
  230. :selectable="checkboxT"
  231. :reserve-selection="true"
  232. >
  233. </el-table-column>
  234. <template v-for="(item, index) in tableSet">
  235. <el-table-column
  236. v-if="item.scope !== 'inputs'"
  237. :width="item.width"
  238. :key="index"
  239. :label="item.label"
  240. align="center"
  241. :show-overflow-tooltip="true"
  242. header-align="center"
  243. >
  244. <template slot-scope="scope">
  245. <span v-if="item.scope === 'types'">{{
  246. scope.row[item.prop] === 1
  247. ? "录播"
  248. : scope.row[item.prop] === 2
  249. ? "直播"
  250. : scope.row[item.prop] === 3
  251. ? "回放"
  252. : "未知"
  253. }}</span>
  254. <span v-else-if="item.scope === 'Status'">
  255. {{
  256. scope.row[item.prop] === 1
  257. ? "发布"
  258. : scope.row[item.prop] === 0
  259. ? "未发布"
  260. : "未知"
  261. }}
  262. </span>
  263. <span v-else>{{ scope.row[item.prop] }}</span></template
  264. >
  265. </el-table-column></template
  266. >
  267. </el-table>
  268. <pagination
  269. :total="total"
  270. :pageSize="formData.pageSize"
  271. :currentPage="formData.pageNum"
  272. @handleSizeChange="handleSizeChange"
  273. @handleCurrentChange="handleCurrentChange"
  274. />
  275. <span slot="footer" class="dialog-footer">
  276. <el-button @click="dialogVisible = false">取 消</el-button>
  277. <el-button
  278. type="primary"
  279. :disabled="activeLists.length === 0"
  280. @click="submitForm"
  281. >确 定</el-button
  282. >
  283. </span>
  284. </el-dialog>
  285. </div>
  286. </template>
  287. <script>
  288. import searchBoxNew from "@/components/searchBoxNew";
  289. import pagination from "@/components/pagination";
  290. import tableList from "@/components/tableList";
  291. export default {
  292. components: { searchBoxNew, tableList, pagination },
  293. name: "VolumeManagementAdd",
  294. data() {
  295. return {
  296. listData: {
  297. publishStatus: 1,
  298. }, // 弹窗数据
  299. eduTypeOptions: [], //教育类型数据
  300. projectTypeOptions: [], //项目类型数据
  301. courTypeOptions: [], //业务层次数据
  302. newCourTypeOptions: [], //当前业务层次数据
  303. sujectOption: [], //科目数据
  304. newSujectOption: [], //当前科目数据数据
  305. eduType: "", //当前选中教育类型
  306. courType: "", //当前选中业务层次
  307. newSujectApis: {},
  308. sujectApis: "", //当前存在的科目 例如'19-2'
  309. //表单验证
  310. rules: {
  311. moduleName: [
  312. { required: true, message: "请输入模块卷标题", trigger: "blur" },
  313. ],
  314. publishStatus: [
  315. { required: true, message: "请选择是否发布", trigger: "change" },
  316. ],
  317. },
  318. numberAll: 0, //试卷总数
  319. minTimeAll: 0, //总时长
  320. tableSet: [
  321. { label: "排序", prop: "sort", scope: "inputs", width: "100" },
  322. { label: "章卷编码", prop: "code", width: "120" },
  323. { label: "标题前缀", prop: "prefixName", width: "180" },
  324. { label: "章卷标题", prop: "name", width: "320" },
  325. {
  326. label: "发布状态",
  327. prop: "publishStatus",
  328. scope: "Status",
  329. width: "120",
  330. },
  331. ],
  332. tableData: [],
  333. dialogVisible: false,
  334. boxtableData: [],
  335. total: 0, //一共多少条
  336. formList: [
  337. {
  338. prop: "key",
  339. placeholder: "请输入章卷标题/章卷编码/标题前缀",
  340. },
  341. ],
  342. formData: {
  343. publishStatus: 1,
  344. status: 1,
  345. pageSize: 10,
  346. pageNum: 1,
  347. },
  348. disCheckList: [], //已选转禁用复选列表
  349. activeLists: [],
  350. };
  351. },
  352. watch: {
  353. newSujectApis() {
  354. this.tableData = [];
  355. },
  356. },
  357. mounted() {
  358. this.getDict();
  359. },
  360. methods: {
  361. openBoxs() {
  362. if (!this.newSujectApis.subjectId) {
  363. this.$message.warning("请先选择科目");
  364. return;
  365. }
  366. var self = this;
  367. var data = JSON.parse(JSON.stringify(this.formData));
  368. data.businessId = this.newSujectApis.businessId;
  369. data.subjectId = this.newSujectApis.subjectId;
  370. this.$api.inquirebankchapterList(data).then((res) => {
  371. var aList = [];
  372. this.tableData.map((item) => {
  373. aList.push(item.chapterExamId);
  374. });
  375. this.disCheckList = aList;
  376. this.boxtableData = res.rows;
  377. this.total = res.total;
  378. this.dialogVisible = true;
  379. this.$nextTick(function () {
  380. self.$refs.multipleTable.clearSelection();
  381. });
  382. });
  383. },
  384. getInfos(int) {
  385. if (int === 1) {
  386. this.formData.pageNum = 1;
  387. }
  388. if (int === 2) {
  389. this.formData = {
  390. status: 1,
  391. pageSize: 10,
  392. pageNum: 1,
  393. publishStatus: 1,
  394. };
  395. }
  396. var data = JSON.parse(JSON.stringify(this.formData));
  397. data.businessId = this.newSujectApis.businessId;
  398. data.subjectId = this.newSujectApis.subjectId;
  399. this.$api.inquirebankchapterList(data).then((res) => {
  400. this.boxtableData = res.rows;
  401. this.total = res.total;
  402. });
  403. },
  404. init() {
  405. this.getInfos(2);
  406. },
  407. changeTypes() {
  408. var self = this;
  409. if (!this.sujectApis) {
  410. self.newSujectApis = {};
  411. return;
  412. }
  413. this.courTypeOptions.map((items) => {
  414. if (items.id === this.sujectApis.split("-").map(Number)[0]) {
  415. var obj = {
  416. type: 4,
  417. educationTypeId: items.educationId,
  418. educationName: items.educationName,
  419. projectId: items.projectId,
  420. projectName: items.projectName,
  421. businessId: items.id,
  422. businessName: items.businessName,
  423. };
  424. self.sujectOption.map((i) => {
  425. if (
  426. i.id === self.sujectApis.split("-").map(Number)[1] &&
  427. i.courseArrays.indexOf(items.projectId) !== -1
  428. ) {
  429. obj.subjectName = i.subjectName;
  430. obj.subjectId = i.id;
  431. }
  432. });
  433. self.newSujectApis = obj;
  434. }
  435. });
  436. },
  437. getMessage() {
  438. if (!this.courType) {
  439. this.$message.warning("请先选择业务层级");
  440. }
  441. },
  442. submitSujectArray() {
  443. this.changeTypes();
  444. this.$refs.popovers.doClose();
  445. },
  446. showHandle() {
  447. this.sujectApis = "";
  448. this.newSujectOption.map((item) => {
  449. item.newId = this.courType + "-" + item.id;
  450. if (item.newId === this.sujectApis) {
  451. console.log("成功");
  452. }
  453. });
  454. this.sujectApis =
  455. this.newSujectApis.businessId + "-" + this.newSujectApis.subjectId;
  456. },
  457. hideHandle() {},
  458. getDict() {
  459. this.$api.inquireCourseEducationType({ status: 1 }).then((res) => {
  460. this.eduTypeOptions = res.rows;
  461. });
  462. this.$api.inquireCourseProjectType({ status: 1 }).then((res) => {
  463. this.projectTypeOptions = res.rows;
  464. });
  465. this.$api.inquirebusinessList({ status: 1 }).then((res) => {
  466. this.courTypeOptions = res.rows;
  467. this.newCourTypeOptions = res.rows;
  468. });
  469. this.$api.inquireCourseSubject({ status: 1 }).then((res) => {
  470. res.rows.map((item, index) => {
  471. var array = [];
  472. item.courseProjectTypes.map((items, indexs) => {
  473. array.push(items.id);
  474. });
  475. item.courseArrays = array;
  476. });
  477. this.sujectOption = res.rows;
  478. });
  479. },
  480. changeEduType() {
  481. if (!(this.courType === undefined || this.courType === "")) {
  482. this.courType = "";
  483. }
  484. var arrays = [];
  485. this.courTypeOptions.map((item) => {
  486. if (item.educationId === this.eduType) {
  487. arrays.push(item);
  488. }
  489. });
  490. this.newCourTypeOptions = arrays;
  491. },
  492. changecourseType() {
  493. this.newCourTypeOptions.map((item, index) => {
  494. if (item.id === this.courType) {
  495. this.eduType = item.educationId;
  496. var array = [];
  497. this.sujectOption.map((items, indexs) => {
  498. if (items.courseArrays.indexOf(item.projectId) !== -1) {
  499. array.push(items);
  500. }
  501. });
  502. this.newSujectOption = array;
  503. }
  504. });
  505. var arrays = [];
  506. this.courTypeOptions.map((item) => {
  507. if (item.educationId === this.eduType) {
  508. arrays.push(item);
  509. }
  510. });
  511. this.newCourTypeOptions = arrays;
  512. this.$refs.popovers.doClose();
  513. this.tableData = [];
  514. },
  515. submitIns(formName) {
  516. this.$refs[formName].validate((valid) => {
  517. if (valid) {
  518. if (JSON.stringify(this.newSujectApis) === "{}") {
  519. this.$message.error("请选择适用业务层级");
  520. return;
  521. }
  522. for (let i = 0; i < this.tableData.length; i++) {
  523. if (!this.tableData[i].sort && this.tableData[i].sort !== 0) {
  524. this.$message.warning(`管理章卷第${i + 1}条请输入排序`);
  525. return;
  526. }
  527. }
  528. let arr = this.tableData.map((items) => {
  529. return items.sort;
  530. });
  531. if (new Set(arr).size != arr.length) {
  532. this.$message.warning("排序不允许有重复值");
  533. return;
  534. }
  535. this.rulesTableSumbit();
  536. } else {
  537. return false;
  538. }
  539. });
  540. },
  541. async rulesTableSumbit() {
  542. var chapterList = [];
  543. this.tableData.map((item) => {
  544. chapterList.push({
  545. chapterExamId: item.chapterExamId,
  546. sort: Number(item.sort),
  547. });
  548. });
  549. var data1 = {
  550. // examId: this.listData.examId,
  551. moduleName: this.listData.moduleName,
  552. chapterList: chapterList,
  553. publishStatus: this.listData.publishStatus,
  554. prefixName: this.listData.prefixName,
  555. businessList: [this.newSujectApis],
  556. status: 1,
  557. };
  558. this.$api.addBankModule(data1).then((res) => {
  559. this.$message.success("新增成功");
  560. setTimeout(() => {
  561. this.$store.dispatch("tagsView/exitView", this.$route).then((res) => {
  562. this.$router.push({
  563. path: "volumeManagement",
  564. });
  565. });
  566. }, 500);
  567. });
  568. },
  569. backPage() {
  570. this.$store.dispatch("tagsView/delView", this.$route).then((res) => {
  571. this.$router.push({
  572. path: "volumeManagement",
  573. });
  574. });
  575. },
  576. closeType() {
  577. this.sujectApis = "";
  578. this.changeTypes();
  579. },
  580. handleSizeChange(v) {
  581. this.formData.pageSize = v;
  582. this.formData.pageNum = 1;
  583. this.getInfos();
  584. },
  585. handleCurrentChange(v) {
  586. this.formData.pageNum = v;
  587. this.getInfos();
  588. },
  589. selectAll(value) {
  590. this.activeLists = value;
  591. },
  592. select(value) {
  593. this.activeLists = value;
  594. },
  595. checkboxT(row, index) {
  596. if (this.disCheckList.indexOf(row.chapterExamId) !== -1) {
  597. return false;
  598. } else {
  599. return true;
  600. }
  601. },
  602. getRowKeys(row) {
  603. return row.chapterExamId;
  604. },
  605. submitForm() {
  606. if (this.activeLists.length === 0) {
  607. this.dialogVisible = false;
  608. return;
  609. }
  610. if (this.tableData.length) {
  611. let maxIndex = 0;
  612. this.tableData.forEach((item) => {
  613. if (item.sort > maxIndex) {
  614. maxIndex = item.sort;
  615. }
  616. });
  617. this.activeLists.forEach((item, index) => {
  618. item.sort = maxIndex + index + 1;
  619. });
  620. } else {
  621. this.activeLists.forEach((item, index) => {
  622. item.sort = index + 1;
  623. });
  624. }
  625. this.tableData = this.tableData.concat(this.activeLists);
  626. this.dialogVisible = false;
  627. this.$message.success("添加成功");
  628. this.activeLists = [];
  629. },
  630. delList(item, index) {
  631. this.tableData.splice(index, 1);
  632. this.$message.success("删除成功");
  633. },
  634. },
  635. };
  636. </script>
  637. <style lang="less" scoped>
  638. .dis_flexbox {
  639. display: flex;
  640. flex-direction: column;
  641. }
  642. .boxWidth {
  643. width: 700px;
  644. }
  645. .numInputs {
  646. width: 150px;
  647. }
  648. .checkboxSty {
  649. max-height: 210px;
  650. overflow: auto;
  651. display: flex;
  652. flex-direction: column;
  653. }
  654. .listBoxStys {
  655. flex-shrink: 0;
  656. padding: 0px 10px;
  657. border-radius: 8px;
  658. border: 1px solid #eee;
  659. margin-right: 10px;
  660. margin-bottom: 6px;
  661. }
  662. .closeIcons {
  663. color: red;
  664. cursor: pointer;
  665. margin-left: 6px;
  666. }
  667. .ach {
  668. display: flex;
  669. align-items: center;
  670. overflow: hidden;
  671. }
  672. .clh {
  673. display: flex;
  674. align-items: center;
  675. flex-wrap: wrap;
  676. }
  677. .imgBoxins {
  678. width: 375px;
  679. height: 220px;
  680. text-align: center;
  681. img {
  682. height: 100%;
  683. }
  684. }
  685. .iconStsz {
  686. font-size: 40px;
  687. color: #67c23a;
  688. cursor: pointer;
  689. }
  690. .BusBoxs {
  691. min-height: 100px;
  692. border: 1px solid #a4a4a4;
  693. margin-bottom: 10px;
  694. border-radius: 8px;
  695. max-height: 280px;
  696. padding: 10px;
  697. overflow-y: auto;
  698. .fot_Le {
  699. border-radius: 12px;
  700. border: 1px solid yellowgreen;
  701. padding: 0px 10px;
  702. height: 30px;
  703. line-height: 30px;
  704. text-align: center;
  705. float: left;
  706. margin-right: 6px;
  707. margin-bottom: 6px;
  708. .icon_clear {
  709. margin-left: 2px;
  710. font-size: 15px;
  711. color: #f56c6c;
  712. cursor: pointer;
  713. }
  714. }
  715. }
  716. .marg_play {
  717. display: flex;
  718. margin-bottom: 15px;
  719. .spans {
  720. text-align: right;
  721. width: 80px;
  722. }
  723. }
  724. /deep/.el-button {
  725. border-radius: 8px;
  726. }
  727. /deep/.el-dialog {
  728. border-radius: 8px;
  729. .el-dialog__header {
  730. padding: 0;
  731. .hearders {
  732. height: 40px;
  733. display: flex;
  734. align-items: center;
  735. justify-content: space-between;
  736. padding: 0px 18px 0px 20px;
  737. border-bottom: 1px solid #e2e2e2;
  738. .leftTitle {
  739. font-size: 14px;
  740. font-weight: bold;
  741. color: #2f4378;
  742. }
  743. .rightBoxs {
  744. display: flex;
  745. align-items: center;
  746. img {
  747. width: 14px;
  748. height: 14px;
  749. margin-left: 13px;
  750. cursor: pointer;
  751. }
  752. }
  753. }
  754. }
  755. .el-dialog__footer {
  756. padding: 0;
  757. .dialog-footer {
  758. padding: 0px 40px;
  759. height: 70px;
  760. border-top: 1px solid #e2e2e2;
  761. display: flex;
  762. align-items: center;
  763. justify-content: center;
  764. }
  765. }
  766. }
  767. .centerStys {
  768. display: flex;
  769. align-items: center;
  770. justify-content: center;
  771. margin-top: 18px;
  772. }
  773. .dis_fos {
  774. align-items: flex-end;
  775. display: flex;
  776. justify-content: space-between;
  777. }
  778. .margin_bs {
  779. margin-bottom: 6px;
  780. }
  781. .dis_plays {
  782. display: flex;
  783. align-items: center;
  784. justify-content: space-between;
  785. margin-bottom: 10px;
  786. }
  787. .comInputsty {
  788. width: 50px;
  789. height: 24px;
  790. text-align: center;
  791. border: none;
  792. }
  793. </style>