|
|
@@ -71,7 +71,7 @@ |
|
|
|
<div class="full-height" v-else-if="col.type === '4'"> |
|
|
|
<input class="input-field align-center full-height" v-model="col.name" :readonly="disableEdit"></input> |
|
|
|
</div> |
|
|
|
<div v-else :style="{'text-align': calcAlign(col.type)}">{{col.name}}</div> |
|
|
|
<div v-else class="full-height flex-center" :style="{'justify-content': calcAlign(col.type)}">{{col.name}}</div> |
|
|
|
|
|
|
|
<van-icon name="edit" v-if="cindex === editorData.headerTypes.length - 1 && canEdit(col)" class="edit-icon" color="#1989fa" size="24" @click="edit(col)"/> |
|
|
|
</div> |
|
|
@@ -170,6 +170,7 @@ export default { |
|
|
|
this.loading = true; |
|
|
|
summaryList({ |
|
|
|
templateId: this.editorData.templateId, |
|
|
|
deptId: Cookies.get('deptId'), |
|
|
|
}).then((resp) => { |
|
|
|
this.editorData = resp.data; |
|
|
|
}).finally(() => { |
|
|
@@ -467,6 +468,11 @@ export default { |
|
|
|
right: -0.6rem; |
|
|
|
top: calc(50% - 0.3rem); |
|
|
|
} |
|
|
|
.flex-center { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|