Browse Source

continue

master
maochaoying 2 years ago
parent
commit
290cac1af2
  1. 25
      src/pages/index.vue

25
src/pages/index.vue

@ -327,9 +327,10 @@
<DetailTable /> <DetailTable />
</div> </div>
<div class="progress_btn"> <div class="progress_btn">
<p class="title">
核查进度{{ hasTestedLength }} / {{ testArrLength }}
</p>
<div class="title">
<p>核查进度{{ hasTestedLength }} / {{ testArrLength }}</p>
<t-button @click="continueWork">继续操作</t-button>
</div>
<t-progress theme="plump" :percentage="detailProcess" /> <t-progress theme="plump" :percentage="detailProcess" />
</div> </div>
</div> </div>
@ -458,6 +459,15 @@ const clickLogo = () => {
// taskStore.updateType(0) // taskStore.updateType(0)
// getInitData() // getInitData()
} }
const continueWork = () => {
//
imageStore.reset()
taskStore.updateCurrentDetailTaskId(null)
accountStore.changePage(0)
//
taskStore.updateType(0)
getInitData()
}
const getInitData = async () => { const getInitData = async () => {
// list // list
@ -905,6 +915,8 @@ initWebSocket()
font-weight: 500; font-weight: 500;
letter-spacing: 0.07em; letter-spacing: 0.07em;
color: #3d3d3d; color: #3d3d3d;
display: flex;
align-items: center;
} }
} }
.history_btn { .history_btn {
@ -944,18 +956,21 @@ initWebSocket()
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.progress_btn { .progress_btn {
padding: 25px 24px 18px 24px;
padding: 25px 24px 18px 0;
box-sizing: border-box; box-sizing: border-box;
border-radius: 6px; border-radius: 6px;
background: #ffffff; background: #ffffff;
margin-left: 30px; margin-left: 30px;
width: 311.41px;
width: 411.41px;
.title { .title {
margin-bottom: 33px; margin-bottom: 33px;
font-size: 22px; font-size: 22px;
font-weight: 500; font-weight: 500;
letter-spacing: 0.07em; letter-spacing: 0.07em;
color: #3d3d3d; color: #3d3d3d;
display: flex;
align-items: center;
justify-content: space-between;
} }
} }
.table_wrap { .table_wrap {

Loading…
Cancel
Save