作者 小范

添加新字段

... ... @@ -41,6 +41,11 @@
width="120">
</el-table-column>
<el-table-column
prop="equipNo"
label="设备编号"
width="120">
</el-table-column>
<el-table-column
prop="starttime"
label="开始时间">
</el-table-column>
... ...
... ... @@ -82,9 +82,15 @@
<el-table-column label="操作" align="center" width="240" fixed="right">
<!-- v-if="isAdmin"-->
<template slot-scope="scope">
<el-button type="warning" size="mini" @click="handlOut(scope.$index, scope.row)">出任务</el-button>
<el-button type="success" size="mini" @click="handlEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="danger" size="mini" @click="handleDel(scope.$index, scope.row)">删除</el-button>
<el-row>
<el-button type="warning" size="mini" @click="handlOut(scope.$index, scope.row)">出任务</el-button>
<el-button type="success" size="mini" @click="handlEdit(scope.$index, scope.row)">编辑</el-button>
</el-row>
<el-row>
<el-button type="primary" size="mini" @click="handlEdit(scope.$index, scope.row)">绑定</el-button>
<el-button type="info" size="mini" @click="handlEdit(scope.$index, scope.row)">解绑</el-button>
<el-button type="danger" size="mini" @click="handleDel(scope.$index, scope.row)">删除</el-button>
</el-row>
</template>
</el-table-column>
</el-table>
... ... @@ -470,7 +476,8 @@
lisenceNo: '',
username: '',
id:'',
starttime:''
starttime:'',
equipNo:''
},
usernames:[],
queryInfo: {
... ... @@ -491,6 +498,7 @@
handlOut(index,row){
this.dialogVisible=true;
this.form.lisenceNo=row.domesticLisenceNo;
this.form.equipNo=row.veCustomsNo;
this.getUsers();
this.getLisenceNoStatus(row.domesticLisenceNo)
},
... ...