Commit 24573326 by 米嘉伟

按钮样式

parent 178f46e4
...@@ -336,4 +336,8 @@ export default { ...@@ -336,4 +336,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -908,4 +908,8 @@ export default { ...@@ -908,4 +908,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -1487,4 +1487,8 @@ export default { ...@@ -1487,4 +1487,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -233,4 +233,8 @@ export default { ...@@ -233,4 +233,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -241,4 +241,8 @@ export default { ...@@ -241,4 +241,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -302,4 +302,8 @@ export default { ...@@ -302,4 +302,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -319,4 +319,8 @@ export default { ...@@ -319,4 +319,8 @@ export default {
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
.confirmBtn {
background-color: #fff;
color: #333333;
}
</style> </style>
\ No newline at end of file
...@@ -483,6 +483,7 @@ export default { ...@@ -483,6 +483,7 @@ export default {
/deep/.el-button { /deep/.el-button {
width: 142px; width: 142px;
height: 40px; height: 40px;
color: #333333;
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
border: 1px solid #aeb5c2; border: 1px solid #aeb5c2;
...@@ -490,6 +491,7 @@ export default { ...@@ -490,6 +491,7 @@ export default {
/deep/.el-button--primary { /deep/.el-button--primary {
border-color: #055fe7; border-color: #055fe7;
background: #055fe7; background: #055fe7;
color: #fff;
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
......
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
slot="footer" slot="footer"
class="dialog-footer" class="dialog-footer"
> >
<el-button @click="submitForm('ruleForm')">提交并新增指掌纹</el-button> <el-button @click="submitForm('ruleForm')">提交</el-button>
<el-button <el-button
@click="resetForm('ruleForm')" @click="resetForm('ruleForm')"
type="primary" type="primary"
...@@ -641,7 +641,7 @@ export default { ...@@ -641,7 +641,7 @@ export default {
if (response.data.code === 0) { if (response.data.code === 0) {
this.$message.success("新增成功"); this.$message.success("新增成功");
this.dialogVisible = false; this.dialogVisible = false;
} else { } else {
this.$message.error("新增失败"); this.$message.error("新增失败");
} }
...@@ -738,15 +738,17 @@ export default { ...@@ -738,15 +738,17 @@ export default {
} }
} }
/deep/.el-button { /deep/.el-button {
width: 142px; width: 72px;
height: 40px; height: 40px;
background: #ffffff; background: #ffffff;
color: #333333;
border-radius: 4px; border-radius: 4px;
border: 1px solid #aeb5c2; border: 1px solid #aeb5c2;
} }
/deep/.el-button--primary { /deep/.el-button--primary {
border-color: #055fe7; border-color: #055fe7;
background: #055fe7; background: #055fe7;
color: #fff;
width: 72px; width: 72px;
height: 40px; height: 40px;
} }
......
...@@ -824,16 +824,22 @@ export default { ...@@ -824,16 +824,22 @@ export default {
}, },
// 选中 // 选中
handelSelect () { handelSelect () {
// let self = this
console.log('重复文件过滤', this.nowSelectData) // console.log('重复文件过滤1', this.nowSelectData)
// console.log('重复文件过滤2', this.selectArr)
// if (this.selectArr.length > 0) { // if (this.selectArr.length > 0) {
// for (var i = 0; i <= this.selectArr.length; i++) { // for (var i = 0; i <= this.selectArr.length; i++) {
// // console.log(this.selectArr[i].name);
// // console.log(9999, this.nowSelectData[i].name);
// // 重复文件过滤 // // 重复文件过滤
// let existFile = this.nowSelectData.slice(0, this.nowSelectData.length - 1).find(f => f.name === this.selectArr[i].name) // console.log(this.nowSelectData);
// console.log(this.nowSelectData.slice(0, self.nowSelectData.length));
// let existFile = this.nowSelectData.slice(0, self.nowSelectData.length).find(f => f.name === self.selectArr[i].name)
// console.log('existFile', existFile) // console.log('existFile', existFile)
// if (existFile) { // if (existFile) {
// this.$message.error('当前文件已经存在!'); // this.$message.error('请去除重复文件!');
// this.nowSelectData.pop() // this.nowSelectData.pop()
// } // }
// } // }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment