11 2023 档案
摘要:<el-table-column label="审核状态" width="120"> <template slot-scope="scope"> <div v-if="scope.row.examStatus == 'false'">未审核</div> <div v-else>已审核</div> <
阅读全文
摘要:this.$axios.post("http://localhost:8080/changeExamStatus?billID="+this.tableData[index].billID).then((response)=>{ if(response.data.code==1){ alert("第
阅读全文
摘要:今天没课朋友请我出去吃火锅 很好吃,主要因为是免费的
阅读全文
摘要:首先在标签中声明 @selection-change="handleSelectionChange" 之后在script中的methods当中编写该方法 console.log(this.$refs.cgTable.selection); 这一行代码可以获取你所选择的所有行 this.idList
阅读全文
摘要:表单样式如下 填写完表单之后点击确认新增按钮,表格会自动新增一行数据对应刚刚表单当中填写的数据。 this.tableData.push(this.formData); 这行js代码可以实现将表单数据添加到表格当中。 但由于我在点击按钮的动作当中添加了 this.$refs[formName].re
阅读全文
摘要:今天学习了springboot如何根据传入的各种参数进行响应 知道了springboot在web项目中的返回数据的类型统一为Result
阅读全文
摘要:/** * 统一响应结果封装类 */ public class Result { private Integer code ;//1 成功 , 0 失败 private String msg; //提示信息 private Object data; //数据 date public Result()
阅读全文
摘要://响应字符串格式数据 @RequestMapping("/hello") public Result hello(){ System.out.println("Hello World"); // return new Result(1,"success","Hello World"); retur
阅读全文
摘要:今天完成了springboot后端数据渲染到vue前端的web表格当中 试试修改
阅读全文
摘要:今天完成了springboot后端从数据库中获取数据后,传递给vue前端,然后vue前端对数据进行渲染
阅读全文