| | |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <!-- v-hasPermi="['reservation:reservation:edit']" --> |
| | | <el-table-column label="操作" align="center" width="120px"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | v-hasPermi="['reservation:reservation:edit']" |
| | | type="text" |
| | | @click="tongbu(scope.row)" |
| | | >同步</el-button |
| | | > |
| | |
| | | :disabled="dis" |
| | | size="mini" |
| | | type="text" |
| | | v-hasPermi="['reservation:reservation:edit']" |
| | | v-show=" |
| | | scope.row.confirmStatus == '299' || |
| | | scope.row.confirmStatus == 288 |
| | |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | v-hasPermi="['reservation:reservation:edit']" |
| | | v-show=" |
| | | scope.row.confirmStatus == '301' || |
| | | scope.row.confirmStatus == 288 |
| | |
| | | cSWebGetPro, |
| | | dataSynchronization, |
| | | } from "@/api/doctor/examination"; |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | |
| | | export default { |
| | | dicts: ["dict_tj_status"], |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | // this.getNowTime(); |
| | | }, |
| | | mounted() { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.createTimeList = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date().getTime(); |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList =[] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | this.loading = true; |
| | |
| | | if (res.code == 200) { |
| | | // this.$forceUpdate(); |
| | | this.getList(); |
| | | this.xiangmuList = [] |
| | | this.$modal.msgSuccess("提交成功!"); |
| | | } |
| | | }); |