日志完善

dev_2022-03-03
Jo 3 years ago
parent 90ec1ffc68
commit 422498ecd4
  1. BIN
      src/assets/img/bug.png
  2. BIN
      src/assets/img/func.png
  3. BIN
      src/assets/img/optimize.png
  4. 2
      src/views/serve/addModel.vue
  5. 25
      src/views/serve/backstage/modelType.vue
  6. 22
      src/views/system/manageLog.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

@ -15,7 +15,7 @@
</el-card>
<el-card shadow="hover">
<el-form ref="form" label-width="120px" :disabled="isDetail">
<el-form label-width="80px" :disabled="isDetail">
<el-form-item label="模型名称">
<el-input placeholder="请输入模型名称" v-model="form.modelName" maxlength="25" style="width: 400px"></el-input>
</el-form-item>

@ -109,17 +109,24 @@ export default {
getSingle() {
this.$emit('initData')
},
syncModel() {
this.$confirm('同步后当前的组织架构将会被删除,是否继续?', '提示', {
type: 'warning'
}).then(() => {
//
syncModelData() {
//
this.$post(`${this.api.delModelInfoBySystemId}?systemId=${this.systemId}`).then(res => {
this.$post(`${this.api.synchronizationMdel}?systemId=${this.systemId}`).then(res => {
this.getType()
})
this.$post(`${this.api.synchronizationMdel}?systemId=${this.systemId}`).then(res => {
this.getType()
})
}).catch(() => {})
}).catch(() => {})
},
syncModel() {
if (this.orgList.length) {
this.$confirm('同步后当前的组织架构将会被删除,是否继续?', '提示', {
type: 'warning'
}).then(() => {
this.syncModelData()
}).catch(() => {})
} else {
this.syncModelData()
}
},
//
syncModel1() {

@ -45,7 +45,7 @@
</div>
<ul class="detail">
<li v-for="(item, i) in item.logContents" :key="i">
<p class="name">{{ funcList.find(e => e.id === item.type).name }}</p>
<p class="name"><img :src="require('@/assets/img/' + funcList.find(e => e.id === item.type).icon + '.png')" alt=""> {{ funcList.find(e => e.id === item.type).name }}</p>
<div class="val">
<p class="" v-for="(item, i) in item.content" :key="i">{{ item }}</p>
</div>
@ -71,15 +71,18 @@ export default {
funcList: [
{
id: 0,
name: '新功能'
name: '新功能',
icon: 'func'
},
{
id: 1,
name: '修复'
name: '修复',
icon: 'bug'
},
{
id: 2,
name: '优化'
name: '优化',
icon: 'optimize'
}
]
};
@ -174,8 +177,11 @@ export default {
font-size: 18px;
}
}
.timeline {
/deep/.timeline {
margin-left: 20%;
.el-timeline-item__wrapper {
padding-left: 40px;
}
.sign {
margin: -11px 0 0 -16%;
font-size: 14px;
@ -212,9 +218,15 @@ export default {
margin-bottom: 20px;
}
.name {
display: flex;
align-items: center;
margin-bottom: 5px;
font-size: 14px;
color: #9984f1;
img {
margin-right: 5px;
margin-left: -25px;
}
}
.val {
font-size: 15px;

Loading…
Cancel
Save