style:登记薄详情
Showing
12 changed files
with
40 additions
and
27 deletions
... | @@ -52,7 +52,14 @@ | ... | @@ -52,7 +52,14 @@ |
52 | </div> | 52 | </div> |
53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
54 | 54 | ||
55 | <span v-else>{{ row[item.prop] }}</span> | 55 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
56 | {{ row[item.prop] }} | ||
57 | </span> | ||
58 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
59 | <span class="ellipsis-line"> | ||
60 | {{ row[item.prop] }} | ||
61 | </span> | ||
62 | </el-tooltip> | ||
56 | </td> | 63 | </td> |
57 | <td v-for="count in emptycolNum" :key="~count"></td> | 64 | <td v-for="count in emptycolNum" :key="~count"></td> |
58 | </tr> | 65 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:54:00 | 4 | * @LastEditTime: 2023-08-23 15:54:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-if="item.prop != 'djyy'"> | 65 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
66 | {{ row[item.prop] }} | 66 | {{ row[item.prop] }} |
67 | </span> | 67 | </span> |
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:52:10 | 4 | * @LastEditTime: 2023-08-23 15:54:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | {{ getQsztName(row[item.prop]) }} | 56 | {{ getQsztName(row[item.prop]) }} |
57 | </span> | 57 | </span> |
58 | 58 | ||
59 | <span v-if="item.prop != 'djyy'"> | 59 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
60 | {{ row[item.prop] }} | 60 | {{ row[item.prop] }} |
61 | </span> | 61 | </span> |
62 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 62 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -46,7 +46,13 @@ | ... | @@ -46,7 +46,13 @@ |
46 | {{ getQsztName(row[item.prop]) }} | 46 | {{ getQsztName(row[item.prop]) }} |
47 | </span> | 47 | </span> |
48 | 48 | ||
49 | <span v-if="item.prop !== 'qszt' && !judge(item.label)"> {{ row[item.prop] }}</span> | 49 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)" effect="dark" :content="row[item.prop]" placement="top"> |
50 | <span class="ellipsis-line"> | ||
51 | {{ row[item.prop] }} | ||
52 | </span> | ||
53 | </el-tooltip> | ||
54 | |||
55 | <span v-if="(item.prop !== 'qszt' && item.prop !== 'djyy'&& item.prop !== 'fj') && !judge(item.label)"> {{ row[item.prop] }}</span> | ||
50 | <div class="many" v-if="judge(item.label)"> | 56 | <div class="many" v-if="judge(item.label)"> |
51 | <div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index"> | 57 | <div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index"> |
52 | {{ label[item.prop] }} | 58 | {{ label[item.prop] }} |
... | @@ -147,10 +153,10 @@ | ... | @@ -147,10 +153,10 @@ |
147 | * @param {*} lable | 153 | * @param {*} lable |
148 | * @author: renchao | 154 | * @author: renchao |
149 | */ | 155 | */ |
150 | judge(label){ | 156 | judge (label) { |
151 | if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) { | 157 | if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) { |
152 | return true | 158 | return true |
153 | }else{ | 159 | } else { |
154 | return false | 160 | return false |
155 | } | 161 | } |
156 | }, | 162 | }, |
... | @@ -187,20 +193,20 @@ | ... | @@ -187,20 +193,20 @@ |
187 | 193 | ||
188 | <style lang="scss" scoped> | 194 | <style lang="scss" scoped> |
189 | @import "./qlxxCommon.scss"; | 195 | @import "./qlxxCommon.scss"; |
190 | .cols{ | 196 | .cols { |
191 | td{ | 197 | td { |
192 | .many{ | 198 | .many { |
193 | width: 100%; | 199 | width: 100%; |
194 | height: 100%; | 200 | height: 100%; |
195 | display: flex; | 201 | display: flex; |
196 | flex-direction: row; | 202 | flex-direction: row; |
197 | div{ | 203 | div { |
198 | flex: 1; | 204 | flex: 1; |
199 | border-right: 2px solid #e3e2e2; | 205 | border-right: 2px solid #e3e2e2; |
200 | line-height: 40px; | 206 | line-height: 40px; |
201 | overflow: unset; | 207 | overflow: unset; |
202 | } | 208 | } |
203 | div:last-child{ | 209 | div:last-child { |
204 | border: 0; | 210 | border: 0; |
205 | } | 211 | } |
206 | } | 212 | } | ... | ... |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-if="item.prop != 'djyy'"> | 65 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
66 | {{ row[item.prop] }} | 66 | {{ row[item.prop] }} |
67 | </span> | 67 | </span> |
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> |
... | @@ -70,6 +70,7 @@ | ... | @@ -70,6 +70,7 @@ |
70 | {{ row[item.prop] }} | 70 | {{ row[item.prop] }} |
71 | </span> | 71 | </span> |
72 | </el-tooltip> | 72 | </el-tooltip> |
73 | |||
73 | </td> | 74 | </td> |
74 | <td v-for="count in emptycolNum" :key="~count"></td> | 75 | <td v-for="count in emptycolNum" :key="~count"></td> |
75 | </tr> | 76 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:40 | 4 | * @LastEditTime: 2023-08-23 15:54:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-if="item.prop != 'djyy'"> | 54 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
55 | {{ row[item.prop] }} | 55 | {{ row[item.prop] }} |
56 | </span> | 56 | </span> |
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:03:14 | 4 | * @LastEditTime: 2023-08-23 15:54:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -96,7 +96,7 @@ | ... | @@ -96,7 +96,7 @@ |
96 | {{ getQsztName(row[item.prop]) }} | 96 | {{ getQsztName(row[item.prop]) }} |
97 | </span> | 97 | </span> |
98 | 98 | ||
99 | <span v-if="item.prop != 'djyy'"> | 99 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
100 | {{ row[item.prop] }} | 100 | {{ row[item.prop] }} |
101 | </span> | 101 | </span> |
102 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 102 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> |
... | @@ -104,7 +104,6 @@ | ... | @@ -104,7 +104,6 @@ |
104 | {{ row[item.prop] }} | 104 | {{ row[item.prop] }} |
105 | </span> | 105 | </span> |
106 | </el-tooltip> | 106 | </el-tooltip> |
107 | |||
108 | </td> | 107 | </td> |
109 | <td v-for="count in emptycolNum" :key="~count"></td> | 108 | <td v-for="count in emptycolNum" :key="~count"></td> |
110 | </tr> | 109 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:21 | 4 | * @LastEditTime: 2023-08-23 15:54:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-if="item.prop != 'djyy'"> | 54 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
55 | {{ row[item.prop] }} | 55 | {{ row[item.prop] }} |
56 | </span> | 56 | </span> |
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:33 | 4 | * @LastEditTime: 2023-08-23 15:55:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:41 | 4 | * @LastEditTime: 2023-08-23 15:55:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:48 | 4 | * @LastEditTime: 2023-08-23 15:56:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" | 7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
-
Please register or sign in to post a comment