feat: 评分任务

This commit is contained in:
wanglei
2024-06-27 09:38:47 +08:00
parent 236404c5ba
commit 53bf64712e
3 changed files with 62 additions and 21 deletions

View File

@@ -147,10 +147,8 @@ export default {
this.$refs['formRef'].validate(async valid=>{
if(valid){
try {
const {code} = await this.instance.post('/app/apptaskmanage/addOrUpdate',null,{
params:{
...form
}
const {code} = await this.instance.post('/app/apptaskmanage/addOrUpdate',{
...this.form
})
if(code===0){
this.$message.success('保存成功')
@@ -192,7 +190,9 @@ export default {
async getList(){
try {
const {code,data} = await this.instance.post('/app/apptaskmanage/list')
const {code,data} = await this.instance.post('/app/apptaskmanage/list',{
...this.search
})
if(code===0){
this.tableData = data.records
this.total = data.total