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

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'> @change='handleTableChange'>
<template slot="file" slot-scope="text, record"> <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> </template>
</a-table> </a-table>
<div class="page" style='display: flex;justify-content: flex-end;'> <div class="page" style='display: flex;justify-content: flex-end;'>
@@ -698,7 +698,7 @@
this.dataSourcehistory = res.result.records this.dataSourcehistory = res.result.records
if(this.dataSourcehistory && this.dataSourcehistory.length > 0){ if(this.dataSourcehistory && this.dataSourcehistory.length > 0){
this.dataSourcehistory.forEach(val=>{ 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 this.total = res.result.total
@@ -1036,6 +1036,9 @@
.table .ant-table-column-title { .table .ant-table-column-title {
font-weight: bold; font-weight: bold;
} }
.textData{
font-family:cursive;
}
</style> </style>
<style scoped lang="less"> <style scoped lang="less">
.box { .box {
@@ -1043,7 +1046,6 @@
height: calc(100% - 100px); height: calc(100% - 100px);
overflow: auto; overflow: auto;
} }
.text { .text {
margin-right: 10px; margin-right: 10px;
} }
@@ -56,6 +56,12 @@
<a-menu-item key="3" @click="orgDelete" v-if="deleteNode" <a-menu-item key="3" @click="orgDelete" v-if="deleteNode"
v-has="'split:sarFileSplitMenu:delete'">{{ $t('deleteNode') }} v-has="'split:sarFileSplitMenu:delete'">{{ $t('deleteNode') }}
</a-menu-item> </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> </a-menu>
</template> </template>
</a-dropdown> </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) { onContextMenuClick(treeKey, menuKey) {
// console.log(`treeKey: ${treeKey}, menuKey: ${menuKey}`); // console.log(`treeKey: ${treeKey}, menuKey: ${menuKey}`);
}, },
@@ -231,7 +231,7 @@
:title="$t('brand')">{{$t('brand')}}</span> :title="$t('brand')">{{$t('brand')}}</span>
</div> </div>
<a-form-model-item class="itemModel" :prop="'brand'"> <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')" :placeholder="$t('PleaseSelect')+$t('brand')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'brand'"/> :triggerChange="false" :dictCode="'brand'"/>
@@ -86,7 +86,7 @@
<!-- :placeholder="$t('PleaseSelect')+$t('brand')"--> <!-- :placeholder="$t('PleaseSelect')+$t('brand')"-->
<!-- :type="'select'"--> <!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'brand'"/>--> <!-- :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"> v-model="brands">
<a-select-option v-for="(item, key) in brandsList" :key="key" :value="item.value"> <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 "> <span style="display: inline-block;width: 100%" :title=" item.text || item.label ">