Commit 0b4dc80f authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 000e65b3 f720fd84
...@@ -44,6 +44,16 @@ ...@@ -44,6 +44,16 @@
(current - 1) * size + index + 1 (current - 1) * size + index + 1
}}</span> }}</span>
<!-- 主题封面 -->
<template slot="cover" slot-scope="text">
<img
class="cover"
v-if="text.cover"
:src="api2 + text.cover"
@click="handlePreview(api2 + text.cover)"
/>
<span v-else>--</span>
</template>
<!-- 创建时间 --> <!-- 创建时间 -->
<template slot="createTime" slot-scope="text"> <template slot="createTime" slot-scope="text">
{{ text.createTime | dateFormat }} {{ text.createTime | dateFormat }}
...@@ -65,6 +75,11 @@ ...@@ -65,6 +75,11 @@
:addVisile.sync="addVisile" :addVisile.sync="addVisile"
@addSuccess="getCategoryList" @addSuccess="getCategoryList"
></AddTheme> ></AddTheme>
<!-- 预览 -->
<PrevieModal
:previewData="previewData"
:previewVisible.sync="previewVisible"
></PrevieModal>
</div> </div>
</template> </template>
...@@ -73,6 +88,7 @@ import { getCategoryList, deleteCategory } from "@/services/market"; ...@@ -73,6 +88,7 @@ import { getCategoryList, deleteCategory } from "@/services/market";
import AddTheme from "../modal/AddTheme"; import AddTheme from "../modal/AddTheme";
import local from "@/utils/local"; import local from "@/utils/local";
import { pageSizeOptions } from "@/config/pageConfig.js"; import { pageSizeOptions } from "@/config/pageConfig.js";
import PrevieModal from "@/components/PrevieModal.vue";
const columns = [ const columns = [
{ {
title: "序号", title: "序号",
...@@ -94,6 +110,12 @@ const columns = [ ...@@ -94,6 +110,12 @@ const columns = [
title: "主题编码", title: "主题编码",
dataIndex: "categoryCode", dataIndex: "categoryCode",
}, },
{
title: "主题封面",
scopedSlots: {
customRender: "cover",
},
},
{ {
title: "排序", title: "排序",
dataIndex: "sort", dataIndex: "sort",
...@@ -113,12 +135,15 @@ const columns = [ ...@@ -113,12 +135,15 @@ const columns = [
export default { export default {
components: { components: {
AddTheme, AddTheme,
PrevieModal,
}, },
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL + "/", api: process.env.VUE_APP_API_BASE_URL + "/",
api2: process.env.VUE_APP_API_IMG_URL, api2: process.env.VUE_APP_API_IMG_URL,
columns, columns,
previewData: {}, // 预览
previewVisible: false,
siteId: local.getLocal("siteId"), siteId: local.getLocal("siteId"),
tableData: [], // 表格数据 tableData: [], // 表格数据
loading: false, loading: false,
...@@ -227,8 +252,21 @@ export default { ...@@ -227,8 +252,21 @@ export default {
}, },
}); });
}, },
// 预览封面
handlePreview(url) {
this.previewData = {
type: "img",
url: url,
};
this.previewVisible = true;
},
}, },
}; };
</script> </script>
<style lang="less" scoped></style> <style lang="less" scoped>
.cover {
width: 50px;
cursor: pointer;
}
</style>
...@@ -48,26 +48,6 @@ ...@@ -48,26 +48,6 @@
<div class="ant-upload-text">选择图标</div> <div class="ant-upload-text">选择图标</div>
</div> </div>
</a-upload> </a-upload>
<!-- <a-upload
name="file"
list-type="picture-card"
class="avatar-uploader"
:show-upload-list="false"
:action="api + 'base/file/commonupload'"
:before-upload="iconBeforeUpload"
@change="handleChangeIcon"
>
<img
class="icon"
v-if="form.appIconPath"
:src="api2 + form.appIconPath"
/>
<div v-else>
<a-icon :type="loading ? 'loading' : 'plus'" />
<div class="ant-upload-text">选择图标</div>
</div>
</a-upload> -->
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="应用简介" prop="summary"> <a-form-model-item label="应用简介" prop="summary">
<a-textarea <a-textarea
...@@ -102,6 +82,7 @@ ...@@ -102,6 +82,7 @@
<a-radio :value="1"> 应用程序 </a-radio> <a-radio :value="1"> 应用程序 </a-radio>
<a-radio :value="2"> URL </a-radio> <a-radio :value="2"> URL </a-radio>
<a-radio :value="3" v-if="form.type != 1"> 微信小程序 </a-radio> <a-radio :value="3" v-if="form.type != 1"> 微信小程序 </a-radio>
<a-radio :value="4" v-if="form.type != 2"> 天府通办 </a-radio>
</a-radio-group> </a-radio-group>
</a-form-model-item> </a-form-model-item>
<a-form-model-item <a-form-model-item
......
...@@ -25,10 +25,32 @@ ...@@ -25,10 +25,32 @@
<a-form-model-item label="主题编码" prop="categoryCode"> <a-form-model-item label="主题编码" prop="categoryCode">
<a-input v-model="form.categoryCode" placeholder="请输入主题编码" /> <a-input v-model="form.categoryCode" placeholder="请输入主题编码" />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="主题封面" prop="cover">
<a-upload
name="file"
list-type="picture-card"
:action="api + 'base/file/commonupload'"
:file-list="fileList"
@change="handleChangeCover"
:accept="accept"
:before-upload="beforeUpload"
@preview="handlePreview"
>
<div v-if="fileList.length < 1">
<a-icon type="plus" />
<div class="ant-upload-text">选择封面</div>
</div>
</a-upload>
</a-form-model-item>
<a-form-model-item label="排序" prop="sort"> <a-form-model-item label="排序" prop="sort">
<a-input-number v-model="form.sort" :min="1" /> <a-input-number v-model="form.sort" :min="1" />
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
<!-- 预览 -->
<PrevieModal
:previewData="previewData"
:previewVisible.sync="previewVisible"
></PrevieModal>
</a-modal> </a-modal>
</div> </div>
</template> </template>
...@@ -36,6 +58,7 @@ ...@@ -36,6 +58,7 @@
<script> <script>
import { saveCategory } from "@/services/market"; import { saveCategory } from "@/services/market";
import local from "@/utils/local"; import local from "@/utils/local";
import PrevieModal from "@/components/PrevieModal.vue";
export default { export default {
props: { props: {
addVisile: { addVisile: {
...@@ -48,15 +71,25 @@ export default { ...@@ -48,15 +71,25 @@ export default {
default: "新增分类", default: "新增分类",
}, },
}, },
components: {}, components: {
PrevieModal,
},
data() { data() {
return { return {
accept: "image/jpeg,image/png",
api: process.env.VUE_APP_API_BASE_URL + "/",
api2: process.env.VUE_APP_API_IMG_URL,
fileList: [],
previewData: {}, // 预览
previewVisible: false,
form: { form: {
siteId: local.getLocal("siteId"), // 站点id siteId: local.getLocal("siteId"), // 站点id
siteName: local.getLocal("siteName"), // 站点名称 siteName: local.getLocal("siteName"), // 站点名称
categoryName: "", // 分类名称 categoryName: "", // 分类名称
categoryCode: "", // 分类编码 categoryCode: "", // 分类编码
sort: 99, // 排序 sort: 99, // 排序
cover: "", // 封面
remark: "", // 备注
}, },
rules: { rules: {
categoryName: [ categoryName: [
...@@ -88,9 +121,21 @@ export default { ...@@ -88,9 +121,21 @@ export default {
// 编辑 // 编辑
onEdit(data) { onEdit(data) {
this.form = { ...data }; this.form = { ...data };
if (this.form.cover) {
this.fileList = [
{
uid: "-2",
name: this.form.cover,
status: "done",
url: this.api2 + this.form.cover,
url2: this.form.cover,
},
];
}
}, },
// 关闭弹窗 // 关闭弹窗
handleClose() { handleClose() {
this.fileList = [];
this.$refs.form.resetFields(); this.$refs.form.resetFields();
this.Visible = false; this.Visible = false;
}, },
...@@ -108,6 +153,43 @@ export default { ...@@ -108,6 +153,43 @@ export default {
} }
}); });
}, },
// 上传之前
beforeUpload(file) {
const isJpgOrPng =
file.type === "image/jpeg" || file.type === "image/png";
if (!isJpgOrPng) {
this.$message.error("请上传jpeg、png格式图片!");
}
const isLt10M = file.size / 1024 / 1024 < 10;
if (!isLt10M) {
this.$message.error("图片大小不能超过 10MB!");
}
return isJpgOrPng && isLt10M;
},
// 上传封面
handleChangeCover({ fileList }) {
this.fileList = [...fileList].slice(-1);
this.fileList = this.fileList.map((v) => {
if (v.response) {
v.url2 = v.response.url;
v.url = this.api2 + v.response.url;
}
return v;
});
if (this.fileList[0]) {
this.form.cover = this.fileList[0].url2;
} else {
this.form.cover = "";
}
},
// 预览
handlePreview(info) {
this.previewData = {
type: "img",
url: info.url,
};
this.previewVisible = true;
},
// 重置 // 重置
handleReset() { handleReset() {
this.$refs.form.resetFields(); this.$refs.form.resetFields();
......
...@@ -671,6 +671,7 @@ export default { ...@@ -671,6 +671,7 @@ export default {
// 业务下拉 // 业务下拉
handleChange(val, node) { handleChange(val, node) {
this.$refs.formData.validateField("siteBusinessId");
if (node) { if (node) {
let { text } = node.componentOptions.children[0]; let { text } = node.componentOptions.children[0];
this.siteBusiness.siteBusinessName = text; this.siteBusiness.siteBusinessName = text;
......
...@@ -98,6 +98,7 @@ const tHeader = [ ...@@ -98,6 +98,7 @@ const tHeader = [
"发生时间", "发生时间",
"时长", "时长",
"是否准确", "是否准确",
"是否处理"
]; ];
const filterVal = [ const filterVal = [
"index", "index",
......
...@@ -5,9 +5,12 @@ ...@@ -5,9 +5,12 @@
<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>
...@@ -38,16 +41,16 @@ ...@@ -38,16 +41,16 @@
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,17 +130,17 @@ ...@@ -127,17 +130,17 @@
</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,
...@@ -146,8 +149,8 @@ ...@@ -146,8 +149,8 @@
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: '微官网',
...@@ -216,9 +219,9 @@ ...@@ -216,9 +219,9 @@
}, },
{ {
title: "回复人", title: "回复人",
dataIndex: "reply_name", dataIndex: "reply_people",
align: 'center', align: 'center',
customRender: (text, record, index) => `${record.reply_name || '--'}` customRender: (text, record, index) => `${record.reply_people || '--'}`
}, },
{ {
title: "回复时间", title: "回复时间",
...@@ -257,17 +260,17 @@ ...@@ -257,17 +260,17 @@
}, },
async created() { async created() {
this.getlist() this.getlist()
let {
data
} = await getCountImpossible()
this.numObj = data
}, },
methods: { methods: {
getlist() { async getlist() {
getImpossible(this.queryform).then(res => { getImpossible(this.queryform).then(res => {
this.tabledataSource = res.data.data this.tabledataSource = res.data.data
this.pagination.total = res.data.total this.pagination.total = res.data.total
}) })
// 统计接口
let {data} = await getCountImpossible(this.queryform)
this.numObj = data || {}
}, },
changeTablePage(e) { changeTablePage(e) {
this.queryform.page = e.current this.queryform.page = e.current
...@@ -314,7 +317,7 @@ ...@@ -314,7 +317,7 @@
item.type = obj[keys]; item.type = obj[keys];
} }
}); });
item.status == 1?item.status= '':item.status= '' item.status == 1 ? item.status = '' : item.status = ''
}); });
} else { } else {
let datas = this.$_.cloneDeep( let datas = this.$_.cloneDeep(
...@@ -333,14 +336,14 @@ ...@@ -333,14 +336,14 @@
item.type = obj[key]; item.type = obj[key];
} }
}); });
item.status == 1?item.status= '':item.status= '' item.status == 1 ? item.status = '' : item.status = ''
} }
} }
const tHeader = [] const tHeader = []
const filterVal = [] const filterVal = []
this.tablecolumns.forEach(v=>{ this.tablecolumns.forEach(v => {
if(v.dataIndex){ if (v.dataIndex) {
tHeader.push(v.title) tHeader.push(v.title)
filterVal.push(v.dataIndex) filterVal.push(v.dataIndex)
} }
...@@ -354,23 +357,25 @@ ...@@ -354,23 +357,25 @@
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{
.num-dv {
display: flex; display: flex;
align-items: center; align-items: center;
.ml20{
.ml20 {
margin-left: 20px; margin-left: 20px;
} }
} }
} }
.img-dv { .img-dv {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -380,45 +385,44 @@ ...@@ -380,45 +385,44 @@
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
/deep/.ant-spin-container{ /deep/.ant-spin-container {
display: block !important; display: block !important;
} }
/deep/.ant-drawer-body { /deep/.ant-drawer-body {
background: #f7f7f7; background: #f7f7f7;
padding: 15px; padding: 15px;
box-sizing: border-box; box-sizing: border-box;
min-height: calc(100vh - 55px); min-height: calc(100vh - 55px);
} }
/deep/td { /deep/td {
text-align: left; text-align: left;
} }
/deep/.ant-descriptions-item-label{ /deep/.ant-descriptions-item-label {
color: #1890ff; color: #1890ff;
} }
.btn-dv { .btn-dv {
background-color: #fff; background-color: #fff;
padding: 15px; padding: 15px;
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
} }
.content-box { .content-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
} }
.content-dv { .content-dv {
width: calc(50% - 10px); width: calc(50% - 10px);
background: #fff; background: #fff;
border-radius: 10px; border-radius: 10px;
padding: 10px; padding: 10px;
} }</style>
</style> \ No newline at end of file
\ No newline at end of file
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
slot="description" slot="description"
> >
<div class="details"> <div class="details">
<span><i class="lable">申报人:</i>{{queEvaData.people_name?queEvaData.people_name:'--'}}</span> <span><i class="lable">评价人:</i>{{queEvaData.people_name?queEvaData.people_name:'--'}}</span>
<span><i class="lable">取号时间:</i>{{queEvaData.taketime?queEvaData.taketime:'--'}}</span> <span><i class="lable">取号时间:</i>{{queEvaData.taketime?queEvaData.taketime:'--'}}</span>
<span><i class="lable">排队编码:</i>{{queEvaData.flownum?queEvaData.flownum:'--'}}</span> <span><i class="lable">排队编码:</i>{{queEvaData.flownum?queEvaData.flownum:'--'}}</span>
<span><i class="lable">取号方式:</i>{{queEvaData.wy_signin>0?'在线取号':'现场取号'}}</span> <span><i class="lable">取号方式:</i>{{queEvaData.wy_signin>0?'在线取号':'现场取号'}}</span>
<span><i class="lable">注册方式:</i>--</span> <span><i class="lable">注册方式:</i>{{queEvaData.register_type?queEvaData.register_type=="Applets"?'小程序':queEvaData.register_type=="wechat"?'公众号':queEvaData.register_type=="app"?'自助终端':'现场注册':'现场注册'}}</span>
<span><i class="lable">取号设备:</i>{{queEvaData.take_name?queEvaData.take_name:'--'}}</span> <span><i class="lable">取号设备:</i>{{queEvaData.take_name?queEvaData.take_name:'--'}}</span>
</div> </div>
</div> </div>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<!-- <span v-if="queEvaData.content.length==0">--</span> --> <!-- <span v-if="queEvaData.content.length==0">--</span> -->
</span> </span>
<span><i class="lable">评价来源:</i>{{queEvaData.source?queEvaData.source:'--'}}</span> <span><i class="lable">评价来源:</i>{{queEvaData.source?queEvaData.source:'--'}}</span>
<span><i class="lable">评价设备:</i>--</span> <span><i class="lable">评价设备:</i>{{queEvaData.devicenum?queEvaData.devicenum:'--'}}</span>
<span><i class="lable">评价状态:</i>{{!queEvaData.evaluatestatus?'--':queEvaData.evaluatestatus==1?'等待评价':queEvaData.evaluatestatus==2?'完成':queEvaData.evaluatestatus==3?'截图有误':queEvaData.evaluatestatus==4?'用户截图签名超时':queEvaData.evaluatestatus==5?'用户评价超时':'收到图片等待签名'}}</span> <span><i class="lable">评价状态:</i>{{!queEvaData.evaluatestatus?'--':queEvaData.evaluatestatus==1?'等待评价':queEvaData.evaluatestatus==2?'完成':queEvaData.evaluatestatus==3?'截图有误':queEvaData.evaluatestatus==4?'用户截图签名超时':queEvaData.evaluatestatus==5?'用户评价超时':'收到图片等待签名'}}</span>
<span> <span>
<i class="lable">评价人照片:</i> <i class="lable">评价人照片:</i>
......
...@@ -336,7 +336,7 @@ export default { ...@@ -336,7 +336,7 @@ export default {
option_id, option_id,
pjxt, pjxt,
time: this.BegindAndEndTime, time: this.BegindAndEndTime,
info: this.searchName, info: "%"+this.searchName+"%",
hallid:this.hallid, hallid:this.hallid,
sectionid:this.sectionid, sectionid:this.sectionid,
...search, ...search,
......
...@@ -338,7 +338,7 @@ export default { ...@@ -338,7 +338,7 @@ export default {
option_id, option_id,
pjxt, pjxt,
time: this.BegindAndEndTime, time: this.BegindAndEndTime,
info: this.searchName, info: "%"+this.searchName+"%",
hallid:this.hallid, hallid:this.hallid,
sectionid:this.sectionid, sectionid:this.sectionid,
...search, ...search,
......
...@@ -342,7 +342,7 @@ export default { ...@@ -342,7 +342,7 @@ export default {
option_id, option_id,
pjxt, pjxt,
time: this.BegindAndEndTime, time: this.BegindAndEndTime,
info: this.searchName, info: "%"+this.searchName+"%",
hallid: this.hallid, hallid: this.hallid,
sectionid: this.sectionid, sectionid: this.sectionid,
...search, ...search,
......
...@@ -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>预约方式:-- </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>
......
...@@ -8,11 +8,13 @@ ...@@ -8,11 +8,13 @@
> >
<div class="drawerMain"> <div class="drawerMain">
<div class="drawerMain-top"> <div class="drawerMain-top">
<a-avatar :size="64" icon="user" /> <!-- <a-avatar :size="64" icon="user" /> -->
<a-avatar v-if="!userInfo.icon" :size="64" icon="user" />
<img v-else :src="imgBase+userInfo.icon" style="width: 60px;height: 60px;">
<div class="drawer-user"> <div class="drawer-user">
<span>{{ userInfo.nickname || "--" }}</span> <span>{{ userInfo.nickname || "--" }}</span>
<span class="userTips">实名认证</span> <span class="userTips">实名认证</span>
<div class="userInfo">{{ userInfo.idcard_Sex }},四川,成都</div> <div class="userInfo">{{ userInfo.idcard_Sex?userInfo.idcard_Sex:'--' }}{{ userInfo.province?userInfo.province:'--'}}{{userInfo.city?userInfo.city:'--'}}</div>
</div> </div>
<div class="someUserInfo"> <div class="someUserInfo">
<div class="infoBox"> <div class="infoBox">
...@@ -45,14 +47,14 @@ ...@@ -45,14 +47,14 @@
<div class="infoBox"> <div class="infoBox">
<span class="infoTitle imgBox">身份证人像面:</span> <span class="infoTitle imgBox">身份证人像面:</span>
<span class="infoContent"> <span class="infoContent">
<thumbImage v-if="userInfo.z_img" :src="imgBase+'/'+userInfo.z_img" fileType="img" /> <thumbImage v-if="userInfo.z_img" :src="userInfo.z_img" fileType="img" />
<span v-else>--</span> <span v-else>--</span>
</span> </span>
</div> </div>
<div class="infoBox"> <div class="infoBox">
<span class="infoTitle imgBox">身份证国徽面:</span> <span class="infoTitle imgBox">身份证国徽面:</span>
<span class="infoContent"> <span class="infoContent">
<thumbImage v-if="userInfo.b_img" :src="imgBase+'/'+userInfo.b_img" fileType="img" /> <thumbImage v-if="userInfo.b_img" :src="userInfo.b_img" fileType="img" />
<span v-else>--</span> <span v-else>--</span>
</span> </span>
</div> </div>
......
...@@ -31,9 +31,23 @@ import {getSys12345} from "@/api/dataAdmin" ...@@ -31,9 +31,23 @@ import {getSys12345} from "@/api/dataAdmin"
import { import {
export2Excel export2Excel
} from "@/utils/js/exportExcel"; } from "@/utils/js/exportExcel";
const tHeader=[
"序号",
"微信号",
"电话号码",
"拨打位置",
"拨打时间"
];
const filterVal=[
"index",
"nickname",
"phone",
"address",
"create_time"
];
export default { export default {
mixins: [table], mixins: [table],
name: "callRecordForm", name:"callRecordForm",
data() { data() {
return { return {
tableHeaders: [ tableHeaders: [
...@@ -76,7 +90,8 @@ export default { ...@@ -76,7 +90,8 @@ export default {
BegindAndEndTime: [], BegindAndEndTime: [],
searchName: undefined, searchName: undefined,
visible: false, visible: false,
total:0 total:0,
}; };
}, },
components: { components: {
...@@ -155,8 +170,8 @@ export default { ...@@ -155,8 +170,8 @@ export default {
} }
} }
export2Excel( export2Excel(
this.tHeader, tHeader,
this.filterVal, filterVal,
data, data,
"12345拨打记录报表" + this.$moment().format("YYYYMMDDHHmmss") "12345拨打记录报表" + this.$moment().format("YYYYMMDDHHmmss")
); );
......
...@@ -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,
background: -webkit-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,
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%);
);
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