diff --git a/src/api/server.js b/src/api/server.js index 55aa5ee..1d2a6a7 100644 --- a/src/api/server.js +++ b/src/api/server.js @@ -57,7 +57,7 @@ export const Train = new (class { //修改 updateCase(params) { return axios - .post(this.updateCaseApi, qs.stringify(params)) + .post(this.updateCaseApi, qs.stringify(params,{allowDots: true })) .then(res => res.data); } //删除 diff --git a/src/views/train/case-detail.vue b/src/views/train/case-detail.vue index 159efd6..8046309 100644 --- a/src/views/train/case-detail.vue +++ b/src/views/train/case-detail.vue @@ -25,7 +25,7 @@ 量化指标 - + - + @@ -83,7 +83,7 @@ -
+
确定 取消 @@ -253,6 +253,13 @@ getRowKey (row) {// 指定一个key标识这一行的数据 return row.id //id为row的data属性之一,必须唯一且与tableData中保持一致 }, + checkboxIsEnabled() { // 复选框是否可用 + if (this.formAction === 2) { + return false; + } else { + return true; + } + }, leftSelectionChange(selection) { this.leftSelectedRows = selection; }, @@ -412,6 +419,12 @@ .el-form-item.is-required .el-form-item__label:after { content: ''; } + .el-form-item.is-success .el-input__inner{ + border-color: #DCDFE6 !important; + } + .el-form-item.is-success .el-input__inner:focus{ + border-color: #409EFF !important; + } .target-set{ /*.el-table__header .el-table-column--selection .cell .el-checkbox:after {*/ /* content: "全选";*/ diff --git a/src/views/train/case-list.vue b/src/views/train/case-list.vue index 04b0048..72ffe7d 100644 --- a/src/views/train/case-list.vue +++ b/src/views/train/case-list.vue @@ -46,7 +46,7 @@ - +