提交 33a5611f 编写于 作者: lijianxiong's avatar lijianxiong

feat:统一编辑器提示

上级 50bc41fd
......@@ -16,5 +16,5 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> style="${editor.getEditorCssStyle()}">
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> style="${editor.getEditorCssStyle()}">
</dropdown-list-dynamic>
\ No newline at end of file
......@@ -12,7 +12,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</dropdown-list>
......@@ -12,7 +12,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
......@@ -20,6 +20,6 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> style="${editor.getEditorCssStyle()}">
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> style="${editor.getEditorCssStyle()}">
</dropdown-list>
</#if>
\ No newline at end of file
......@@ -15,7 +15,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</dropdown-list>
......
......@@ -15,7 +15,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
......
......@@ -20,6 +20,6 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>>
</dropdown-list>
</#if>
\ No newline at end of file
......@@ -16,7 +16,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</dropdown-list>
</#if>
......@@ -15,7 +15,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}width: 100px;"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
......
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<cron-editor
:disabled="detailsModel.${editor.name}.disabled"
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> />
\ No newline at end of file
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> />
\ No newline at end of file
......@@ -8,7 +8,7 @@
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>valueSeparator="${codelist.valueSeparator}"</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"
style="${item.getEditorCssStyle()}">
</dropdown-list-mpicker>
\ No newline at end of file
......@@ -15,4 +15,4 @@
valueSeparator="${codelist.valueSeparator}"
</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> style="${editor.getEditorCssStyle()}" />
\ No newline at end of file
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> style="${editor.getEditorCssStyle()}" />
\ No newline at end of file
......@@ -8,7 +8,7 @@
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>valueSeparator="${codelist.valueSeparator}"</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"
style="${item.getEditorCssStyle()}">
</dropdown-list-mpicker>
\ No newline at end of file
......@@ -18,6 +18,6 @@
valueSeparator="${codelist.valueSeparator}"
</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> style="${editor.getEditorCssStyle()}">
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> style="${editor.getEditorCssStyle()}">
</dropdown-list-mpicker>
</#if>
\ No newline at end of file
......@@ -16,7 +16,7 @@
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>valueSeparator="${codelist.valueSeparator}"</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"
style="${item.getEditorCssStyle()}">
</dropdown-list-mpicker>
......
......@@ -16,7 +16,7 @@
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>valueSeparator="${codelist.valueSeparator}"</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}"
style="${item.getEditorCssStyle()}">
</dropdown-list-mpicker>
......
......@@ -20,6 +20,6 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if> style="${editor.getEditorCssStyle()}">
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if> style="${editor.getEditorCssStyle()}">
</dropdown-list-hidden>
</#if>
\ No newline at end of file
......@@ -15,7 +15,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</dropdown-list-hidden>
......
......@@ -15,7 +15,7 @@
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list-hidden>
......
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<i-input type="password" v-model="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.input')</#if>" :disabled="detailsModel.${editor.name}.disabled" style="${editor.getEditorCssStyle()}"></i-input>
<i-input type="password" v-model="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.input')</#if>" :disabled="detailsModel.${editor.name}.disabled" style="${editor.getEditorCssStyle()}"></i-input>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="datetime" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
<date-picker type="datetime" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="date" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" format="yyyy-MM-dd" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px;${editor.getEditorCssStyle()} <#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
<date-picker type="date" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" format="yyyy-MM-dd" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px;${editor.getEditorCssStyle()} <#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="mm" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="mm" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="date" :transfer="true" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" format="yyyy-MM-dd" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
<date-picker type="date" :transfer="true" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" format="yyyy-MM-dd" :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH:mm:ss" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH:mm:ss" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH:mm" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH:mm" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('app.commonWords.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="ss" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
<time-picker :value="data.${editor.name}" :placeholder="<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>$t('components.common.select')</#if>" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="ss" style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册