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

10
src/pages/index.vue

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

Loading…
Cancel
Save