Commit 6e3031c6 authored by 刘殿昕's avatar 刘殿昕

申请页,申请项无数据不显示

parent 35563cf3
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<div class="outborder"> <div class="outborder">
<div class="outservice"> <div class="outservice">
<div class="serviceinfo"> <div class="serviceinfo">
<div <div class="pic" :style="{ backgroundImage: 'url(' + data.img + ')' }"></div>
class="pic"
:style="{ backgroundImage: 'url(' + data.img + ')' }"
></div>
<div class="info"> <div class="info">
<p> <p>
{{ data.title }} {{ data.title }}
...@@ -33,8 +30,7 @@ ...@@ -33,8 +30,7 @@
border: 'solid 1px #e4c884', border: 'solid 1px #e4c884',
} }
" "
>{{ item.tip }}</span >{{ item.tip }}</span>
>
</p> </p>
<p>{{ data.type }}</p> <p>{{ data.type }}</p>
<p>{{ data.auth }}</p> <p>{{ data.auth }}</p>
...@@ -44,9 +40,7 @@ ...@@ -44,9 +40,7 @@
<p>{{ data.size }}</p> <p>{{ data.size }}</p>
<P>{{ data.applytype }}</P> <P>{{ data.applytype }}</P>
</div> </div>
<div class="num"> <div class="num">{{ data.num }}</div>
{{ data.num }}
</div>
<div class="oprate"> <div class="oprate">
<upload-file <upload-file
v-if="data.isMg" v-if="data.isMg"
...@@ -59,17 +53,17 @@ ...@@ -59,17 +53,17 @@
</div> </div>
<p class="inputtitle">应用场景:</p> <p class="inputtitle">应用场景:</p>
<div class="system"> <div class="system">
<el-input <el-input v-model="sceneinput" placeholder="请填写申请服务的应用场景"></el-input>
v-model="sceneinput"
placeholder="请填写申请服务的应用场景"
></el-input>
</div> </div>
<p class="inputtitle degr" v-if="!data.isapp" @click="showtable = !showtable"> <p
<i :class="showtable ? 'el-icon-caret-bottom' : 'el-icon-caret-right'"></i class="inputtitle degr"
>选择需要申请的数据项: v-if="!data.isapp && data.data && data.data.length != 0 "
@click="showtable = !showtable"
>
<i :class="showtable ? 'el-icon-caret-bottom' : 'el-icon-caret-right'"></i>选择需要申请的数据项:
</p> </p>
<table-um <table-um
v-if="!data.isapp" v-if="!data.isapp && data.data && data.data.length != 0 "
v-show="showtable" v-show="showtable"
:isSelection="true" :isSelection="true"
ref="apply_service_state_table" ref="apply_service_state_table"
...@@ -85,66 +79,66 @@ ...@@ -85,66 +79,66 @@
import uploadFile from "@/components/upload_file"; import uploadFile from "@/components/upload_file";
import tableUm from "@/components/table/table-um"; import tableUm from "@/components/table/table-um";
export default { export default {
props: ["data","idx"], props: ["data", "idx"],
components: { components: {
uploadFile, uploadFile,
tableUm, tableUm
}, },
data() { data() {
return { return {
sceneinput: "", sceneinput: "",
fileList:'', fileList: "",
imgList:[], imgList: [],
showtable: false, showtable: false,
headers: [ headers: [
{ {
label: "字段编码", label: "字段编码",
prop: "code", prop: "code",
align: "left", align: "left",
minWidth: "20%", minWidth: "20%"
}, },
{ {
label: "字段名称", label: "字段名称",
prop: "name", prop: "name",
align: "left", align: "left",
minWidth: "20%", minWidth: "20%"
}, },
{ {
label: "字段类型", label: "字段类型",
prop: "type", prop: "type",
align: "center", align: "center",
width: "150", width: "150"
}, },
{ {
label: "字段描述", label: "字段描述",
prop: "desc", prop: "desc",
align: "left", align: "left",
minWidth: "50%", minWidth: "50%"
}, }
], ]
}; };
}, },
watch: {}, watch: {},
computed: {}, computed: {},
created() { created() {},
},
mounted() {}, mounted() {},
methods: { methods: {
getNewList(val) { getNewList(val) {
console.log(val); console.log(val);
this.fileList = "" this.fileList = "";
this.fileList = val.map((v,k)=>{ this.fileList = val
return v.url .map((v, k) => {
}).join(';') return v.url;
console.log(this.fileList) })
.join(";");
console.log(this.fileList);
}
} }
},
}; };
</script> </script>
<style scoped> <style scoped>
.outborder{ .outborder {
border-bottom: 2px solid rgba(244, 247, 252, 1); border-bottom: 2px solid rgba(244, 247, 252, 1);
} }
.outservice { .outservice {
...@@ -238,7 +232,7 @@ export default { ...@@ -238,7 +232,7 @@ export default {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
.table{ .table {
margin: 0 30px 20px; margin: 0 30px 20px;
} }
</style> </style>
This diff is collapsed.
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