|
|
@@ -582,21 +582,34 @@ export default {
|
|
|
},
|
|
|
//发布版块
|
|
|
chooseReleasePlate: function (val) {
|
|
|
- this.$http({
|
|
|
- url: "/base/publishPlatformManager/selectPublishPlatformList",
|
|
|
- method: "post",
|
|
|
- data: {
|
|
|
- parentId: val,
|
|
|
- },
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data.code === 200) {
|
|
|
- this.releasePlate = res.data.data;
|
|
|
- }
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- console.log(err);
|
|
|
+ axiosPhp({
|
|
|
+ method: "post",
|
|
|
+ url: php_url + this.unifiedUrl +"publish_platform_list.php",
|
|
|
+ data: {parentId: val,},
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.data && res.data.code === 200) {
|
|
|
+ this.releasePlate = res.data.data;
|
|
|
+ }
|
|
|
+ }).catch((err) => {
|
|
|
+ console.log(err);
|
|
|
});
|
|
|
+
|
|
|
+
|
|
|
+ // this.$http({
|
|
|
+ // url: "/base/publishPlatformManager/selectPublishPlatformList",
|
|
|
+ // method: "post",
|
|
|
+ // data: {
|
|
|
+ // parentId: val,
|
|
|
+ // },
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // if (res.data.code === 200) {
|
|
|
+ // this.releasePlate = res.data.data;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // .catch((err) => {
|
|
|
+ // console.log(err);
|
|
|
+ // });
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|