小程序发布展示更多的信息和匹配更多的查询
This commit is contained in:
@@ -8,12 +8,20 @@
|
||||
<!-- <el-button type="primary" icon="iconfont iconAdd" @click="dialog=true">增加</el-button>-->
|
||||
<!-- </template>-->
|
||||
<template #right>
|
||||
<el-input size="small" placeholder="搜索项目/系统" v-model="search.name" clearable
|
||||
<el-input size="small" placeholder="搜索项目/系统/appId/上传版本" v-model="search.name" clearable
|
||||
@change="page.current=1,getTableData()"/>
|
||||
</template>
|
||||
</ai-search-bar>
|
||||
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
|
||||
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
|
||||
<el-table-column type="expand" slot="expand">
|
||||
<template slot-scope="{row}">
|
||||
<ai-wrapper>
|
||||
<ai-info-item labelWidth="200px" v-for="op in desConfigs" :key="op.prop" :value="row[op.prop]"
|
||||
v-bind="op"/>
|
||||
</ai-wrapper>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column slot="process" label="打包进度">
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.count==0" v-text="getProcessMsg(row)"/>
|
||||
@@ -62,7 +70,24 @@ export default {
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
desConfigs() {
|
||||
let isLine = true
|
||||
return [
|
||||
{prop: "corp_address_book_secret", label: "企业微信通讯录SECRET", width: 200},
|
||||
{prop: "corp_agent_id", label: "企业微信AGENTID", width: 150},
|
||||
{prop: "corp_secret", label: "企业微信SECRET", isLine},
|
||||
{prop: "corp_token", label: "企业微信TOKEN", width: 150},
|
||||
{prop: "corp_aeskey", label: "企业微信AESKEY", width: 150},
|
||||
{prop: "miniapp_secret", label: "小程序SECRET", width: 150},
|
||||
{prop: "area_id", label: "地区编码", width: 150, isLine},
|
||||
{prop: "lat", label: "纬度", width: 100},
|
||||
{prop: "lng", label: "经度", width: 100},
|
||||
{prop: "address", label: "中心点", width: 100, isLine},
|
||||
{prop: "web_url", label: "管理端地址", width: 100},
|
||||
{prop: "dvcp_url", label: "企微端地址", width: 100},
|
||||
]
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -70,6 +95,7 @@ export default {
|
||||
page: {current: 1, size: 10, total: 0},
|
||||
tableData: [],
|
||||
colConfigs: [
|
||||
{slot: "expand"},
|
||||
{label: "项目/系统名称", prop: "name", width: 300},
|
||||
{label: "管理后台", prop: "web_url"},
|
||||
{label: "appId", prop: "miniapp_appid", width: 180},
|
||||
|
||||
Reference in New Issue
Block a user