mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop
This commit is contained in:
@@ -704,13 +704,13 @@
|
||||
|
||||
<div class="footbtn">
|
||||
<div class="btnbox">
|
||||
<div class="btn btn2">
|
||||
<div class="btn btn2" @click="temporaryStorage">
|
||||
<div class="btnText">暂存</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="btn btn2" @click="submitStorage">
|
||||
<div class="btnText">确定</div>
|
||||
</div>
|
||||
<div class="btn btn1">
|
||||
<div class="btn btn1" @click="cancelStorage">
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1052,7 +1052,7 @@ import draggable from "vuedraggable";
|
||||
import { storage } from "../../api/storage";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import * as api1 from "../../api/index1";
|
||||
|
||||
import { useRouter } from "vue-router";
|
||||
const drawercolumns = [
|
||||
{
|
||||
title: "项目名称",
|
||||
@@ -1111,6 +1111,7 @@ export default {
|
||||
UnlockMode,
|
||||
},
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
const state = reactive({
|
||||
projectTemplateId: storage.get("projectTemplateId")
|
||||
? JSON.parse(storage.get("projectTemplateId"))
|
||||
@@ -2005,6 +2006,24 @@ export default {
|
||||
const showModeVisible = () => {
|
||||
state.unlockModeVisible = true;
|
||||
};
|
||||
|
||||
|
||||
//暂存
|
||||
const temporaryStorage = () => {
|
||||
message.success("暂存成功");
|
||||
};
|
||||
//确定
|
||||
const submitStorage = () => {
|
||||
router.push({
|
||||
path: "/leveladd",
|
||||
});
|
||||
};
|
||||
//取消
|
||||
const cancelStorage = () => {
|
||||
router.push({
|
||||
path: "/leveladd",
|
||||
});
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
@@ -2061,6 +2080,11 @@ export default {
|
||||
deleteStage,
|
||||
|
||||
showModeVisible,
|
||||
|
||||
|
||||
temporaryStorage,
|
||||
submitStorage,
|
||||
cancelStorage,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user