mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
--fix 复制
This commit is contained in:
@@ -942,7 +942,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, ref, watch } from "vue";
|
||||
import { message, Modal } from "ant-design-vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
|
||||
import ProjPowerList from "../../components/drawers/ProjPowerList";
|
||||
@@ -1326,19 +1326,9 @@ export default {
|
||||
};
|
||||
//确认存为模版
|
||||
const templateProject = () => {
|
||||
let obj = {
|
||||
projectId: state.templateProjectId,
|
||||
type: 1,
|
||||
};
|
||||
api.handleProject(obj).then((res) => {
|
||||
state.startModal = false;
|
||||
if (res.data.code === 200) {
|
||||
message.destroy();
|
||||
message.success("模版保存成功");
|
||||
return;
|
||||
}
|
||||
Modal.error({ title: res.data.msg });
|
||||
});
|
||||
state.startModal = false
|
||||
message.success("模版保存成功");
|
||||
api.handleProject({projectId: state.templateProjectId, type: 1});
|
||||
};
|
||||
//关闭存为模版弹窗
|
||||
const closeStartModal = () => {
|
||||
|
||||
Reference in New Issue
Block a user