Commit 3df87e6a authored by “yiyousong”'s avatar “yiyousong”

pref:修改应用字段配置

parent b69bce65
......@@ -333,4 +333,7 @@ export default {
font-weight: 600;
}
}
/deep/.ant-form-item {
align-items: flex-start;
}
</style>
\ No newline at end of file
......@@ -144,7 +144,6 @@ export default {
},
created() {
this.getDatasetList();
console.log(this.appTemplate);
},
methods: {
// 获取数据列表
......
......@@ -55,9 +55,11 @@
</template>
<!-- 简介 -->
<template slot="summary" slot-scope="text">
{{ text.summary ? text.summary : "--" }}
<span :title="text.summary">{{
text.summary ? text.summary : "--"
}}</span>
</template>
<!-- 简介 -->
<!-- 版本 -->
<template slot="version" slot-scope="text">
{{ text.version ? "v" + text.version : "--" }}
</template>
......@@ -135,11 +137,12 @@ const columns = [
},
{
title: "应用主题",
ellipsis: true,
dataIndex: "appThemeName",
},
{
title: "应用简介",
width: "20%",
ellipsis: true,
scopedSlots: { customRender: "summary" },
},
{
......
......@@ -82,14 +82,14 @@ const fieldTypeItem = [
value: "date",
label: "日期选择框",
},
{
value: "text",
label: "富文本",
},
{
value: "upload",
label: "文件上传",
},
{
value: "text",
label: "富文本",
},
];
export default {
props: {
......
......@@ -7,6 +7,7 @@
<div class="line"></div>
<div class="main-right right ff">
<a-spin size="large" :spinning="loading">
<div class="right_box">
<div v-if="siteData.length" class="rigth-content">
<div
......@@ -111,7 +112,9 @@
<span>中心简介:</span>
<div class="col_item">
<div class="detail_place">{{ item.siteRemark }}</div>
<span @click="cookAll(item.siteRemark)">查看全部</span>
<span @click="cookAll(item.siteRemark)"
>查看全部</span
>
</div>
</a-col>
</a-row>
......@@ -223,6 +226,7 @@
</div>
</div> -->
</div>
</a-spin>
</div>
<!-- 新增站点 -->
......@@ -256,6 +260,7 @@ export default {
data() {
return {
loading: false,
title: "新增站点",
formVisible: false,
allShow: false, //查看全部对话框
......@@ -282,6 +287,7 @@ export default {
},
// 获取站点列表
async getSiteList(info = {}) {
this.loading = true;
let res = await getSiteList(info);
let { data, dict } = res.data.data;
data.forEach((v) => {
......@@ -294,9 +300,11 @@ export default {
);
});
this.siteData = data;
this.loading = false;
},
// 获取站点信息
async getSiteInfo() {
this.loading = true;
let res = await siteInfo({ id: this.siteId });
let { data, dict } = res.data;
data.modelIds = data.modelIds.split(",");
......@@ -307,6 +315,7 @@ export default {
[]
);
this.siteData = [data];
this.loading = false;
},
// 删除
......
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