参数收集--历史记录中的引号不对称

This commit is contained in:
zyx.net
2022-12-30 10:52:07 +08:00
parent c9891afed0
commit 46a89d7b4a
5 changed files with 36 additions and 5 deletions
@@ -45,7 +45,7 @@
@change='handleTableChange'>
<template slot="file" slot-scope="text, record">
<a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>
<a class="action-edit" href="javascript:;" @click="dowloadfile(record)">{{record.exportFileName}}</a>
</template>
</a-table>
<div class="page" style='display: flex;justify-content: flex-end;'>
@@ -698,7 +698,7 @@
this.dataSourcehistory = res.result.records
if(this.dataSourcehistory && this.dataSourcehistory.length > 0){
this.dataSourcehistory.forEach(val=>{
val.logContent = val.logContent.replace(/\"/g,"")
val.logContent = val.logContent.replace(/\"/g,"<span class='textData'>\"</span>")
})
}
this.total = res.result.total
@@ -1036,6 +1036,9 @@
.table .ant-table-column-title {
font-weight: bold;
}
.textData{
font-family:cursive;
}
</style>
<style scoped lang="less">
.box {
@@ -1043,7 +1046,6 @@
height: calc(100% - 100px);
overflow: auto;
}
.text {
margin-right: 10px;
}
@@ -56,6 +56,12 @@
<a-menu-item key="3" @click="orgDelete" v-if="deleteNode"
v-has="'split:sarFileSplitMenu:delete'">{{ $t('deleteNode') }}
</a-menu-item>
<a-menu-item key="4" @click="orgMoveUp" v-if="deleteNode"
v-has="'split:sarFileSplitMenu:moveUp'">{{ $t('moveUp') }}
</a-menu-item>
<a-menu-item key="5" @click="orgmoveDown" v-if="deleteNode"
v-has="'split:sarFileSplitMenu:moveDown'">{{ $t('moveDown') }}
</a-menu-item>
</a-menu>
</template>
</a-dropdown>
@@ -584,6 +590,29 @@ export default {
}
})
},
// 树上移
orgMoveUp(){
console.log(this.nodeItem)
getAction(`split/sarFileSplitMenu/deleteMenu`, { id: this.nodeItem.id }).then(res => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.loadMenuData()
let queryParam = {
menu_id: this.menuId,
info_id: this.infoId
}
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
// eventBUs.$emit('searchReset')
} else {
this.$message.warning(this.$t('operationFailed'))
}
})
},// 树下移
orgmoveDown(){
console.log(this.nodeItem)
},
onContextMenuClick(treeKey, menuKey) {
// console.log(`treeKey: ${treeKey}, menuKey: ${menuKey}`);
},
@@ -231,7 +231,7 @@
:title="$t('brand')">{{$t('brand')}}</span>
</div>
<a-form-model-item class="itemModel" :prop="'brand'">
<j-multi-select-tag v-model="formInline.brand"
<j-dict-select-tag v-model="formInline.brand"
:placeholder="$t('PleaseSelect')+$t('brand')"
:type="'select'"
:triggerChange="false" :dictCode="'brand'"/>
@@ -86,7 +86,7 @@
<!-- :placeholder="$t('PleaseSelect')+$t('brand')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'brand'"/>-->
<a-select allowClear mode="multiple" :getPopupContainer="triggerNode => triggerNode.parentNode" :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
<a-select allowClear mode="multiple" :getPopupContainer="triggerNode => triggerNode.parentNode" :placeholder="$t('PleaseSelect')+$t('brand')"
v-model="brands">
<a-select-option v-for="(item, key) in brandsList" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.text || item.label ">