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: {
|
||||
name: string;
|
||||
lineId?: number;
|
||||
draftingId: number;
|
||||
draftId: number;
|
||||
}) {
|
||||
return api.post(`${PublishUriBase}/publish`, data);
|
||||
}
|
||||
|
@ -315,13 +315,10 @@ async function publishGraphics() {
|
||||
pubForm.value?.validate().then(async (res) => {
|
||||
if (res) {
|
||||
try {
|
||||
const params: { draftingId: number; name: string; lineId?: number } = {
|
||||
draftingId: +publishForm.id,
|
||||
const params: { draftId: number; name: string; lineId?: number } = {
|
||||
draftId: +publishForm.id,
|
||||
name: publishForm.pubName,
|
||||
};
|
||||
// if (publishForm.type == 'Line') {
|
||||
// params.lineId = +publishForm.lineId;
|
||||
// }
|
||||
await publishDraft(params);
|
||||
publishFormShow.value = false;
|
||||
$q.notify({
|
||||
|
Loading…
Reference in New Issue
Block a user