|
@@ -23,6 +23,9 @@
|
|
<el-button @click="search()">查询</el-button>
|
|
<el-button @click="search()">查询</el-button>
|
|
<el-button v-if="isAuth('prod:equipment:save')" type="primary" @click="addOrUpdateHandle(0)">新增</el-button>
|
|
<el-button v-if="isAuth('prod:equipment:save')" type="primary" @click="addOrUpdateHandle(0)">新增</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-checkbox v-model="dataForm.onlineState" :true-label="'1'" :false-label="'0'" @change="search()">只看在线</el-checkbox>
|
|
|
|
+ </el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<!-- 数据表格 -->
|
|
<!-- 数据表格 -->
|
|
<el-table
|
|
<el-table
|
|
@@ -350,7 +353,8 @@ export default {
|
|
'current': this.pageIndex,
|
|
'current': this.pageIndex,
|
|
'size': this.pageSize,
|
|
'size': this.pageSize,
|
|
'name': this.dataForm.name ? this.dataForm.name : null,
|
|
'name': this.dataForm.name ? this.dataForm.name : null,
|
|
- 'state': this.dataForm.state ? this.dataForm.state : null
|
|
|
|
|
|
+ 'state': this.dataForm.state ? this.dataForm.state : null,
|
|
|
|
+ 'onlineState': this.dataForm.onlineState != undefined ? this.dataForm.onlineState : null
|
|
})
|
|
})
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
if (data && data.code === '200') {
|
|
if (data && data.code === '200') {
|