wvp-GB28181-pro/web_src/src/components/ChannelEdit.vue

57 lines
1.2 KiB
Vue
Raw Normal View History

2024-07-10 17:33:04 +08:00
<template>
2024-07-10 17:53:15 +08:00
<div id="ChannelEdit" v-loading="isLoging" style="width: 100%">
2024-07-10 17:33:04 +08:00
<el-form ref="passwordForm" :rules="rules" status-icon label-width="80px">
2024-07-10 17:53:15 +08:00
<!-- <el-form-item label="gbName" prop="gbName">-->
<!-- <el-input v-model="form.gbName"></el-input>-->
<!-- </el-form-item>-->
2024-07-10 17:33:04 +08:00
<el-form-item>
<div style="float: right;">
<el-button type="primary" @click="onSubmit"></el-button>
<el-button @click="close"></el-button>
</div>
</el-form-item>
</el-form>
</div>
</template>
<script>
export default {
name: "channelEdit",
2024-07-10 17:53:15 +08:00
props: [ 'id',],
2024-07-10 17:33:04 +08:00
computed: {},
created() {
2024-07-10 23:25:54 +08:00
// 获取完整信息
// 国标类型特殊处理
2024-07-10 17:33:04 +08:00
},
data() {
return {
2024-07-10 17:53:15 +08:00
form: {},
2024-07-10 17:33:04 +08:00
};
},
methods: {
onSubmit: function () {
},
close: function () {
2024-07-10 17:53:15 +08:00
2024-07-10 17:33:04 +08:00
},
2024-07-10 23:25:54 +08:00
getChannel:function () {
2024-07-10 17:33:04 +08:00
this.$axios({
method: 'get',
url: "/api/role/all"
}).then((res) => {
this.loading = true;
if (res.data.code === 0) {
this.options=res.data.data
}
}).catch((error) => {
console.error(error)
});
}
},
};
</script>