|
@@ -236,8 +236,11 @@ export default {
|
|
//获取章子
|
|
//获取章子
|
|
getGZ() {
|
|
getGZ() {
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
- getGZ().then((res) => {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
|
|
+ let form = {
|
|
|
|
+ swjgdm: this.$route.query.swjgdm || "",
|
|
|
|
+ };
|
|
|
|
+ getGZ(form).then((res) => {
|
|
|
|
+ if (res.code == 200 && res.result[0]) {
|
|
resolve(res.result[0].imageUrl || "");
|
|
resolve(res.result[0].imageUrl || "");
|
|
} else {
|
|
} else {
|
|
resolve("");
|
|
resolve("");
|