Browse Source

更新

xz
username 11 months ago
parent
commit
57e83c325b
22 changed files with 76 additions and 77 deletions
  1. 3
    3
      src/components/selectAnnex/index copy.vue
  2. 3
    3
      src/components/selectAnnex/index.vue
  3. 3
    3
      src/router/routerUtil.ts
  4. 1
    1
      src/utils/utils.ts
  5. 10
    10
      src/views/onlineBusinessHall/onlineOperation/appVersion/index.vue
  6. 13
    13
      src/views/onlineBusinessHall/onlineOperation/carouselManagement/index.vue
  7. 5
    6
      src/views/onlineBusinessHall/onlineOperation/channelWarningService/index.vue
  8. 2
    2
      src/views/onlineBusinessHall/onlineOperation/channelWarningService/selectUserId/index.vue
  9. 2
    2
      src/views/onlineBusinessHall/onlineOperation/functionSet/index.vue
  10. 4
    4
      src/views/onlineBusinessHall/onlineOperation/popoverSetting/components/examineApproveDialog.vue
  11. 2
    2
      src/views/onlineBusinessHall/onlineOperation/popoverSetting/components/infoDialog.vue
  12. 1
    1
      src/views/onlineBusinessHall/onlineOperation/popoverSetting/index copy.vue
  13. 1
    1
      src/views/onlineBusinessHall/onlineOperation/popoverSetting/index.vue
  14. 5
    5
      src/views/onlineBusinessHall/onlineOperation/preferentialPolicyReview/index.vue
  15. 7
    7
      src/views/onlineBusinessHall/onlineOperation/satisfactionEvaluation/index.vue
  16. 5
    5
      src/views/onlineBusinessHall/onlineOperation/systemDeploy/index.vue
  17. 2
    2
      src/views/settlement/businessManagement/settlementNotice/summaryExternalTransferLedger/index.vue
  18. 1
    1
      src/views/settlement/financeManagement/refundManagement/index.vue
  19. 1
    1
      src/views/settlement/reconciliationStatement/clearingGroupDailyFlow/index copy.vue
  20. 2
    2
      src/views/settlement/reportApproval/approvalManagement/components/examineApproveDialog.vue
  21. 1
    1
      src/views/settlement/reportManagement/clearingGroupDailyFlow/index copy.vue
  22. 2
    2
      src/views/system/dictionaries/index.vue

+ 3
- 3
src/components/selectAnnex/index copy.vue View File

@@ -132,10 +132,10 @@
currentPageselectData.value.push({ page, data: [] })
}
crudRef.value.tableLoding = true //表格loading效果
return BaseService.post('398fc7cab84449c3a6783efd9da5c18c', params)
return BaseService.post('/settlew/processweb/reportpage', params)
.then((res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent)
if (res && res.code === 0) {
let bizContent = res.data
console.log(bizContent)
let data = bizContent.data || []
tableData.value = data

+ 3
- 3
src/components/selectAnnex/index.vue View File

@@ -117,10 +117,10 @@
currentPageselectData.value.push({ page, data: [] })
}
crudRef.value.tableLoding = true //表格loading效果
return BaseService.post('398fc7cab84449c3a6783efd9da5c18c', params)
return BaseService.post('/settlew/processweb/reportpage', params)
.then((res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent)
if (res && res.code === 0) {
let bizContent = res.data
console.log(bizContent)
let data = bizContent.data || []
tableData.value = data

+ 3
- 3
src/router/routerUtil.ts View File

@@ -17,10 +17,10 @@ export function goPage(params: type, router) {
store.show = true;
store.progress = 30;
}, 0);
BaseService.post(routingPermission, { menuId: params.id }).then(
BaseService.post('/userw/rbac/permsbyopenidandmenuid', { menuId: params.id }).then(
(res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent);
if (res && res.code === 0) {
let bizContent = res.data
let data = bizContent.data || [];
router.push({
path: params.url ?? params.link,

+ 1
- 1
src/utils/utils.ts View File

@@ -461,7 +461,7 @@ export function encryptionN(subdata, type) {
{ isSessionStorage: false },
{}
)
// subdata['accessToken'] = getToken()
subdata['accessToken'] = getToken()
let openId = cacheAccessToken['openId']
subdata['openId'] = openId // 用户标识
subdata['opId'] = openId // 用户标识

+ 10
- 10
src/views/onlineBusinessHall/onlineOperation/appVersion/index.vue View File

@@ -71,8 +71,8 @@
// 删除按钮
function handleDelete(idx: any, row: any) {
const data = toRaw(row);
BaseService.post(appUpdateDel, data).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/appversion/delete', data).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
} else {
@@ -102,12 +102,12 @@
}
//编辑与添加提交
function submit(data: any) {
let api = appUpdateAdd
let api = '/managew/api/appversion/add'
if (typeOption.value === 'edit') {
api = appUpdateEdit
api = '/managew/api/appversion/update'
}
BaseService.post(api, data).then((res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
cancel();
@@ -130,10 +130,10 @@
params[key] = searchFormList[key]
}
}
BaseService.post(appUpdateList, params).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/appversion/query', params).then((res: any) => {
if (res && res.code === 0) {
//数据转换
let bizContent = JSON.parse(res.bizContent);
let bizContent = res.data
console.log(bizContent, 'bizContentbizContent')
let data = bizContent.data || [];
//数据渲染
@@ -150,8 +150,8 @@

//切换按钮
function handleBeforeChange(value, arg1) {
BaseService.post(appIsCurrentVersion, { version: arg1, status: value }).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/appversion/terminator', { version: arg1, status: value }).then((res: any) => {
if (res && res.code === 0) {
if (value) {
ElMessage.success("启用成功");
} else {

+ 13
- 13
src/views/onlineBusinessHall/onlineOperation/carouselManagement/index.vue View File

@@ -63,8 +63,8 @@ onMounted(() => {
})
//切换按钮 item: any
function handleBeforeChange(value, arg1) {
BaseService.post(carouselStart, { id: arg1, status: value == '启用' ? '1' : '2' }).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/swiper/start', { id: arg1, status: value == '启用' ? '1' : '2' }).then((res: any) => {
if (res && res.code === 0) {
if (value == '启用') {
ElMessage.success(value + "成功");
} else {
@@ -77,8 +77,8 @@ function handleBeforeChange(value, arg1) {
}
// 切换按钮是否轮播
function swiperIdHandleBeforeChange(row) {
BaseService.post('18524b59a68144769fc855e8298e4096', { id: row.id, swiperId: row.swiperId }).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/swiper/apply', { id: row.id, swiperId: row.swiperId }).then((res: any) => {
if (res && res.code === 0) {
if (row.swiperId == '轮播图') {
ElMessage.success("轮播开启成功");
} else {
@@ -197,9 +197,9 @@ function handleAdd() {
// 删除按钮
function handleDelete(idx: any, row: any) {
const data = toRaw(row);
BaseService.post(carouselDel, data).then((res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent);
BaseService.post('/managew/api/swiper/delete', data).then((res: any) => {
if (res && res.code === 0) {
let bizContent = res.data
ElMessage.success("操作成功");
getList();
cancel();
@@ -232,14 +232,14 @@ function refreshLeft() {
function submit(data: any) {
let api = carouselAdd
if (typeOption.value === 'edit') {
api = carouselEdit
api = '/managew/api/swiper/update'
} else {
api = carouselAdd
api = '/managew/api/swiper/add'
}
data.orderSource = 'WECHAT'
if (data) {
BaseService.post(api, data).then((res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
cancel();
@@ -264,10 +264,10 @@ function getList() {
params[key] = searchFormList[key]
}
}
BaseService.post(carouselList, params).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/swiper/query', params).then((res: any) => {
if (res && res.code === 0) {
//数据转换
let bizContent = JSON.parse(res.bizContent);
let bizContent = res.data
let data = bizContent.data || [];
data.imgUrl = import.meta.env.VITE_APP_UPLOAD_URL + data.imgUrl
//数据渲染

+ 5
- 6
src/views/onlineBusinessHall/onlineOperation/channelWarningService/index.vue View File

@@ -76,7 +76,7 @@
// 删除按钮
function handleDelete(idx: any, row: any) {
const data = toRaw(row);
BaseService.post(channelWarningServiceDel, { agencyId: data.agencyId }).then((res: any) => {
BaseService.post('/managew/api/agencyEarlyWarning/delete', { agencyId: data.agencyId }).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
@@ -113,9 +113,9 @@
}
//编辑与添加提交
function submit(data: any) {
let api = channelWarningServiceAdd
let api = '/managew/api/agencyEarlyWarning/add'
if (typeOption.value === 'edit') {
api = channelWarningServiceEdit
api = '/managew/api/agencyEarlyWarning/udpate'
}
if (+data.sunMaxNum < +data.sunMinNum) {
ElMessage.error('最大发行量不能小于最小发行量')
@@ -124,7 +124,6 @@
console.log(data, 'datadata')
BaseService.post(api, data).then((res: any) => {
if (res && res.code === 0) {
let bizContent = JSON.parse(res.bizContent);
ElMessage.success("操作成功");
getList();
cancel();
@@ -146,10 +145,10 @@
params[key] = searchFormList[key]
}
}
BaseService.post(channelWarningServiceList, params).then((res: any) => {
BaseService.post('/managew/api/agencyEarlyWarning/page', params).then((res: any) => {
if (res && res.code === 0) {
//数据转换
let bizContent = JSON.parse(res.bizContent);
let bizContent = res.data
let data = bizContent.data || [];
data.forEach(element => {
element.interfaceCallSuccessRate = element.interfaceCallSuccessRate / 100

+ 2
- 2
src/views/onlineBusinessHall/onlineOperation/channelWarningService/selectUserId/index.vue View File

@@ -191,10 +191,10 @@
currentPageselectData.value.push({ page, data: [] })
}

return BaseService.post('1040', params).then(
return BaseService.post('/userw/staff/page', params).then(
(res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent)
let bizContent = res.data
let data = bizContent.data || []
console.log(bizContent, 'bizContent')
tableData.value = data

+ 2
- 2
src/views/onlineBusinessHall/onlineOperation/functionSet/index.vue View File

@@ -104,7 +104,7 @@
//切换按钮 ENABLE 启用 DISABLE 停用
function handleBeforeChange(value, arg1) {
arg1.status == 'ENABLE' ? 'ENABLE' : 'DISABLE'
BaseService.post(functionSetRecommend, arg1).then((res: any) => {
BaseService.post('/userw/rbac/menurecommend', arg1).then((res: any) => {
if (res && res.code === 0) {
if (value == 'ENABLE') {
ElMessage.success('已设置推荐位')
@@ -119,7 +119,7 @@
//切换按钮 ENABLE 启用 DISABLE 停用
function handleStartChange(value, arg1) {

let api = arg1.status == 'ENABLE' ? functionSetStart : '/userw/rbac/menudisable'
let api = arg1.status == 'ENABLE' ? '/userw/rbac/menuenable' : '/userw/rbac/menudisable'
BaseService.post(api, { id: arg1.id }).then((res: any) => {
if (res && res.code === 0) {
if (value == 'ENABLE') {

+ 4
- 4
src/views/onlineBusinessHall/onlineOperation/popoverSetting/components/examineApproveDialog.vue View File

@@ -91,19 +91,19 @@
}
let fileCode = ''
if (!reject.value) {
fileCode = 'c9c20570744e481a8b272e2ba6af7f8c'
fileCode = '/managew/opinion/reject'
params.rejectRemarks = ruleForm.remarks
} else {
if (props.dataList.recordStatus === 'REGISTER') {
fileCode = '4acffdce268d43b6aecf82ae54c69e1c'
fileCode = '/managew/opinion/process'
params.processRemarks = ruleForm.remarks
} else if (props.dataList.recordStatus === 'PROCESS') {
fileCode = '828d472df41b4327b882ff068529d58c'
fileCode = '/managew/opinion/recheck'
params.recheckRemarks = ruleForm.remarks
}
}
BaseService.post(fileCode, params).then((res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success('审批成功')
// 关闭页面
ruleForm.remarks = ''

+ 2
- 2
src/views/onlineBusinessHall/onlineOperation/popoverSetting/components/infoDialog.vue View File

@@ -236,9 +236,9 @@
id: row.id,
publicOpinionRecordId: props.dataList.id,
}
BaseService.post('1931f16625b140448ba7a37c8aef39ff', params).then(
BaseService.post('/managew/opinion/attachmentdelete', params).then(
(res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success('删除成功')
// isShow.value = false
emit('handleExamine')

+ 1
- 1
src/views/onlineBusinessHall/onlineOperation/popoverSetting/index copy.vue View File

@@ -88,7 +88,7 @@ function refreshLeft() {
}
//编辑与添加提交
function submit(data: any) {
let api = petitionOpinionAdd
let api = '/managew/opinion/register'
if (typeOption.value === 'edit') {
api = petitionOpinionEdit
}

+ 1
- 1
src/views/onlineBusinessHall/onlineOperation/popoverSetting/index.vue View File

@@ -238,7 +238,7 @@
}
}
params.attachments = attachments.value
BaseService.post('12ff73d6b97146189c4f8cc590648763', params).then(
BaseService.post('/managew/opinion/register', params).then(
(res: any) => {
if (res && res.code === 0) {
ElMessage.success('新增成功')

+ 5
- 5
src/views/onlineBusinessHall/onlineOperation/preferentialPolicyReview/index.vue View File

@@ -453,10 +453,10 @@
crudRef.value.tableLoding = true
const params = handleParams()
console.log(params, 'paramsparams')
BaseService.post('56e81eb5280d43a2a0701d8233cbeabf', params).then(
BaseService.post('/managew/api/declaration/declarationquerypc', params).then(
(res: any) => {
if (res && res.statusCode === 0) {
const bizContent = JSON.parse(res.bizContent)
if (res && res.code === 0) {
const bizContent = res.data
const data = bizContent.data || []
// data.forEach(item => {
// item.archiveFiles = item.archiveFiles.split(';')
@@ -494,8 +494,8 @@
function checkForm(formEl) {
formEl.validate((valid: any) => {
if (valid) {
BaseService.post('45b858fcdb514181ba7a5be6caf2b2d4', autdis).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/declaration/declarationaudit', autdis).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success('审核成功')
checkDialog.value = false
getList()

+ 7
- 7
src/views/onlineBusinessHall/onlineOperation/satisfactionEvaluation/index.vue View File

@@ -53,8 +53,8 @@
// 删除按钮
function handleDelete(idx: any, row: any) {
const data = toRaw(row);
BaseService.post(satisfactionEvaluationDel, data).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/satisfaciton/deleteById', data).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
cancel();
@@ -92,7 +92,7 @@
api = satisfactionEvaluatioEdit
}
BaseService.post(api, data).then((res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success("操作成功");
getList();
cancel();
@@ -115,11 +115,11 @@
params[key] = searchFormList[key]
}
}
BaseService.post(satisfactionEvaluationList, params).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/managew/api/satisfaciton/page', params).then((res: any) => {
if (res && res.code === 0) {
//数据转换
let bizContent = JSON.parse(res.bizContent);
let data = bizContent.data || [];
let bizContent = res.data
let data = bizContent.result || [];
//数据渲染
data.forEach(item => {
if (item.pictureUrl) item.pictureUrl = item.pictureUrl.split(';')

+ 5
- 5
src/views/onlineBusinessHall/onlineOperation/systemDeploy/index.vue View File

@@ -164,9 +164,9 @@
}

function getData() {
BaseService.post(systemDeploy, { source: sourceMapValue.value }).then((res: any) => {
if (res && res.statusCode === 0) {
let bizContent = JSON.parse(res.bizContent);
BaseService.post('/userw/rbac/portalconfigquery', { source: sourceMapValue.value }).then((res: any) => {
if (res && res.code === 0) {
let bizContent = res.data
configData.value = bizContent.data
} else {
ElMessage.error(res.message)
@@ -207,8 +207,8 @@
// 将临时配置应用到主对象中
// 在此处执行相关操作,如保存到后端等
console.log(configData.value);
BaseService.post(systemDepSave, configData.value).then((res: any) => {
if (res && res.statusCode === 0) {
BaseService.post('/userw/rbac/portalconfigchange', configData.value).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success(res.message)
} else {
ElMessage.error(res.message)

+ 2
- 2
src/views/settlement/businessManagement/settlementNotice/summaryExternalTransferLedger/index.vue View File

@@ -139,11 +139,11 @@
function submit(data: any) {
let api = ''
if (typeOption.value === 'edit') {
api = '460ecca0bac4497a9ec9da97aa0d34ed'
api = '/settlew/notice/externalupdate'
}
BaseService.post(api, data).then((res: any) => {
if (res && res.code === 0) {
let bizContent = JSON.parse(res.bizContent);
let bizContent = res.data
ElMessage.success("操作成功");
getList();
cancel();ETC通行费确认单统计

+ 1
- 1
src/views/settlement/financeManagement/refundManagement/index.vue View File

@@ -495,7 +495,7 @@
paymentBankType: rowData.value.paymentBankType,
paymentBankCardId: rowData.value.paymentBankCardId
}
let reqApi = refundConfirmApi;
let reqApi = '/settlew/agencymapping/refundconfirm';

BaseService.post(reqApi, params).then((res: any) => {
if (res && res.code === 0) {

+ 1
- 1
src/views/settlement/reconciliationStatement/clearingGroupDailyFlow/index copy.vue View File

@@ -409,7 +409,7 @@
}
// 导入
function importData(url, reportFileName) {
importFn('aafee9c5bde64f7eadea0f7511b9923c', () => { }, { excelUrl: url, reportFileName })
importFn('/settlew/daily/trafficflowsettlementimport', () => { }, { excelUrl: url, reportFileName })
}
onMounted(() => {
dateChangeHandle()

+ 2
- 2
src/views/settlement/reportApproval/approvalManagement/components/examineApproveDialog.vue View File

@@ -81,9 +81,9 @@ const submitForm = (formEl: FormInstance | undefined) => {
...ruleForm,
processId: props.dataList.id,
}
BaseService.post('de7b6e2c28ff4e58bede2f3f016222b1', params).then(
BaseService.post('/settlew/processweb/completeprocess', params).then(
(res: any) => {
if (res && res.statusCode === 0) {
if (res && res.code === 0) {
ElMessage.success('审批成功')
// 关闭页面
ruleForm.reject = ''

+ 1
- 1
src/views/settlement/reportManagement/clearingGroupDailyFlow/index copy.vue View File

@@ -409,7 +409,7 @@
}
// 导入
function importData(url, reportFileName) {
importFn('aafee9c5bde64f7eadea0f7511b9923c', () => { }, { excelUrl: url, reportFileName })
importFn('/settlew/daily/trafficflowsettlementimport', () => { }, { excelUrl: url, reportFileName })
}
onMounted(() => {
dateChangeHandle()

+ 2
- 2
src/views/system/dictionaries/index.vue View File

@@ -354,7 +354,7 @@ function submitForm(formEl) {
if (valid) {
sizeForm.value.dictTypeId = sizeForm.value.id
BaseService.postN(
addStart.value ? '/dict/typeupdate' : '/dict/typeadd',
addStart.value ? '/userw/dict/typeupdate' : '/userw/dict/typeadd',
sizeForm.value
).then((res: any) => {
if (res && res.code === 0) {
@@ -378,7 +378,7 @@ function formSubmission(formEl) {
if (valid) {
//添加
BaseService.postN(
addStart.value ? '/dict/itemupdate' : '/dict/itemadd',
addStart.value ? '/userw/dict/itemupdate' : '/userw/dict/itemadd',
childNodeForm.value
).then((res: any) => {
if (res && res.code === 0) {

Loading…
Cancel
Save