|
@@ -152,7 +152,7 @@ const onPublish = () => {
|
|
type: 'warning',
|
|
type: 'warning',
|
|
}).then(() => {
|
|
}).then(() => {
|
|
publishLoading.value = true;
|
|
publishLoading.value = true;
|
|
- api.calculationIndicator.deploy({ dataTemplateKey: detail.value.key }).then(() => {
|
|
|
|
|
|
+ api.calculationIndicator.deploy({ dataTemplateKey: detail.value.key, status: publishStatus.value === '发布' ? 1 : 0 }).then(() => {
|
|
ElMessage.success('操作成功');
|
|
ElMessage.success('操作成功');
|
|
checkDeploy();
|
|
checkDeploy();
|
|
typeList();
|
|
typeList();
|