Browse Source

手动核查状态

master
maochaoying 2 years ago
parent
commit
bd660ac241
  1. 7
      src/components/Task.vue
  2. 10
      src/pages/index.vue

7
src/components/Task.vue

@ -17,7 +17,6 @@
row-key="id"
:data="data"
:columns="columns"
:height="500"
:scroll="{ type: 'virtual', rowHeight: 69, bufferSize: 10 }"
resizable
/>
@ -158,7 +157,7 @@ export default {
{
colKey: 'operatorName',
title: '操作员',
width: 80,
width: 130,
},
{
colKey: 'publishTime',
@ -614,6 +613,10 @@ export default {
</script>
<style lang="scss">
.task_component {
height: 100vh;
overflow: hidden;
}
.process_table_btn {
width: 93.18px;
height: 32px;

10
src/pages/index.vue

@ -240,6 +240,7 @@
size="large"
v-model="checked"
@change="onChange"
:disabled="taskStore?.excelData?.length == 0"
></t-switch>
</div>
<div
@ -499,6 +500,9 @@ const getSocketdata = res => {
}
const preBtn = async () => {
if (!checked.value) {
return
}
const checkNumber = checkStore.checkNumber
const currentTaskId = taskStore.currentTaskId
const res = await getNextCoordApi(checkNumber, currentTaskId, '0')
@ -512,6 +516,9 @@ const preBtn = async () => {
}
const nextBtn = async () => {
if (!checked.value) {
return
}
const checkNumber = checkStore.checkNumber
const currentTaskId = taskStore.currentTaskId
const res = await getNextCoordApi(checkNumber, currentTaskId, '1')
@ -525,6 +532,9 @@ const nextBtn = async () => {
}
const check = async () => {
if (!checked.value) {
return
}
//
//
// ws

Loading…
Cancel
Save