|
|
@@ -120,12 +120,14 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="success"
|
|
|
+ :disabled="scope.row.state_name === 'RUNNING' ? false : true"
|
|
|
@click="handlestop(scope.$index, scope.row)"
|
|
|
>停止</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="danger"
|
|
|
+
|
|
|
@click="remove(scope.$index, scope.row)"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
@@ -639,7 +641,7 @@ export default {
|
|
|
)
|
|
|
},
|
|
|
diskResidue () {
|
|
|
- return this.diskTotal.split('G')[0] - this.disk_used.split('G')[0] + 'G'
|
|
|
+ return (this.diskTotal.split('G')[0] - this.disk_used.split('G')[0]).toFixed(1) + 'G'
|
|
|
}
|
|
|
},
|
|
|
|