台账自定义修改接口,日志记录去掉 字段/字段名

szh_zidingyibiaoti
lilu 2 years ago
parent d1198eb00d
commit 80701fe3dd

@ -42,6 +42,7 @@
"node-sass": "^4.12.0",
"nprogress": "^0.2.0",
"print-js": "^1.0.63",
"qs": "^6.11.1",
"raphael": "^2.3.0",
"sass-loader": "^7.1.0",
"screenfull": "^5.1.0",

@ -738,3 +738,11 @@ export function GetServiceItemList(parameter) {
params: parameter
})
}
// 获取多个自定义消息
export function DjyUserConfigMulti(parameter) {
return axios({
url: '/DjyUserConfig/multi?' + parameter,
method: 'get'
})
}

@ -29,6 +29,7 @@ import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import 'vue-easytable/libs/theme-default/index.css'
import VueEasytable from 'vue-easytable'
import qs from 'qs';
Vue.use(VXETable)
Vue.use(VueContextMenu)
@ -43,6 +44,7 @@ Vue.prototype.hasPerm = hasBtnPermission
Vue.prototype.applocation = sysApplication
Vue.prototype.$bus = new Vue()
Vue.config.productionTip = false
Vue.prototype.$qs = qs;
new Vue({
router,

@ -175,8 +175,8 @@
<div class="line">改为</div>
</template>
<div class="new">
<span class="o-title">{{ child.field || '字段' }}:</span
><span class="content">{{ child.newValue }}</span>
<span class="o-title" v-if="log.type != 'Trace'">{{ child.field || '' }}:</span>
<span class="content">{{ child.newValue }}</span>
</div>
</div>
</div>

@ -474,7 +474,8 @@ import {
Codeissuetypelist,
GetFrt,
GetService,
GetForwarderlist
GetForwarderlist,
DjyUserConfigMulti
} from '@/api/modular/main/BookingLedger'
import initData from './modules/initData'
@ -616,6 +617,7 @@ export default {
},
created() {
// this.createdInit()
// this.getConfigUser()
},
mounted() {
// this.onresize()
@ -748,6 +750,28 @@ export default {
}
this.getTableList()
},
//
getConfigUser() {
//
const query = {
typeArr: ['booking_list_cond', 'booking_list_column', 'booking_list_page']
}
DjyUserConfigMulti(this.$qs.stringify(query, { arrayFormat: 'repeat' })).then(res => {
console.log('批量获取自定义数据', res)
res.data.map((item, index) => {
switch (item.type) {
case 'booking_list_cond':
this.getFormData(res.data)
return
case 'booking_list_column':
this.getTableList(res.data)
return
case 'booking_list_page':
this.getPageSize(res.data)
}
})
})
},
// - start
getCarrier() {
const Rdata = data => {

@ -110,12 +110,7 @@ export default {
},
// LARA
laraPaperRegistFun() {
let query = ''
this.taskPKIds.map((item, index) => {
query += `PKIds=${item}&`
})
query = query.substring()
console.log(query)
const query = this.$qs.stringify({ PKIds: this.taskPKIds }, { arrayFormat: 'repeat' })
LaraPaperRegist(query)
.then((res) => {
if (res.success) {

@ -1002,12 +1002,7 @@ export default {
this.$message.error('请选择数据')
return false
}
let query = ''
pkIdArr.map((item, index) => {
query += `PKIds=${item}&`
})
query = query.substring(0, query.length - 1)
console.log(query)
const query = this.$qs.stringify({ PKIds: pkIdArr }, { arrayFormat: 'repeat' })
ManualReCompareBC(query).then(res => {
if (res.success) {
this.$message.success('重新比对完成')
@ -1072,12 +1067,7 @@ export default {
this.$message.error('请选择数据')
return false
}
let query = ''
pkIdArr.map((item, index) => {
query += `PKIds=${item}&`
})
query = query.substring(0, query.length - 1)
console.log(query)
const query = this.$qs.stringify({ PKIds: pkIdArr }, { arrayFormat: 'repeat' })
LaraPaperCalc(query)
.then(res => {
if (res.success) {

@ -8659,6 +8659,11 @@ object-inspect@^1.8.0:
resolved "https://registry.npm.taobao.org/object-inspect/download/object-inspect-1.9.0.tgz?cache=0&sync_timestamp=1606804226254&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.9.0.tgz"
integrity sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=
object-inspect@^1.9.0:
version "1.12.3"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9"
integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==
object-inspect@~1.7.0:
version "1.7.0"
resolved "https://registry.npm.taobao.org/object-inspect/download/object-inspect-1.7.0.tgz?cache=0&sync_timestamp=1606804226254&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.7.0.tgz"
@ -9794,6 +9799,13 @@ qs@6.7.0:
resolved "https://registry.npm.taobao.org/qs/download/qs-6.7.0.tgz?cache=0&sync_timestamp=1610598174727&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.7.0.tgz"
integrity sha1-QdwaAV49WB8WIXdr4xr7KHapsbw=
qs@^6.11.1:
version "6.11.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.1.tgz#6c29dff97f0c0060765911ba65cbc9764186109f"
integrity sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==
dependencies:
side-channel "^1.0.4"
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz?cache=0&sync_timestamp=1610598174727&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.5.2.tgz"
@ -10622,6 +10634,15 @@ shellwords@^0.1.1:
resolved "https://registry.npm.taobao.org/shellwords/download/shellwords-0.1.1.tgz"
integrity sha1-1rkYHBpI05cyTISHHvvPxz/AZUs=
side-channel@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==
dependencies:
call-bind "^1.0.0"
get-intrinsic "^1.0.2"
object-inspect "^1.9.0"
sigmund@^1.0.1:
version "1.0.1"
resolved "https://registry.npm.taobao.org/sigmund/download/sigmund-1.0.1.tgz"
@ -12110,6 +12131,11 @@ vuex@^3.1.1:
resolved "https://registry.npm.taobao.org/vuex/download/vuex-3.6.0.tgz?cache=0&sync_timestamp=1606318263999&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvuex%2Fdownload%2Fvuex-3.6.0.tgz"
integrity sha1-le+lalj3YHwTWwUzUIM6CeAaqBM=
vxe-table@^3.6.6:
version "3.6.11"
resolved "https://registry.yarnpkg.com/vxe-table/-/vxe-table-3.6.11.tgz#e95da0507b37082e6d4881d274e5fee2760ad7f0"
integrity sha512-0qkxmbV0RkciRn4YL7eQVQ1YODmw1RP2WUg2wfk6Y3XGdQGBBpKCuWrv/GfCFrTtfWoHKo9Hs6I2MZsZ5LkAUA==
w3c-hr-time@^1.0.1:
version "1.0.2"
resolved "https://registry.npm.taobao.org/w3c-hr-time/download/w3c-hr-time-1.0.2.tgz"
@ -12489,6 +12515,11 @@ ws@^7.0.0:
resolved "https://registry.npm.taobao.org/ws/download/ws-7.4.2.tgz?cache=0&sync_timestamp=1609271380166&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fws%2Fdownload%2Fws-7.4.2.tgz"
integrity sha1-eCEABI5U6zb+mEM2OrHGhnKyYd0=
xe-utils@^3.5.7:
version "3.5.7"
resolved "https://registry.yarnpkg.com/xe-utils/-/xe-utils-3.5.7.tgz#2c885852dfadd5c8beeffdc1f884f8ceb962c669"
integrity sha512-3H+fDBKBR2wLJgyA7k9C/w1Xljx6Maml5ukV0WDY06HjYyGs2FEz6XhcwRCLIDXX4pBP3Gu0nX9DbCeuuRA2Ew==
xml-name-validator@^3.0.0:
version "3.0.0"
resolved "https://registry.npm.taobao.org/xml-name-validator/download/xml-name-validator-3.0.0.tgz"

Loading…
Cancel
Save