update
This commit is contained in:
parent
06e68e8fc9
commit
2ab306c2c1
@ -34,9 +34,8 @@
|
|||||||
width="50">
|
width="50">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
style="display: none"
|
|
||||||
align="center"
|
align="center"
|
||||||
prop="cate_id"
|
prop="parentId"
|
||||||
label="所属编号"
|
label="所属编号"
|
||||||
width="50">
|
width="50">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -193,8 +192,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="网站归类" prop="cate_id">
|
<el-form-item label="网站归类" prop="parentId">
|
||||||
<el-select v-model="form.cate_id" prop="cate_id"
|
<el-select v-model="form.parentId" prop="parentId"
|
||||||
value-key="deviceType" placeholder="请选择">
|
value-key="deviceType" placeholder="请选择">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in Cate"
|
v-for="item in Cate"
|
||||||
@ -283,7 +282,7 @@ export default {
|
|||||||
weigh:'',
|
weigh:'',
|
||||||
status:'',
|
status:'',
|
||||||
icon:'',
|
icon:'',
|
||||||
cate_id:'',
|
parentId:'',
|
||||||
url:'',
|
url:'',
|
||||||
tags:'',
|
tags:'',
|
||||||
desc:'',
|
desc:'',
|
||||||
@ -306,7 +305,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.GetData();
|
this.GetData();
|
||||||
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
@ -323,7 +321,7 @@ export default {
|
|||||||
weigh:'',
|
weigh:'',
|
||||||
status:'',
|
status:'',
|
||||||
icon:'',
|
icon:'',
|
||||||
cate_id:'',
|
parentId:'',
|
||||||
url:'',
|
url:'',
|
||||||
tags:'',
|
tags:'',
|
||||||
desc:'',
|
desc:'',
|
||||||
@ -401,7 +399,7 @@ export default {
|
|||||||
weigh:'',
|
weigh:'',
|
||||||
status:'',
|
status:'',
|
||||||
icon:'',
|
icon:'',
|
||||||
cate_id:'',
|
parentId:'',
|
||||||
url:'',
|
url:'',
|
||||||
tags:'',
|
tags:'',
|
||||||
desc:'',
|
desc:'',
|
||||||
@ -411,6 +409,7 @@ export default {
|
|||||||
// 后关闭
|
// 后关闭
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
this.openAddCategory=false;
|
this.openAddCategory=false;
|
||||||
|
this.GetData();
|
||||||
},
|
},
|
||||||
// 新增按钮:
|
// 新增按钮:
|
||||||
openAddCategoryFun(){
|
openAddCategoryFun(){
|
||||||
@ -444,7 +443,7 @@ export default {
|
|||||||
name: this.form.name,
|
name: this.form.name,
|
||||||
weigh: this.form.weigh,
|
weigh: this.form.weigh,
|
||||||
icon:this.form.icon,
|
icon:this.form.icon,
|
||||||
cateId:this.form.cate_id,
|
cateId:this.form.parentId,
|
||||||
status: this.form.status,
|
status: this.form.status,
|
||||||
isNeedAgent:this.form.isNeedAgent,
|
isNeedAgent:this.form.isNeedAgent,
|
||||||
url: this.form.url,
|
url: this.form.url,
|
||||||
@ -469,6 +468,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).catch((error)=>{
|
}).catch((error)=>{
|
||||||
})
|
})
|
||||||
|
this.GetData();
|
||||||
}else if(title == "新增网址"){
|
}else if(title == "新增网址"){
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@ -479,7 +479,7 @@ export default {
|
|||||||
name: this.form.name,
|
name: this.form.name,
|
||||||
weigh: this.form.weigh,
|
weigh: this.form.weigh,
|
||||||
icon:this.form.icon,
|
icon:this.form.icon,
|
||||||
cateId:this.form.cate_id,
|
cateId:this.form.parentId,
|
||||||
status: this.form.status,
|
status: this.form.status,
|
||||||
isNeedAgent:this.form.isNeedAgent,
|
isNeedAgent:this.form.isNeedAgent,
|
||||||
url: this.form.url,
|
url: this.form.url,
|
||||||
@ -504,6 +504,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).catch((error)=>{
|
}).catch((error)=>{
|
||||||
})
|
})
|
||||||
|
this.GetData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user