feat: 评分任务
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user