mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
项目中心,编辑回显10
This commit is contained in:
@@ -350,6 +350,7 @@ export default {
|
||||
});
|
||||
|
||||
watch(routers.query, () => {
|
||||
state.projectInfo.name = routers.query.name;
|
||||
state.projectInfo.id = routers.query.id;
|
||||
state.projectInfo.parentName = routers.query.parentName;
|
||||
state.projectInfo.parentId = routers.query.parentId;
|
||||
|
||||
@@ -1579,7 +1579,7 @@ export default {
|
||||
}
|
||||
function handleEdit(record) {
|
||||
console.log("handleEdit gx 项目中心-项目" ,record);
|
||||
if (record.type === 1 || record.type === 2 || record.type === 3) {
|
||||
if (record.type === 1 || record.type === 2) {
|
||||
state.doublepro = true;
|
||||
state.projectInfo = record;
|
||||
state.onceName = record.name;
|
||||
@@ -1595,6 +1595,7 @@ export default {
|
||||
router.push({
|
||||
path: "/projectadd",
|
||||
query: {
|
||||
name: record.name,
|
||||
projectId: record.id,
|
||||
parentId: record.parentId,
|
||||
parentName: record.parentName,
|
||||
|
||||
Reference in New Issue
Block a user