hn2.0
fanluyan 2 years ago
parent 897920697a
commit 94d3d5c759

@ -376,7 +376,10 @@ export default {
.then((res) => { .then((res) => {
this.channelOptions = res.data.list; this.channelOptions = res.data.list;
this.filterOption = res.data.list; this.filterOption = res.data.list;
this.formInfo.list[0].id = this.filterOption[0].id; if (this.photoDialogTitle == "新增") {
this.formInfo.list[0].id = this.filterOption[0].id;
}
//this.formInfo.list[0].id = this.filterOption[0].id;
}) })
.catch((err) => {}); .catch((err) => {});
}, },

@ -219,7 +219,7 @@ export default {
this.setForm = {}; this.setForm = {};
console.log(val); console.log(val);
this.seltermid = val.id; this.seltermid = val.id;
this.selcmdId = val.cmdid; this.selcmdId = val.cmdId;
getChannelListJoggle({ termid: this.seltermid }) getChannelListJoggle({ termid: this.seltermid })
.then((res) => { .then((res) => {
this.accesslist = res.data.list; this.accesslist = res.data.list;
@ -244,7 +244,7 @@ export default {
this.searchloading = true; this.searchloading = true;
getPhotoParamApi({ getPhotoParamApi({
channelId: this.selaccess, channelId: this.selaccess,
cmdId: this.selcmdId, termId: this.seltermid,
}) })
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {

@ -166,7 +166,7 @@ export default {
this.setForm = {}; this.setForm = {};
console.log(val); console.log(val);
this.seltermid = val.id; this.seltermid = val.id;
this.selcmdId = val.cmdid; this.selcmdId = val.cmdId;
getChannelListJoggle({ termid: this.seltermid }) getChannelListJoggle({ termid: this.seltermid })
.then((res) => { .then((res) => {
this.accesslist = res.data.list; this.accesslist = res.data.list;
@ -190,7 +190,7 @@ export default {
this.searchloading = true; this.searchloading = true;
getVideoParamApi({ getVideoParamApi({
channelId: this.selaccess, channelId: this.selaccess,
cmdId: this.selcmdId, termId: this.seltermid,
}) })
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {

Loading…
Cancel
Save