|
|
|
@ -29,14 +29,23 @@
|
|
|
|
|
<el-table-column prop="name" label="名称"></el-table-column>
|
|
|
|
|
<el-table-column prop="code" label="编码"></el-table-column>
|
|
|
|
|
<el-table-column prop="remark" label="备注"></el-table-column>
|
|
|
|
|
<el-table-column label="操作" class-name="small-padding fixed-width">
|
|
|
|
|
<el-table-column label="操作" width="200">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" @click="handleSubForm( scope.row, 'add')">新增</el-button>
|
|
|
|
|
<el-button type="text" @click.native.stop="handleSubForm( scope.row, 'edit')">编辑</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="handleDelInv(scope.row)">删除</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="addHospProduct( scope.row)">绑定</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="removeHospProduct(scope.row)">解绑</el-button>
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button type="text" style="margin-right: 10px" @click="handleSubForm( scope.row, 'add')">新增</el-button>
|
|
|
|
|
<el-button type="text" style="margin-right: 10px" @click.native.stop="handleSubForm( scope.row, 'edit')">编辑</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" style="margin-right: 10px" @click.native.stop="handleDelInv(scope.row)">删除</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" style="margin-right: 10px" @click.native.stop="addHospProduct(scope.row)">绑定</el-button>
|
|
|
|
|
<el-button type="text" v-if="scope.row.code!=10000" style="margin-right: 10px" @click.native.stop="removeHospProduct(scope.row)">解绑</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</template>
|
|
|
|
|
<!--<template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button type="text" @click="handleSubForm( scope.row, 'add')">新增</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" @click.native.stop="handleSubForm( scope.row, 'edit')">编辑</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="handleDelInv(scope.row)">删除</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="addHospProduct( scope.row)">绑定</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" v-if="scope.row.code!=10000" @click.native.stop="removeHospProduct(scope.row)">解绑</el-button>-->
|
|
|
|
|
<!--</template>-->
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|