| | |
| | | <el-table-column label="IP" align="center" prop="ip"/> |
| | | <el-table-column label="端口" align="center" prop="port"/> |
| | | <el-table-column label="登录账户" align="center" prop="loginAccount"/> |
| | | <el-table-column label="NVR" align="center" prop="nvrId_dictText"/> |
| | | <el-table-column label="NVR" align="center" prop="nvrId_dictText"> |
| | | <template slot-scope="scope"> |
| | | <el-link type="primary" @click="nvrClick(scope.row)">{{scope.row.nvrId_dictText}}</el-link> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="通道" align="center" prop="passageway_dictText"/> |
| | | <el-table-column label="安装位置" align="center" prop="buildingId_dictText"/> |
| | | <el-table-column label="所属单位" align="center" prop="organizationId_dictText"/> |
| | |
| | | <el-button @click="cancel">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <!-- 服务器 --> |
| | | <Dialog title="服务器" :visible.sync="nvrOpen" width="700px" :append-to-body="true" :destroy-on-close="true"> |
| | | <nvr-form v-if="nvrOpen" :nvrId="nvrId"></nvr-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="nvrOpen = false">关 闭</el-button> |
| | | </div> |
| | | </Dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import constructionBatch from "../../components/constructionBatch"; |
| | | import manufacturer from "../../components/manufacturer"; |
| | | import nvr from '../../components/nvr' |
| | | import nvrForm from '../../components/nvr/form' |
| | | |
| | | export default { |
| | | name: "Ipc", |
| | |
| | | organization, |
| | | constructionBatch, |
| | | manufacturer, |
| | | nvr |
| | | nvr, |
| | | nvrForm |
| | | }, |
| | | props: { |
| | | schoolId: { |
| | |
| | | ], |
| | | passageway: [] |
| | | }, |
| | | disabled: false |
| | | disabled: false, |
| | | nvrOpen: false, |
| | | nvrId: undefined |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | | this.download('oa/ipc/export', { |
| | | ...this.queryParams |
| | | }, `ipc_${new Date().getTime()}.xlsx`) |
| | | nvrClick(row) { |
| | | this.nvrId = row.nvrId; |
| | | this.nvrOpen = true; |
| | | } |
| | | } |
| | | }; |