刘璐珈

This commit is contained in:
Vergil
2020-03-18 17:47:47 +08:00
parent 715298cf6c
commit 8151bd6393
7 changed files with 26 additions and 20 deletions

View File

@@ -125,9 +125,9 @@
<el-button v-if="scope.row.调试状态===2" size="small" type="text" @click="handleCancelEnd_2(scope.row)">取消结束调试</el-button>
<el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top" style="margin-left: 10px">
<div style="display: inline-block">
<el-button v-if="scope.row.edit" type="text" plain size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-if="scope.row.edit" type="text" size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="text" size="small" icon="el-icon-edit-outline" @click="scope.row.edit=!scope.row.edit"/>
<el-button v-if="scope.row.edit" type="text" plain size="small" @click="cancel(scope.row)">取消</el-button>
<el-button v-if="scope.row.edit" type="text" size="small" @click="cancel(scope.row)">取消</el-button>
</div>
</el-tooltip>
</template>