diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts index 89f816a..ee5141b 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts +++ b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts @@ -15,6 +15,8 @@ enum Api { departList = '/sys/sysDepart/list', tree = '/services/serviceDirective/tree', queryById = '/services/serviceDirective/queryById', + syncMediaForBiz = '/services/serviceDirective/syncMediaForBiz', + syncMediaForAllBiz= '/services/serviceDirective/syncMediaForAllBiz', } /** @@ -89,4 +91,20 @@ export const asyncFunc = (params) => { * @param params * @returns */ -export const tree = () => defHttp.get({ url: Api.tree }); \ No newline at end of file +export const tree = () => defHttp.get({ url: Api.tree }); + +/** + * 审批通过后将指令资源同步给业务平台 + * @param params + */ +export const syncMediaForBiz = (params) => { + return defHttp.post({ url: Api.syncMediaForBiz, params }); +}; + +/** + * 将指令资源同步给所有业务平台 + * @param params + */ +export const syncMediaForAllBiz = (params) => { + return defHttp.post({ url: Api.syncMediaForAllBiz, params }); +}; \ No newline at end of file diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts index b6e13a2..7e34648 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts +++ b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts @@ -7,31 +7,31 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'instructionTagId_dictText', width: 100, - customCell: (record, index, column) => { - if (record.instructionRowSpan != null) { - return { rowSpan: record.instructionRowSpan }; - } - }, + // customCell: (record, index, column) => { + // if (record.instructionRowSpan != null) { + // return { rowSpan: record.instructionRowSpan }; + // } + // }, }, { title: '服务类别', align: 'center', dataIndex: 'categoryId_dictText', - customCell: (record, index, column) => { - if (record.categoryRowSpan != null) { - return { rowSpan: record.categoryRowSpan }; - } - }, + // customCell: (record, index, column) => { + // if (record.categoryRowSpan != null) { + // return { rowSpan: record.categoryRowSpan }; + // } + // }, }, { title: '服务类型', align: 'center', dataIndex: 'typeId_dictText', - customCell: (record, index, column) => { - if (record.typeRowSpan != null) { - return { rowSpan: record.typeRowSpan }; - } - }, + // customCell: (record, index, column) => { + // if (record.typeRowSpan != null) { + // return { rowSpan: record.typeRowSpan }; + // } + // }, }, { title: '服务指令', diff --git a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue index e3e026a..8e408cf 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue +++ b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue @@ -75,12 +75,23 @@
- + 新增分类标签 + @@ -106,17 +117,17 @@ - +