|
@@ -4844,14 +4844,17 @@ export default {
|
|
|
this.getTempProjectList(ids)
|
|
|
},
|
|
|
async getTempProjectList(ids){
|
|
|
- //分页获取证书列表数据
|
|
|
- const { data: res } = await getTempProject({
|
|
|
+ if(ids.length>0){
|
|
|
+ //分页获取证书列表数据
|
|
|
+ const { data: res } = await getTempProject({
|
|
|
nodeIds:ids
|
|
|
});
|
|
|
if (res.code == 200) {
|
|
|
this.templateIdList = res.data;
|
|
|
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
async changeTemplateId(val){
|
|
|
|