| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.code.BaseGenerator; |
| | | import com.java110.code.back.BaseGenerator; |
| | | |
| | | public class GeneratorManagerComponent extends BaseGenerator { |
| | | |
| | |
| | | //处理组件 |
| | | generatorComponentHtml(data); |
| | | generatorComponentJs(data); |
| | | generatorComponentJava(data); |
| | | genneratorIListSmo(data); |
| | | genneratorListSmoImpl(data); |
| | | //generatorComponentJava(data); |
| | | //genneratorIListSmo(data); |
| | | //genneratorListSmoImpl(data); |
| | | genneratorListListener(data); |
| | | genneratorVo(data); |
| | | |
| | |
| | | fileContext = fileContext.replace("@@vcCreate@@", vcCreate.toString()); |
| | | |
| | | if (tmpConditions.size() > 3) { |
| | | fileContext = fileContext.replace("@@moreCondition@@", "<button type=\"button\" class=\"btn btn-link btn-sm\" style=\"margin-right:10px;\" v-on:click=\"_moreCondition()\">更多</button>"); |
| | | fileContext = fileContext.replace("@@moreCondition@@", "<button type=\"button\" class=\"btn btn-link btn-sm\" style=\"margin-right:10px;\" v-on:click=\"_moreCondition()\">{{"+ data.getString("templateCode") +"ManageInfo.moreCondition == true?'隐藏':'更多'}}</button>"); |
| | | } else { |
| | | fileContext = fileContext.replace("@@moreCondition@@", ""); |
| | | |