|
|
@@ -58,6 +58,7 @@
|
|
|
<DictSelection
|
|
|
dictName="摄像机类型"
|
|
|
v-model="form.classifyCode"
|
|
|
+ @itemChange="classifyCodeChange"
|
|
|
></DictSelection>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -74,6 +75,7 @@
|
|
|
<DictSelection
|
|
|
dictName="摄像头品牌"
|
|
|
v-model="form.brandCode"
|
|
|
+ @itemChange="brandCodeChange"
|
|
|
></DictSelection>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -286,6 +288,14 @@ export default {
|
|
|
this.requestDict('摄像机类型');
|
|
|
},
|
|
|
methods: {
|
|
|
+ brandCodeChange(e) {
|
|
|
+ console.log('brandCodeChange', e)
|
|
|
+ this.form.brandName = e.dictValue;
|
|
|
+ },
|
|
|
+ classifyCodeChange(e) {
|
|
|
+ console.log('classifyCodeChange', e)
|
|
|
+ this.form.classifyName = e.dictValue;
|
|
|
+ },
|
|
|
/** 加载NVR设备列表 */
|
|
|
loadNvrDeviceData() {
|
|
|
DeviceApi.getDeviceList({ classifyCode: '' }).then((res) => {
|