日志等bug修复

dev_2022-03-03
Jo 3 years ago
parent df328fca73
commit 2150f73da4
  1. 10
      src/assets/css/main.css
  2. BIN
      src/assets/img/bug.png
  3. BIN
      src/assets/img/func.png
  4. BIN
      src/assets/img/optimize.png
  5. 25
      src/views/data/Product.vue
  6. 38
      src/views/order/AddOrder.vue
  7. 2
      src/views/serve/backstage/index.vue
  8. 1
      src/views/serve/backstage/model.vue
  9. 1
      src/views/serve/backstage/sourceModel.vue
  10. 2
      src/views/system/log.vue
  11. 13
      src/views/system/manageLog.vue
  12. 2
      src/views/system/role.vue
  13. 12
      src/views/user/User.vue

@ -29,6 +29,16 @@ li {
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
width: 5px;
border-radius: 6px;
background: #d7d7d7;
}
.content-box {
-webkit-transition: left .3s ease-in-out;
transition: left .3s ease-in-out;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

After

Width:  |  Height:  |  Size: 9.2 KiB

@ -14,13 +14,12 @@
</el-select>
</li>
</ul>
<div>
<el-input placeholder="请输入产品名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
</div>
<div class="tool">
<div></div>
<div>
<el-input placeholder="请输入产品名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
<div>
<el-button type="primary" round @click="add" v-auth="'/data:产品管理:新增'">新增</el-button>
<el-button type="primary" round @click="delAllSelection" v-auth="'/data:产品管理:批量删除'">批量删除</el-button>
@ -52,7 +51,7 @@
<el-pagination background layout="total, prev, pager, next" @current-change="handleCurrentChange" :current-page="page" :total="totals"></el-pagination>
</div>
<el-dialog :title="isDetail ? '查看产品' : (id ? '编辑产品' : '新增产品')" :visible.sync="productVisible" width="30%" center @close="closeProduct" class="dialog" :close-on-click-modal="false">
<el-dialog :title="isDetail ? '查看产品' : (id ? '编辑产品' : '新增产品')" :visible.sync="productVisible" width="600px" center @close="closeProduct" class="dialog" :close-on-click-modal="false">
<el-form ref="form" label-width="98px" :disabled="isDetail">
<el-form-item label="数据产品名称">
<el-input v-model="productName" placeholder="请输入数据产品名称"></el-input>
@ -64,14 +63,15 @@
</el-form-item>
<el-form-item label="配置数据">
<el-button type="primary" @click="configData">配置数据权限</el-button>
<div class="type-wrap" ref="typeWrap" @scroll="loadType" v-show="checkedIds.length">
<el-tree ref="type" :data="typeList" show-checkbox accordion node-key="id" :default-expanded-keys="checkedIds" :default-checked-keys="checkedIds" :props="defaultProps" @node-expand="typeExpand">
<span class="custom-tree-node" slot-scope="{ node, data }">
<span :title="node.label">{{ node.label }}</span>
</span>
</el-tree>
</div>
</el-form-item>
<div class="type-wrap" ref="typeWrap" @scroll="loadType" v-show="checkedIds.length">
<el-tree ref="type" :data="typeList" show-checkbox accordion node-key="id" :default-expanded-keys="checkedIds" :default-checked-keys="checkedIds" :props="defaultProps" @node-expand="typeExpand">
<span class="custom-tree-node" slot-scope="{ node, data }">
<span :title="node.label">{{ node.label }}</span>
</span>
</el-tree>
</div>
</el-form>
<span slot="footer" class="dialog-footer" v-if="!isDetail">
<el-button @click="productVisible = false"> </el-button>
@ -628,6 +628,7 @@ export default {
}
.type-wrap{
height: 450px;
margin-left: 25px;
overflow:auto;
}
</style>

@ -1337,25 +1337,25 @@ export default {
// 使
deadLine(e,row,options, isDate) {
// +1
if (isDate) {
const date = row.startTime
const orderRepeat = this.orderRepeat
this.$post(this.api.getOrderOtherTime, {
customerId: this.form.customerId,
id: row.dataOrCourseId,
startTime: date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
}).then(res => {
if (res.endTime) {
orderRepeat.includes(row.id) && orderRepeat.splice(orderRepeat.findIndex(e => e === row.id), 1)
let time = new Date(res.endTime)
time = new Date(time.setDate(time.getDate() + 1))
row.startTime = `${time.getFullYear()}-${time.getMonth() + 1}-${time.getDate()}`
}
}).catch(res => {
this.repeatMsg = res.message
orderRepeat.includes(row.id) || orderRepeat.push(row.id)
})
}
// if (isDate) {
// const date = row.startTime
// const orderRepeat = this.orderRepeat
// this.$post(this.api.getOrderOtherTime, {
// customerId: this.form.customerId,
// id: row.dataOrCourseId,
// startTime: date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
// }).then(res => {
// if (res.endTime) {
// orderRepeat.includes(row.id) && orderRepeat.splice(orderRepeat.findIndex(e => e === row.id), 1)
// let time = new Date(res.endTime)
// time = new Date(time.setDate(time.getDate() + 1))
// row.startTime = `${time.getFullYear()}-${time.getMonth() + 1}-${time.getDate()}`
// }
// }).catch(res => {
// this.repeatMsg = res.message
// orderRepeat.includes(row.id) || orderRepeat.push(row.id)
// })
// }
let optionsData = ''
if(e > 0){
if (options == 1){

@ -55,6 +55,6 @@ export default {
<style lang="scss" scoped>
.page {
min-height: 100%;
min-height: calc(100vh - 250px);
}
</style>

@ -95,6 +95,7 @@ export default {
//
if (!curNode.level) {
this.$post(this.api.getAllModelList, {
modelName: this.keyword,
pageNum: this.page,
pageSize: this.pageSize,
systemId: this.systemId

@ -83,6 +83,7 @@ export default {
//
if (!curNode.level) {
this.$post(this.api.getAllModelListBySys, {
modelName: this.keyword,
pageNum: this.page,
pageSize: this.pageSize
}).then(res => {

@ -4,7 +4,7 @@
<div class="tool">
<ul class="filter">
<li>
<el-input placeholder="请输入日志名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
<el-input placeholder="请输入平台名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
</li>
</ul>
</div>

@ -35,7 +35,7 @@
<p class="sign" :id="'ver' + i">{{ item.draft ? '未发布' : item.updateTime }}</p>
<div class="ver">
<div>
{{ platformName + item.versionName + (item.draft ? '(草稿)' : '') }}
{{ item.versionName + (item.draft ? '(草稿)' : '') }}
<span class="action">
<i class="el-icon-edit-outline" @click="edit(item)" v-auth="'/system:日志更新:管理:编辑日志'"></i>
<i class="el-icon-delete" @click="del(item)" v-auth="'/system:日志更新:管理:删除日志'"></i>
@ -177,7 +177,7 @@ export default {
min-height: calc(100vh - 300px);
padding: 24px 0;
.inner {
width: 1100px;
width: 900px;
margin: 0 auto;
}
}
@ -199,7 +199,7 @@ export default {
padding-left: 40px;
}
.sign {
margin: -11px 0 0 -16%;
margin: -11px 0 0 -22%;
font-size: 14px;
color: #9076FF;
}
@ -240,8 +240,8 @@ export default {
font-size: 14px;
color: #9984f1;
img {
width: 30px;
margin-right: 5px;
margin-left: -25px;
}
}
.val {
@ -252,11 +252,10 @@ export default {
position: relative;
&:before {
content: '';
position: absolute;
top: 11px;
left: -10px;
display: inline-block;
width: 5px;
height: 5px;
margin: 0 10px 0 5px;
border-radius: 20px;
background-color: #c5b8ff;
}

@ -107,7 +107,7 @@ export default {
},
methods: {
getData() {
this.$get(`${this.api.roleList}?page=${this.page}&size=${this.pageSize}&name=${this.keyword}&platformId=1`).then(res => {
this.$get(`${this.api.roleList}?page=${this.page}&size=${this.pageSize}&name=${this.keyword}&platformId=${Setting.platformId}`).then(res => {
this.listData = res.rolePage.records;
this.total = res.rolePage.total;
}).catch(res => {});

@ -1,12 +1,12 @@
<template>
<div>
<div class="wrap">
<el-card shadow="hover" class="mgb20">
<div>
<div class="flex-center mgb20">
<p class="hr_tag"></p>
<span>筛选</span>
</div>
<div>
<div style="overflow: auto;">
<el-form label-width="80px">
<el-row>
<el-col :span="5">
@ -59,7 +59,7 @@
</el-col> -->
</el-row>
<el-row>
<el-col :span="8" style="width: 32.8%;margin-right: 0.5333%">
<el-col :span="8">
<el-form-item label="创建时间" class="userRadio">
<el-radio-group v-model="form.month">
<el-radio v-for="(item,index) in dateList" :key="index" :label="item.id" border>{{item.name}}</el-radio>
@ -78,7 +78,6 @@
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
clearable
style="width: 100%"
></el-date-picker>
</el-form-item>
</el-col>
@ -114,7 +113,7 @@
<el-table-column prop="schoolName" label="学校" align="center"></el-table-column>
<el-table-column prop="platformName" label="来源" align="center"></el-table-column>
<el-table-column prop="phone" label="手机号" align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" width="150" align="center"></el-table-column>
<el-table-column prop="logInNumber" label="登录次数" align="center"></el-table-column>
<el-table-column label="操作" width="300" align="center">
<template slot-scope="scope">
@ -401,6 +400,9 @@ export default {
</script>
<style lang="scss" scoped>
.el-form {
min-width: 1800px;
}
.card {
min-height: calc(100vh - 380px);
}

Loading…
Cancel
Save