MarkWork.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. <template>
  2. <div>
  3. <section class="content">
  4. <div>
  5. <div>
  6. <el-form
  7. :inline="true"
  8. :model="formSearch"
  9. label-position="right"
  10. label-width="100px"
  11. @submit.native.prevent
  12. >
  13. <el-form-item label="评卷工作名称" class="pull-left">
  14. <el-input
  15. v-model="formSearch.name"
  16. placeholder="评卷工作名称"
  17. ></el-input>
  18. </el-form-item>
  19. <el-form-item>
  20. <el-button size="small" type="primary" @click="search"
  21. >查询</el-button
  22. >
  23. <el-button
  24. size="small"
  25. type="primary"
  26. icon="el-icon-plus"
  27. @click="addMarkWorkModal"
  28. >新增</el-button
  29. >
  30. </el-form-item>
  31. </el-form>
  32. <div class="block-seperator"></div>
  33. <el-table
  34. v-loading="loading"
  35. stripe
  36. element-loading-text="拼命加载中"
  37. :data="tableData"
  38. border
  39. style="width: 100%"
  40. >
  41. <el-table-column label="评卷工作名称" width="150">
  42. <template slot-scope="scope">
  43. <div>
  44. <span>{{ scope.row.name }}</span>
  45. </div>
  46. </template>
  47. </el-table-column>
  48. <el-table-column label="考试名称-类型" width="300">
  49. <template slot-scope="scope">
  50. <div>
  51. <span
  52. v-for="item in scope.row.examNameAndType"
  53. :key="item.index"
  54. style="display: block"
  55. >{{ item }}</span
  56. >
  57. </div>
  58. </template>
  59. </el-table-column>
  60. <el-table-column
  61. label="进度(%)"
  62. width="100"
  63. prop="progress"
  64. sortable
  65. >
  66. </el-table-column>
  67. <el-table-column label="备注" width="100">
  68. <template slot-scope="scope">
  69. <div>
  70. <span>{{ scope.row.remark }}</span>
  71. </div>
  72. </template>
  73. </el-table-column>
  74. <el-table-column label="状态" width="100">
  75. <template slot-scope="scope">
  76. <div>
  77. <span>{{ getStatus(scope.row.status) }}</span>
  78. </div>
  79. </template>
  80. </el-table-column>
  81. <el-table-column label="评卷是否结束" width="130">
  82. <template slot-scope="scope">
  83. <div>
  84. <span>{{ getIsEndText(scope.row.isEnd) }}</span>
  85. </div>
  86. </template>
  87. </el-table-column>
  88. <el-table-column label="操作">
  89. <template slot-scope="scope">
  90. <div class="pull-left">
  91. <el-button
  92. type="primary"
  93. size="mini"
  94. plain
  95. @click="settingMarkWork(scope.row)"
  96. >评卷设置</el-button
  97. >
  98. <el-dropdown
  99. style="margin-left: 10px"
  100. placement="bottom-start"
  101. >
  102. <el-button size="mini" type="primary" plain>
  103. 更多 <i class="el-icon-arrow-down el-icon--right"></i>
  104. </el-button>
  105. <el-dropdown-menu slot="dropdown">
  106. <el-dropdown-item v-if="scope.row.status == 2">
  107. <el-button
  108. type="primary"
  109. size="mini"
  110. plain
  111. @click="recreate(scope.row)"
  112. >重新创建</el-button
  113. >
  114. </el-dropdown-item>
  115. <el-dropdown-item>
  116. <el-button
  117. type="primary"
  118. size="mini"
  119. icon="el-icon-edit"
  120. plain
  121. @click="editMarkWorkModal(scope.row)"
  122. >编辑</el-button
  123. >
  124. </el-dropdown-item>
  125. <el-dropdown-item>
  126. <el-button
  127. type="danger"
  128. size="mini"
  129. icon="el-icon-delete"
  130. @click="delMarkWork(scope.row)"
  131. >删除</el-button
  132. >
  133. </el-dropdown-item>
  134. <el-dropdown-item>
  135. <el-button
  136. size="mini"
  137. icon="el-icon-bell"
  138. @click="pubGrade(scope.row)"
  139. >成绩发布</el-button
  140. >
  141. </el-dropdown-item>
  142. <el-dropdown-item
  143. v-if="!scope.row.isEnd && scope.row.status == 1"
  144. >
  145. <el-button
  146. type="primary"
  147. size="mini"
  148. plain
  149. @click="endMarkWork(scope.row)"
  150. >结束评卷</el-button
  151. >
  152. </el-dropdown-item>
  153. <el-dropdown-item
  154. v-if="scope.row.isEnd && scope.row.status == 1"
  155. >
  156. <el-button
  157. type="primary"
  158. size="mini"
  159. plain
  160. @click="disendMarkWork(scope.row)"
  161. >开启评卷</el-button
  162. >
  163. </el-dropdown-item>
  164. </el-dropdown-menu>
  165. </el-dropdown>
  166. </div>
  167. </template>
  168. </el-table-column>
  169. </el-table>
  170. <div class="page pull-right">
  171. <el-pagination
  172. background
  173. :current-page="currentPage"
  174. :page-size="pageSize"
  175. :page-sizes="[10, 20, 50, 100, 200, 300]"
  176. layout="total, sizes, prev, pager, next, jumper"
  177. :total="total"
  178. @current-change="handleCurrentChange"
  179. @size-change="handleSizeChange"
  180. ></el-pagination>
  181. </div>
  182. <el-dialog
  183. v-if="markWorkDialog"
  184. v-loading="loading"
  185. :title="examTitle"
  186. element-loading-text="拼命加载中"
  187. :visible.sync="markWorkDialog"
  188. width="500px"
  189. @open="openModal"
  190. @close="closeModal"
  191. >
  192. <el-form
  193. ref="formMarkWork"
  194. :model="formMarkWork"
  195. label-width="120px"
  196. :rules="rules"
  197. inline
  198. inline-message
  199. >
  200. <el-form-item label="评卷工作名称" prop="name">
  201. <el-input
  202. v-model="formMarkWork.name"
  203. placeholder="评卷工作名称"
  204. style="width: 200px"
  205. ></el-input>
  206. </el-form-item>
  207. <el-form-item label="考试类型" prop="examType">
  208. <el-select
  209. v-model="formMarkWork.examType"
  210. style="width: 200px"
  211. :disabled="examDisabled"
  212. @change="examTypeChange()"
  213. >
  214. <el-option label="在线考试" value="ONLINE"> </el-option>
  215. <el-option label="离线考试" value="OFFLINE"> </el-option>
  216. <el-option label="在线作业" value="ONLINE_HOMEWORK">
  217. </el-option>
  218. </el-select>
  219. </el-form-item>
  220. <el-form-item
  221. v-show="formMarkWork.examType === 'ONLINE'"
  222. label="抽题模式"
  223. >
  224. <el-radio-group
  225. v-model="formMarkWork.callType"
  226. :disabled="!!markWorkId"
  227. >
  228. <el-radio label="WHOLE_SET">成套调用</el-radio>
  229. <el-radio label="RANDOM_PAPER">随机抽题</el-radio>
  230. </el-radio-group>
  231. </el-form-item>
  232. <el-form-item label="考试" prop="examIds">
  233. <el-select
  234. v-model="formMarkWork.examIds"
  235. :disabled="examDisabled"
  236. filterable
  237. multiple
  238. placeholder="考试"
  239. style="width: 200px"
  240. >
  241. <el-option
  242. v-for="item in examSelect"
  243. :key="item.value"
  244. :label="item.label"
  245. :value="item.value"
  246. ></el-option>
  247. </el-select>
  248. </el-form-item>
  249. <el-form-item label="备注" prop="remark">
  250. <el-input
  251. v-model="formMarkWork.remark"
  252. style="width: 200px"
  253. type="textarea"
  254. :rows="3"
  255. placeholder="备注"
  256. ></el-input>
  257. </el-form-item>
  258. <el-form-item style="margin-top: 10px; margin-left: 100px">
  259. <el-button
  260. :loading="saveLoading"
  261. type="primary"
  262. @click="saveMarkWork"
  263. >保存</el-button
  264. >
  265. <el-button @click="closeMarkWork">取消</el-button>
  266. <el-button @click="resetForm">重置</el-button>
  267. </el-form-item>
  268. </el-form>
  269. </el-dialog>
  270. </div>
  271. </div>
  272. </section>
  273. </div>
  274. </template>
  275. <script>
  276. import { mapState } from "vuex";
  277. import { MARKING_API, MARKING_LOGIC_API } from "@/constants/constants";
  278. export default {
  279. data() {
  280. return {
  281. formSearch: {
  282. name: "",
  283. },
  284. formMarkWork: {
  285. examType: "",
  286. name: "",
  287. examIds: [],
  288. remark: "",
  289. callType: "WHOLE_SET",
  290. },
  291. rules: {
  292. name: [{ required: true, message: "请输入名称", trigger: "blur" }],
  293. examIds: [
  294. {
  295. required: true,
  296. message: "请选择考试",
  297. trigger: "change",
  298. type: "array",
  299. },
  300. ],
  301. examType: [
  302. {
  303. required: true,
  304. message: "请选择考试类型",
  305. trigger: "change",
  306. type: "string",
  307. },
  308. ],
  309. },
  310. statusList: [
  311. { code: 0, name: "创建中" },
  312. { code: 1, name: "创建成功" },
  313. { code: 2, name: "创建失败" },
  314. { code: 3, name: "追加中" },
  315. ],
  316. examSelect: [],
  317. tableData: [],
  318. totalTableData: [],
  319. currentPage: 1,
  320. pageSize: 10,
  321. total: 0,
  322. markWorkDialog: false,
  323. markWorkId: "",
  324. examDisabled: false,
  325. examTitle: "",
  326. loading: false,
  327. closeClickModal: false,
  328. saveLoading: false,
  329. oldWorkName: "",
  330. };
  331. },
  332. computed: {
  333. ...mapState({ user: (state) => state.user }),
  334. },
  335. watch: {
  336. "formMarkWork.examType"(val) {
  337. if (val !== "ONLINE") {
  338. this.formMarkWork.callType = "WHOLE_SET";
  339. }
  340. },
  341. "formMarkWork.callType"() {
  342. if (this.formMarkWork.examType && !this.markWorkId) {
  343. this.examTypeChange();
  344. }
  345. },
  346. },
  347. created() {
  348. this.initMarkWorkData();
  349. },
  350. methods: {
  351. settingMarkWork(row) {
  352. if (Number.parseInt(row.status) != 1) {
  353. this.$notify({
  354. message: "该评卷工作未完成,不能进行设置.",
  355. type: "warning",
  356. });
  357. return;
  358. }
  359. var url =
  360. "/marking/mark_setting_main/" +
  361. row.id +
  362. "/" +
  363. encodeURIComponent(row.name);
  364. this.$router.push({
  365. path: url,
  366. });
  367. },
  368. getStatus(code) {
  369. for (let status of this.statusList) {
  370. if (status.code == code) {
  371. return status.name;
  372. }
  373. }
  374. },
  375. getIsEndText(isEnd) {
  376. if (isEnd) {
  377. return "已结束";
  378. } else {
  379. return "未结束";
  380. }
  381. },
  382. appendPaper(row) {
  383. this.loading = true;
  384. this.$http
  385. .put(MARKING_LOGIC_API + "/markWorks/append-paper/" + row.id)
  386. .then(() => {
  387. this.$notify({
  388. message: "操作成功",
  389. type: "success",
  390. });
  391. this.initMarkWorkData();
  392. this.loading = false;
  393. });
  394. },
  395. recreate(row) {
  396. this.loading = true;
  397. this.$http.put(MARKING_LOGIC_API + "/markWorks/" + row.id).then(() => {
  398. this.$notify({
  399. message: "操作成功",
  400. type: "success",
  401. });
  402. this.initMarkWorkData();
  403. this.loading = false;
  404. });
  405. },
  406. examTypeChange() {
  407. this.examSelect = [];
  408. this.formMarkWork.examIds = [];
  409. if (this.formMarkWork.examType) {
  410. this.getExamSelect();
  411. }
  412. },
  413. getExamSelect() {
  414. var orgId = this.user.rootOrgId;
  415. var examIds = this.formMarkWork.examIds;
  416. var tempSelect = [];
  417. //this.loading = true;
  418. var params = "?orgId=" + orgId;
  419. if (examIds) {
  420. params = params + "&examIds=" + examIds;
  421. }
  422. if (this.formMarkWork.examType) {
  423. params = params + "&examType=" + this.formMarkWork.examType;
  424. }
  425. if (this.formMarkWork.examType === "ONLINE") {
  426. params = params + "&callType=" + this.formMarkWork.callType;
  427. }
  428. this.$http
  429. .get(MARKING_LOGIC_API + "/exam/all" + params)
  430. .then((response) => {
  431. response.data.forEach((element, index) => {
  432. tempSelect[index] = {
  433. value: element.id,
  434. label: element.name,
  435. };
  436. });
  437. this.examSelect = tempSelect;
  438. //this.loading = false;
  439. });
  440. },
  441. search() {
  442. this.currentPage = 1;
  443. this.initMarkWorkData();
  444. },
  445. initMarkWorkData() {
  446. var orgId = this.user.rootOrgId;
  447. this.loading = true;
  448. this.$http
  449. .get(
  450. MARKING_LOGIC_API +
  451. "/markWorks?orgId=" +
  452. orgId +
  453. `&pageNumber=${this.currentPage - 1}&pageSize=${
  454. this.pageSize
  455. }&name=${this.formSearch.name}`
  456. )
  457. .then((response) => {
  458. console.log(response);
  459. // this.totalTableData = response.data;
  460. this.tableData = response.data?.content || [];
  461. // this.total = response.data.length;
  462. this.total = response.data?.totalElements;
  463. // this.filterMarkWork();
  464. // this.paging();
  465. this.loading = false;
  466. // this.getWorkStatus();
  467. });
  468. },
  469. getWorkStatus() {
  470. let creatingWorkIds = this.getCreatingWorkId();
  471. if (creatingWorkIds != "") {
  472. this.$httpWithoutBar
  473. .get(
  474. MARKING_API + "/markWorks/getWorkList?workIds=" + creatingWorkIds
  475. )
  476. .then((response) => {
  477. response.data.forEach((element) => {
  478. if (element.status != 0) {
  479. this.tableData.forEach((e) => {
  480. if (e.id == element.id) {
  481. e.status = element.status;
  482. }
  483. });
  484. }
  485. });
  486. setTimeout(() => {
  487. this.getWorkStatus();
  488. }, 30000);
  489. });
  490. }
  491. },
  492. getCreatingWorkId() {
  493. var tempData = [];
  494. this.tableData.forEach((element) => {
  495. if (element.status == 0) {
  496. tempData.push(element.id);
  497. }
  498. });
  499. return tempData.join(",");
  500. },
  501. searchMarkWork() {
  502. this.filterMarkWork();
  503. this.paging();
  504. },
  505. filterMarkWork() {
  506. var tempData = this.totalTableData.filter((element) => {
  507. if (this.formSearch.name) {
  508. return element.name.includes(this.formSearch.name);
  509. } else {
  510. return true;
  511. }
  512. });
  513. this.tableData = tempData;
  514. this.total = tempData.length;
  515. },
  516. paging() {
  517. // var start = (this.currentPage - 1) * this.pageSize;
  518. // var end =
  519. // this.currentPage * this.pageSize < this.total
  520. // ? this.currentPage * this.pageSize
  521. // : this.total;
  522. // var tempData = [];
  523. // console.log(`当前页: ${this.currentPage},开始:${start},结束:${end}`);
  524. // for (let i = start; i < end; i++) {
  525. // tempData.push(this.tableData[i]);
  526. // }
  527. // this.tableData = tempData;
  528. },
  529. openModal() {
  530. console.log("open");
  531. },
  532. closeModal() {
  533. console.log("close");
  534. },
  535. addMarkWorkModal() {
  536. this.formMarkWork = {
  537. name: "",
  538. remark: "",
  539. examType: "",
  540. examIds: [],
  541. callType: "WHOLE_SET",
  542. };
  543. this.examSelect = [];
  544. this.markWorkId = "";
  545. this.examDisabled = false;
  546. this.examTitle = "新增评卷工作";
  547. this.oldWorkName = "";
  548. if (this.$refs["formMarkWork"] !== undefined) {
  549. this.$refs["formMarkWork"].resetFields();
  550. }
  551. this.markWorkDialog = true;
  552. },
  553. editMarkWorkModal(row) {
  554. this.examTitle = "编辑评卷工作";
  555. this.formMarkWork = Object.assign({}, row, {
  556. callType: row.callType || "WHOLE_SET",
  557. });
  558. this.oldWorkName = this.formMarkWork.name;
  559. this.markWorkId = row.id;
  560. this.getExamSelect();
  561. this.loading = false;
  562. this.examDisabled = true;
  563. this.markWorkDialog = true;
  564. },
  565. delMarkWork(row) {
  566. if (Number.parseInt(row.status) == 0) {
  567. this.$notify({
  568. message: "创建中的评卷工作不能删除!",
  569. type: "error",
  570. });
  571. return;
  572. }
  573. this.$confirm("确认删除评卷工作?", "提示", {
  574. confirmButtonText: "确定",
  575. cancelButtonText: "取消",
  576. type: "warning",
  577. }).then(() => {
  578. this.loading = true;
  579. this.$http
  580. .delete(MARKING_API + "/markWorks/" + row.id)
  581. .then(() => {
  582. this.$notify({
  583. message: "删除成功",
  584. type: "success",
  585. });
  586. this.initMarkWorkData();
  587. })
  588. .catch((e) => {
  589. this.$notify({
  590. message: e.response.data.desc,
  591. type: "error",
  592. });
  593. });
  594. this.loading = false;
  595. });
  596. },
  597. endMarkWork(row) {
  598. this.$confirm("确认结束评卷工作?", "提示", {
  599. confirmButtonText: "确定",
  600. cancelButtonText: "取消",
  601. type: "warning",
  602. }).then(() => {
  603. this.loading = true;
  604. this.$http
  605. .put(MARKING_API + "/markWorks/end/" + row.id)
  606. .then(() => {
  607. this.$notify({
  608. message: "操作成功",
  609. type: "success",
  610. });
  611. this.initMarkWorkData();
  612. })
  613. .catch((e) => {
  614. this.$notify({
  615. message: e.response.data.desc,
  616. type: "error",
  617. });
  618. });
  619. this.loading = false;
  620. });
  621. },
  622. disendMarkWork(row) {
  623. this.$confirm("确认开启评卷工作?", "提示", {
  624. confirmButtonText: "确定",
  625. cancelButtonText: "取消",
  626. type: "warning",
  627. }).then(() => {
  628. this.loading = true;
  629. this.$http
  630. .put(MARKING_API + "/markWorks/disend/" + row.id)
  631. .then(() => {
  632. this.$notify({
  633. message: "操作成功",
  634. type: "success",
  635. });
  636. this.initMarkWorkData();
  637. })
  638. .catch((e) => {
  639. this.$notify({
  640. message: e.response.data.desc,
  641. type: "error",
  642. });
  643. });
  644. this.loading = false;
  645. });
  646. },
  647. pubGrade(row) {
  648. if (!(Number.parseInt(row.progress) == 100)) {
  649. this.$notify({
  650. message: "进度未达到100%,不能进行成绩发布",
  651. type: "error",
  652. });
  653. return;
  654. }
  655. this.$confirm("确认成绩发布?", "提示", {
  656. confirmButtonText: "确定",
  657. cancelButtonText: "取消",
  658. type: "warning",
  659. }).then(() => {
  660. this.loading = true;
  661. this.$http.post(MARKING_API + "/markWorks/" + row.id + "/publish").then(
  662. () => {
  663. this.$notify({
  664. message: "成绩发布成功",
  665. type: "success",
  666. });
  667. },
  668. () => {
  669. this.$notify({
  670. message: "成绩发布失败",
  671. type: "error",
  672. });
  673. }
  674. );
  675. this.initMarkWorkData();
  676. this.loading = false;
  677. });
  678. },
  679. checkWorkName(workName) {
  680. for (let workList of this.totalTableData) {
  681. if (workList.name == workName) {
  682. this.$notify({
  683. message: "评卷工作名称已存在,请重新输入!",
  684. type: "warning",
  685. });
  686. return true;
  687. }
  688. }
  689. return false;
  690. },
  691. saveMarkWork() {
  692. this.$refs.formMarkWork.validate((valid) => {
  693. if (valid) {
  694. var newWorkName = this.formMarkWork.name;
  695. if (newWorkName != this.oldWorkName) {
  696. if (this.checkWorkName(newWorkName)) {
  697. return;
  698. }
  699. }
  700. this.saveLoading = true;
  701. this.oldWorkName = "";
  702. this.loading = true;
  703. if (this.markWorkId) {
  704. this.$http
  705. .put(
  706. MARKING_API + "/markWorks/" + this.markWorkId,
  707. this.formMarkWork
  708. )
  709. .then(
  710. () => {
  711. this.$notify({
  712. message: "评卷工作保存成功",
  713. type: "success",
  714. });
  715. this.closeMarkWork();
  716. this.initMarkWorkData();
  717. this.loading = false;
  718. this.saveLoading = false;
  719. },
  720. (error) => {
  721. this.$notify({
  722. message: error.response.data.desc,
  723. type: "error",
  724. });
  725. this.loading = false;
  726. this.saveLoading = false;
  727. }
  728. );
  729. } else {
  730. this.$http
  731. .post(MARKING_LOGIC_API + "/markWorks", this.formMarkWork)
  732. .then(
  733. () => {
  734. this.$notify({
  735. message: "评卷工作新增成功",
  736. type: "success",
  737. });
  738. this.closeMarkWork();
  739. this.initMarkWorkData();
  740. this.loading = false;
  741. this.saveLoading = false;
  742. },
  743. (error) => {
  744. this.$notify({
  745. message: error.response.data.desc,
  746. type: "error",
  747. });
  748. this.loading = false;
  749. this.saveLoading = false;
  750. }
  751. );
  752. }
  753. } else {
  754. return false;
  755. }
  756. });
  757. },
  758. closeMarkWork() {
  759. this.markWorkDialog = false;
  760. },
  761. resetForm() {
  762. if (this.markWorkId) {
  763. //编辑
  764. // this.formMarkWork = Object.assign(this.formMarkWork, {
  765. // remark: "",
  766. // name: "",
  767. // callType: "WHOLE_SET",
  768. // });
  769. this.formMarkWork.name = "";
  770. this.formMarkWork.remark = "";
  771. this.$refs["formMarkWork"].clearValidate();
  772. } else {
  773. //新增
  774. this.formMarkWork = Object.assign(this.formMarkWork, {
  775. remark: "",
  776. examName: "",
  777. name: "",
  778. callType: "WHOLE_SET",
  779. });
  780. this.$refs["formMarkWork"].clearValidate();
  781. }
  782. },
  783. handleCurrentChange(val) {
  784. this.currentPage = val;
  785. this.initMarkWorkData();
  786. // this.filterMarkWork();
  787. // this.paging();
  788. //this.searchMarkWork()
  789. },
  790. handleSizeChange(val) {
  791. this.pageSize = val;
  792. this.initMarkWorkData();
  793. // this.filterMarkWork();
  794. // this.paging();
  795. },
  796. },
  797. };
  798. </script>
  799. <style scoped>
  800. .el-button--mini {
  801. margin-left: 10px;
  802. }
  803. </style>