|  |  |  | 
|---|
|  |  |  | <div class="form-group"> | 
|---|
|  |  |  | <label class="col-sm-2 control-label">标签<span class="text-danger">*</span></label> | 
|---|
|  |  |  | <div class="col-sm-4"> | 
|---|
|  |  |  | <input autocomplete="off" dataType="*" class="form-control" name="label" ></input> | 
|---|
|  |  |  | <input autocomplete="off" dataType="*" class="form-control" th:value="${obj?.label}" name="label" ></input> | 
|---|
|  |  |  | <div class="Validform_checktip"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | var obj=/*[[${obj}]]*/ | 
|---|
|  |  |  | /*]]>*/ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | var invokeUrl=basePath+"/admin/operate/add"; | 
|---|
|  |  |  | if(obj.id!=null){ | 
|---|
|  |  |  | invokeUrl = basePath+"/admin/operate/modify"; | 
|---|
|  |  |  | var invokeUrl=basePath+"/admin/label/add"; | 
|---|
|  |  |  | if(obj!=null&& obj.id!=null){ | 
|---|
|  |  |  | invokeUrl = basePath+"/admin/label/modify"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | var myForm=MForm.initForm({ | 
|---|
|  |  |  | invokeUrl:invokeUrl, | 
|---|