index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  4. <el-form-item label="原料" prop="utilityQuantity">
  5. <el-input
  6. v-model="queryParams.utilityQuantity"
  7. placeholder="请输入原料"
  8. clearable
  9. size="small"
  10. @keyup.enter.native="handleQuery"
  11. />
  12. </el-form-item>
  13. <el-form-item>
  14. <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  15. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  16. </el-form-item>
  17. </el-form>
  18. <el-row :gutter="10" class="mb8">
  19. <!-- <el-col :span="1.5">
  20. <el-button
  21. type="primary"
  22. icon="el-icon-plus"
  23. size="mini"
  24. @click="handleAdd"
  25. v-hasPermi="['pssr:materialRaw:add']"
  26. v-if="isApprove==0"
  27. >新增
  28. </el-button>
  29. </el-col>
  30. <el-col :span="1.5">
  31. <el-button
  32. type="success"
  33. icon="el-icon-edit"
  34. size="mini"
  35. :disabled="single"
  36. @click="handleUpdate"
  37. v-hasPermi="['pssr:materialRaw:edit']"
  38. v-if="isApprove==0"
  39. >修改
  40. </el-button>
  41. </el-col>
  42. <el-col :span="1.5">
  43. <el-button
  44. type="success"
  45. icon="el-icon-edit"
  46. size="mini"
  47. :disabled="multiple"
  48. @click="handleBatch"
  49. v-if="isApprove==0"
  50. v-hasPermi="['pssr:pipe:edit']"
  51. >批量修改
  52. </el-button>
  53. </el-col>
  54. <el-col :span="1.5">
  55. <el-button
  56. type="danger"
  57. icon="el-icon-delete"
  58. size="mini"
  59. :disabled="multiple"
  60. @click="handleDelete"
  61. v-hasPermi="['pssr:materialRaw:remove']"
  62. v-if="isApprove==0"
  63. >删除
  64. </el-button>
  65. </el-col>
  66. <el-col :span="1.5">
  67. <el-button
  68. type="info"
  69. icon="el-icon-upload2"
  70. size="mini"
  71. @click="handleImport"
  72. v-hasPermi="['pssr:materialRaw:edit']"
  73. v-if="isApprove==0"
  74. >导入
  75. </el-button>
  76. </el-col>-->
  77. <el-col :span="1.5">
  78. <el-button
  79. type="warning"
  80. icon="el-icon-download"
  81. size="mini"
  82. @click="handleExport"
  83. v-hasPermi="['pssr:materialRaw:export']"
  84. v-if="isApprove==0"
  85. >导出
  86. </el-button>
  87. </el-col>
  88. <el-col :span="1.5">
  89. <el-button
  90. type="success"
  91. icon="el-icon-edit"
  92. size="mini"
  93. v-if="isApprove==0"
  94. :disabled="multiple"
  95. @click="handleBatch"
  96. v-hasPermi="['pssr:materialRaw:edit']"
  97. >批量操作</el-button>
  98. </el-col>
  99. <el-col :span="1.5">
  100. <el-button
  101. type="success"
  102. icon="el-icon-s-promotion"
  103. size="mini"
  104. @click="handleApprove"
  105. v-if="isApprove==0"
  106. v-hasPermi="['pssr:materialRaw:edit']"
  107. >发起审批
  108. </el-button>
  109. </el-col>
  110. <el-col :span="1.5">
  111. <el-button
  112. type="primary"
  113. icon="el-icon-check"
  114. size="mini"
  115. v-if="isApprove==4||isApprove==5"
  116. @click="handleConfirmApprove"
  117. v-hasPermi="['pssr:materialRaw:edit']"
  118. >确认
  119. </el-button>
  120. </el-col>
  121. <el-col :span="1.5">
  122. <el-button
  123. type="danger"
  124. icon="el-icon-refresh-left"
  125. size="mini"
  126. v-if="isApprove==2"
  127. :disabled="multiple"
  128. @click="handleTurnDown"
  129. v-hasPermi="['pssr:materialRaw:edit']"
  130. >驳回
  131. </el-button>
  132. </el-col>
  133. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  134. </el-row>
  135. <div style="width: 100%;text-align: center;margin-bottom: 15px">
  136. <h2>开车物料确认清单</h2>
  137. <br>
  138. <span>1. 以上蒸汽裂解装置开车时所需要的物料经确认全部都已获得或具备获得条件,确认人签字。</span><br>
  139. <span>2. 如果某些物料没有获得或不具备获得条件,请及时联系相关责任人按要求进行整改。</span>
  140. </div>
  141. <el-table v-loading="loading" :data="materialRawList" @selection-change="handleSelectionChange"
  142. :height="clientHeight"
  143. border>
  144. <el-table-column type="selection" width="55" align="center"/>
  145. <el-table-column label="审批状态" align="center" prop="approveStatus" :show-overflow-tooltip="true">
  146. <template slot-scope="scope">
  147. <el-tag v-if="scope.row.approveStatus==0">未审批</el-tag>
  148. <el-tag v-if="scope.row.approveStatus==1" type="warning">待确认</el-tag>
  149. <el-tag v-if="scope.row.approveStatus==3" type="success">已确认1</el-tag>
  150. <el-tag v-if="scope.row.approveStatus==2" type="success">已确认2</el-tag>
  151. </template>
  152. </el-table-column>
  153. <el-table-column label="原料" align="center" prop="rawMaterial"
  154. :show-overflow-tooltip="true"/>
  155. <el-table-column label="数量" align="center" prop="quantity" :show-overflow-tooltip="true"/>
  156. <el-table-column label="单位" align="center" prop="unit" :show-overflow-tooltip="true"/>
  157. <el-table-column label="确认人" align="center" prop="confirm1" :show-overflow-tooltip="true">
  158. <template slot-scope="scope">
  159. <span>{{ scope.row.confirm1Name }}</span>
  160. </template>
  161. </el-table-column>
  162. <el-table-column label="确认时间" align="center" prop="confirmationDate">
  163. <template slot-scope="scope">
  164. <span>{{ parseTime(scope.row.confirmationDate, '{y}-{m}-{d}') }}</span>
  165. </template>
  166. </el-table-column>
  167. <el-table-column label="驳回原因" align="center" prop="reason" :show-overflow-tooltip="true"/>
  168. <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
  169. <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  170. <template slot-scope="scope">
  171. <el-button
  172. size="mini"
  173. type="text"
  174. icon="el-icon-folder"
  175. @click="handleDoc(scope.row)"
  176. >附件
  177. </el-button>
  178. <el-button
  179. size="mini"
  180. type="text"
  181. icon="el-icon-edit"
  182. @click="handleUpdate(scope.row)"
  183. v-hasPermi="['pssr:materialRaw:edit']"
  184. >修改
  185. </el-button>
  186. <el-button
  187. size="mini"
  188. type="text"
  189. icon="el-icon-delete"
  190. @click="handleDelete(scope.row)"
  191. v-hasPermi="['pssr:materialRaw:remove']"
  192. >删除
  193. </el-button>
  194. </template>
  195. </el-table-column>
  196. </el-table>
  197. <pagination
  198. v-show="total>0"
  199. :total="total"
  200. :page.sync="queryParams.pageNum"
  201. :limit.sync="queryParams.pageSize"
  202. @pagination="getList"
  203. />
  204. <!-- 添加或修改原料对话框 -->
  205. <el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" width="500px" append-to-body>
  206. <el-form ref="form" :model="form" :rules="rules" label-width="80px">
  207. <el-form-item label="数量" prop="quantity">
  208. <el-input v-model="form.quantity" placeholder="请输入Quantity"/>
  209. </el-form-item>
  210. <el-form-item label="确认人" prop="confirm1">
  211. <el-select v-model="form.confirm1" filterable placeholder="请选择确认人">
  212. <el-option v-for="user in userOptions"
  213. :label="user.nickName"
  214. :value="user.userId+''"
  215. :key="user.userId"/>
  216. </el-select>
  217. </el-form-item>
  218. <el-form-item label="备注" prop="remarks">
  219. <el-input v-model="form.remarks" placeholder="请输入备注"/>
  220. </el-form-item>
  221. </el-form>
  222. <div slot="footer" class="dialog-footer">
  223. <el-button type="primary" @click="submitForm">确 定</el-button>
  224. <el-button @click="cancel">取 消</el-button>
  225. </div>
  226. </el-dialog>
  227. <!-- 批量修改对话框 -->
  228. <el-dialog :close-on-click-modal="false" title="批量修改" :visible.sync="openBatch" width="500px" append-to-body>
  229. <el-form ref="form" :model="form" label-width="80px">
  230. <el-form-item>
  231. <span>已选择 {{ ids.length }} 条数据</span>
  232. </el-form-item>
  233. <el-form-item label="确认人" prop="confirm1">
  234. <el-select v-model="form.confirm1" filterable placeholder="请选择确认人">
  235. <el-option v-for="user in userOptions"
  236. :label="user.nickName"
  237. :value="user.userId+''"
  238. :key="user.userId"/>
  239. </el-select>
  240. </el-form-item>
  241. <el-form-item label="备注" prop="remarks">
  242. <el-input v-model="form.remarks" placeholder="请输入备注" />
  243. </el-form-item>
  244. </el-form>
  245. <div slot="footer" class="dialog-footer">
  246. <el-button type="primary" @click="submitFormBatch">确 定</el-button>
  247. <el-button @click="cancelBatch">取 消</el-button>
  248. </div>
  249. </el-dialog>
  250. <!-- 用户导入对话框 -->
  251. <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px"
  252. append-to-body>
  253. <el-upload
  254. ref="upload"
  255. :limit="1"
  256. accept=".xlsx, .xls"
  257. :headers="upload.headers"
  258. :action="upload.url + '?updateSupport=' + upload.updateSupport"
  259. :disabled="upload.isUploading"
  260. :on-progress="handleFileUploadProgress"
  261. :on-success="handleFileSuccess"
  262. :auto-upload="false"
  263. drag
  264. >
  265. <i class="el-icon-upload"></i>
  266. <div class="el-upload__text">
  267. 将文件拖到此处,或
  268. <em>点击上传</em>
  269. </div>
  270. <div class="el-upload__tip" slot="tip">
  271. <el-checkbox v-model="upload.updateSupport"/>
  272. 是否更新已经存在的用户数据
  273. <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
  274. </div>
  275. <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
  276. </el-upload>
  277. <div slot="footer" class="dialog-footer">
  278. <el-button type="primary" @click="submitFileForm">确 定</el-button>
  279. <el-button @click="upload.open = false">取 消</el-button>
  280. </div>
  281. </el-dialog>
  282. <!-- 附件对话框 -->
  283. <el-dialog v-dialogDrag :close-on-click-modal="false" :visible.sync="doc.open" append-to-body title="现场照片"
  284. width="1000px">
  285. <el-image v-for="file in doc.fileList" :key="file.id" :src="file.fileUrl" lazy></el-image>
  286. </el-dialog>
  287. <!-- 驳回原因对话框 -->
  288. <el-dialog v-dialogDrag :close-on-click-modal="false" :visible.sync="reason.open" append-to-body title="驳回"
  289. width="1000px">
  290. <el-table :data="items" border>
  291. <el-table-column label="Raw material" align="center" prop="rawMaterial"
  292. :show-overflow-tooltip="true"/>
  293. <el-table-column label="驳回原因" align="center" prop="reason" :show-overflow-tooltip="true">
  294. <template slot-scope="scope">
  295. <el-input v-model="scope.row.reason" placeholder="请输入驳回原因"/>
  296. </template>
  297. </el-table-column>
  298. </el-table>
  299. <div slot="footer" class="dialog-footer">
  300. <el-button type="primary" @click="submitReasonForm">确 定</el-button>
  301. <el-button @click="reasonCancel">取 消</el-button>
  302. </div>
  303. </el-dialog>
  304. </div>
  305. </template>
  306. <script>
  307. import {
  308. addMaterialRaw,
  309. delMaterialRaw,
  310. exportMaterialRaw,
  311. getMaterialRaw,
  312. handleConfirmMaterialRaw,
  313. handleTurnDownMaterialRaw,
  314. importTemplate,
  315. listMaterialRaw,
  316. updateMaterialRaw,
  317. updateMaterialRawBatch
  318. } from "@/api/pssr/materialRaw";
  319. import { exportMaterial } from "@/api/pssr/material";
  320. import {treeselect} from "@/api/system/dept";
  321. import {getToken} from "@/utils/auth";
  322. import Treeselect from "@riophae/vue-treeselect";
  323. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  324. import {doApprove} from "@/api/pssr/approve";
  325. import {getPssrUser} from "@/api/pssr/aboveall";
  326. import {listFile} from "@/api/pssr/file";
  327. export default {
  328. dicts: ['pssr_approve_status'],
  329. name: "MaterialRaw",
  330. components: {Treeselect},
  331. props: {
  332. subId: {
  333. type: Number,
  334. default: 0
  335. },
  336. isApprove: {
  337. type: Number,
  338. default: 0
  339. },
  340. },
  341. data() {
  342. return {
  343. reason: {
  344. open: false
  345. },
  346. doc: {
  347. file: "",
  348. // 是否显示弹出层(报告附件)
  349. open: false,
  350. fileList: [],
  351. queryParams: {
  352. itemId: null,
  353. subId: this.subId,
  354. forShort: 'yfl-raw'
  355. },
  356. },
  357. userOptions: [],
  358. // 遮罩层
  359. loading: true,
  360. // 选中数组
  361. ids: [],
  362. items: [],
  363. // 非单个禁用
  364. single: true,
  365. // 非多个禁用
  366. multiple: true,
  367. // 显示搜索条件
  368. showSearch: false,
  369. // 总条数
  370. total: 0,
  371. // 原料表格数据
  372. materialRawList: [],
  373. // 弹出层标题
  374. title: "",
  375. // 部门树选项
  376. deptOptions: undefined,
  377. clientHeight: 300,
  378. // 是否显示弹出层
  379. open: false,
  380. openBatch: false,
  381. // 用户导入参数
  382. upload: {
  383. // 是否显示弹出层(用户导入)
  384. open: false,
  385. // 弹出层标题(用户导入)
  386. title: "",
  387. // 是否禁用上传
  388. isUploading: false,
  389. // 是否更新已经存在的用户数据
  390. updateSupport: 0,
  391. // 设置上传的请求头部
  392. headers: {Authorization: "Bearer " + getToken()},
  393. // 上传的地址
  394. url: process.env.VUE_APP_BASE_API + "/pssr/materialRaw/importData"
  395. },
  396. // 查询参数
  397. queryParams: {
  398. pageNum: 1,
  399. pageSize: 20,
  400. subId: this.subId,
  401. approveId: null,
  402. utilityQuantity: null,
  403. quantity: null,
  404. unit: null,
  405. note: null,
  406. confirm: null,
  407. confirmationDate: null,
  408. createrCode: null,
  409. createdate: null,
  410. updaterCode: null,
  411. updatedate: null,
  412. deptId: null,
  413. remarks: null
  414. },
  415. // 表单参数
  416. form: {},
  417. // 表单校验
  418. rules: {
  419. confirm1: [
  420. {required: true, message: "确认人1不能为空", trigger: "blur"}
  421. ],
  422. confirm2: [
  423. {required: true, message: "确认人2不能为空", trigger: "blur"}
  424. ],
  425. }
  426. };
  427. },
  428. watch: {
  429. // 根据名称筛选部门树
  430. deptName(val) {
  431. this.$refs.tree.filter(val);
  432. }
  433. },
  434. created() {
  435. //设置表格高度对应屏幕高度
  436. this.$nextTick(() => {
  437. this.clientHeight = document.body.clientHeight - 350
  438. })
  439. this.getList();
  440. this.getTreeselect();
  441. getPssrUser({}).then(res => {
  442. this.userOptions = res.data
  443. });
  444. },
  445. methods: {
  446. /** 查询原料列表 */
  447. getList() {
  448. this.loading = true;
  449. listMaterialRaw(this.queryParams).then(response => {
  450. this.materialRawList = response.rows;
  451. this.total = response.total;
  452. this.loading = false;
  453. });
  454. },
  455. /** 查询部门下拉树结构 */
  456. getTreeselect() {
  457. treeselect().then(response => {
  458. this.deptOptions = response.data;
  459. });
  460. },
  461. // 取消按钮
  462. cancel() {
  463. this.open = false;
  464. this.reset();
  465. },
  466. // 表单重置
  467. reset() {
  468. this.form = {
  469. id: null,
  470. subId: this.subId,
  471. approveId: null,
  472. utilityQuantity: null,
  473. quantity: null,
  474. unit: null,
  475. note: null,
  476. confirm: null,
  477. confirmationDate: null,
  478. delFlag: null,
  479. createrCode: null,
  480. createdate: null,
  481. updaterCode: null,
  482. updatedate: null,
  483. deptId: null,
  484. remarks: null
  485. };
  486. this.resetForm("form");
  487. },
  488. /** 搜索按钮操作 */
  489. handleQuery() {
  490. this.queryParams.pageNum = 1;
  491. this.getList();
  492. },
  493. /** 重置按钮操作 */
  494. resetQuery() {
  495. this.resetForm("queryForm");
  496. this.handleQuery();
  497. },
  498. // 多选框选中数据
  499. handleSelectionChange(selection) {
  500. this.items=selection;
  501. this.ids = selection.map(item => item.id)
  502. this.single = selection.length !== 1
  503. this.multiple = !selection.length
  504. },
  505. /** 新增按钮操作 */
  506. handleAdd() {
  507. this.reset();
  508. this.open = true;
  509. this.title = "添加原料";
  510. },
  511. handleBatch(){
  512. this.reset();
  513. this.openBatch = true
  514. },
  515. // 取消按钮
  516. cancelBatch() {
  517. this.openBatch = false;
  518. this.reset();
  519. },
  520. /** 提交按钮 */
  521. submitFormBatch() {
  522. this.$refs["form"].validate(valid => {
  523. if (valid) {
  524. this.form.ids = this.ids
  525. updateMaterialRawBatch(this.form).then(response => {
  526. this.msgSuccess("修改成功");
  527. this.openBatch = false;
  528. this.getList();
  529. });
  530. }
  531. });
  532. },
  533. /** 修改按钮操作 */
  534. handleUpdate(row) {
  535. this.reset();
  536. const id = row.id || this.ids
  537. getMaterialRaw(id).then(response => {
  538. this.form = response.data;
  539. this.open = true;
  540. this.title = "修改原料";
  541. });
  542. },
  543. /** 提交按钮 */
  544. submitForm() {
  545. this.$refs["form"].validate(valid => {
  546. if (valid) {
  547. if (this.form.id != null) {
  548. updateMaterialRaw(this.form).then(response => {
  549. this.msgSuccess("修改成功");
  550. this.open = false;
  551. this.getList();
  552. });
  553. } else {
  554. addMaterialRaw(this.form).then(response => {
  555. this.msgSuccess("新增成功");
  556. this.open = false;
  557. this.getList();
  558. });
  559. }
  560. }
  561. });
  562. },
  563. /** 删除按钮操作 */
  564. handleDelete(row) {
  565. const ids = row.id || this.ids;
  566. this.$confirm('是否确认删除?', "警告", {
  567. confirmButtonText: "确定",
  568. cancelButtonText: "取消",
  569. type: "warning"
  570. }).then(function () {
  571. return delMaterialRaw(ids);
  572. }).then(() => {
  573. this.getList();
  574. this.msgSuccess("删除成功");
  575. })
  576. },
  577. /** 导出按钮操作 */
  578. handleExport() {
  579. const queryParams = this.queryParams;
  580. this.$confirm('是否确认导出所有原料数据项?', "警告", {
  581. confirmButtonText: "确定",
  582. cancelButtonText: "取消",
  583. type: "warning"
  584. }).then(function () {
  585. return exportMaterial(queryParams);
  586. }).then(response => {
  587. this.download(response.msg);
  588. })
  589. },
  590. /** 导入按钮操作 */
  591. handleImport() {
  592. this.upload.title = "用户导入";
  593. this.upload.open = true;
  594. },
  595. /** 下载模板操作 */
  596. importTemplate() {
  597. importTemplate().then(response => {
  598. this.download(response.msg);
  599. });
  600. },
  601. // 文件上传中处理
  602. handleFileUploadProgress(event, file, fileList) {
  603. this.upload.isUploading = true;
  604. },
  605. // 文件上传成功处理
  606. handleFileSuccess(response, file, fileList) {
  607. this.upload.open = false;
  608. this.upload.isUploading = false;
  609. this.$refs.upload.clearFiles();
  610. this.$alert(response.msg, "导入结果", {dangerouslyUseHTMLString: true});
  611. this.getList();
  612. },
  613. // 提交上传文件
  614. submitFileForm() {
  615. this.$refs.upload.submit();
  616. },
  617. /** 报告附件按钮操作 */
  618. handleDoc(row) {
  619. this.doc.fileList=[]
  620. this.doc.open = true;
  621. this.doc.queryParams.itemId = row.id
  622. this.getFileList()
  623. },
  624. getFileList() {
  625. listFile(this.doc.queryParams).then(response => {
  626. this.doc.fileList = response.rows;
  627. this.doc.fileList.forEach(item => {
  628. item.fileUrl = process.env.VUE_APP_BASE_API + item.fileUrl;
  629. });
  630. });
  631. },
  632. /** 确认按钮操作*/
  633. handleApprove() {
  634. doApprove(this.subId).then(res => {
  635. this.msgSuccess("已发起确认流程");
  636. this.getList();
  637. })
  638. },
  639. handleConfirmApprove() {
  640. let data = {
  641. ids: this.ids,
  642. subId: this.subId,
  643. taskType: this.isApprove
  644. }
  645. handleConfirmMaterialRaw(data).then(res => {
  646. this.msgSuccess("确认成功");
  647. this.getList()
  648. this.$emit('refreshHisList');
  649. })
  650. },
  651. handleTurnDown(val) {
  652. this.reason.open=true;
  653. },
  654. userFormat(userId) {
  655. for (let item of this.userOptions) {
  656. if (item.userId == userId) {
  657. return item.nickName
  658. }
  659. }
  660. },
  661. reasonCancel() {
  662. this.reason.open = false;
  663. },
  664. submitReasonForm(){
  665. handleTurnDownMaterialRaw(this.items).then(res => {
  666. this.msgSuccess("驳回成功");
  667. this.reason.open = false;
  668. this.$emit('refreshHisList');
  669. })
  670. },
  671. }
  672. };
  673. </script>