|
@@ -49,6 +49,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="pull-left">
|
|
|
<el-button
|
|
|
+ :disabled="markingBtnDisable(scope.row)"
|
|
|
@click="marking(scope.row)"
|
|
|
type="primary"
|
|
|
size="mini"
|
|
@@ -98,6 +99,13 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ markingBtnDisable(row) {
|
|
|
+ if (row.progress == 100) {
|
|
|
+ return true;
|
|
|
+ } else {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ },
|
|
|
initMarkWork() {
|
|
|
this.loading = true;
|
|
|
this.$http
|