工作296:el-table使用

<template>
<el-dialogtitle="修改记录":visible.sync="dialogVisible"width="30%":before-close="handleClose"><el-table:data="tableData"style="width: 100%"><el-table-columnprop="name"label="任务名称"width="180"></el-table-column><el-table-columnprop="username"label="修改人"></el-table-column><el-table-columnprop="start_time"label="创建时间"></el-table-column><el-table-columnprop="updated_at"label="更新时间"></el-table-column></el-table>
<span slot="footer" class="dialog-footer"><el-button type="primary" @click="dialogVisible = false">关闭</el-button></span>
</el-dialog>
</template>
<script>
export default {name:"ResetList",data() {return {tableData:[],dialogVisible: false};},methods: {show(record){this.tableData=recordconsole.log(record)/* this.id=id*/this.dialogVisible=true/*     getAction("/task",).then(res=>{console.log(res)let List=[]res.data.items.map((value,index)=>{/!* console.log(value.task_recode)*!/List.push({...value.task_recode})})this.tableData=Listconsole.log(this.tableData)})*/},handleClose(done) {this.$confirm('确认关闭?').then(_ => {done();}).catch(_ => {});}}
};
</script>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/414151.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

nginx将ip+端口号映射为域名

cd /etccd nginxcd sites-enabledvim 配置文件&#xff08;vim siyin.orange-socail.com)server { listen 80; server_name siyin.orange-social.com; access_log /var/log/nginx/siyin.orange-social.com/access.log; error_log /var/log/nginx/siyin.orange-social.com/error…

macos -bash: yarn: command not found/-bash: cnpm: command not found

博客主要更新地址&#xff1a;?https://www.cnblogs.com/niceyoo -bash: cnpm: command not found -bash: yarn: command not found -bash: xxxx: command not found 如上yarn/cnpm皆通用&#xff0c;前提是安装成功后报这个错误哈&#xff01; Error: EACCES: permission den…

工作297:shift+$形成元

</el-row><el-form-item label"刊例价"><span>&#xffe5;</span> {{ form.price }}</el-form-item><el-form-item label"任务名称"><!-- {{form.name}}--><el-input :disabled"viewList" v-mode…

部署项目到jetty

一、打包项目 1、在pom.xml中添加以下依赖 <dependency><groupId>org.mortbay.jetty</groupId><artifactId>jetty-plus</artifactId><version>7.0.0.pre5</version><scope>provided</scope> </dependency> <de…

maven jar包冲突的发现与解决[工具篇]

本文是我的第177篇文章。 关于jar冲突排查解决的问题&#xff0c;相信很多小伙伴也都知道有一些&#xff0c;无非就是两类&#xff1a;命令 or 工具。 命令方式比如&#xff1a; mvn dependency:tree 工具方式比如&#xff1a; Maven Helper 而今天的主角就是 Maven Helper 了。…

工作298:无路由页面

<template><div><h1>404 Not Found! &#x1f440;</h1><router-link to"/"><el-button type"primary">返回首页</el-button></router-link></div> </template><script> export defaul…

no applicable action for [springProfile], current ElementPath is [[configuration][springProfile]]

今天down了一个开源项目&#xff0c;启动后一直存在如下错误信息&#xff1a; ERROR in ch.qos.logback.core.joran.spi.Interpreter26:42 - no applicable action for [springProfile], current ElementPath is [[configuration][springProfile]]ERROR in ch.qos.logback.cor…

【Python练习题】程序5

#题目&#xff1a;输入三个整数x,y,z&#xff0c;请把这三个数由小到大输出。 # a input(请输入整数&#xff1a; \n) # # b input(请输入整数&#xff1a; \n) # # c input(请输入整数&#xff1a; \n) # # l [a,b,c] # # l.sort() # # for i in l: # print (i)方法2&…

@Path注解

最近用到的一个项目&#xff0c;看到Controller控制层、Method方法都是通篇的Path注解&#xff0c;由于之前并没有使用过该注解&#xff0c;故记此篇。 首先看一下项目中的使用方式&#xff1a; Path("clientWeb")public class ClientWeb { POST Path("/g…

工作300:处理预览界面

<template><el-dialogtitle"提示":visible.sync"dialogVisible"width"30%":before-close"handleClose"><div style"margin: 0 auto"><div v-if"tableData.content_type2"><h1>图文…

iOS的SVN

1、cornerstone2、smart svn mac &#xff08;比较好用&#xff09;3、还xcode自带的。转载于:https://www.cnblogs.com/YangBinChina/p/8971148.html

导入数据任务(id:373985)异常, 错误信息:解析导入文件错误,请检查导入文件内容,仅支持导入json格式数据及excel文件...

小程序导入&#xff0c;别人导出的数据库json文件&#xff0c;错误信息如下&#xff1a; 导入数据库失败, Error: Poll error, 导入数据任务&#xff08;id:373985&#xff09;异常&#xff0c;错误信息&#xff1a;解析导入文件错误&#xff0c;请检查导入文件内容&#xff0c…

工作301:substring使用

在 String 中提供了两个截取字符串的方法&#xff0c;一个是从指定位置截取到字符串结尾&#xff0c;另一个是截取指定范围的内容。下面对这两种方法分别进行介绍。 1. substring(int beginIndex) 形式 此方式用于提取从索引位置开始至结尾处的字符串部分。调用时&#xff0c;括…

java -jar 指定端口发布

java -jar -Dserver.port9999 boot.jar 转载于:https://www.cnblogs.com/kaka666/p/8971339.html

ArrayList与String[]

不逼自己一把&#xff0c;你永远不知道什么是绝望。 今天被初学java的朋友问到了String[]跟ArrayList是不是有关系呢&#xff1f; 猜测是名称之间的联想&#xff0c;记此篇解惑。 Array英语单词里是数组、阵列的意思&#xff0c;在java中数组是这样定义的&#xff1a;一组相关类…

工作302:scss目录编写

css 样式存放目录&#xff08;待定&#xff0c;选用less或scss&#xff09;这里我不会把style抽到外头&#xff0c;但是可以写一些全局样式放在这里&#xff0c;里面注意放入common.less normalize.less,里面直接写.el-button那么所有的el-button就会被影响&#xff0c;这里要提…

工作303:接口返回的上传地址默认是可以调用的

let testUrlgetActionXing("/internal/pictures/uploader",).then(res>{console.log(res)testUrlres.data.toString()接口上传的返回地址console.log(testUrl)testUrltestUrl.substring(24)console.log(testUrl)getActionXing(testUrl).then(res>{console.log(…

WebStorm取消默认style样式折叠

WebStorm取消默认style样式折叠&#xff1a; File--->Settings打开一个窗口 Edit--->CodeFolding 把HTML style attribute的前面的钩去掉[取消勾选] 右下角点击Apply--->ok

AtCoder Grand Contest 023 C - Painting Machines

Description 一个长度为 \(n\) 的序列,初始都为 \(0\),你需要求出一个长度为 \(n-1\) 的排列 \(P\), 按照 \(1\) 到 \(n\) 的顺序,每次把 \(P_i\) 和 \(P_i1\) 染成 \(1\),一个排列的价值为所有的位置都变成 \(1\) 的操作次数,求所有排列的价值和题面 Solution 我们求出价值为 …

Vue中的computed属性

1、前言 本篇是Vue中最常用到的API之一computed属性&#xff0c;转载信息如下&#xff1a; 作者&#xff1a;gunelark链接&#xff1a;https://www.cnblogs.com/gunelark/p/8492468.html 2、正文 看了网上很多资料&#xff0c;对vue的computed讲解自己看的都不是很清晰&#xf…