|
@@ -654,29 +654,22 @@ export default {
|
|
this.form.copyfrom = res.data.copyfrom;
|
|
this.form.copyfrom = res.data.copyfrom;
|
|
this.form.linkurl = res.data.linkurl;
|
|
this.form.linkurl = res.data.linkurl;
|
|
}
|
|
}
|
|
|
|
+ //如果推荐等级为0 不再回显等级
|
|
|
|
+ if(res.data.level==0){
|
|
|
|
+ this.form.level = "";
|
|
|
|
+ }else{
|
|
|
|
+ this.form.level = res.data.level;
|
|
|
|
+ }
|
|
//回显站点名称
|
|
//回显站点名称
|
|
- console.log(778899)
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
this.form.web_site_id = res.data.web_site_id //站点名称
|
|
this.form.web_site_id = res.data.web_site_id //站点名称
|
|
this.form.cat_arr_id = Array.isArray(res.data.cat_arr_id) ? res.data.cat_arr_id : JSON.parse(res.data.cat_arr_id);
|
|
this.form.cat_arr_id = Array.isArray(res.data.cat_arr_id) ? res.data.cat_arr_id : JSON.parse(res.data.cat_arr_id);
|
|
console.log(this.form.cat_arr_id)
|
|
console.log(this.form.cat_arr_id)
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//回显导航池 连同非管理员得一起刷新
|
|
//回显导航池 连同非管理员得一起刷新
|
|
this.parentKey += 1; // 触发级联选择器重新加载
|
|
this.parentKey += 1; // 触发级联选择器重新加载
|
|
this.loadCascaderPath(this.form.cat_arr_id); // 加载路径数据
|
|
this.loadCascaderPath(this.form.cat_arr_id); // 加载路径数据
|
|
this.parentKey_2 += 1; // 触发级联选择器重新加载
|
|
this.parentKey_2 += 1; // 触发级联选择器重新加载
|
|
this.loadCascaderPath(this.form.cat_arr_id); // 加载路径数据
|
|
this.loadCascaderPath(this.form.cat_arr_id); // 加载路径数据
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//回显其他数据
|
|
//回显其他数据
|
|
- this.form.level = res.data.level;
|
|
|
|
this.form.imgurl = res.data.imgurl;
|
|
this.form.imgurl = res.data.imgurl;
|
|
this.imgUrl = res.data.imgurl;
|
|
this.imgUrl = res.data.imgurl;
|
|
this.form.keyword = res.data.keyword;
|
|
this.form.keyword = res.data.keyword;
|