Commit b5770471 authored by chuan.liu's avatar chuan.liu

创意酒api处理

parent 733dc164
...@@ -149,32 +149,32 @@ ...@@ -149,32 +149,32 @@
"Action": "guanying.customcategory.list.get", "Action": "guanying.customcategory.list.get",
...this.signParams ...this.signParams
} }
// const res = await apiGetCategory(params) const res2 = await apiGetCategory(params)
const res2 = { // const res2 = {
Data: { // Data: {
CategoryList: [{ // CategoryList: [{
TemplateCategoryID: "7", // TemplateCategoryID: "7",
CategoryName: "婚庆定制" // CategoryName: "婚庆定制"
}, // },
{ // {
TemplateCategoryID: "8", // TemplateCategoryID: "8",
CategoryName: "商务科技" // CategoryName: "商务科技"
}, // },
{ // {
TemplateCategoryID: "9", // TemplateCategoryID: "9",
CategoryName: "宴会类别" // CategoryName: "宴会类别"
}, // },
{ // {
TemplateCategoryID: "10", // TemplateCategoryID: "10",
CategoryName: "自定义" // CategoryName: "自定义"
} // }
], // ],
GoodsImage: "http://att.c0331.dev.guanyingyun.com/attachment/works/frontimagepath/2022/03/28/16484637403730.png", // GoodsImage: "http://att.c0331.dev.guanyingyun.com/attachment/works/frontimagepath/2022/03/28/16484637403730.png",
}, // },
ErrCode: "0", // ErrCode: "0",
ErrMsg: "", // ErrMsg: "",
Status: "Success" // Status: "Success"
} // }
this.tabs = res2.Data.CategoryList this.tabs = res2.Data.CategoryList
this.goodsBottleImage = res2.Data.GoodsImage this.goodsBottleImage = res2.Data.GoodsImage
this.activeTabItem = res2.Data.CategoryList[0] this.activeTabItem = res2.Data.CategoryList[0]
...@@ -188,34 +188,34 @@ ...@@ -188,34 +188,34 @@
}, },
async getCategoryDetail() { async getCategoryDetail() {
const params = { const params = {
"OutsideGoodsID": "432608038931800064",
"Action": "guanying.customtemplate.list.get", "Action": "guanying.customtemplate.list.get",
"OutsideGoodsID": "432608038931800064",
"TemplateCategoryID": this.activeTabItem.TemplateCategoryID, "TemplateCategoryID": this.activeTabItem.TemplateCategoryID,
"PageID": "1", "PageID": "1",
"Pagesize": "100", "Pagesize": "99",
...this.signParams ...this.signParams
} }
const res = await apiGetCategoryDetail(params) const res2 = await apiGetCategoryDetail(params)
const res2 = { // const res2 = {
Data: [{ // Data: [{
"TemplateID": "2", // "TemplateID": "2",
"OriginImageWidth": "803", // "OriginImageWidth": "803",
"OriginImageHeight": "2516", // "OriginImageHeight": "2516",
"OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png", // "OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
"ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png", // "ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
}, { // }, {
"TemplateID": "2", // "TemplateID": "2",
"OriginImageWidth": "803", // "OriginImageWidth": "803",
"OriginImageHeight": "2516", // "OriginImageHeight": "2516",
"OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png", // "OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
"ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png", // "ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
}], // }],
ErrCode: "0", // ErrCode: "0",
ErrMsg: "", // ErrMsg: "",
Status: "Success" // Status: "Success"
} // }
this.templateCategoryDetail = res2.Data this.templateCategoryDetail = res2.Data
}, },
...@@ -230,24 +230,24 @@ ...@@ -230,24 +230,24 @@
"Action": "guanying.goodstemplate.detail.query", "Action": "guanying.goodstemplate.detail.query",
...this.signParams ...this.signParams
} }
const res = await apiGetCategoryDetailById(params) const res2 = await apiGetCategoryDetailById(params)
const res2 = { // const res2 = {
Data: { // Data: {
"TemplateID": '1', // "TemplateID": '1',
"ThumbImagePath": '', // "ThumbImagePath": '',
"OriginImagePath": '', // "OriginImagePath": '',
"OriginImageWidth": '', // "OriginImageWidth": '',
"OriginImageHeight": '', // "OriginImageHeight": '',
"ConfigContent": { // "ConfigContent": {
"InitImgList": [{ // "InitImgList": [{
"imgID": 1 // "imgID": 1
}], // }],
}, // },
}, // },
ErrCode: "0", // ErrCode: "0",
ErrMsg: "", // ErrMsg: "",
Status: "Success" // Status: "Success"
} // }
this.activeTemplateItemDetail = res2.Data.ConfigContent.InitImgList[0] this.activeTemplateItemDetail = res2.Data.ConfigContent.InitImgList[0]
}, },
async handleSave() { async handleSave() {
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
</view> </view>
<view class="text-block" v-if="condition.ZZFLD000099===1"> <view class="text-block">
<text class="middle-date">喷码方式</text> <text class="middle-date">喷码方式</text>
<view class="middle-date-des uni-list picker-year"> <view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell"> <view class="uni-list-cell">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment