Commit e9d95fdc authored by 王晓旭's avatar 王晓旭
parents b77b2692 59e1b4ff
...@@ -9,6 +9,9 @@ import com.mortals.framework.model.Context; ...@@ -9,6 +9,9 @@ import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo; import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result; import com.mortals.framework.model.Result;
import com.mortals.framework.web.BaseJsonBodyController; import com.mortals.framework.web.BaseJsonBodyController;
import com.mortals.xhx.common.code.DxTypeEnum;
import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.common.keys.RedisCacheKeys;
import com.mortals.xhx.module.dept.model.DeptEntity; import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery; import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.service.DeptService; import com.mortals.xhx.module.dept.service.DeptService;
...@@ -16,9 +19,12 @@ import com.mortals.xhx.module.matter.model.MatterEntity; ...@@ -16,9 +19,12 @@ import com.mortals.xhx.module.matter.model.MatterEntity;
import com.mortals.xhx.module.matter.model.MatterQuery; import com.mortals.xhx.module.matter.model.MatterQuery;
import com.mortals.xhx.module.matter.model.vo.MatterInfo; import com.mortals.xhx.module.matter.model.vo.MatterInfo;
import com.mortals.xhx.module.matter.service.MatterService; import com.mortals.xhx.module.matter.service.MatterService;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.model.SiteMatterEntity; import com.mortals.xhx.module.site.model.SiteMatterEntity;
import com.mortals.xhx.module.site.model.SiteMatterQuery; import com.mortals.xhx.module.site.model.SiteMatterQuery;
import com.mortals.xhx.module.site.service.SiteMatterService; import com.mortals.xhx.module.site.service.SiteMatterService;
import com.mortals.xhx.module.site.service.SiteThemeMatterService;
import com.mortals.xhx.module.site.service.SiteThemeService;
import com.mortals.xhx.module.window.model.*; import com.mortals.xhx.module.window.model.*;
import com.mortals.xhx.module.window.service.WindowBusinessService; import com.mortals.xhx.module.window.service.WindowBusinessService;
import com.mortals.xhx.module.window.service.WindowMatterService; import com.mortals.xhx.module.window.service.WindowMatterService;
...@@ -69,6 +75,10 @@ public class DemoWebApiController { ...@@ -69,6 +75,10 @@ public class DemoWebApiController {
private DeptService deptService; private DeptService deptService;
@Autowired @Autowired
private MatterService matterService; private MatterService matterService;
@Autowired
private SiteThemeService siteThemeService;
@Autowired
private SiteThemeMatterService siteThemeMatterService;
@PostMapping(value = "testGov") @PostMapping(value = "testGov")
...@@ -111,9 +121,9 @@ public class DemoWebApiController { ...@@ -111,9 +121,9 @@ public class DemoWebApiController {
public Rest<String> reEventShow() { public Rest<String> reEventShow() {
List<SiteMatterEntity> siteMatterEntities = siteMatterService.find(new SiteMatterQuery()); List<SiteMatterEntity> siteMatterEntities = siteMatterService.find(new SiteMatterQuery());
for (SiteMatterEntity siteMatterEntity : siteMatterEntities) { for (SiteMatterEntity siteMatterEntity : siteMatterEntities) {
if(ObjectUtils.isEmpty(siteMatterEntity.getEventTypeShow())){ if (ObjectUtils.isEmpty(siteMatterEntity.getEventTypeShow())) {
MatterEntity matterEntity = matterService.get(siteMatterEntity.getMatterId()); MatterEntity matterEntity = matterService.get(siteMatterEntity.getMatterId());
if(!ObjectUtils.isEmpty(matterEntity)&&!ObjectUtils.isEmpty(matterEntity.getEventTypeShow())){ if (!ObjectUtils.isEmpty(matterEntity) && !ObjectUtils.isEmpty(matterEntity.getEventTypeShow())) {
siteMatterEntity.setEventTypeShow(matterEntity.getEventTypeShow()); siteMatterEntity.setEventTypeShow(matterEntity.getEventTypeShow());
siteMatterService.update(siteMatterEntity); siteMatterService.update(siteMatterEntity);
} }
...@@ -133,9 +143,9 @@ public class DemoWebApiController { ...@@ -133,9 +143,9 @@ public class DemoWebApiController {
for (WindowEntity windowEntity : windowEntities) { for (WindowEntity windowEntity : windowEntities) {
String deptName = windowEntity.getDeptName(); String deptName = windowEntity.getDeptName();
//根据部门名称查询部门 //根据部门名称查询部门
DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(deptName+"%")); DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(deptName + "%"));
if (!ObjectUtils.isEmpty(deptEntity)) { if (!ObjectUtils.isEmpty(deptEntity)) {
if (deptEntity.getId() != windowEntity.getDeptId()&&deptEntity.getName().trim().equals(windowEntity.getDeptName().trim())) { if (deptEntity.getId() != windowEntity.getDeptId() && deptEntity.getName().trim().equals(windowEntity.getDeptName().trim())) {
log.info("部门:{},更新部门id:orgin deptId:{} ,updateDeptId:{}", deptName, windowEntity.getDeptId(), deptEntity.getId()); log.info("部门:{},更新部门id:orgin deptId:{} ,updateDeptId:{}", deptName, windowEntity.getDeptId(), deptEntity.getId());
WindowEntity temp = new WindowEntity(); WindowEntity temp = new WindowEntity();
temp.setId(windowEntity.getId()); temp.setId(windowEntity.getId());
...@@ -149,9 +159,9 @@ public class DemoWebApiController { ...@@ -149,9 +159,9 @@ public class DemoWebApiController {
//更新窗口事项中的部门id //更新窗口事项中的部门id
List<WindowMatterEntity> windowMatterEntities = windowMatterService.find(new WindowMatterQuery()); List<WindowMatterEntity> windowMatterEntities = windowMatterService.find(new WindowMatterQuery());
for (WindowMatterEntity windowMatterEntity : windowMatterEntities) { for (WindowMatterEntity windowMatterEntity : windowMatterEntities) {
DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(windowMatterEntity.getDeptName()+"%")); DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(windowMatterEntity.getDeptName() + "%"));
if (!ObjectUtils.isEmpty(deptEntity)) { if (!ObjectUtils.isEmpty(deptEntity)) {
if (deptEntity.getId() != windowMatterEntity.getDeptId()&&windowMatterEntity.getDeptName().trim().equals(deptEntity.getName())) { if (deptEntity.getId() != windowMatterEntity.getDeptId() && windowMatterEntity.getDeptName().trim().equals(deptEntity.getName())) {
WindowMatterEntity temp = new WindowMatterEntity(); WindowMatterEntity temp = new WindowMatterEntity();
temp.setId(windowMatterEntity.getId()); temp.setId(windowMatterEntity.getId());
temp.setDeptId(deptEntity.getId()); temp.setDeptId(deptEntity.getId());
...@@ -164,9 +174,9 @@ public class DemoWebApiController { ...@@ -164,9 +174,9 @@ public class DemoWebApiController {
List<SiteMatterEntity> siteMatterEntities = siteMatterService.find(new SiteMatterQuery()); List<SiteMatterEntity> siteMatterEntities = siteMatterService.find(new SiteMatterQuery());
for (SiteMatterEntity siteMatterEntity : siteMatterEntities) { for (SiteMatterEntity siteMatterEntity : siteMatterEntities) {
DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(siteMatterEntity.getDeptName()+"%")); DeptEntity deptEntity = deptService.selectOne(new DeptQuery().name(siteMatterEntity.getDeptName() + "%"));
if (!ObjectUtils.isEmpty(deptEntity)) { if (!ObjectUtils.isEmpty(deptEntity)) {
if (deptEntity.getId() != siteMatterEntity.getDeptId()&&siteMatterEntity.getDeptName().trim().equals(deptEntity.getName().trim())) { if (deptEntity.getId() != siteMatterEntity.getDeptId() && siteMatterEntity.getDeptName().trim().equals(deptEntity.getName().trim())) {
SiteMatterEntity temp = new SiteMatterEntity(); SiteMatterEntity temp = new SiteMatterEntity();
temp.setId(siteMatterEntity.getId()); temp.setId(siteMatterEntity.getId());
temp.setDeptId(deptEntity.getId()); temp.setDeptId(deptEntity.getId());
...@@ -182,6 +192,20 @@ public class DemoWebApiController { ...@@ -182,6 +192,20 @@ public class DemoWebApiController {
} }
@PostMapping(value = "syncThemeMatter")
@UnAuth
public Rest<String> syncThemeMatter(@RequestBody SiteEntity siteEntity) {
siteThemeMatterService.deleteGovBySiteId(siteEntity.getId(), null);
Rest<String> grRest = siteThemeMatterService.syncThemeMatterBySiteId(siteEntity.getId(), "2", null);
log.info("同步站点主题个人事项:" + JSON.toJSONString(grRest));
log.info("同步站点法人主题事项开始.....");
Rest<String> frRest = siteThemeMatterService.syncThemeMatterBySiteId(siteEntity.getId(), "3", null);
log.info("同步站点主题法人事项:" + JSON.toJSONString(frRest));
return Rest.ok();
}
public static void main(String[] args) { public static void main(String[] args) {
HttpClient http = null; HttpClient http = null;
CookieStore httpCookieStore = new BasicCookieStore(); CookieStore httpCookieStore = new BasicCookieStore();
......
...@@ -204,7 +204,7 @@ public class MatterTypeHtmlParseUtil { ...@@ -204,7 +204,7 @@ public class MatterTypeHtmlParseUtil {
continue; continue;
} }
String onclick = element.firstElementChild().attr("onclick"); String onclick = element.firstElementChild().attr("onclick");
href = StrUtil.subBetween(onclick, "ywblurl('", "',"); href = StrUtil.subBetween(onclick, "ywblurl('", "'");
if (ObjectUtils.isEmpty(href)) { if (ObjectUtils.isEmpty(href)) {
continue; continue;
} }
...@@ -220,7 +220,7 @@ public class MatterTypeHtmlParseUtil { ...@@ -220,7 +220,7 @@ public class MatterTypeHtmlParseUtil {
String title = element.attr("title"); String title = element.attr("title");
// String href = element.attr("href"); // String href = element.attr("href");
String onclick = element.attr("onclick"); String onclick = element.attr("onclick");
String href = StrUtil.subBetween(onclick, "ywblurl('", "',"); String href = StrUtil.subBetween(onclick, "ywblurl('", "'");
if (ObjectUtils.isEmpty(href)) { if (ObjectUtils.isEmpty(href)) {
System.out.println("子项 href is empty!,dom:" + dom.html()); System.out.println("子项 href is empty!,dom:" + dom.html());
continue; continue;
...@@ -251,7 +251,7 @@ public class MatterTypeHtmlParseUtil { ...@@ -251,7 +251,7 @@ public class MatterTypeHtmlParseUtil {
} }
String title = element.attr("title"); String title = element.attr("title");
String onclick = element.attr("onclick"); String onclick = element.attr("onclick");
String href = StrUtil.subBetween(onclick, "ywblurl('", "',"); String href = StrUtil.subBetween(onclick, "ywblurl('", "'");
if (ObjectUtils.isEmpty(href)) { if (ObjectUtils.isEmpty(href)) {
continue; continue;
} }
...@@ -266,7 +266,7 @@ public class MatterTypeHtmlParseUtil { ...@@ -266,7 +266,7 @@ public class MatterTypeHtmlParseUtil {
} }
String title = element.attr("title"); String title = element.attr("title");
String onclick = element.attr("onclick"); String onclick = element.attr("onclick");
String href = StrUtil.subBetween(onclick, "ywblurl('", "',"); String href = StrUtil.subBetween(onclick, "ywblurl('", "'");
if (ObjectUtils.isEmpty(href)) { if (ObjectUtils.isEmpty(href)) {
log.info("子项 href is empty!,dom:" + element.html()); log.info("子项 href is empty!,dom:" + element.html());
continue; continue;
......
...@@ -85,16 +85,13 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L ...@@ -85,16 +85,13 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L
} else { } else {
domainUrl = ""; domainUrl = "";
} }
} }
for (AppEntity item : list) { for (AppEntity item : list) {
List<AppEntity> appEntityList = this.find(new AppQuery().appCode(item.getAppCode()), context); List<AppEntity> appEntityList = this.find(new AppQuery().appCode(item.getAppCode()), context);
item.setApplianceSiteScope(appEntityList.size()); item.setApplianceSiteScope(appEntityList.size());
item.setSiteIdList(appEntityList.stream().map(AppEntity::getSiteId).collect(Collectors.toList())); item.setSiteIdList(appEntityList.stream().map(AppEntity::getSiteId).collect(Collectors.toList()));
//构建访问地址 //构建访问地址
SiteEntity siteEntity = siteService.getCache(item.getSiteId().toString()); SiteEntity siteEntity = siteService.getCache(item.getSiteId().toString());
if (!ObjectUtils.isEmpty(siteEntity)) { if (!ObjectUtils.isEmpty(siteEntity)) {
//请求地址 http://domian/app/siteCode/appcode/html //请求地址 http://domian/app/siteCode/appcode/html
if (!ObjectUtils.isEmpty(domainUrl)) { if (!ObjectUtils.isEmpty(domainUrl)) {
...@@ -103,7 +100,6 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L ...@@ -103,7 +100,6 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L
} else { } else {
item.setCustUrl(CUSTAPP_ROOT_PATH + "/" + siteEntity.getSiteCode() + "/" + item.getAppCode() + "/" + item.getVersion() + "/"); item.setCustUrl(CUSTAPP_ROOT_PATH + "/" + siteEntity.getSiteCode() + "/" + item.getAppCode() + "/" + item.getVersion() + "/");
} }
} else { } else {
item.setCustUrl(""); item.setCustUrl("");
} }
......
...@@ -46,11 +46,18 @@ public class SiteTreeSelect implements Serializable { ...@@ -46,11 +46,18 @@ public class SiteTreeSelect implements Serializable {
* 节点名称 * 节点名称
*/ */
private String label; private String label;
/** /**
* 区域编码 * 区域编码
*/ */
private String areaCode; private String areaCode;
/**
* 区域名称
*
*/
private String areaName;
/** /**
* 为区域时 层级 * 为区域时 层级
*/ */
...@@ -115,6 +122,7 @@ public class SiteTreeSelect implements Serializable { ...@@ -115,6 +122,7 @@ public class SiteTreeSelect implements Serializable {
this.icon = "el-icon-wind-power"; this.icon = "el-icon-wind-power";
this.detailAddress=collect.stream().map(item -> item.getDetailAddress()).collect(Collectors.joining(",")); this.detailAddress=collect.stream().map(item -> item.getDetailAddress()).collect(Collectors.joining(","));
this.areaCode=collect.stream().map(item -> item.getAreaCode()).collect(Collectors.joining(",")); this.areaCode=collect.stream().map(item -> item.getAreaCode()).collect(Collectors.joining(","));
this.areaName=collect.stream().map(item -> item.getAreaName()).collect(Collectors.joining(","));
this.longitude = collect.stream().map(item -> item.getLongitude()).collect(Collectors.joining(",")); this.longitude = collect.stream().map(item -> item.getLongitude()).collect(Collectors.joining(","));
this.latitude = collect.stream().map(item -> item.getLatitude()).collect(Collectors.joining(",")); this.latitude = collect.stream().map(item -> item.getLatitude()).collect(Collectors.joining(","));
} else { } else {
...@@ -146,6 +154,7 @@ public class SiteTreeSelect implements Serializable { ...@@ -146,6 +154,7 @@ public class SiteTreeSelect implements Serializable {
node.setSiteCode(jsonObject.getString("siteCode")); node.setSiteCode(jsonObject.getString("siteCode"));
node.setLabel(jsonObject.getString("label")); node.setLabel(jsonObject.getString("label"));
node.setAreaCode(jsonObject.getString("areaCode")); node.setAreaCode(jsonObject.getString("areaCode"));
node.setAreaName(jsonObject.getString("areaName"));
node.setIsLeaf(jsonObject.getBoolean("isLeaf")); node.setIsLeaf(jsonObject.getBoolean("isLeaf"));
node.setLongitude(jsonObject.getString("longitude")); node.setLongitude(jsonObject.getString("longitude"));
node.setLatitude(jsonObject.getString("latitude")); node.setLatitude(jsonObject.getString("latitude"));
......
...@@ -64,7 +64,7 @@ public class SiteThemeMatterServiceImpl extends AbstractCRUDServiceImpl<SiteThem ...@@ -64,7 +64,7 @@ public class SiteThemeMatterServiceImpl extends AbstractCRUDServiceImpl<SiteThem
params.put("type", "1"); params.put("type", "1");
params.put("theme", ""); params.put("theme", "");
//获取主题 //获取主题
Rest<Map<String, Integer>> themeMatterRest = MatterTypeHtmlParseUtil.getThemeMatterPage(params, url); Rest<Map<String, Integer>> themeMatterRest = MatterTypeHtmlParseUtil.getThemeMatterPage(params, url);
Integer totalTheme = themeMatterRest.getData().get("total"); Integer totalTheme = themeMatterRest.getData().get("total");
Integer sum = 0; Integer sum = 0;
...@@ -82,9 +82,9 @@ public class SiteThemeMatterServiceImpl extends AbstractCRUDServiceImpl<SiteThem ...@@ -82,9 +82,9 @@ public class SiteThemeMatterServiceImpl extends AbstractCRUDServiceImpl<SiteThem
for (int i = 1; i <= pageNum; i++) { for (int i = 1; i <= pageNum; i++) {
params.put("pageno", String.valueOf(i)); params.put("pageno", String.valueOf(i));
Rest<List<MatterEntity>> restList = null; Rest<List<MatterEntity>> restList = null;
if (userType == "2") { if ( "2".equals(userType)) {
restList = MatterTypeHtmlParseUtil.getGrThemeMatterList(params, url); restList = MatterTypeHtmlParseUtil.getGrThemeMatterList(params, url);
} else if (userType == "3") { } else if ("3".equals(userType)) {
restList = MatterTypeHtmlParseUtil.getFrThemeMatterList(params, url); restList = MatterTypeHtmlParseUtil.getFrThemeMatterList(params, url);
} }
......
...@@ -263,7 +263,7 @@ public class WorkmanServiceImpl extends AbstractCRUDCacheServiceImpl<WorkmanDao, ...@@ -263,7 +263,7 @@ public class WorkmanServiceImpl extends AbstractCRUDCacheServiceImpl<WorkmanDao,
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
System.out.println(SecurityUtil.md5DoubleEncoding("123456")); System.out.println(SecurityUtil.md5DoubleEncoding("adminADMIN123!@#"));
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
POST {{baseUrl}}/dept/list POST {{baseUrl}}/dept/list
Content-Type: application/json Content-Type: application/json
{"isBkb":1,"siteId":1,"page":"1","size":"10","orderColList":[{"colName":"sort","sortKind":"desc"}]} {"siteId":1,"page":"1","size":"-1","orderColList":[{"colName":"sort","sortKind":"desc"}]}
###部门更新与保存 ###部门更新与保存
......
...@@ -106,6 +106,13 @@ Content-Type: application/json ...@@ -106,6 +106,13 @@ Content-Type: application/json
{} {}
###testre
POST {{baseUrl}}/test/syncThemeMatter
Content-Type: application/json
{"id": 1}
###midsign ###midsign
POST {{baseUrl}}/mid/sign POST {{baseUrl}}/mid/sign
Content-Type: application/json Content-Type: application/json
......
...@@ -2,12 +2,15 @@ ...@@ -2,12 +2,15 @@
<div class="ff p15"> <div class="ff p15">
<div class="form-box"> <div class="form-box">
<div class="num-dv"> <div class="num-dv">
<a-button :loading="btnLoading" type="primary" class="addclass" @click="handleExportTable"> <a-button :loading="btnLoading" type="primary" class="addclass" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<div class="ml20">提交总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.count : 0 }}</span></div> <div class="ml20">提交总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.count : 0
<div class="ml20">回复总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.reply_count : 0 }}</span></div> }}</span></div>
<div style="font-size:12px;color:#a19a9a;margin-left: 20px;">统计时间段:{{ queryform.time[0] }} ~ {{ queryform.time[1] }}</div> <div class="ml20">回复总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.reply_count : 0
}}</span></div>
<div style="font-size:12px;color:#a19a9a;margin-left: 20px;">统计时间段:{{ queryform.time[0] }} ~ {{
queryform.time[1] }}</div>
</div> </div>
<a-form :model="queryform" layout="inline"> <a-form :model="queryform" layout="inline">
<a-form-item> <a-form-item>
...@@ -16,8 +19,8 @@ ...@@ -16,8 +19,8 @@
<a-form-item> <a-form-item>
<a-select v-model="queryform.source" style="width: 140px"> <a-select v-model="queryform.source" style="width: 140px">
<a-select-option value="">全部来源</a-select-option> <a-select-option value="">全部来源</a-select-option>
<a-select-option :value="item.value" v-for="item,index in deviceList" <a-select-option :value="item.value" v-for="item, index in deviceList"
:key="index">{{item.label}}</a-select-option> :key="index">{{ item.label }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
...@@ -27,27 +30,27 @@ ...@@ -27,27 +30,27 @@
<a-input v-model:value="queryform.keyword" placeholder="请输入标题或者名字关键字搜索" style="width: 220px" /> <a-input v-model:value="queryform.keyword" placeholder="请输入标题或者名字关键字搜索" style="width: 220px" />
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-button type="primary" class="addclass" @click="getlist">搜索</a-button> <a-button type="primary" class="addclass" @click="getlist">搜索</a-button>
</a-form-item> </a-form-item>
</a-form> </a-form>
</div> </div>
<div class="table-box"> <div class="table-box">
<a-table :dataSource="tabledataSource" :columns="tablecolumns" :pagination="pagination" :scroll="{ y: 590 }" <a-table :dataSource="tabledataSource" :columns="tablecolumns" :pagination="pagination" :scroll="{ y: 590 }"
:row-key="(record) => record.id" @change="changeTablePage" :row-selection="{ :row-key="(record) => record.id" @change="changeTablePage" :row-selection="{
selectedRowKeys: tableSelectedKeys, selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange, onChange: onSelectChange,
}"> }">
<template slot="type" slot-scope="text, record, index"> <template slot="type" slot-scope="text, record, index">
<div>{{typeList.find(item=>record.type).label}}</div> <div>{{ typeList.find(item => record.type).label }}</div>
</template> </template>
<template slot="valid" slot-scope="text, record, index"> <template slot="valid" slot-scope="text, record, index">
<div>{{record.valid == 1 ? '' : ''}}</div> <div>{{ record.valid == 1 ? '' : '' }}</div>
</template> </template>
<template slot="secrecy" slot-scope="text, record, index"> <template slot="secrecy" slot-scope="text, record, index">
<div>{{record.secrecy == 1 ? '' : ''}}</div> <div>{{ record.secrecy == 1 ? '' : '' }}</div>
</template> </template>
<template slot="status" slot-scope="text, record, index"> <template slot="status" slot-scope="text, record, index">
<div>{{record.status == 1 ? '' : ''}}</div> <div>{{ record.status == 1 ? '' : '' }}</div>
</template> </template>
<template slot="操作" slot-scope="text, record, index"> <template slot="操作" slot-scope="text, record, index">
<a-button type="link" @click="detail(record)">详情</a-button> <a-button type="link" @click="detail(record)">详情</a-button>
...@@ -60,37 +63,37 @@ ...@@ -60,37 +63,37 @@
<div style="margin-bottom: 10px;">建议内容</div> <div style="margin-bottom: 10px;">建议内容</div>
<a-descriptions layout="vertical" :column="4"> <a-descriptions layout="vertical" :column="4">
<a-descriptions-item label="问题主题" :span="4"> <a-descriptions-item label="问题主题" :span="4">
{{detailData.title}} {{ detailData.title }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="具体问题" :span="4"> <a-descriptions-item label="具体问题" :span="4">
{{detailData.content}} {{ detailData.content }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="业务名称" :span="4"> <a-descriptions-item label="业务名称" :span="4">
{{detailData.business}} {{ detailData.business }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="办事区县" :span="4"> <a-descriptions-item label="办事区县" :span="4">
{{detailData.region}} {{ detailData.region }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="单位名称" :span="4"> <a-descriptions-item label="单位名称" :span="4">
{{detailData.dept_name}} {{ detailData.dept_name }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="真实姓名"> <a-descriptions-item label="真实姓名">
{{detailData.name}} {{ detailData.name }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="联系电话"> <a-descriptions-item label="联系电话">
{{detailData.phone}} {{ detailData.phone }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="身份证号"> <a-descriptions-item label="身份证号">
{{detailData.idcard}} {{ detailData.idcard }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="电子邮箱"> <a-descriptions-item label="电子邮箱">
{{detailData.email}} {{ detailData.email }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="联系地址" :span="4"> <a-descriptions-item label="联系地址" :span="4">
{{detailData.address}} {{ detailData.address }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="提交时间" :span="4"> <a-descriptions-item label="提交时间" :span="4">
{{detailData.create_time}} {{ detailData.create_time }}
</a-descriptions-item> </a-descriptions-item>
</a-descriptions> </a-descriptions>
</div> </div>
...@@ -98,22 +101,22 @@ ...@@ -98,22 +101,22 @@
<div style="margin-bottom: 10px;">建议答复</div> <div style="margin-bottom: 10px;">建议答复</div>
<a-descriptions layout="vertical" :column="1"> <a-descriptions layout="vertical" :column="1">
<a-descriptions-item label="所属部门"> <a-descriptions-item label="所属部门">
{{detailData.reply_dept}} {{ detailData.reply_dept }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="回复内容"> <a-descriptions-item label="回复内容">
{{detailData.reply_content}} {{ detailData.reply_content }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="附件"> <a-descriptions-item label="附件">
<div class="img-dv" v-if="detailData.reply_url && detailData.reply_url.length > 0"> <div class="img-dv" v-if="detailData.reply_url && detailData.reply_url.length > 0">
<thumbImage :src="item.url" :index="idx" @click="idx = index" fileType="img" <thumbImage :src="item.url" :index="idx" @click="idx = index" fileType="img"
v-for="item,index in detailData.reply_url" :key="index" /> v-for="item, index in detailData.reply_url" :key="index" />
</div> </div>
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="回复人"> <a-descriptions-item label="回复人">
{{detailData.reply_people}} {{ detailData.reply_people }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="回复时间"> <a-descriptions-item label="回复时间">
{{detailData.update_time}} {{ detailData.update_time }}
</a-descriptions-item> </a-descriptions-item>
</a-descriptions> </a-descriptions>
</div> </div>
...@@ -127,298 +130,299 @@ ...@@ -127,298 +130,299 @@
</div> </div>
</template> </template>
<script> <script>
import { import {
getImpossible, getImpossible,
getImpossibleInfo, getImpossibleInfo,
getCountImpossible getCountImpossible
} from '@/api/dataAdmin.js' } from '@/api/dataAdmin.js'
import image from '@/components/image/thumbImage' import image from '@/components/image/thumbImage'
import { import {
export2Excel export2Excel
} from "@/utils/js/exportExcel"; } from "@/utils/js/exportExcel";
import moment from 'moment' import moment from 'moment'
export default { export default {
data() { data() {
return { return {
idx: 0, idx: 0,
queryform: { queryform: {
page: 1, page: 1,
size: 10, size: 10,
source: '', source: '',
keyword: null, keyword: null,
time: [moment().format('yyyy-MM-DD'),moment().format('yyyy-MM-DD')], time: [moment().format('yyyy-MM-DD'), moment().format('yyyy-MM-DD')],
reply:'' reply: ''
}, },
deviceList: [{ deviceList: [{
label: '微官网', label: '微官网',
value: 1 value: 1
}, { }, {
label: '自助服务系统', label: '自助服务系统',
value: 2 value: 2
}], }],
btnLoading: false, btnLoading: false,
tableSelectedKeys: [], tableSelectedKeys: [],
tableSelectedRows: [], tableSelectedRows: [],
defaultFileList: [], defaultFileList: [],
visible: false, visible: false,
tablename: "treaty", //接口地址 名称 tablename: "treaty", //接口地址 名称
tablecolumns: [{ tablecolumns: [{
title: "序号", title: "序号",
width: "70px", width: "70px",
align: 'center', align: 'center',
customRender: (text, record, index) => customRender: (text, record, index) =>
(this.queryform.page - 1) * this.queryform.size + (this.queryform.page - 1) * this.queryform.size +
index + index +
1, 1,
}, },
{ {
title: "问题主题", title: "问题主题",
dataIndex: "title", dataIndex: "title",
align: 'center', align: 'center',
scopedSlots: { scopedSlots: {
customRender: (text, record, index) => `${record.title || '--'}` customRender: (text, record, index) => `${record.title || '--'}`
}, },
}, },
{ {
title: "业务名称", title: "业务名称",
dataIndex: "business", dataIndex: "business",
align: 'center', align: 'center',
scopedSlots: { scopedSlots: {
customRender: (text, record, index) => `${record.business || '--'}` customRender: (text, record, index) => `${record.business || '--'}`
}, },
}, },
{ {
title: "真实姓名", title: "真实姓名",
dataIndex: "name", dataIndex: "name",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.name || '--'}` customRender: (text, record, index) => `${record.name || '--'}`
}, },
{ {
title: "联系电话", title: "联系电话",
dataIndex: "phone", dataIndex: "phone",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.phone || '--'}` customRender: (text, record, index) => `${record.phone || '--'}`
}, },
{ {
title: "提交日期", title: "提交日期",
dataIndex: "create_time", dataIndex: "create_time",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.create_time || '--'}` customRender: (text, record, index) => `${record.create_time || '--'}`
}, },
{ {
title: "是否回复", title: "是否回复",
dataIndex: "status", dataIndex: "status",
align: 'center', align: 'center',
scopedSlots: { scopedSlots: {
customRender: "status", customRender: "status",
}, },
}, },
{ {
title: "回复人", title: "回复人",
dataIndex: "reply_people", dataIndex: "reply_people",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.reply_people || '--'}` customRender: (text, record, index) => `${record.reply_people || '--'}`
}, },
{ {
title: "回复时间", title: "回复时间",
dataIndex: "update_time", dataIndex: "update_time",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.update_time || '--'}` customRender: (text, record, index) => `${record.update_time || '--'}`
}, },
{ {
title: "所属部门", title: "所属部门",
dataIndex: "reply_dept", dataIndex: "reply_dept",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.reply_dept || '--'}` customRender: (text, record, index) => `${record.reply_dept || '--'}`
}, },
{ {
title: "操作", title: "操作",
scopedSlots: { scopedSlots: {
customRender: "操作", customRender: "操作",
},
},
], //表头数据
pagination: {
total: 0,
pageSize: 10, //每页中显示10条数据
showSizeChanger: true,
pageSizeOptions: ["10", "20", "50", "100"], //每页中显示的数据
showTotal: total => `共有 ${total} 条数据`, //分页中显示总的数据
}, },
tabledataSource: [], //表格数据 },
columnsSearch: [ ], //表头数据
pagination: {
total: 0,
pageSize: 10, //每页中显示10条数据
showSizeChanger: true,
pageSizeOptions: ["10", "20", "50", "100"], //每页中显示的数据
showTotal: total => `共有 ${total} 条数据`, //分页中显示总的数据
},
tabledataSource: [], //表格数据
columnsSearch: [
], //表格查询条件 ], //表格查询条件
detailData: null, detailData: null,
deplist: [], deplist: [],
numObj: null numObj: null
} }
},
async created() {
this.getlist()
},
methods: {
async getlist() {
getImpossible(this.queryform).then(res => {
this.tabledataSource = res.data.data
this.pagination.total = res.data.total
})
// 统计接口
let {data} = await getCountImpossible(this.queryform)
this.numObj = data || {}
}, },
async created() { changeTablePage(e) {
this.queryform.page = e.current
this.queryform.size = e.pageSize
this.getlist() this.getlist()
let {
data
} = await getCountImpossible()
this.numObj = data
}, },
methods: { onChange(e) {
getlist() { this.queryform.reply = e.target.checked ? 0 : ''
getImpossible(this.queryform).then(res => { },
this.tabledataSource = res.data.data detail(row) {
this.pagination.total = res.data.total getImpossibleInfo({
}) id: row.id
}, }).then(res => {
changeTablePage(e) { this.detailData = res.data
this.queryform.page = e.current this.visible = true
this.queryform.size = e.pageSize })
this.getlist() },
}, // 选中
onChange(e) { onSelectChange(keys, rows) {
this.queryform.reply = e.target.checked ? 0 : '' this.tableSelectedKeys = keys;
}, const res = new Map();
detail(row) { this.tableSelectedRows = [...this.tableSelectedRows, ...rows]
getImpossibleInfo({ .filter((v) => {
id: row.id return !res.has(v.id) && res.set(v.id, 1);
}).then(res => {
this.detailData = res.data
this.visible = true
}) })
}, .filter((v) => {
// 选中 return this.tableSelectedKeys.some((val) => v.id == val);
onSelectChange(keys, rows) { });
this.tableSelectedKeys = keys; },
const res = new Map(); // 导出
this.tableSelectedRows = [...this.tableSelectedRows, ...rows] async handleExportTable() {
.filter((v) => { this.btnLoading = true;
return !res.has(v.id) && res.set(v.id, 1); let obj = {
}) 1: "本地打印",
.filter((v) => { 2: "在线提交",
return this.tableSelectedKeys.some((val) => v.id == val); };
let data = [];
if (this.tableSelectedKeys.length && this.tableSelectedRows.length) {
// 深度克隆避免影响页面表格展示
data = this.$_.cloneDeep(this.tableSelectedRows);
data.forEach((item) => {
Object.keys(obj).forEach((keys) => {
if (item.type == keys) {
item.type = obj[keys];
}
}); });
}, item.status == 1 ? item.status = '' : item.status = ''
// 导出 });
async handleExportTable() { } else {
this.btnLoading = true; let datas = this.$_.cloneDeep(
let obj = { await getImpossible({
1: "本地打印", ...this.queryform,
2: "在线提交", page: 1,
}; size: -1
let data = []; })
if (this.tableSelectedKeys.length && this.tableSelectedRows.length) { );
// 深度克隆避免影响页面表格展示 this.btnLoading = false
data = this.$_.cloneDeep(this.tableSelectedRows); data = datas.data.data
data.forEach((item) => { if (!data.length) return;
Object.keys(obj).forEach((keys) => { for (let item of data) {
if (item.type == keys) { Object.keys(obj).forEach((key) => {
item.type = obj[keys]; if (item.type == key) {
} item.type = obj[key];
}); }
item.status == 1?item.status= '':item.status= ''
}); });
} else { item.status == 1 ? item.status = '' : item.status = ''
let datas = this.$_.cloneDeep(
await getImpossible({
...this.queryform,
page: 1,
size: -1
})
);
this.btnLoading = false
data = datas.data.data
if (!data.length) return;
for (let item of data) {
Object.keys(obj).forEach((key) => {
if (item.type == key) {
item.type = obj[key];
}
});
item.status == 1?item.status= '':item.status= ''
}
} }
}
const tHeader = []
const filterVal = [] const tHeader = []
this.tablecolumns.forEach(v=>{ const filterVal = []
if(v.dataIndex){ this.tablecolumns.forEach(v => {
tHeader.push(v.title) if (v.dataIndex) {
filterVal.push(v.dataIndex) tHeader.push(v.title)
} filterVal.push(v.dataIndex)
}) }
export2Excel( })
tHeader, export2Excel(
filterVal, tHeader,
data, filterVal,
"办不成事报表" + this.$moment().format("YYYYMMDDHHmmss") data,
); "办不成事报表" + this.$moment().format("YYYYMMDDHHmmss")
this.btnLoading = false; );
}, this.btnLoading = false;
} },
} }
}
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.form-box { .form-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 10px; margin-bottom: 10px;
.num-dv{
display: flex;
align-items: center;
.ml20{
margin-left: 20px;
}
}
}
.img-dv { .num-dv {
display: flex; display: flex;
flex-wrap: wrap; align-items: center;
img { .ml20 {
width: 40px; margin-left: 20px;
height: 40px;
margin-right: 10px;
margin-bottom: 10px;
} }
} }
}
/deep/.ant-spin-container{
display: block !important;
}
/deep/.ant-drawer-body {
background: #f7f7f7;
padding: 15px;
box-sizing: border-box;
min-height: calc(100vh - 55px);
}
/deep/td {
text-align: left;
}
/deep/.ant-descriptions-item-label{
color: #1890ff;
}
.btn-dv { .img-dv {
background-color: #fff; display: flex;
padding: 15px; flex-wrap: wrap;
margin-top: 20px;
display: flex;
justify-content: flex-end;
}
.content-box { img {
display: flex; width: 40px;
justify-content: space-between; height: 40px;
width: 100%; margin-right: 10px;
margin-bottom: 10px;
} }
}
.content-dv { /deep/.ant-spin-container {
width: calc(50% - 10px); display: block !important;
background: #fff; }
border-radius: 10px;
padding: 10px; /deep/.ant-drawer-body {
} background: #f7f7f7;
</style> padding: 15px;
\ No newline at end of file box-sizing: border-box;
min-height: calc(100vh - 55px);
}
/deep/td {
text-align: left;
}
/deep/.ant-descriptions-item-label {
color: #1890ff;
}
.btn-dv {
background-color: #fff;
padding: 15px;
margin-top: 20px;
display: flex;
justify-content: flex-end;
}
.content-box {
display: flex;
justify-content: space-between;
width: 100%;
}
.content-dv {
width: calc(50% - 10px);
background: #fff;
border-radius: 10px;
padding: 10px;
}</style>
\ No newline at end of file
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
}, },
}, },
{ {
title: "业务名称", title: "业务/事项名称",
align: "center", align: "center",
dataIndex: "business_name", dataIndex: "business_name",
}, },
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
}} }}
</p> </p>
<p> <p>
<span>预约方式:</span>{{ orderInfo.up_type=='phone'?'微官网':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }} <span>预约方式:</span>{{ orderInfo.up_type=='phone'?'小程序':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }}
</p> </p>
<p> <p>
<span>预约事项:</span>-- <span>预约事项:</span>--
...@@ -62,17 +62,13 @@ ...@@ -62,17 +62,13 @@
<div class="box2"> <div class="box2">
<h1>办理地点</h1> <h1>办理地点</h1>
<h2> <h2>
<span <span style="width: 33.3%;display: block;"
>办理地点:{{ >办理地点:{{
orderInfo.siteinfo && orderInfo.siteinfo.siteName orderInfo.siteinfo && orderInfo.siteinfo.siteName
}}</span }}</span
> >
<span <span style="display: block;width: 33.3%;word-wrap: break-word;">办理窗口: {{(orderInfo.window && orderInfo.window.join(",")) || "--"}}</span>
>办理窗口:{{ <span style="width: 33.3%;display: block;"
(orderInfo.window && orderInfo.window.join(",")) || "--"
}}</span
>
<span
>服务热线:{{ >服务热线:{{
orderInfo.siteinfo && orderInfo.siteinfo.siteTel orderInfo.siteinfo && orderInfo.siteinfo.siteTel
}}</span }}</span
...@@ -80,14 +76,25 @@ ...@@ -80,14 +76,25 @@
</h2> </h2>
<h2> <h2>
<span <span
>办理时间:{{ >办理时间:{{
orderInfo.siteinfo && orderInfo.siteinfo &&
Number(orderInfo.siteinfo.amWorkStartTime) | times Number(orderInfo.siteinfo.amWorkStartTime*1000) | times
}}
~
{{
orderInfo.siteinfo &&
Number(orderInfo.siteinfo.amWorkEndTime*1000) | times
}}
<span style="position: relative;top:-2px">--</span>
{{
orderInfo.siteinfo &&
Number(orderInfo.siteinfo.pmWorkStartTime*1000) | times
}} }}
~ ~
{{ {{
orderInfo.siteinfo && orderInfo.siteinfo &&
Number(orderInfo.siteinfo.pmWorkEndTime) | times Number(orderInfo.siteinfo.pmWorkEndTime*1000) | times
}}</span }}</span
> >
<span <span
...@@ -116,7 +123,7 @@ ...@@ -116,7 +123,7 @@
<h1>操作信息</h1> <h1>操作信息</h1>
<h2> <h2>
<span>操作时间:{{ orderInfo.create_time }}</span> <span>操作时间:{{ orderInfo.create_time }}</span>
<span>预约方式:{{ orderInfo.up_type=='phone'?'微官网':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }} </span> <span>预约方式:{{ orderInfo.up_type=='phone'?'小程序':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }} </span>
<span>操作站点:{{orderInfo.siteinfo?orderInfo.siteinfo.siteName:'--'}} </span> <span>操作站点:{{orderInfo.siteinfo?orderInfo.siteinfo.siteName:'--'}} </span>
</h2> </h2>
</div> </div>
......
...@@ -144,6 +144,11 @@ export default { ...@@ -144,6 +144,11 @@ export default {
return text.type == 1 ? "取件码取件" : "身份证取件"; return text.type == 1 ? "取件码取件" : "身份证取件";
}, },
}, },
{
title: "取件柜名称",
align: "center",
customRender: (text, record, index) => text.qjg_name || "--",
},
{ {
title: "取件柜编号", title: "取件柜编号",
align: "center", align: "center",
......
...@@ -3,13 +3,7 @@ ...@@ -3,13 +3,7 @@
<div class="content"> <div class="content">
<div class="top"> <div class="top">
<h1 class="title_text">{{ detailsForm.interfaceName }}</h1> <h1 class="title_text">{{ detailsForm.interfaceName }}</h1>
<a-button <a-button type="primary" class="addclass" @click="$router.go(-1)" style="margin-bottom: 1rem">返回上一级</a-button>
type="primary"
class="addclass"
@click="$router.go(-1)"
style="margin-bottom: 1rem"
>返回上一级</a-button
>
</div> </div>
<a-card title="接口信息" :bordered="false" class="card_box"> <a-card title="接口信息" :bordered="false" class="card_box">
<a-descriptions> <a-descriptions>
...@@ -28,21 +22,12 @@ ...@@ -28,21 +22,12 @@
<a-descriptions-item label="content-type">{{ <a-descriptions-item label="content-type">{{
detailsForm.contentType detailsForm.contentType
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="超时时长" <a-descriptions-item label="超时时长">{{ detailsForm.timeoutValue }}</a-descriptions-item>
>{{ detailsForm.timeoutValue }}</a-descriptions-item
>
<a-descriptions-item label="限流策略">{{ <a-descriptions-item label="限流策略">{{
detailsForm.limitStrategy == 1 ? "分钟" : "小时" detailsForm.limitStrategy == 1 ? "分钟" : "小时"
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item <a-descriptions-item label="访问网络" v-if="detailsForm && detailsForm.network">
label="访问网络" <span v-for="(item, idx) of dict.network" v-show="detailsForm.network.indexOf(idx) != -1" :key="idx">
v-if="detailsForm && detailsForm.network"
>
<span
v-for="(item, idx) of dict.network"
v-show="detailsForm.network.indexOf(idx) != -1"
:key="idx"
>
{{ item }} {{ item }}
</span> </span>
</a-descriptions-item> </a-descriptions-item>
...@@ -55,7 +40,8 @@ ...@@ -55,7 +40,8 @@
<a-descriptions-item label="请求路径">{{ <a-descriptions-item label="请求路径">{{
detailsForm.requestUrl detailsForm.requestUrl
}}</a-descriptions-item> }}</a-descriptions-item>
<br /> <a-descriptions-item label="流控信息">--</a-descriptions-item>
<a-descriptions-item label="授权信息">--</a-descriptions-item>
<a-descriptions-item label="描述" span="{3}">{{ <a-descriptions-item label="描述" span="{3}">{{
detailsForm.description detailsForm.description
}}</a-descriptions-item> }}</a-descriptions-item>
...@@ -63,11 +49,7 @@ ...@@ -63,11 +49,7 @@
</a-card> </a-card>
<a-card title="请求参数" :bordered="false" class="card_box"> <a-card title="请求参数" :bordered="false" class="card_box">
<div class="flex aic jcb mb10"> <div class="flex aic jcb mb10">
<a-radio-group <a-radio-group v-model="requestPam.type" button-style="solid" disabled>
v-model="requestPam.type"
button-style="solid"
disabled
>
<a-radio-button value="path"> 路径参数 </a-radio-button> <a-radio-button value="path"> 路径参数 </a-radio-button>
<a-radio-button value="headers"> headers </a-radio-button> <a-radio-button value="headers"> headers </a-radio-button>
<a-radio-button value="query"> query </a-radio-button> <a-radio-button value="query"> query </a-radio-button>
...@@ -78,15 +60,8 @@ ...@@ -78,15 +60,8 @@
<div>{{ detailsForm.inEncrypt == 1 ? "加密" : "不加密" }}</div> <div>{{ detailsForm.inEncrypt == 1 ? "加密" : "不加密" }}</div>
</div> </div>
</div> </div>
<a-table <a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }" :pagination="false"
size="middle" :columns="table_columns" :dataSource="requestPam.table">
bordered
:row-key="(record) => record.id"
:locale="{ emptyText: '无' }"
:pagination="false"
:columns="table_columns"
:dataSource="requestPam.table"
>
</a-table> </a-table>
</a-card> </a-card>
...@@ -97,15 +72,8 @@ ...@@ -97,15 +72,8 @@
<div>{{ detailsForm.outEncrypt == 1 ? "加密" : "不加密" }}</div> <div>{{ detailsForm.outEncrypt == 1 ? "加密" : "不加密" }}</div>
</div> </div>
</div> </div>
<a-table <a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }" :pagination="false"
size="middle" :columns="table_columns" :dataSource="responsePam.table">
bordered
:row-key="(record) => record.id"
:locale="{ emptyText: '无' }"
:pagination="false"
:columns="table_columns"
:dataSource="responsePam.table"
>
</a-table> </a-table>
</a-card> </a-card>
...@@ -123,6 +91,11 @@ ...@@ -123,6 +91,11 @@
</pre> </pre>
</div> </div>
</a-card> </a-card>
<a-card title="变更记录" :bordered="false" class="card_box">
<a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }" :pagination="false"
:columns="table_columns_gb" :dataSource="[]">
</a-table>
</a-card>
</div> </div>
</div> </div>
</template> </template>
...@@ -175,6 +148,23 @@ export default { ...@@ -175,6 +148,23 @@ export default {
width: 200, width: 200,
}, },
], ],
table_columns_gb: [
{
title: "版本号",
align: "center",
dataIndex: "name",
},
{
title: "变更说明",
align: "center",
dataIndex: "name",
},
{
title: "变更时间",
align: "center",
dataIndex: "name",
},
],
allResData: null, allResData: null,
errJson: { msg: "请选择待查看产品接口信息", code: -1 }, errJson: { msg: "请选择待查看产品接口信息", code: -1 },
}; };
...@@ -286,7 +276,7 @@ export default { ...@@ -286,7 +276,7 @@ export default {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
& + .card_box { &+.card_box {
margin-top: 1rem; margin-top: 1rem;
} }
} }
...@@ -298,21 +288,15 @@ export default { ...@@ -298,21 +288,15 @@ export default {
width: 100%; width: 100%;
height: @headerH; height: @headerH;
background: rgb(59, 135, 255); background: rgb(59, 135, 255);
background: -moz-linear-gradient( background: -moz-linear-gradient(174deg,
174deg, rgba(59, 135, 255, 1) 24%,
rgba(59, 135, 255, 1) 24%, rgba(108, 53, 247, 1) 85%);
rgba(108, 53, 247, 1) 85% background: -webkit-linear-gradient(174deg,
); rgba(59, 135, 255, 1) 24%,
background: -webkit-linear-gradient( rgba(108, 53, 247, 1) 85%);
174deg, background: linear-gradient(174deg,
rgba(59, 135, 255, 1) 24%, rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85% rgba(108, 53, 247, 1) 85%);
);
background: linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment