index.vue 22 KB

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