Commit 1d1176b4 by 李少勇

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents ab0fe3d9 5c000044
...@@ -50,7 +50,18 @@ export default { ...@@ -50,7 +50,18 @@ export default {
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
} }
}, },
async showGridPromptDialog() {}, async showSelectGridDialog(arg) {
let params = {
}
let res = await Api.post('/service/getopn/fetch', params);
this.$refs['gridSelectDialog'].show = true;
if(res.respCode === SUCCESS) {
this.$refs['gridSelectDialog'].show = true;
this.$refs['gridSelectDialog'].tableData = res.data && res.data.list;
}
},
async onGitpButgetref() { async onGitpButgetref() {
let rtnmsg = await this.executeRule('gitp.butgetref'); let rtnmsg = await this.executeRule('gitp.butgetref');
......
...@@ -615,7 +615,7 @@ ...@@ -615,7 +615,7 @@
v-model="model.gidgrp.apl.pts.extkey" v-model="model.gidgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native="" @keyup.enter.native="showSelectGridDialog('gidgrp.apl.pts.extkey')"
:disabled="model.gidgrp.ghd.segtyp == '02'" :disabled="model.gidgrp.ghd.segtyp == '02'"
> >
</c-input> </c-input>
...@@ -1130,6 +1130,9 @@ ...@@ -1130,6 +1130,9 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- 带分页请求的选择弹框 -->
<c-grid-select-dialog ref="gridSelectDialog" :promptData="promptData"></c-grid-select-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -1144,7 +1147,9 @@ export default { ...@@ -1144,7 +1147,9 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess, commonApi, Event], mixins: [commonProcess, commonApi, Event],
data() { data() {
return {}; return {
promptData: {}
};
}, },
computed: { computed: {
...@@ -1165,7 +1170,7 @@ export default { ...@@ -1165,7 +1170,7 @@ export default {
methods: { methods: {
}, },
created: function () {}, created() {},
}; };
</script> </script>
<style> <style>
......
...@@ -82,13 +82,14 @@ export default { ...@@ -82,13 +82,14 @@ export default {
//查询接口 //查询接口
const loading = this.loading(); const loading = this.loading();
const res = await Api.post('/service/trnrel/getTenrelList', params); const res = await Api.post('/service/trnrel/getTenrelList', params);
if (res.respCode === 'AAAAAA') { if (res.respCode === SUCCESS) {
this.stmData.data = res.data.list; this.stmData.data = res.data.list;
this.pagination.total = Number(res.data.total); this.pagination.total = Number(res.data.total);
this.$store.commit('setTaskList', { this.$store.commit('setTaskList', {
key: 'trnrel', key: 'trnrel',
val: this.stmData.data && this.stmData.data.length, val: this.stmData.data && this.stmData.data.length,
}); });
this.$store.commit('setLoadingFreshReview', false)
} }
loading.close(); loading.close();
}, },
...@@ -101,6 +102,7 @@ export default { ...@@ -101,6 +102,7 @@ export default {
let viewurl = 'business-new/inftrnpsDetail'; let viewurl = 'business-new/inftrnpsDetail';
let params = { let params = {
inr: row.inr, inr: row.inr,
userId: sessionStorage.getItem('userId') || 'ZL'
}; };
const res = await Api.post('/service/trnrel/getTenrelDetailData', params); const res = await Api.post('/service/trnrel/getTenrelDetailData', params);
if (res.respCode === 'AAAAAA') { if (res.respCode === 'AAAAAA') {
......
...@@ -203,7 +203,21 @@ ...@@ -203,7 +203,21 @@
created() { created() {
this.getInidatfro(); this.getInidatfro();
}, },
computed: {
reload() {
return this.$store.state.Status.loading.freshReview;
}
},
watch: {
reload(val) {
if(val) {
debugger
this.handleSearch()
}
}
},
created() { created() {
//适配不同页面下的table高度 //适配不同页面下的table高度
//其中159为form表单高度,不同页面高度不同,可以考虑获取dom高度 //其中159为form表单高度,不同页面高度不同,可以考虑获取dom高度
this.maxHeight = (document.body.clientHeight || document.documentElement.clientHeight) - 60 - 40 - 40 - 42 - 40 - 159 - 10 - 37 - 60; this.maxHeight = (document.body.clientHeight || document.documentElement.clientHeight) - 60 - 40 - 40 - 42 - 40 - 159 - 10 - 37 - 60;
......
<!-- 带分页请求的选择弹框 -->
<template>
<el-dialog
:title="promptData.title"
:visible.sync="show"
custom-class="grid-ety"
:highlight-current-row="true"
width="60%"
:before-close="beforeClose"
>
<el-table
:data="tableData"
border
@row-dblclick="selectEty"
>
<el-table-column
v-for="(item, idx) in promptData.columns"
:key="idx"
:property="item.prop"
:label="item.label"
:width="item.width"
>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next, total, jumper"
:total="pagination.total"
:page-sizes="pagination.pageSizes"
:page-size="pagination.pageSize"
:current-page="pagination.currentPage"
@current-change="currentChange"
@size-change="handleSizeChange"
>
</el-pagination>
</el-dialog>
</template>
<script>
import Api from "~/service/Api";
import commonApi from '~/mixin/commonApi';
export default {
mixins: [commonApi],
props: {
promptData: {
type: Object,
required: true,
default: () => {
return {
title: '',
columns: [],
apiUrl: '',
apiArgs: {}
}
}
}
},
data() {
return {
show: false,
cod: '',
tableData: [],
pagination: {
currentPage: 1,
pageSizes: [10, 20, 50, 100, 500],
pageSize: 10,
total: 0,
},
};
},
methods: {
async handleSearch() {
let params = {
...this.promptData.apiArgs,
pageNum: this.pagination.currentPage,
pageSize: this.pagination.pageSize,
};
const loading = this.loading();
let res = await Api.post(this.promptData.apiUrl, params);
if (res.respCode == SUCCESS) {
this.tableData = res.data && res.data.atpList.list;
this.pagination.total = Number((res.data && res.data.atpList.total) || 0);
}
loading.close();
},
currentChange(val) {
this.pagination.currentPage = val;
this.handleSearch()
},
handleSizeChange(val) {
this.pagination.currentPage = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
selectEty(row) {
this.$emit("selectEty", {
...row,
role: this.promptData.type
});
this.show = false;
this.currentPage = 1;
},
beforeClose(done) {
this.show = false;
this.currentPage = 1;
done();
},
},
};
</script>
<style>
.grid-ety .el-table .cell {
white-space: pre-wrap;
}
</style>
\ No newline at end of file
...@@ -59,7 +59,8 @@ import MulRowInput from "./MulRowInput.vue" ...@@ -59,7 +59,8 @@ import MulRowInput from "./MulRowInput.vue"
import RichTextEditor from "./RichTextEditor.vue" import RichTextEditor from "./RichTextEditor.vue"
import XmlFormatEditor from "./XmlFormatEditor.vue" import XmlFormatEditor from "./XmlFormatEditor.vue"
import XmlFormatEditorNew from "./XmlFormatEditorNew.vue" import XmlFormatEditorNew from "./XmlFormatEditorNew.vue"
// 带分页请求的弹框组件
import GridSelectDialog from './GridSelectDialog.vue'
export default { export default {
install(Vue) { install(Vue) {
Vue.component("c-page", c_page) Vue.component("c-page", c_page)
...@@ -119,5 +120,6 @@ export default { ...@@ -119,5 +120,6 @@ export default {
Vue.component("c-rich-text-editor", RichTextEditor) Vue.component("c-rich-text-editor", RichTextEditor)
Vue.component("c-xml-format-editor", XmlFormatEditor) Vue.component("c-xml-format-editor", XmlFormatEditor)
Vue.component("c-xml-format-editor-new", XmlFormatEditorNew) Vue.component("c-xml-format-editor-new", XmlFormatEditorNew)
Vue.component("c-grid-select-dialog", GridSelectDialog)
} }
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from '~/service/Api';
export default { export default {
methods: { methods: {
async init () { async init() {
const params = { const params = {
spt: this.toHandleRowData spt: this.toHandleRowData,
} };
const res = await Api.post('/service/gitopn/init', { const res = await Api.post('/service/gitopn/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
}); });
if (!res.data) { if (!res.data) {
return return;
} }
if (res.data.addbcb) { if (res.data.addbcb) {
this.$set(this.model, 'addbcb', res.data.addbcb) this.$set(this.model, 'addbcb', res.data.addbcb);
} }
if (res.data.gitp) { if (res.data.gitp) {
this.$set(this.model, 'gitp', res.data.gitp) this.$set(this.model, 'gitp', res.data.gitp);
} }
if (res.data.gidgrp) { if (res.data.gidgrp) {
this.$set(this.model, 'gidgrp', res.data.gidgrp) this.$set(this.model, 'gidgrp', res.data.gidgrp);
} }
if (res.data.cfagit) { if (res.data.cfagit) {
this.$set(this.model, 'cfagit', res.data.cfagit) this.$set(this.model, 'cfagit', res.data.cfagit);
} }
if (res.data.cnybop) { if (res.data.cnybop) {
this.$set(this.model, 'cnybop', res.data.cnybop) this.$set(this.model, 'cnybop', res.data.cnybop);
} }
this.$set(this.model, 'setmod', { this.$set(this.model, 'setmod', {
...this.model.setmod, ...this.model.setmod,
setfeg: res.data.setfeg, setfeg: res.data.setfeg,
setfog: res.data.setfog, setfog: res.data.setfog,
setglg: res.data.setglg, setglg: res.data.setglg,
}) });
console.log(res) console.log(res);
}, },
async tabClick(tab) { async tabClick(tab) {
if (this.isInDisplay) { if (this.isInDisplay) {
...@@ -72,106 +72,127 @@ export default { ...@@ -72,106 +72,127 @@ export default {
//处理-复核 //处理-复核
async handlePass(val) { async handlePass(val) {
let params = { let params = {};
}
let rtnmsg = await Api.post('', params); let rtnmsg = await Api.post('', params);
if(rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
let errorMsg = ""; let errorMsg = '';
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}"); let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) { if (!fieldErrorsFlag) {
let errorMsgkey = ""; let errorMsgkey = '';
let errorMsgVal = ""; let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) { for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key; errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key]; errorMsgVal = rtnmsg.fieldErrors[key];
} }
errorMsg = errorMsgkey + ':' + errorMsgVal; errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' }); this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
} else { } else {
this.$notify({ this.$notify({
title: '成功', title: '成功',
message: '复核成功', message: '复核成功',
type: 'success' type: 'success',
}); });
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push("/taskList", () => { this.$router.history.push('/taskList', () => {
this.$store.commit("setTaskListTabVal", 'trnrel'); this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch() // 刷新表格
this.$store.commit('setLoadingFreshReview', true);
}); });
} }
} else { } else {
let errorMsg = ""; let errorMsg = '';
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}"); let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) { if (!fieldErrorsFlag) {
let errorMsgkey = ""; let errorMsgkey = '';
let errorMsgVal = ""; let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) { for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key; errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key]; errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";"; errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
} }
} else if (rtnmsg.respMsg) { } else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg; errorMsg = rtnmsg.respMsg;
} }
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' }); this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
} }
}, },
//处理-打回 //处理-打回
async handleRefuse(val) { async handleRefuse(val) {
let params = { let params = {
trninr: this.$route.query.trn,
} transName: 'TRNREL',
let rtnmsg = await Api.post('', params); userId: sessionStorage.getItem('userId') || 'ZL',
pageId: this.model.pageId || '1',
dflg: '',
relflg: '',
inidatfro: '',
inidattol: '',
};
let rtnmsg = await Api.post('/service/trnrel/reprow', params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
let errorMsg = '';
let errorMsg = ""; let fieldErrorsFlag =
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}"); !rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) { if (!fieldErrorsFlag) {
let errorMsgkey = ""; let errorMsgkey = '';
let errorMsgVal = ""; let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) { for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key; errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key]; errorMsgVal = rtnmsg.fieldErrors[key];
} }
errorMsg = errorMsgkey + ':' + errorMsgVal; errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' }); this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
} else { } else {
this.$notify({ this.$notify({
title: '成功', title: '成功',
message: '退回成功', message: '退回成功',
type: 'success' type: 'success',
}); });
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push("/taskList", () => { this.$router.history.push('/taskList', () => {
this.$store.commit("setTaskListTabVal", 'trnrel'); this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch() // 刷新表格
this.$store.commit('setLoadingFreshReview', true);
}); });
} }
} } else {
else { let errorMsg = '';
let errorMsg = ""; let fieldErrorsFlag =
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}"); !rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) { if (!fieldErrorsFlag) {
let errorMsgkey = ""; let errorMsgkey = '';
let errorMsgVal = ""; let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) { for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key; errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key]; errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";"; errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
} }
} else if (rtnmsg.respMsg) { } else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg; errorMsg = rtnmsg.respMsg;
} }
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' }); this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
} }
}, },
//处理-退出 //处理-退出
handleExit() { handleExit() {
this.$store.dispatch('TagsView/delView', this.$route);
} this.$router.history.push('/taskList', () => {
} this.$store.commit('setTaskListTabVal', 'trnrel');
} });
\ No newline at end of file },
},
};
...@@ -257,7 +257,7 @@ export default { ...@@ -257,7 +257,7 @@ export default {
} }
} }
} }
let res = await Api.post('/gjjs/service/gitopn/init', params); let res = await Api.post('/service/gitopn/init', params);
if (res && res.respCode == SUCCESS) { if (res && res.respCode == SUCCESS) {
this.model = res.data this.model = res.data
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
import Api from "~/service/Api" import Api from "~/service/Api"
export function queryByPage(data) { export function queryByPage(data) {
return Api.post("/manager/cty/queryByPage", data) return Api.post("/service/cty/queryByPage", data)
} }
export function queryById(inr) { export function queryById(inr) {
return Api.post(`/manager/cty/queryById?inr=${inr}`) return Api.post(`/service/cty/queryById?inr=${inr}`)
} }
export function add(data) { export function add(data) {
return Api.post("/manager/cty/add", data) return Api.post("/service/cty/add", data)
} }
export function hasCod(cod) { export function hasCod(cod) {
return Api.post(`/manager/cty/hasCod?cod=${cod}`) return Api.post(`/service/cty/hasCod?cod=${cod}`)
} }
export function edit(data) { export function edit(data) {
return Api.post("/manager/cty/edit", data) return Api.post("/service/cty/edit", data)
} }
export function deleteById(inr) { export function deleteById(inr) {
...@@ -25,13 +25,13 @@ export function deleteById(inr) { ...@@ -25,13 +25,13 @@ export function deleteById(inr) {
} }
export function addBopctyData(inr, data) { export function addBopctyData(inr, data) {
return Api.post(`/manager/cty/addBopctyData?inr=${inr}`, data) return Api.post(`/service/cty/addBopctyData?inr=${inr}`, data)
} }
export function editBopctyData(inr, data) { export function editBopctyData(inr, data) {
return Api.post(`/manager/cty/editBopctyData?inr=${inr}`, data) return Api.post(`/service/cty/editBopctyData?inr=${inr}`, data)
} }
export function deleteBopctyById(data) { export function deleteBopctyById(data) {
return Api.post(`/manager/cty/deleteBopctyById`, data) return Api.post(`/service/cty/deleteBopctyById`, data)
} }
import Api from "~/service/Api" import Api from "~/service/Api"
export function queryByPage(data) { export function queryByPage(data) {
return Api.post("/manager/cur/queryByPage", data) return Api.post("/service/cur/queryByPage", data)
} }
export function curInfo(inr) { export function curInfo(inr) {
return Api.post(`/manager/cur/queryById?inr=${inr}`) return Api.post(`/service/cur/queryById?inr=${inr}`)
} }
export function add(data) { export function add(data) {
return Api.post("/manager/cur/add", data) return Api.post("/service/cur/add", data)
} }
export function hasCod(cod) { export function hasCod(cod) {
return Api.post(`/manager/cur/hasCod?cod=${cod}`) return Api.post(`/service/cur/hasCod?cod=${cod}`)
} }
export function edit(data) { export function edit(data) {
return Api.post("/manager/cur/edit", data) return Api.post("/service/cur/edit", data)
} }
export function deleteById(data) { export function deleteById(data) {
......
import Api from '~/service/Api'
export function queryByPage(data) {
return Api.post('/service/oit/queryByPage', data)
}
export function queryById(data) {
return Api.post('/service/oit/queryById', data)
}
export function add(data) {
return Api.post('/service/oit/add', data)
}
export function edit(data) {
return Api.post('/service/oit/edit', data)
}
export function deleteById(data) {
return Api.post('/service/oit/deleteById', data)
}
...@@ -288,17 +288,23 @@ import Dbabch from "~/views/Statics/Dbabch"; ...@@ -288,17 +288,23 @@ import Dbabch from "~/views/Statics/Dbabch";
import Dbebch from "~/views/Statics/Dbebch"; import Dbebch from "~/views/Statics/Dbebch";
import Dbdbch from "~/views/Statics/Dbdbch"; import Dbdbch from "~/views/Statics/Dbdbch";
import Infcty from "~/views/Statics/Infcty"; import Infcty from "~/views/Statics/cty/views/Infcty";
import Dbicty from "~/views/Statics/Dbicty"; import Dbicty from "~/views/Statics/cty/views/Dbicty";
import Dbacty from "~/views/Statics/Dbacty"; import Dbacty from "~/views/Statics/cty/views/Dbacty";
import Dbecty from "~/views/Statics/Dbecty"; import Dbecty from "~/views/Statics/cty/views/Dbecty";
import Dbdcty from "~/views/Statics/Dbdcty"; import Dbdcty from "~/views/Statics/cty/views/Dbdcty";
import Infcur from "~/views/Statics/Infcur"; import Infoit from "~/views/Statics/Act/views/Infoit"
import Dbacur from "~/views/Statics/Dbacur"; import Dbioit from "~/views/Statics/Act/views/Dbioit"
import Dbicur from "~/views/Statics/Dbicur"; import Dbaoit from "~/views/Statics/Act/views/Dbaoit"
import Dbecur from "~/views/Statics/Dbecur"; import Dbdoit from "~/views/Statics/Act/views/Dbdoit"
import Dbdcur from "~/views/Statics/Dbdcur"; import Dbeoit from "~/views/Statics/Act/views/Dbeoit"
import Infcur from "~/views/Statics/cur/views/Infcur";
import Dbacur from "~/views/Statics/cur/views/Dbacur";
import Dbicur from "~/views/Statics/cur/views/Dbicur";
import Dbecur from "~/views/Statics/cur/views/Dbecur";
import Dbdcur from "~/views/Statics/cur/views/Dbdcur";
import Inffec from "~/views/Statics/Inffec"; import Inffec from "~/views/Statics/Inffec";
import Dbifec from "~/views/Statics/Dbifec"; import Dbifec from "~/views/Statics/Dbifec";
...@@ -619,6 +625,12 @@ const BusRouter = [ ...@@ -619,6 +625,12 @@ const BusRouter = [
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } }, { path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } }, { path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } }, { path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
{ path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } }, { path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } },
......
...@@ -193,6 +193,7 @@ export default { ...@@ -193,6 +193,7 @@ export default {
{ inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" }, { inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" },
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" }, { inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" }, { inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: 'infoit', ininam: '消息信息查询OIT', pntmiu: '10' },
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" }, { inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" }, { inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" }, { inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
......
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
<template>
<m-oit ref="oit" title="dbaoit" type="add"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbaoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
mounted() {},
}
</script>
<style></style>
<template>
<m-oit title="dbdoit" type="delete"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbdoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
<template>
<m-oit title="dbeoit" type="edit"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbeoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="关联的表名" prop="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请输入关联的表名"
:code="getCodesByKey('objtypcodetable')"
:disabled="isDisabled"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Key" prop="ownref">
<c-input
v-model="model.ownref"
placeholder="请输入ownref"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
placeholder="请输入提示类型"
:code="getCodesByKey('subtypcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关业务品种" prop="subbus">
<c-select
v-model="model.subbus"
placeholder="请输入相关业务品种"
:code="getCodesByKey('bustxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息级别" prop="inflev">
<c-select
v-model="model.inflev"
placeholder="请输入提示信息级别"
:code="getCodesByKey('inflevcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息内容" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入提示信息内容">
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="机构层次" prop="lev">
<c-select style="width: 100%"
v-model="model.lev"
placeholder="请选择机构层次"
:code="getCodesByKey('lev')"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
export default {
name: '',
props: ['model'],
data() {
return {}
},
computed: {
isDisabled() {
//return this.type === 'edit'
return false
},
},
methods: {
getCodesByKey(key) {
return codes[key] ?? []
},
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-table :list="model.oitList" :columnsConfig="columns"></c-table>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: 'client name', prop: 'mannam', width: 'auto' },
{ label: 'OITINR', prop: 'oitinr', width: 'auto' },
{ label: 'Default Client', prop: 'oitref', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ======================= 左边 ========================= -->
<c-col :span="17" class="col-left" style="padding-right: 20px"> </c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="7" class="col-right" style="padding-left: 20px"> </c-col>
</c-col>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: '机构编码', prop: 'bchkey', width: 'auto' },
{ label: '交易代码', prop: 'trn', width: 'auto' },
{ label: '授权货币', prop: 'relcur', width: 'auto' },
{ label: '授权金额', prop: 'relamt', width: 'auto' },
{ label: '交易属性', prop: 'relflg', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="140px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="消息信息" name="oit">
<c-content>
<m-oitp0 :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from '~/utils'
import Oit, { Pattern } from './Oit.js'
// import Bchp0 from "./Bchp0.vue";
import OitInfo from './OitInfo.vue'
import Oitp1 from './Oitp1.vue'
import Oitp2 from './Oitp2.vue'
import { queryById, add, edit, deleteById } from '~/service/test/oit.js'
export default {
name: 'StaticsDbioit',
components: {
'm-oitp0': OitInfo,
'm-oitp1': Oitp1,
'm-oitp2': Oitp2,
},
provide() {
return {
root: this,
}
},
props: {
type: {
type: String,
default: 'info',
},
title: {
type: String,
default: 'dbioit',
},
},
data() {
return {
model: new Oit().data,
tabVal: 'oit',
rules: Pattern,
}
},
computed: {
isDisabled() {
return this.type === 'info' || this.type === 'delete'
},
},
created() {
if (this.type !== 'add') {
//const inr = this.$route.params.inr
const params = this.$route.params
queryById(params).then((res) => {
if (res.inr) {
this.model = res
} else {
this.$message.error('客户不存在')
}
})
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success('保存成功!')
this.goBack(true)
})
.catch((err) => {
this.$message.error('保存失败!')
})
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
})
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success('保存成功!')
this.goBack()
})
.catch((err) => {
this.$message.error('保存失败!')
})
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
})
},
commitDelete() {
this.$confirm('是否确认删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
const params = this.$route.params
deleteById(params)
.then((res) => {
this.$message.success('删除成功!')
this.goBack(true)
})
.catch((err) => {
this.$message.error('删除失败!')
})
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消删除',
})
})
},
/**
* update 是否更新infbch的查询列表
*/
goBack(update) {
this.$store.dispatch('TagsView/delView', this.$route)
this.$router.push({ name: 'StaticsInfoit', params: { update } })
},
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="消息及停用信息查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="消息及停用信息查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from './infsea'
export default {
name: 'StaticsInfoit',
components: {
'm-infsea': Infsea,
},
provide() {
return {
root: this,
}
},
data() {
return {
tabVal: 'infsea',
model: {
// oit 查询条件的字段
objtyp: '',
subtyp: '',
subbus: '',
// paging
pageNum: 1,
pageSize: 5,
total: 0,
},
}
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="关联的表名" prop="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请选择关联的表名"
style="width: 100%"
:code="getCodesByKey('objtypcodetable')"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
style="width: 100%"
placeholder="请选择提示类型"
:code="getCodesByKey('subtypcodetable')"
></c-select>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="相关业务品种" prop="subbus">
<c-select
v-model="model.subbus"
style="width: 100%"
placeholder="请选择相关业务品种"
:code="getCodesByKey('subbuscodetable')"
></c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="XXX" prop="bchtyp">
<c-select
v-model="model.bchtyp"
style="width: 100%"
placeholder="XXX"
:code="getCodesByKey('bchtyp')"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="oitAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="oitData"
:columns="oitColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="oitInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="oitEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="oitDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
import { queryByPage } from '~/service/test/oit.js'
export default {
name: '',
props: ['model'],
inject: ['root'],
data() {
return {
oitData: [],
oitColumns: [
{
label: '关联的表名',
prop: 'objtypCn',
width: '120',
},
{ label: 'Key', prop: 'ownref', width: '120' },
{ label: 'Name', prop: 'nam', width: '120' },
{ label: '提示类型', prop: 'subtypCn', width: '120' },
{ label: '相关业务品种', prop: 'subbus', width: '150' },
{ label: '提示信息级别', prop: 'inflevCn', width: '200' },
],
}
},
computed: {},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfOitSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields()
},
onSearch() {
this.model.pageNum = 1
this.model.pageSize = 5
this.onInfOitSearch()
},
onInfOitSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let typArr = codes['objtypcodetable']
// console.log('testabc:' + typArr[0].label)
// obj.objtypCn = typArr[0].label
// })BDD\CLD\DID\GCD
Object.keys(list).forEach((item) => {
let obj = list[item]
let objtypArr = codes['objtypcodetable'].filter((i) => {
return i.value == obj.objtyp
})
obj.objtypCn = objtypArr[0].label
let subtypArr = codes['subtypcodetable'].filter((i) => {
return i.value == obj.subtyp
})
obj.subtypCn = subtypArr[0].label
let inflevArr = codes['inflevcodetable'].filter((i) => {
return i.value == obj.inflev
})
obj.inflevCn = inflevArr[0].label
})
this.oitData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfOitSearch()
},
getCodesByKey(key) {
return codes[key] ?? []
},
oitAdd() {
this.$router.push(`/statics/dbaoit`)
},
oitInfo(index, row) {
this.$router.push(`/statics/dbioit/${row.inr}`)
},
oitEdit(index, row) {
this.$router.push(`/statics/dbeoit/${row.inr}`)
},
oitDelete(index, row) {
this.$router.push(`/statics/dbdoit/${row.inr}`)
},
},
}
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
...@@ -14,11 +14,17 @@ import Dbiusr from "./Dbiusr"; ...@@ -14,11 +14,17 @@ import Dbiusr from "./Dbiusr";
import Dbeusr from "./Dbeusr"; import Dbeusr from "./Dbeusr";
import Dbdusr from "./Dbdusr"; import Dbdusr from "./Dbdusr";
import Infcty from "./Infcty"; import Infcty from "./cty/views/Infcty";
import Dbicty from "./Dbicty"; import Dbicty from "./cty/views/Dbicty";
import Dbacty from "./Dbacty"; import Dbacty from "./cty/views/Dbacty";
import Dbecty from "./Dbecty"; import Dbecty from "./cty/views/Dbecty";
import Dbdcty from "./Dbdcty"; import Dbdcty from "./cty/views/Dbdcty";
import Infoit from "./Act/views/Infoit"
import Dbioit from "./Act/views/Dbioit"
import Dbaoit from "./Act/views/Dbaoit"
import Dbdoit from "./Act/views/Dbdoit"
import Dbeoit from "./Act/views/Dbeoit"
import Inffec from "./Inffec"; import Inffec from "./Inffec";
import Dbifec from "./Dbifec"; import Dbifec from "./Dbifec";
...@@ -32,11 +38,11 @@ import Dbagtx from "./Dbagtx"; ...@@ -32,11 +38,11 @@ import Dbagtx from "./Dbagtx";
import Dbegtx from "./Dbegtx"; import Dbegtx from "./Dbegtx";
import Dbdgtx from "./Dbdgtx"; import Dbdgtx from "./Dbdgtx";
import Infcur from "./Infcur"; import Infcur from "./cur/views/Infcur";
import Dbacur from "./Dbacur"; import Dbacur from "./cur/views/Dbacur";
import Dbicur from "./Dbicur"; import Dbicur from "./cur/views/Dbicur";
import Dbecur from "./Dbecur"; import Dbecur from "./cur/views/Dbecur";
import Dbdcur from "./Dbdcur"; import Dbdcur from "./cur/views/Dbdcur";
import Infbch from "./Infbch"; import Infbch from "./Infbch";
import Dbibch from "./Dbibch"; import Dbibch from "./Dbibch";
...@@ -128,6 +134,12 @@ const StaticsRouter = [ ...@@ -128,6 +134,12 @@ const StaticsRouter = [
{ path: 'dbiatx/:inr', component: Dbiatx, name: 'StaticsDbiatx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } }, { path: 'dbiatx/:inr', component: Dbiatx, name: 'StaticsDbiatx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } },
{ path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } }, { path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
{ path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } }, { path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
] ]
export default StaticsRouter export default StaticsRouter
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbicty from "~/views/Statics/Dbicty"; import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default { export default {
name: "StaticsDbacty", name: "StaticsDbacty",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbicty from "~/views/Statics/Dbicty"; import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default { export default {
name: "StaticsDbdcty", name: "StaticsDbdcty",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbicty from "~/views/Statics/Dbicty"; import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default { export default {
name: "StaticsDbecty", name: "StaticsDbecty",
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<script> <script>
import Utils from "~/utils"; import Utils from "~/utils";
import Cty, { Pattern } from "./Cty.js"; import Cty, { Pattern } from "../../model/Cty.js";
import CtyInfo from "./CtyInfo.vue"; import CtyInfo from "./CtyInfo.vue";
import BopctyInfo from "./BopctyInfo.vue"; import BopctyInfo from "./BopctyInfo.vue";
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</template> </template>
<script> <script>
import Dbicur from "~/views/Statics/Dbicur" import Dbicur from "~/views/Statics/cur/views/Dbicur"
export default { export default {
name: "StaticsDbacur", name: "StaticsDbacur",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbicur from "~/views/Statics/Dbicur"; import Dbicur from "~/views/Statics/cur/views/Dbicur";
export default { export default {
name: "StaticsDbdcur", name: "StaticsDbdcur",
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
// import Utils from "~/utils"; // import Utils from "~/utils";
// import commonFuncs from "~/mixin/commonFuncs"; // import commonFuncs from "~/mixin/commonFuncs";
// import Cur, { Pattern } from "../Infcur/Cur.js"; // import Cur, { Pattern } from "../Infcur/Cur.js";
import Dbicur from "@/views/Statics/Dbicur"; import Dbicur from "~/views/Statics/cur/views/Dbicur";
// import { curInfo, add, edit, curDelete } from "~/service/test/cur.js"; // import { curInfo, add, edit, curDelete } from "~/service/test/cur.js";
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="padding-left: 120px"> <c-col :span="24" style="padding-left: 120px">
<el-table :data="stmData.data" border> <el-table :data="stmData.data">
<el-table-column prop="uilcod" label="语言" sortable width="220"> <el-table-column prop="uilcod" label="语言" sortable width="220">
</el-table-column> </el-table-column>
<el-table-column prop="nam" label="描述" sortable width="300"> <el-table-column prop="nam" label="描述" sortable width="300">
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<script> <script>
import Utils from "~/utils"; import Utils from "~/utils";
import Cur, { Pattern } from "../Infcur/Cur.js"; import Cur, { Pattern } from "../../model/Cur.js";
import Currency from "./Currency.vue"; import Currency from "./Currency.vue";
......
...@@ -23,7 +23,7 @@ import Utils from "~/utils"; ...@@ -23,7 +23,7 @@ import Utils from "~/utils";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
// import commonProcess from "~/mixin/commonProcess" // import commonProcess from "~/mixin/commonProcess"
// import commonFuncs from "~/mixin/commonFuncs"; // import commonFuncs from "~/mixin/commonFuncs";
import Cur, { Pattern } from "./Cur.js"; import Cur, { Pattern } from "../../model/Cur.js";
import Infsea from "./Infsea"; import Infsea from "./Infsea";
// import Currency from "./Currency"; // import Currency from "./Currency";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment