指标具体功能
This commit is contained in:
parent
54e30716e6
commit
61b22d29a4
@ -26,7 +26,7 @@ import java.util.Map;
|
|||||||
* @Date: 2021-03-29 18:09:50
|
* @Date: 2021-03-29 18:09:50
|
||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "接口")
|
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "基础纪检委员发挥作用平台模板接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping(ISystemConstant.API_PREFIX + "/basiccheckpersonaction")
|
@RequestMapping(ISystemConstant.API_PREFIX + "/basiccheckpersonaction")
|
||||||
public class BasicCheckPersonActionController extends DefaultBaseController {
|
public class BasicCheckPersonActionController extends DefaultBaseController {
|
||||||
|
@ -57,9 +57,6 @@ public class IndexLibController extends DefaultBaseController {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ApiOperation(value = "指标库树形列表", notes = "指标库树形列表接口")
|
@ApiOperation(value = "指标库树形列表", notes = "指标库树形列表接口")
|
||||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||||
@GetMapping("listztree")
|
@GetMapping("listztree")
|
||||||
|
@ -26,7 +26,7 @@ import java.util.Map;
|
|||||||
* @Date: 2021-03-29 18:09:50
|
* @Date: 2021-03-29 18:09:50
|
||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@Api(tags = ISystemConstant.API_TAGS_APP_PREFIX + "接口")
|
@Api(tags = ISystemConstant.API_TAGS_APP_PREFIX + "基础纪检委员发挥作用平台模板接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping(ISystemConstant.APP_PREFIX + "/basiccheckpersonaction")
|
@RequestMapping(ISystemConstant.APP_PREFIX + "/basiccheckpersonaction")
|
||||||
public class BasicCheckPersonActionAppController extends DefaultBaseController {
|
public class BasicCheckPersonActionAppController extends DefaultBaseController {
|
||||||
|
@ -26,7 +26,7 @@ import java.util.Map;
|
|||||||
* @Date: 2021-03-29 18:09:50
|
* @Date: 2021-03-29 18:09:50
|
||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@Api(tags = ISystemConstant.API_TAGS_RESOURCE_PREFIX + "接口")
|
@Api(tags = ISystemConstant.API_TAGS_RESOURCE_PREFIX + "基础纪检委员发挥作用平台模板接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping(ISystemConstant.RESOURCE_PREFIX + "/basiccheckpersonaction")
|
@RequestMapping(ISystemConstant.RESOURCE_PREFIX + "/basiccheckpersonaction")
|
||||||
public class BasicCheckPersonActionResourceController extends DefaultBaseController {
|
public class BasicCheckPersonActionResourceController extends DefaultBaseController {
|
||||||
|
@ -12,7 +12,9 @@ public class IndexTemplateBO {
|
|||||||
|
|
||||||
private String indexTemplateId;
|
private String indexTemplateId;
|
||||||
private String indexTemplateName;
|
private String indexTemplateName;
|
||||||
private String indexTemplatePath;
|
private String indexTemplateSavePath;
|
||||||
|
private String indexTemplateUploadPath;
|
||||||
|
private String indexTemplateListPath;
|
||||||
private String indexTemplateRemark;
|
private String indexTemplateRemark;
|
||||||
private Integer indexTemplateState;
|
private Integer indexTemplateState;
|
||||||
private String gmtCreate;
|
private String gmtCreate;
|
||||||
@ -37,12 +39,28 @@ public class IndexTemplateBO {
|
|||||||
this.indexTemplateName = indexTemplateName;
|
this.indexTemplateName = indexTemplateName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIndexTemplatePath() {
|
public String getIndexTemplateSavePath() {
|
||||||
return indexTemplatePath;
|
return indexTemplateSavePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIndexTemplatePath(String indexTemplatePath) {
|
public void setIndexTemplateSavePath(String indexTemplateSavePath) {
|
||||||
this.indexTemplatePath = indexTemplatePath;
|
this.indexTemplateSavePath = indexTemplateSavePath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateUploadPath() {
|
||||||
|
return indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateUploadPath(String indexTemplateUploadPath) {
|
||||||
|
this.indexTemplateUploadPath = indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateListPath() {
|
||||||
|
return indexTemplateListPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateListPath(String indexTemplateListPath) {
|
||||||
|
this.indexTemplateListPath = indexTemplateListPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getGmtCreate() {
|
public String getGmtCreate() {
|
||||||
|
@ -21,8 +21,14 @@ public class IndexTemplateDTO {
|
|||||||
|
|
||||||
@ApiModelProperty(name = "indexTemplateName", value = "模板名称")
|
@ApiModelProperty(name = "indexTemplateName", value = "模板名称")
|
||||||
private String indexTemplateName;
|
private String indexTemplateName;
|
||||||
@ApiModelProperty(name = "indexTemplatePath", value = "模板路径")
|
|
||||||
private String indexTemplatePath;
|
@ApiModelProperty(name = "indexTemplateSavePath", value = "保存路径")
|
||||||
|
private String indexTemplateSavePath;
|
||||||
|
@ApiModelProperty(name = "indexTemplateUploadPath", value = "修改路径")
|
||||||
|
private String indexTemplateUploadPath;
|
||||||
|
@ApiModelProperty(name = "indexTemplateListPath", value = "列表路径")
|
||||||
|
private String indexTemplateListPath;
|
||||||
|
|
||||||
@ApiModelProperty(name = "indexTemplateRemark", value = "模板说明")
|
@ApiModelProperty(name = "indexTemplateRemark", value = "模板说明")
|
||||||
private String indexTemplateRemark;
|
private String indexTemplateRemark;
|
||||||
@ApiModelProperty(name = "indexTemplateState", value = "模板状态")
|
@ApiModelProperty(name = "indexTemplateState", value = "模板状态")
|
||||||
@ -44,14 +50,29 @@ public class IndexTemplateDTO {
|
|||||||
this.indexTemplateName = indexTemplateName;
|
this.indexTemplateName = indexTemplateName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIndexTemplatePath() {
|
public String getIndexTemplateSavePath() {
|
||||||
return indexTemplatePath == null ? "" : indexTemplatePath.trim();
|
return indexTemplateSavePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIndexTemplatePath(String indexTemplatePath) {
|
public void setIndexTemplateSavePath(String indexTemplateSavePath) {
|
||||||
this.indexTemplatePath = indexTemplatePath;
|
this.indexTemplateSavePath = indexTemplateSavePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateUploadPath() {
|
||||||
|
return indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateUploadPath(String indexTemplateUploadPath) {
|
||||||
|
this.indexTemplateUploadPath = indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateListPath() {
|
||||||
|
return indexTemplateListPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateListPath(String indexTemplateListPath) {
|
||||||
|
this.indexTemplateListPath = indexTemplateListPath;
|
||||||
|
}
|
||||||
|
|
||||||
public String getIndexTemplateRemark() {
|
public String getIndexTemplateRemark() {
|
||||||
return indexTemplateRemark;
|
return indexTemplateRemark;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package com.tenlion.twoduty.pojo.pos.indextemplate;
|
package com.tenlion.twoduty.pojo.pos.indextemplate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: IndexTemplatePO
|
* @ClassName: IndexTemplatePO
|
||||||
@ -12,7 +14,9 @@ public class IndexTemplatePO {
|
|||||||
|
|
||||||
private String indexTemplateId;
|
private String indexTemplateId;
|
||||||
private String indexTemplateName;
|
private String indexTemplateName;
|
||||||
private String indexTemplatePath;
|
private String indexTemplateSavePath;
|
||||||
|
private String indexTemplateUploadPath;
|
||||||
|
private String indexTemplateListPath;
|
||||||
private String indexTemplateRemark;
|
private String indexTemplateRemark;
|
||||||
private Integer indexTemplateState;
|
private Integer indexTemplateState;
|
||||||
private String gmtCreate;
|
private String gmtCreate;
|
||||||
@ -37,12 +41,28 @@ public class IndexTemplatePO {
|
|||||||
this.indexTemplateName = indexTemplateName;
|
this.indexTemplateName = indexTemplateName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIndexTemplatePath() {
|
public String getIndexTemplateSavePath() {
|
||||||
return indexTemplatePath;
|
return indexTemplateSavePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIndexTemplatePath(String indexTemplatePath) {
|
public void setIndexTemplateSavePath(String indexTemplateSavePath) {
|
||||||
this.indexTemplatePath = indexTemplatePath;
|
this.indexTemplateSavePath = indexTemplateSavePath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateUploadPath() {
|
||||||
|
return indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateUploadPath(String indexTemplateUploadPath) {
|
||||||
|
this.indexTemplateUploadPath = indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateListPath() {
|
||||||
|
return indexTemplateListPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateListPath(String indexTemplateListPath) {
|
||||||
|
this.indexTemplateListPath = indexTemplateListPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getGmtCreate() {
|
public String getGmtCreate() {
|
||||||
|
@ -19,9 +19,12 @@ public class IndexTemplateVO {
|
|||||||
@ApiModelProperty(name = "indexTemplateName", value = "模板名称")
|
@ApiModelProperty(name = "indexTemplateName", value = "模板名称")
|
||||||
@CheckEmptyAnnotation(name="模板名称")
|
@CheckEmptyAnnotation(name="模板名称")
|
||||||
private String indexTemplateName;
|
private String indexTemplateName;
|
||||||
@ApiModelProperty(name = "indexTemplatePath", value = "模板路径")
|
@ApiModelProperty(name = "indexTemplateSavePath", value = "保存路径")
|
||||||
@CheckEmptyAnnotation(name="模板路径")
|
private String indexTemplateSavePath;
|
||||||
private String indexTemplatePath;
|
@ApiModelProperty(name = "indexTemplateUploadPath", value = "修改路径")
|
||||||
|
private String indexTemplateUploadPath;
|
||||||
|
@ApiModelProperty(name = "indexTemplateListPath", value = "列表路径")
|
||||||
|
private String indexTemplateListPath;
|
||||||
@ApiModelProperty(name = "indexTemplateRemark", value = "模板说明")
|
@ApiModelProperty(name = "indexTemplateRemark", value = "模板说明")
|
||||||
private String indexTemplateRemark;
|
private String indexTemplateRemark;
|
||||||
@ApiModelProperty(name = "indexTemplateState", value = "模板状态")
|
@ApiModelProperty(name = "indexTemplateState", value = "模板状态")
|
||||||
@ -36,12 +39,28 @@ public class IndexTemplateVO {
|
|||||||
this.indexTemplateName = indexTemplateName;
|
this.indexTemplateName = indexTemplateName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIndexTemplatePath() {
|
public String getIndexTemplateSavePath() {
|
||||||
return indexTemplatePath == null ? "" : indexTemplatePath.trim();
|
return indexTemplateSavePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIndexTemplatePath(String indexTemplatePath) {
|
public void setIndexTemplateSavePath(String indexTemplateSavePath) {
|
||||||
this.indexTemplatePath = indexTemplatePath;
|
this.indexTemplateSavePath = indexTemplateSavePath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateUploadPath() {
|
||||||
|
return indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateUploadPath(String indexTemplateUploadPath) {
|
||||||
|
this.indexTemplateUploadPath = indexTemplateUploadPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexTemplateListPath() {
|
||||||
|
return indexTemplateListPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexTemplateListPath(String indexTemplateListPath) {
|
||||||
|
this.indexTemplateListPath = indexTemplateListPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIndexTemplateRemark() {
|
public String getIndexTemplateRemark() {
|
||||||
|
@ -5,7 +5,9 @@
|
|||||||
<resultMap id="indexTemplateDTO" type="com.tenlion.twoduty.pojo.dtos.indextemplate.IndexTemplateDTO">
|
<resultMap id="indexTemplateDTO" type="com.tenlion.twoduty.pojo.dtos.indextemplate.IndexTemplateDTO">
|
||||||
<result column="index_template_id" property="indexTemplateId"/>
|
<result column="index_template_id" property="indexTemplateId"/>
|
||||||
<result column="index_template_name" property="indexTemplateName"/>
|
<result column="index_template_name" property="indexTemplateName"/>
|
||||||
<result column="index_template_path" property="indexTemplatePath"/>
|
<result column="index_template_save_path" property="indexTemplateSavePath"/>
|
||||||
|
<result column="index_template_upload_path" property="indexTemplateUploadPath"/>
|
||||||
|
<result column="index_template_list_path" property="indexTemplateListPath"/>
|
||||||
<result column="index_template_remark" property="indexTemplateRemark"/>
|
<result column="index_template_remark" property="indexTemplateRemark"/>
|
||||||
<result column="index_template_state" property="indexTemplateState"/>
|
<result column="index_template_state" property="indexTemplateState"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
@ -13,7 +15,9 @@
|
|||||||
<resultMap id="indexTemplateBO" type="com.tenlion.twoduty.pojo.bos.indextemplate.IndexTemplateBO">
|
<resultMap id="indexTemplateBO" type="com.tenlion.twoduty.pojo.bos.indextemplate.IndexTemplateBO">
|
||||||
<result column="index_template_id" property="indexTemplateId"/>
|
<result column="index_template_id" property="indexTemplateId"/>
|
||||||
<result column="index_template_name" property="indexTemplateName"/>
|
<result column="index_template_name" property="indexTemplateName"/>
|
||||||
<result column="index_template_path" property="indexTemplatePath"/>
|
<result column="index_template_save_path" property="indexTemplateSavePath"/>
|
||||||
|
<result column="index_template_upload_path" property="indexTemplateUploadPath"/>
|
||||||
|
<result column="index_template_list_path" property="indexTemplateListPath"/>
|
||||||
<result column="index_template_remark" property="indexTemplateRemark"/>
|
<result column="index_template_remark" property="indexTemplateRemark"/>
|
||||||
<result column="index_template_state" property="indexTemplateState"/>
|
<result column="index_template_state" property="indexTemplateState"/>
|
||||||
<result column="gmt_create" property="gmtCreate"/>
|
<result column="gmt_create" property="gmtCreate"/>
|
||||||
@ -26,7 +30,9 @@
|
|||||||
<resultMap id="indexTemplatePO" type="com.tenlion.twoduty.pojo.pos.indextemplate.IndexTemplatePO">
|
<resultMap id="indexTemplatePO" type="com.tenlion.twoduty.pojo.pos.indextemplate.IndexTemplatePO">
|
||||||
<result column="index_template_id" property="indexTemplateId"/>
|
<result column="index_template_id" property="indexTemplateId"/>
|
||||||
<result column="index_template_name" property="indexTemplateName"/>
|
<result column="index_template_name" property="indexTemplateName"/>
|
||||||
<result column="index_template_path" property="indexTemplatePath"/>
|
<result column="index_template_save_path" property="indexTemplateSavePath"/>
|
||||||
|
<result column="index_template_upload_path" property="indexTemplateUploadPath"/>
|
||||||
|
<result column="index_template_list_path" property="indexTemplateListPath"/>
|
||||||
<result column="index_template_remark" property="indexTemplateRemark"/>
|
<result column="index_template_remark" property="indexTemplateRemark"/>
|
||||||
<result column="index_template_state" property="indexTemplateState"/>
|
<result column="index_template_state" property="indexTemplateState"/>
|
||||||
<result column="gmt_create" property="gmtCreate"/>
|
<result column="gmt_create" property="gmtCreate"/>
|
||||||
@ -41,7 +47,9 @@
|
|||||||
INSERT INTO duty_index_template(
|
INSERT INTO duty_index_template(
|
||||||
index_template_id,
|
index_template_id,
|
||||||
index_template_name,
|
index_template_name,
|
||||||
index_template_path,
|
index_template_save_path,
|
||||||
|
index_template_upload_path,
|
||||||
|
index_template_list_path,
|
||||||
index_template_remark,
|
index_template_remark,
|
||||||
index_template_state,
|
index_template_state,
|
||||||
gmt_create,
|
gmt_create,
|
||||||
@ -52,7 +60,9 @@
|
|||||||
) VALUES(
|
) VALUES(
|
||||||
#{indexTemplateId},
|
#{indexTemplateId},
|
||||||
#{indexTemplateName},
|
#{indexTemplateName},
|
||||||
#{indexTemplatePath},
|
#{indexTemplateSavePath},
|
||||||
|
#{indexTemplateUploadPath},
|
||||||
|
#{indexTemplateListPath},
|
||||||
#{indexTemplateRemark},
|
#{indexTemplateRemark},
|
||||||
#{indexTemplateState},
|
#{indexTemplateState},
|
||||||
#{gmtCreate},
|
#{gmtCreate},
|
||||||
@ -100,8 +110,14 @@
|
|||||||
<if test="indexTemplateName != null and indexTemplateName != ''">
|
<if test="indexTemplateName != null and indexTemplateName != ''">
|
||||||
index_template_name = #{indexTemplateName},
|
index_template_name = #{indexTemplateName},
|
||||||
</if>
|
</if>
|
||||||
<if test="indexTemplatePath != null and indexTemplatePath != ''">
|
<if test="indexTemplateSavePath != null and indexTemplateSavePath != ''">
|
||||||
index_template_path = #{indexTemplatePath},
|
index_template_save_path = #{indexTemplateSavePath},
|
||||||
|
</if>
|
||||||
|
<if test="indexTemplateUploadPath != null and indexTemplateUploadPath != ''">
|
||||||
|
index_template_upload_path = #{indexTemplateUploadPath},
|
||||||
|
</if>
|
||||||
|
<if test="indexTemplateListPath != null and indexTemplateListPath != ''">
|
||||||
|
index_template_list_path = #{indexTemplateListPath},
|
||||||
</if>
|
</if>
|
||||||
<if test="indexTemplateRemark != null and indexTemplateRemark != ''">
|
<if test="indexTemplateRemark != null and indexTemplateRemark != ''">
|
||||||
index_template_remark = #{indexTemplateRemark},
|
index_template_remark = #{indexTemplateRemark},
|
||||||
@ -119,7 +135,9 @@
|
|||||||
<select id="get" parameterType="map" resultMap="indexTemplateDTO">
|
<select id="get" parameterType="map" resultMap="indexTemplateDTO">
|
||||||
SELECT
|
SELECT
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state,
|
t1.index_template_state,
|
||||||
t1.index_template_id
|
t1.index_template_id
|
||||||
@ -138,7 +156,9 @@
|
|||||||
SELECT
|
SELECT
|
||||||
t1.index_template_id,
|
t1.index_template_id,
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state,
|
t1.index_template_state,
|
||||||
t1.gmt_create,
|
t1.gmt_create,
|
||||||
@ -160,7 +180,9 @@
|
|||||||
SELECT
|
SELECT
|
||||||
t1.index_template_id,
|
t1.index_template_id,
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state,
|
t1.index_template_state,
|
||||||
t1.gmt_create,
|
t1.gmt_create,
|
||||||
@ -182,7 +204,9 @@
|
|||||||
SELECT
|
SELECT
|
||||||
t1.index_template_id,
|
t1.index_template_id,
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state
|
t1.index_template_state
|
||||||
FROM
|
FROM
|
||||||
@ -209,7 +233,9 @@
|
|||||||
SELECT
|
SELECT
|
||||||
t1.index_template_id,
|
t1.index_template_id,
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state,
|
t1.index_template_state,
|
||||||
t1.gmt_create,
|
t1.gmt_create,
|
||||||
@ -240,7 +266,9 @@
|
|||||||
SELECT
|
SELECT
|
||||||
t1.index_template_id,
|
t1.index_template_id,
|
||||||
t1.index_template_name,
|
t1.index_template_name,
|
||||||
t1.index_template_path,
|
t1.index_template_save_path,
|
||||||
|
t1.index_template_upload_path,
|
||||||
|
t1.index_template_list_path,
|
||||||
t1.index_template_remark,
|
t1.index_template_remark,
|
||||||
t1.index_template_state,
|
t1.index_template_state,
|
||||||
t1.gmt_create,
|
t1.gmt_create,
|
||||||
|
@ -95,7 +95,23 @@
|
|||||||
return rowData;
|
return rowData;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{field: 'indexTemplatePath', width: 180, title: '模板路径', align:'center',
|
{field: 'indexTemplateSavePath', width: 180, title: '保存路径', align:'center',
|
||||||
|
templet: function(row) {
|
||||||
|
var rowData = row[this.field];
|
||||||
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
return '-';
|
||||||
|
}
|
||||||
|
return rowData;
|
||||||
|
}
|
||||||
|
}, {field: 'indexTemplateUploadPath', width: 180, title: '修改路径', align:'center',
|
||||||
|
templet: function(row) {
|
||||||
|
var rowData = row[this.field];
|
||||||
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
return '-';
|
||||||
|
}
|
||||||
|
return rowData;
|
||||||
|
}
|
||||||
|
}, {field: 'indexTemplateListPath', width: 180, title: '列表路径', align:'center',
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
@ -131,7 +147,9 @@
|
|||||||
{field: 'show', width: 180, title: '查看', align:'center',
|
{field: 'show', width: 180, title: '查看', align:'center',
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var data ='<div class="layui-btn-group">'
|
var data ='<div class="layui-btn-group">'
|
||||||
+'<button type="button" class="layui-btn layui-btn-sm" lay-event="showEvent">查看</button>'
|
+'<button type="button" class="layui-btn layui-btn-sm" lay-event="showSavePath">保存</button>'
|
||||||
|
+'<button type="button" class="layui-btn layui-btn-sm" lay-event="showUploadPath">修改</button>'
|
||||||
|
+'<button type="button" class="layui-btn layui-btn-sm" lay-event="showListPath">列表</button>'
|
||||||
+'</div>';
|
+'</div>';
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
@ -271,7 +289,7 @@
|
|||||||
var data = obj.data;
|
var data = obj.data;
|
||||||
var event = obj.event;
|
var event = obj.event;
|
||||||
|
|
||||||
if (event === 'showEvent') {
|
if (event === 'showSavePath') {
|
||||||
layer.open({
|
layer.open({
|
||||||
type: 2,
|
type: 2,
|
||||||
title: false,
|
title: false,
|
||||||
@ -279,7 +297,33 @@
|
|||||||
area: ['90%', '90%'],
|
area: ['90%', '90%'],
|
||||||
shadeClose: true,
|
shadeClose: true,
|
||||||
anim: 2,
|
anim: 2,
|
||||||
content: top.restAjax.path(data.indexTemplatePath, []),
|
content: top.restAjax.path(data.indexTemplateSavePath, []),
|
||||||
|
end: function () {
|
||||||
|
reloadTable();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (event === 'showUploadPath') {
|
||||||
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
title: false,
|
||||||
|
closeBtn: 0,
|
||||||
|
area: ['90%', '90%'],
|
||||||
|
shadeClose: true,
|
||||||
|
anim: 2,
|
||||||
|
content: top.restAjax.path(data.indexTemplateUploadPath, []),
|
||||||
|
end: function () {
|
||||||
|
reloadTable();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (event === 'showListPath') {
|
||||||
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
title: false,
|
||||||
|
closeBtn: 0,
|
||||||
|
area: ['90%', '90%'],
|
||||||
|
shadeClose: true,
|
||||||
|
anim: 2,
|
||||||
|
content: top.restAjax.path(data.indexTemplateListPath, []),
|
||||||
end: function () {
|
end: function () {
|
||||||
reloadTable();
|
reloadTable();
|
||||||
}
|
}
|
||||||
|
@ -29,9 +29,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
<label class="layui-form-label">模板路径</label>
|
<label class="layui-form-label">保存路径</label>
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
<input type="text" id="indexTemplatePath" name="indexTemplatePath" class="layui-input" value="" placeholder="请输入模板路径" maxlength="500">
|
<input type="text" id="indexTemplateSavePath" name="indexTemplateSavePath" class="layui-input" value="" placeholder="请输入保存路径" maxlength="150">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<label class="layui-form-label">修改路径</label>
|
||||||
|
<div class="layui-input-block">
|
||||||
|
<input type="text" id="indexTemplateUploadPath" name="indexTemplateUploadPath" class="layui-input" value="" placeholder="请输入修改路径" maxlength="150">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<label class="layui-form-label">列表路径</label>
|
||||||
|
<div class="layui-input-block">
|
||||||
|
<input type="text" id="indexTemplateListPath" name="indexTemplateListPath" class="layui-input" value="" placeholder="请输入列表路径" maxlength="150">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
|
@ -29,9 +29,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
<label class="layui-form-label">模板路径</label>
|
<label class="layui-form-label">保存路径</label>
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
<input type="text" id="indexTemplatePath" name="indexTemplatePath" class="layui-input" value="" placeholder="请输入模板路径" maxlength="500">
|
<input type="text" id="indexTemplateSavePath" name="indexTemplateSavePath" class="layui-input" value="" placeholder="请输入保存路径" maxlength="150">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<label class="layui-form-label">修改路径</label>
|
||||||
|
<div class="layui-input-block">
|
||||||
|
<input type="text" id="indexTemplateUploadPath" name="indexTemplateUploadPath" class="layui-input" value="" placeholder="请输入修改路径" maxlength="150">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<label class="layui-form-label">列表路径</label>
|
||||||
|
<div class="layui-input-block">
|
||||||
|
<input type="text" id="indexTemplateListPath" name="indexTemplateListPath" class="layui-input" value="" placeholder="请输入列表路径" maxlength="150">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
|
Loading…
Reference in New Issue
Block a user