| | |
| | | size="mini" |
| | | type="text" |
| | | v-show=" |
| | | scope.row.confirmStatus == '299' || |
| | | scope.row.confirmStatus == 288 |
| | | (xianshi == 'Y' || xianshi == 'y') && |
| | | (scope.row.confirmStatus == '299' || |
| | | scope.row.confirmStatus == 288) |
| | | " |
| | | @click="tongguo(scope.row)" |
| | | >通过</el-button |
| | |
| | | size="mini" |
| | | type="text" |
| | | v-show=" |
| | | scope.row.confirmStatus == '301' || |
| | | scope.row.confirmStatus == 288 |
| | | (xianshi == 'Y' || xianshi == 'y') && |
| | | (scope.row.confirmStatus == '301' || |
| | | scope.row.confirmStatus == 288) |
| | | " |
| | | @click="bohui(scope.row)" |
| | | >驳回</el-button |
| | |
| | | </div> |
| | | <div class="pag"> |
| | | <div class="pag1"> |
| | | <!-- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :pager-count="5" :current-page.sync="currentPage1" :current-page="page" |
| | | <!-- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :pager-count="5" :current-page.sync="currentPage1" :current-page="page" |
| | | :page-sizes="pageSize" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="total"> |
| | | </el-pagination> --> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :pager-count="5" |
| | | :page.sync="queryParams.page" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | </div> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :pager-count="5" |
| | | :page.sync="queryParams.page" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getConfigKey } from "@/api/system/config"; |
| | | import { |
| | | getCsList, |
| | | confirmOrder, |
| | |
| | | checkStatus: "0", |
| | | exaList: [], |
| | | // 表单参数 |
| | | xianshi: '', |
| | | form: {}, |
| | | clearTimeSet: null, |
| | | tjNumbers: "", |
| | |
| | | }, |
| | | created() { |
| | | this.getdate(); |
| | | |
| | | // this.getNowTime(); |
| | | }, |
| | | mounted() { |
| | |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getConfigKey("tj_confirm").then((res) => { |
| | | this.xianshi = res.msg; |
| | | }); |
| | | getNewDateList().then((res) => { |
| | | this.createTimeList = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | |
| | | this.$modal.loading("正在同步,请稍候..."); |
| | | this.setTime(); |
| | | let tjNumber = row.tjNumber; |
| | | dataSynchronization(tjNumber).then((res, error) => { |
| | | if (res.code == 200) { |
| | | // this.$forceUpdate(); |
| | | dataSynchronization(tjNumber) |
| | | .then((res, error) => { |
| | | if (res.code == 200) { |
| | | // this.$forceUpdate(); |
| | | this.handleCurrentChange(row); |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | this.$modal.msgSuccess("同步成功!"); |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | this.handleCurrentChange(row); |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | this.$modal.msgSuccess("同步成功!"); |
| | | } |
| | | }).catch(error => { |
| | | this.handleCurrentChange(row); |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | }); |
| | | }, |
| | | // 驳回按钮 |
| | | bohui(row) { |