Commit 16eb0ca6 authored by 黄奎's avatar 黄奎

页面修改

parent b67ce554
......@@ -58,23 +58,23 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="IsOpen" label="开放状态" sortable>
<el-table-column prop="IsOpen" label="开放状态" header-align="center" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.IsOpen" :active-value="1" :inactive-value="0" active-color="#13ce66"
inactive-color="#dcdfe6" @change="UpdateAdIsOpen(scope.row)"></el-switch>
</template>
</el-table-column>
<el-table-column prop="AdName" label="广告名称" sortable>
<el-table-column prop="AdName" label="广告名称" header-align="center" align="center">
</el-table-column>
<el-table-column prop="CreateByName" label="新增人员" sortable>
<el-table-column prop="CreateByName" label="新增人员" header-align="center" align="center">
</el-table-column>
<el-table-column prop="AdStartTimeStr" label="活动开始时间" sortable>
<el-table-column prop="AdStartTimeStr" label="活动开始时间" header-align="center" align="center">
</el-table-column>
<el-table-column prop="AdEndTimeStr" label="活动结束时间" sortable>
<el-table-column prop="AdEndTimeStr" label="活动结束时间" header-align="center" align="center">
</el-table-column>
<el-table-column prop="UpdateTimeStr" label="最后更新时间" sortable>
<el-table-column prop="UpdateTimeStr" label="最后更新时间" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
......@@ -29,13 +29,13 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="Id" label="编号" sortable>
<el-table-column prop="Id" label="编号" header-align="center" align="center">
</el-table-column>
<el-table-column prop="AreaName" label="名称" sortable>
<el-table-column prop="AreaName" label="名称" header-align="center" align="center">
</el-table-column>
<el-table-column prop="ParentName" label="上级名称" sortable>
<el-table-column prop="ParentName" label="上级名称" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
......@@ -30,27 +30,27 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="CertificateName" label="证件名称" sortable>
<el-table-column prop="CertificateName" label="证件名称" header-align="center" align="center">
</el-table-column>
<el-table-column prop="CountryName" label="国家" sortable>
<el-table-column prop="CountryName" label="国家" header-align="center" align="center">
</el-table-column>
<el-table-column prop="Fee" label="办件费用" sortable>
<el-table-column prop="Fee" label="办件费用" header-align="center" align="center">
</el-table-column>
<el-table-column prop="B2CFee" label="直客费用" sortable>
<el-table-column prop="B2CFee" label="直客费用" header-align="center" align="center">
</el-table-column>
<el-table-column prop="Validity" label="证件效期" sortable>
<el-table-column prop="Validity" label="证件效期" header-align="center" align="center">
</el-table-column>
<el-table-column prop="StayDay" label="可停留天数" sortable>
<el-table-column prop="StayDay" label="可停留天数" header-align="center" align="center">
</el-table-column>
<el-table-column prop="WorkDay" label="工作天" sortable>
<el-table-column prop="WorkDay" label="工作天" header-align="center" align="center">
</el-table-column>
<el-table-column prop="IsShowBefore" label="前台显示">
<el-table-column prop="IsShowBefore" label="前台显示" header-align="center" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.IsShowBefore" :active-value="1" :inactive-value="0" active-color="#13ce66"
inactive-color="#dcdfe6" @change="UpdateIsShowBefore(scope.row)"></el-switch>
</template>
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
......@@ -27,24 +27,24 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="Name" label="档案名称" sortable>
<el-table-column prop="Name" label="档案名称" header-align="center" align="center">
</el-table-column>
<el-table-column label="查看">
<el-table-column label="查看" header-align="center" align="center">
<template slot-scope="scope">
<a v-if="scope.row.Url" :href="scope.row.Url" target="_blank" class="preview">预览</a>
</template>
</el-table-column>
<el-table-column prop="IsOpen" label="状态">
<el-table-column prop="IsOpen" label="状态" header-align="center" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.IsOpen" :active-value="1" :inactive-value="0" active-color="#13ce66"
inactive-color="#dcdfe6" @change="UpdateIsOpen(scope.row)"></el-switch>
</template>
</el-table-column>
<el-table-column prop="CreateByName" label="建立人" sortable>
<el-table-column prop="CreateByName" label="建立人" header-align="center" align="center">
</el-table-column>
<el-table-column prop="CreateTimeStr" label="建立时间" sortable>
<el-table-column prop="CreateTimeStr" label="建立时间" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
......@@ -7,10 +7,12 @@
color: #409eff;
text-decoration: underline
}
.webSitePageName{
.webSitePageName {
cursor: pointer;
color:#409eff;
color: #409eff;
}
</style>
<template>
<!--自定义页面-->
......@@ -32,18 +34,18 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="PageName" label="頁面名稱" sortable>
<el-table-column prop="PageName" label="頁面名稱" header-align="center" align="center">
<template slot-scope="scope">
<span class="webSitePageName" @click="GoCustom(scope.row.Id)">{{scope.row.PageName}}</span>
</template>
</el-table-column>
<el-table-column prop="CreateByName" label="新增人員" sortable>
<el-table-column prop="CreateByName" label="新增人員" header-align="center" align="center">
</el-table-column>
<el-table-column prop="UpdateTimeStr" label="最後更新時間" sortable>
<el-table-column prop="UpdateTimeStr" label="最後更新時間" header-align="center" align="center">
</el-table-column>
<el-table-column prop="CreateTimeStr" label="新增時間" sortable>
<el-table-column prop="CreateTimeStr" label="新增時間" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="goUrl('WebSiteUpdate',scope.row.Id)">
......@@ -152,7 +154,7 @@
},
//跳转预览
GoCustom(Id){
GoCustom(Id) {
var B2BDomain = this.CurrentUserInfo.B2BDomain;
this.$tripUtils.GotoB2CCustomer(B2BDomain, Id);
}
......
......@@ -50,31 +50,31 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="SalesManName" label="業務員">
<el-table-column prop="SalesManName" label="業務員" header-align="center" align="center">
</el-table-column>
<el-table-column prop="Id" label="需求單編號">
<el-table-column prop="Id" label="需求單編號" header-align="center" align="center">
</el-table-column>
<!-- <el-table-column prop="Id" label="旅行社" sortable>
</el-table-column> -->
<el-table-column prop="TripStartDate" label="出團日期">
<el-table-column prop="TripStartDate" label="出團日期" header-align="center" align="center">
</el-table-column>
<el-table-column prop="TripTitle" width="400" label="行程名稱">
<el-table-column prop="TripTitle" width="400" label="行程名稱" header-align="center" align="left">
</el-table-column>
<el-table-column prop="TCNUM" label="團位編號">
<el-table-column prop="TCNUM" label="團位編號" header-align="center" align="center">
</el-table-column>
<el-table-column prop="CreateByName" label="需求者">
<el-table-column prop="CreateByName" label="需求者" header-align="center" align="center">
</el-table-column>
<el-table-column prop="Mobile" label="手機號碼">
<el-table-column prop="Mobile" label="手機號碼" header-align="center" align="center">
</el-table-column>
<el-table-column prop="EMail" label="電子信箱">
<el-table-column prop="EMail" label="電子信箱" header-align="center" align="left">
</el-table-column>
<el-table-column prop="Remarks" label="備註">
<el-table-column prop="Remarks" label="備註" header-align="center" align="left">
</el-table-column>
<el-table-column prop="CreateDateStr2" label="提出時間">
<el-table-column prop="CreateDateStr2" label="提出時間" header-align="center" align="center">
</el-table-column>
<el-table-column prop="DemandStatusStr" label="状态">
<el-table-column prop="DemandStatusStr" label="状态" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
......@@ -30,13 +30,13 @@
<div>
<el-table :data="dataList" style="width: 100%" v-loading="loading"
:default-sort="{prop: 'date', order: 'descending'}">
<el-table-column prop="Id" label="编号" sortable>
<el-table-column prop="Id" label="编号" sortable header-align="center" align="center">
</el-table-column>
<el-table-column prop="TemplateKey" label="模板Key" sortable>
<el-table-column prop="TemplateKey" label="模板Key" header-align="center" align="center">
</el-table-column>
<el-table-column prop="TemplateName" label="模板名称" sortable>
<el-table-column prop="TemplateName" label="模板名称" header-align="center" align="center">
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" header-align="center" align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="outerVisible = true,updateData(scope.row)">
......
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