@@ -283,6 +283,9 @@ export default {
}
},
edit: {
+ conditions: ({ row, index, column }) => {
+ return !~['OK', 'FAIL'].indexOf(row.flag)
+ },
click: ({ row, index, column }) => {
this.$refs.tabPage.addTab({
// 对应显示的模块
@@ -11,10 +11,11 @@ export default {
formItems() {
return [
{
- name: 'el-input',
+ name: 'el-select',
md: 6,
+ options: [{ SAVE: "保存" }, { SUBMIT: "提交" }, { OK: "通过" }, { FAIL: "失败" }],
attributes: {
- placeholder: '请输入',
+ placeholder: '请选择',
disabled: true
formItemAttributes: {