Commit 04223034 authored by 骆瑛's avatar 骆瑛

修改导入功能

parent 56e60186
This diff is collapsed.
...@@ -4,6 +4,9 @@ export default { ...@@ -4,6 +4,9 @@ export default {
paged(params) { paged(params) {
return Api.post(`${systemUrl}/projectatom/paged`, params); return Api.post(`${systemUrl}/projectatom/paged`, params);
}, },
list(params) {
return Api.post(`${systemUrl}/projectatom/list`, params);
},
get(params) { get(params) {
return Api.get(`${systemUrl}/projectatom/get`, params); return Api.get(`${systemUrl}/projectatom/get`, params);
}, },
......
This diff is collapsed.
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
easy: true, easy: true,
high: true, high: true,
}, },
{ key: "status", title: this.l("status"), align: "left", high: true }, { key: "status", title: this.l("status"), align: "left", high: true , code:'base.project_atom.status'},
// { key: "upId", title: this.l("upId"), align: "left", high: true }, // { key: "upId", title: this.l("upId"), align: "left", high: true },
// { key: "level", title: this.l("level"), align: "left", high: true }, // { key: "level", title: this.l("level"), align: "left", high: true },
// { // {
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
// align: "left", // align: "left",
// high: true, // high: true,
// }, // },
{ key: "type", title: this.l("type"), align: "left", high: true }, { key: "type", title: this.l("type"), align: "left", high: true , code:'base.project_atom.type'},
{ {
key: "englishFullName", key: "englishFullName",
title: this.l("englishFullName"), title: this.l("englishFullName"),
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<Input v-model="entity.type"> </Input> </FormItem <Input v-model="entity.type"> </Input> </FormItem
> --> > -->
<FormItem :label="l('type')" prop="type"> <FormItem :label="l('type')" prop="type">
<Dictionary code="project.type" v-model="entity.type" ></Dictionary> <Dictionary code="base.project.type" v-model="entity.type" ></Dictionary>
</FormItem> </FormItem>
</Col> </Col>
<!-- <Col :span="12" <!-- <Col :span="12"
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<Input v-model="entity.status"> </Input> </FormItem <Input v-model="entity.status"> </Input> </FormItem
> --> > -->
<FormItem :label="l('status')" prop="status"> <FormItem :label="l('status')" prop="status">
<Dictionary code="project.status" v-model="entity.status" ></Dictionary> <Dictionary code="base.project.status" v-model="entity.status" ></Dictionary>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12" <Col :span="12"
......
<template> <template>
<div class="detail"> <div class="detail">
<Row> <Row>
<!-- <Filed :span="12" :name="l('creationTime')">{{
entity.creationTime
}}</Filed>
<Filed :span="12" :name="l('creatorUserId')">{{
entity.creatorUserId
}}</Filed>
<Filed :span="12" :name="l('lastModificationTime')">{{
entity.lastModificationTime
}}</Filed>
<Filed :span="12" :name="l('lastModifierUserId')">{{
entity.lastModifierUserId
}}</Filed>
<Filed :span="12" :name="l('isDeleted')">{{ entity.isDeleted }}</Filed>
<Filed :span="12" :name="l('deletionTime')">{{
entity.deletionTime
}}</Filed>
<Filed :span="12" :name="l('deleterUserId')">{{
entity.deleterUserId
}}</Filed> -->
<Filed :span="12" :name="l('name')">{{ entity.name }}</Filed> <Filed :span="12" :name="l('name')">{{ entity.name }}</Filed>
<Filed :span="12" :name="l('upId')">{{ entity.upId }}</Filed> <Filed :span="12" :name="l('upId')">{{ entity.upId }}</Filed>
<Filed :span="12" :name="l('level')">{{ entity.level }}</Filed> <Filed :span="12" :name="l('level')">{{ entity.level }}</Filed>
......
...@@ -116,15 +116,25 @@ export default { ...@@ -116,15 +116,25 @@ export default {
easy: true, easy: true,
high: true, high: true,
}, },
{ key: "upId", title: this.l("upId"), align: "left", high: true }, // { key: "upId", title: this.l("upId"), align: "left", high: true },
{ key: "level", title: this.l("level"), align: "left", high: true }, // { key: "level", title: this.l("level"), align: "left", high: true },
{ // {
key: "tenantId", // key: "tenantId",
title: this.l("tenantId"), // title: this.l("tenantId"),
// align: "left",
// high: true,
// },
{
key: "code",
title: this.l("code"),
align: "left", align: "left",
code: "project.base.code",
easy: true,
high: true, high: true,
}, },
{ key: "type", title: this.l("type"), align: "left", high: true ,code: "project.base.type"}, { key: "type", title: this.l("type"), align: "left", high: true ,code: "base.project.type"},
{ key: "status", title: this.l("status"), align: "left", high: true ,code: "base.project.status"},
{ {
key: "englishFullName", key: "englishFullName",
title: this.l("englishFullName"), title: this.l("englishFullName"),
...@@ -139,21 +149,13 @@ export default { ...@@ -139,21 +149,13 @@ export default {
easy: true, easy: true,
high: true, high: true,
}, },
{ key: "status", title: this.l("status"), align: "left", high: true ,code: "project.base.status"}, // {
{ // key: "inheritCategoryId",
key: "inheritCategoryId", // title: this.l("inheritCategoryId"),
title: this.l("inheritCategoryId"), // align: "left",
align: "left", // high: true,
high: true, // },
},
{
key: "code",
title: this.l("code"),
align: "left",
code: "project.base.code",
easy: true,
high: true,
},
{ key: "module", title: this.l("module"), align: "left", high: true }, { key: "module", title: this.l("module"), align: "left", high: true },
{ {
title: "操作", title: "操作",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment