|
|
|
@ -263,29 +263,9 @@ export default { |
|
|
|
}, |
|
|
|
// 保存模板配置 |
|
|
|
submitFun() { |
|
|
|
// 这个还缺一个接口 |
|
|
|
|
|
|
|
// let props = { |
|
|
|
// configdata:{ |
|
|
|
// school: this.coverInfo.school, |
|
|
|
// college: this.coverInfo.college, |
|
|
|
// degree: this.coverInfo.degree, |
|
|
|
// }, |
|
|
|
// template_id: this.template_id |
|
|
|
// } |
|
|
|
// this.$http('POST', '/supernew/ajax_save_paiban_template_config', { |
|
|
|
// ...props |
|
|
|
// }).then(response => { |
|
|
|
// this.$nextTick(() => { |
|
|
|
// if (response.status) { |
|
|
|
// this.$Message.success(response.info); |
|
|
|
// } else { |
|
|
|
// this.$Message.error(response.info); |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// }).catch(error => { |
|
|
|
// console.error(error, 'error') |
|
|
|
// }) |
|
|
|
this.$router.push({ |
|
|
|
path: '/super/paiban/tpl', |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|