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