Commit a4e9755b by chenwq

sop-素材弹窗

1 parent cc3caf67
...@@ -183,7 +183,8 @@ const getGroupListApi = params => { ...@@ -183,7 +183,8 @@ const getGroupListApi = params => {
// 获取素材列表 // 获取素材列表
const getMaterialListApi = params => { const getMaterialListApi = params => {
params.method = 'marketing.api.material.page' // params.method = 'marketing.api.material.page'
params.method = 'marketing.api.material.sop.page'
return http({ return http({
url: 'rop-scrm-marketing/router', url: 'rop-scrm-marketing/router',
method: 'POST', method: 'POST',
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
return { return {
searchForm: { searchForm: {
groupId: '', groupId: '',
businessType: '' materialType: ''
}, },
searchFormData: [ searchFormData: [
{ {
...@@ -79,12 +79,12 @@ export default { ...@@ -79,12 +79,12 @@ export default {
}, },
{ {
label: '素材类型', label: '素材类型',
name: 'businessType', name: 'materialType',
type: 'select', type: 'select',
optionList: [], optionList: [],
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName', optionLabel: 'confName',
optionsName: 'businessTypeList' optionsName: 'materialTypeList'
} }
], ],
// selectedData: [], // selectedData: [],
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
tableTotal: 0, tableTotal: 0,
baseData: { baseData: {
groupList: [], groupList: [],
businessTypeList: [ materialTypeList: [
{ {
confId: 1, confId: 1,
confName: 'PDF' confName: 'PDF'
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
groupId: '', groupId: '',
businessType: '' materialType: ''
} }
this.handleSearch() this.handleSearch()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!