Commit 73c50248 by crushh

update: dist

parent 83bc0e66
...@@ -71,3 +71,6 @@ export const businessType = params => getRequest('/haoban-manage3-web/log-record ...@@ -71,3 +71,6 @@ export const businessType = params => getRequest('/haoban-manage3-web/log-record
// 获取 操作类型 // 获取 操作类型
export const optTypes = params => getRequest('/haoban-manage3-web/log-record/opt-types', params); export const optTypes = params => getRequest('/haoban-manage3-web/log-record/opt-types', params);
// 获取 操作人姓名/手机号
export const listUserBySearchName = params => getRequest('/haoban-manage3-web/list-user-by-search-name', params);
...@@ -50,6 +50,11 @@ const attractFlowLinkRouter = [ ...@@ -50,6 +50,11 @@ const attractFlowLinkRouter = [
type: 'edit' type: 'edit'
}, },
component: _import('salesleads/actCodeManage/attractFlowLink/landingPage', 'detail') component: _import('salesleads/actCodeManage/attractFlowLink/landingPage', 'detail')
},
{
path: '/operationLog',
name: '操作日志',
component: _import('salesleads/actCodeManage', 'operateLog')
} }
]; ];
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<el-form-item label="链接标签" required prop="memberLabelId"> <el-form-item label="链接标签" required prop="memberLabelId">
<el-button plain v-if="!form.memberLabelId" @click="tagsDialogVisible = true"><i class="iconfont-components3 icon-cp-PlusOutlined addPic"></i>添加标签</el-button> <el-button plain v-if="!form.memberLabelId" @click="tagsDialogVisible = true"><i class="iconfont-components3 icon-cp-PlusOutlined addPic"></i>添加标签</el-button>
<el-tag v-else closable @close="handleTagCloseTag">{{ form.memberLabelName }}</el-tag> <el-tag v-else closable @close="handleTagCloseTag">{{ form.memberLabelName }}</el-tag>
<dm-memberTag-group :visiable.sync="tagsDialogVisible" isHb projectName="haobao-3" @save="saveTagPop"></dm-memberTag-group> <dm-memberTag-group :visiable.sync="tagsDialogVisible" projectName="haobao-3" @save="saveTagPop"></dm-memberTag-group>
</el-form-item> </el-form-item>
</div> </div>
<dm-sub-title type="line">分配规则</dm-sub-title> <dm-sub-title type="line">分配规则</dm-sub-title>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-input placeholder="操作内容" v-model="search.search" style="width: 260px;margin-left: 10px" clearable prefix-icon="el-icon-search" @change="onSearch"></el-input> <el-input placeholder="操作内容" v-model="search.search" style="width: 260px;margin-left: 10px" clearable prefix-icon="el-icon-search" @change="onSearch"></el-input>
<el-date-picker v-model="search.dateRange" @change="onSearch" :picker-options="pickerOptions" clearable style="width: 256px;margin-left: 10px" type="daterange" value-format="yyyy-MM-dd" range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker> <el-date-picker v-model="search.dateRange" @change="onSearch" :picker-options="pickerOptions" clearable style="width: 256px;margin-left: 10px" type="daterange" value-format="yyyy-MM-dd" range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</div> </div>
<el-table :data="tableData" style="margin: 20px 0" v-loading="loading"> <el-table :data="tableData" style="margin: 20px 0">
<el-table-column label="业务模块" prop="businessTypeName" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="业务模块" prop="businessTypeName" :formatter="(row, col, val) => val || '--'"></el-table-column>
<el-table-column label="操作事项" prop="optTypeName" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="操作事项" prop="optTypeName" :formatter="(row, col, val) => val || '--'"></el-table-column>
<el-table-column label="操作页面" prop="optPage" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="操作页面" prop="optPage" :formatter="(row, col, val) => val || '--'"></el-table-column>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</template> </template>
<script> <script>
import { logList, businessType, optTypes } from '@/api/actCode'; import { logList, businessType, optTypes, listUserBySearchName } from '@/api/actCode';
export default { export default {
name: 'operateLog', name: 'operateLog',
data() { data() {
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
const { pageNum, pageSize, searchName } = this.clerkListPager; const { pageNum, pageSize, searchName } = this.clerkListPager;
const params = { searchName, pageNum, pageSize }; const params = { searchName, pageNum, pageSize };
params.requestProject = this.requestProject; params.requestProject = this.requestProject;
this.axios.get('/api-admin/list-user-by-search-name', { params }).then(res => { listUserBySearchName(params).then(res => {
const { errorCode, result } = res.data || {}; const { errorCode, result } = res.data || {};
if (pageNum == 1) { if (pageNum == 1) {
this.userList = []; this.userList = [];
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
<style scoped lang="less"> <style scoped lang="less">
.right-wrap { .right-wrap {
height: auto; padding: 20px;
} }
.text-overflow { .text-overflow {
width: 100%; width: 100%;
......
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