Showing
1 changed file
with
4 additions
and
3 deletions
@@ -5221,10 +5221,10 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -5221,10 +5221,10 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
5221 | //判断类型是输入框还是下拉列表 | 5221 | //判断类型是输入框还是下拉列表 |
5222 | let titleName=''; | 5222 | let titleName=''; |
5223 | let promptHtml=''; | 5223 | let promptHtml=''; |
5224 | - if(fieldSourceType == '0'){ | 5224 | + if(fieldSourceType == 'input'){ |
5225 | titleName='请输入'; | 5225 | titleName='请输入'; |
5226 | promptHtml=`<input type="text" id="promptInput" name="promptInput" autocomplete="off" class="layui-input">` | 5226 | promptHtml=`<input type="text" id="promptInput" name="promptInput" autocomplete="off" class="layui-input">` |
5227 | - }else if(fieldSourceType== '1'){ | 5227 | + }else if(fieldSourceType== 'select'){ |
5228 | titleName='请选择'; | 5228 | titleName='请选择'; |
5229 | promptHtml=`<select id="promptInput" style="width:80%;cursor:pointer;" class="layui-select" lay-filter="promptInput">` | 5229 | promptHtml=`<select id="promptInput" style="width:80%;cursor:pointer;" class="layui-select" lay-filter="promptInput">` |
5230 | if(fieldList){ | 5230 | if(fieldList){ |
@@ -5235,7 +5235,8 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -5235,7 +5235,8 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
5235 | } | 5235 | } |
5236 | promptHtml+=`</select>`; | 5236 | promptHtml+=`</select>`; |
5237 | }else{ | 5237 | }else{ |
5238 | - promptHtml=`` | 5238 | + titleName='请查看'; |
5239 | + promptHtml=`<span style="border: 1px solid #d2d2d2;flex: 1;padding: 10px;" id="promptInput">`+old_T3Dom+`</span>` | ||
5239 | } | 5240 | } |
5240 | let html_tpl=`<div class="T3-IOP-prompt">`+promptHtml+`</div>`; | 5241 | let html_tpl=`<div class="T3-IOP-prompt">`+promptHtml+`</div>`; |
5241 | layer.open({ | 5242 | layer.open({ |
-
Please register or login to post a comment