Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-client
This commit is contained in:
commit
4adaffd770
@ -23,7 +23,7 @@ export class PagingQueryParams extends PageQueryDto {
|
|||||||
export function publishDraft(data: {
|
export function publishDraft(data: {
|
||||||
name: string;
|
name: string;
|
||||||
lineId?: number;
|
lineId?: number;
|
||||||
draftingId: number;
|
draftId: number;
|
||||||
}) {
|
}) {
|
||||||
return api.post(`${PublishUriBase}/publish`, data);
|
return api.post(`${PublishUriBase}/publish`, data);
|
||||||
}
|
}
|
||||||
|
@ -315,13 +315,10 @@ async function publishGraphics() {
|
|||||||
pubForm.value?.validate().then(async (res) => {
|
pubForm.value?.validate().then(async (res) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
try {
|
try {
|
||||||
const params: { draftingId: number; name: string; lineId?: number } = {
|
const params: { draftId: number; name: string; lineId?: number } = {
|
||||||
draftingId: +publishForm.id,
|
draftId: +publishForm.id,
|
||||||
name: publishForm.pubName,
|
name: publishForm.pubName,
|
||||||
};
|
};
|
||||||
// if (publishForm.type == 'Line') {
|
|
||||||
// params.lineId = +publishForm.lineId;
|
|
||||||
// }
|
|
||||||
await publishDraft(params);
|
await publishDraft(params);
|
||||||
publishFormShow.value = false;
|
publishFormShow.value = false;
|
||||||
$q.notify({
|
$q.notify({
|
||||||
|
Loading…
Reference in New Issue
Block a user