|
@ -113,6 +113,8 @@ |
|
|
<el-table-column prop="opc_code" label="OpcServer" /> |
|
|
<el-table-column prop="opc_code" label="OpcServer" /> |
|
|
<el-table-column prop="plc_code" label="OpcPlc" /> |
|
|
<el-table-column prop="plc_code" label="OpcPlc" /> |
|
|
</el-table> |
|
|
</el-table> |
|
|
|
|
|
<!--分页组件--> |
|
|
|
|
|
<pagination /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
@ -125,14 +127,15 @@ import { get } from '@/api/system/dictDetail' |
|
|
import { selectOpcList } from '@/api/acs/device/opc' |
|
|
import { selectOpcList } from '@/api/acs/device/opc' |
|
|
import { download } from '@/api/data' |
|
|
import { download } from '@/api/data' |
|
|
import { downloadFile } from '@/utils' |
|
|
import { downloadFile } from '@/utils' |
|
|
|
|
|
import pagination from '@crud/Pagination' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'Protocol', |
|
|
name: 'Protocol', |
|
|
components: { crudOperation, rrOperation }, |
|
|
components: { crudOperation, rrOperation, pagination }, |
|
|
mixins: [presenter(), header(), crud()], |
|
|
mixins: [presenter(), header(), crud()], |
|
|
cruds() { |
|
|
cruds() { |
|
|
return CRUD({ |
|
|
return CRUD({ |
|
|
title: '设备协议', url: 'api/device/protocol', idField: 'id', sort: 'id,desc', |
|
|
title: '设备协议', url: '/api/device/protocol', idField: 'id', sort: 'id,desc', |
|
|
optShow: { |
|
|
optShow: { |
|
|
download: false |
|
|
download: false |
|
|
} |
|
|
} |
|
|