html:
<el-table-column prop="remark" label="">
                <template slot-scope="scope">
                  <el-input v-model="scope.row.remark" type="text" />
                </template>
              </el-table-column>
              <el-table-column prop="remark" label="">
                <template slot-scope="scope">
                  <el-button
                    class="remark"
                    @click="Remark(scope.remark, scope.row)"
                    type="primary"
                    >提交</el-button
                  >
                </template>
              </el-table-column>
js:

  //备注
    Remark(remark, row) {
 this.$axios
        .get("url", {
          params: {
            id: row.id,
            remark: row.remark,
          },
        })
        .then((res) => {
          if (res.data == 1) {
            alert("Submit successfully");
          }
        });
    },

最新文章

  1. 安卓端360度全景图的html5实现
  2. springboot Serving Web Content with Spring MVC
  3. 使用Servlet上传文件
  4. Gradify - 提取图片颜色,创建响应式的 CSS渐变
  5. sql server 警报管理,实时监听数据库动向,运筹帷幄之中
  6. BZOJ 4516: [Sdoi2016]生成魔咒
  7. Div中高度自适应增长方法
  8. jQuery提升性能技巧及个人总结
  9. [Environment Build] 如何实现Visual Studio中的区域语言环境切换
  10. ClassLoader和Reflect
  11. [python]百度语音rest api
  12. 基于WebForm和Bootstrap的权限框架解决方案 一.PQGRID的使用
  13. [转载]MySQL UUID() 函数
  14. MyISAM 存储引擎的特点及优化方法
  15. 数据库scheme设计(9.4 小结)
  16. 潭州课堂25班:Ph201805201 tornado 项目 第五课 增加用户系统-用户中心(课堂笔记)
  17. 做一个vue的todolist列表
  18. 使用git上传项目到github的最基础命令
  19. 通过创建临时表合并某一个库的hive小文件
  20. Angular 下的 directive (part 2)

热门文章

  1. Wordpress指定关键词手动添加链接
  2. Java使用RestTemplate发送Post请求时携带参数
  3. 发誓要学会wepack
  4. DOM状态监听(观察者模式)
  5. redisTemplate类学习及理解
  6. [746] Interlude Update 3
  7. [737] Interlude OpCodez
  8. springboot aop本地缓存防止重复提交
  9. csdn 复制
  10. 小白之Linux基础命令