Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
69a05c01
Commit
69a05c01
authored
Mar 25, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ea93d47c
12541d7b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
236 additions
and
167 deletions
+236
-167
zh.js
src/assets/common/lang/zh.js
+70
-0
AccountPageList.vue
src/components/systemManagement/AccountPageList.vue
+7
-7
AccountType.vue
src/components/systemManagement/AccountType.vue
+2
-2
CostType.vue
src/components/systemManagement/CostType.vue
+65
-65
FineBalance.vue
src/components/systemManagement/FineBalance.vue
+7
-7
currencyManagement.vue
src/components/systemManagement/currencyManagement.vue
+56
-56
institutionsManagement.vue
src/components/systemManagement/institutionsManagement.vue
+29
-30
No files found.
src/assets/common/lang/zh.js
View file @
69a05c01
...
@@ -796,6 +796,10 @@ export const fnc = {
...
@@ -796,6 +796,10 @@ export const fnc = {
syfeiyong
:
'适用费用'
,
syfeiyong
:
'适用费用'
,
gfyleixing
:
'个费用类型'
,
gfyleixing
:
'个费用类型'
,
sygongsi
:
'适用公司'
,
sygongsi
:
'适用公司'
,
sybumen
:
'适用部门'
,
sygangwei
:
'适用岗位'
,
syrenyuan
:
'适用人员'
,
feiyongfangxiang
:
'费用方向'
,
jttongyong
:
'集团通用'
,
jttongyong
:
'集团通用'
,
sydxianlu
:
'所有线路'
,
sydxianlu
:
'所有线路'
,
shiyongxianlu
:
'适用线路'
,
shiyongxianlu
:
'适用线路'
,
...
@@ -875,6 +879,52 @@ export const fnc = {
...
@@ -875,6 +879,52 @@ export const fnc = {
dwala
:
'必选完成周期内所有的提成要求'
,
dwala
:
'必选完成周期内所有的提成要求'
,
awala
:
'不强制完成周期内所有的提成要求'
,
awala
:
'不强制完成周期内所有的提成要求'
,
meiyousunyi
:
'该账户当前还没有损益记录'
,
meiyousunyi
:
'该账户当前还没有损益记录'
,
qhpaiban
:
'切换排版'
,
jigou
:
'机构'
,
qsrneirong
:
'请输入内容'
,
zhanghuleixing
:
'账户类型'
,
yueacc
:
'余额'
,
bwbyue
:
'本位币余额'
,
caozuoriqi
:
'操作日期'
,
benqihuilv
:
'本期汇率'
,
danqgianhuilv
:
'当前汇率'
,
zjinyue
:
'资金余额'
,
zjjiner
:
'资金金额'
,
benwei
:
'本位'
,
sfbenweibi
:
'是否本位币'
,
chushihuilv
:
'初始汇率'
,
szbweibi
:
'设置本位币'
,
xzengbizhong
:
'新增币种'
,
b_hbmingcheng
:
'货币名称:'
,
b_hbdaima
:
'货币代码:'
,
b_cshuilv
:
'初始汇率:'
,
b_qchuilv
:
'期初汇率:'
,
ybljjine
:
'原币累计金额:'
,
bwbljjine
:
'本位累计金额:'
,
yuanbiyue
:
'原币余额'
,
benbiyue
:
'本币余额'
,
chakanmingxi
:
'查看明细'
,
fylxmingcheng
:
'费用类型名称'
,
cjleixing
:
'类型层级'
,
yiji
:
'一级'
,
erji
:
'二级'
,
sanji
:
'三级'
,
shangjileixing
:
'上级类型'
,
tanzhang
:
'摊账'
,
feitanzhang
:
'非摊账'
,
ysbaobiao
:
'营收报表'
,
bujinru
:
'不进入'
,
jinru
:
'进入'
,
yijimingcheng
:
'一级名称'
,
erjimingcheng
:
'二级名称'
,
sanjimingcheng
:
'三级名称'
,
shouzhi
:
'收支'
,
feiyongleixing
:
'费用类型'
,
Name
:
'名称:'
,
cjleixing
:
'类型层级:'
,
yes
:
'是'
,
fou
:
'否'
,
}
}
export
const
tips
=
{
export
const
tips
=
{
tips
:
'提示'
,
tips
:
'提示'
,
...
@@ -907,12 +957,23 @@ export const tips = {
...
@@ -907,12 +957,23 @@ export const tips = {
xzqyshijian
:
'选择启用时间'
,
xzqyshijian
:
'选择启用时间'
,
cicaozuoyongjiushanchu
:
'此操作将永久删除该提成规则, 是否继续?'
,
cicaozuoyongjiushanchu
:
'此操作将永久删除该提成规则, 是否继续?'
,
shanchutishi
:
'删除提示'
,
shanchutishi
:
'删除提示'
,
shanchushibai
:
'删除失败'
,
shanchuchenggong
:
'删除成功'
,
shanchuchenggong
:
'删除成功'
,
baocunchenggong
:
'保存成功'
,
baocunchenggong
:
'保存成功'
,
wjdxbncgsz
:
'文件大小不能超过10M!'
,
wjdxbncgsz
:
'文件大小不能超过10M!'
,
qsctpian
:
'请上传图片!'
,
qsctpian
:
'请上传图片!'
,
shangchuanzhong
:
'上传中...'
,
shangchuanzhong
:
'上传中...'
,
scchenggong
:
'上传成功'
,
scchenggong
:
'上传成功'
,
znsJPGPNGgs
:
'"只能是 jpg png格式!'
,
huobi
:
'货币?'
,
qrszwbwbb
:
'确认设置本位币为'
,
shifoushanchu
:
'是否删除?'
,
yuemingxi
:
'余额明细'
,
tuodongwenjian
:
'将文件拖到此处,或'
,
dianjishanhcuan
:
'点击上传'
,
znengExcel
:
'只能上传Excel文件,重复的费用类型不会添加哦'
,
shangchuanExcel
:
'上传文件只能是 excel 格式!'
,
feiyongleixing
:
'费用类型?'
,
}
}
export
const
Operation
=
{
export
const
Operation
=
{
Op_ShortName
:
'线路简称'
,
Op_ShortName
:
'线路简称'
,
...
@@ -978,4 +1039,13 @@ export const rule = {
...
@@ -978,4 +1039,13 @@ export const rule = {
qsrjxshuliang
:
'请输入奖项数量'
,
qsrjxshuliang
:
'请输入奖项数量'
,
qxzjxzhuangtai
:
'请选择奖项状态'
,
qxzjxzhuangtai
:
'请选择奖项状态'
,
qsrpaixu
:
'请输入排序'
,
qsrpaixu
:
'请输入排序'
,
qsrjgmingcheng
:
'请输入机构名称'
,
sxzjgleixing
:
'请选择机构类型'
,
qtxhbmingcheng
:
'请填写货币名称'
,
qtxhbdaima
:
'请填写货币代码'
,
qsrhuilv
:
'请输入汇率'
,
qxzqishu
:
'请选择期数'
,
qtxqmhuilv
:
'请填写期末汇率'
,
qtxfymingcheng
:
'请填写费用名称'
,
qxzlxcengji
:
'请选择类型层级'
,
}
}
src/components/systemManagement/AccountPageList.vue
View file @
69a05c01
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
</div>
</div>
<table
class=
"singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
'200px'
>
别名
</th>
<th
width=
'200px'
>
{{
$t
(
'fnc.bieming'
)
}}
</th>
<th>
账户类型
</th>
<th>
{{
$t
(
'fnc.zhanghuleixing'
)
}}
</th>
<th>
币种
</th>
<th>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th>
余额
</th>
<th>
{{
$t
(
'fnc.yueacc'
)
}}
</th>
<th>
本位币余额
</th>
<th>
{{
$t
(
'fnc.bwbyue'
)
}}
</th>
<th>
操作人
</th>
<th>
{{
$t
(
'admin.admin_czPerson'
)
}}
</th>
<th
width=
'200px'
>
操作日期
</th>
<th
width=
'200px'
>
{{
$t
(
'fnc.caozuoriqi'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
Alias
}}
</td>
<td>
{{
item
.
Alias
}}
</td>
...
...
src/components/systemManagement/AccountType.vue
View file @
69a05c01
...
@@ -83,8 +83,8 @@
...
@@ -83,8 +83,8 @@
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul>
<ul>
<li>
<li>
<button
v-if=
"transitionShow2"
class=
"normalBtn"
@
click=
"addShow=true,text=
'新增'"
>
新增
</button>
<button
v-if=
"transitionShow2"
class=
"normalBtn"
@
click=
"addShow=true,text=
$t('pub.addBtn')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"切换排版
"
placement=
"top-end"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.qhpaiban')
"
placement=
"top-end"
>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
</el-tooltip>
</el-tooltip>
...
...
src/components/systemManagement/CostType.vue
View file @
69a05c01
This diff is collapsed.
Click to expand it.
src/components/systemManagement/FineBalance.vue
View file @
69a05c01
...
@@ -31,16 +31,16 @@
...
@@ -31,16 +31,16 @@
<
template
>
<
template
>
<div
class=
"page_RemittanceRecord"
>
<div
class=
"page_RemittanceRecord"
>
<div
class=
"_return_btn flearfix"
>
<div
class=
"_return_btn flearfix"
>
<span>
{{
name
}}
余额明细
</span>
<span>
{{
name
}}
{{
$t
(
'tips.yuemingxi'
)
}}
</span>
<button
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl('currencyManagement')"
>
返回
</button>
<button
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl('currencyManagement')"
>
{{
$t
(
'pub.returnBack'
)
}}
</button>
</div>
</div>
<div
class=
"_rr_content"
v-if=
"dataList.length>0"
>
<div
class=
"_rr_content"
v-if=
"dataList.length>0"
>
<p>
原币累计金额:
<span
:class=
"num>0?'fc_green':'fc_red'"
>
{{
nums
}}
</span>
<span>
本位累计金额:
<span
:class=
"Bnum>0?'fc_green':'fc_red'"
>
{{
Bnums
}}
</span></span></p>
<p>
{{
$t
(
'fnc.ybljjine'
)
}}
<span
:class=
"num>0?'fc_green':'fc_red'"
>
{{
nums
}}
</span>
<span>
{{
$t
(
'fnc.bwbljjine'
)
}}
<span
:class=
"Bnum>0?'fc_green':'fc_red'"
>
{{
Bnums
}}
</span></span></p>
<ul
class=
"_rrc_list"
v-if=
""
>
<ul
class=
"_rrc_list"
v-if=
""
>
<li
v-for=
"(item,index) in dataList"
>
<li
v-for=
"(item,index) in dataList"
>
<div
class=
"_rrcl_left clearfix"
>
<div
class=
"_rrcl_left clearfix"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"!item.backNo?item.Alias:item.backNo"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"!item.backNo?item.Alias:item.backNo"
placement=
"top-start"
>
<div
class=
"_date fl"
>
{{
!
item
.
backNo
?
item
.
Alias
:
item
.
backNo
}}
</div>
<div
class=
"_date fl"
>
{{
!
item
.
backNo
?
item
.
Alias
:
item
.
backNo
}}
</div>
</el-tooltip>
</el-tooltip>
</div>
</div>
<div
class=
"_rrcl_cen"
>
<div
class=
"_rrcl_cen"
>
...
@@ -52,12 +52,12 @@
...
@@ -52,12 +52,12 @@
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.TypeName"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.TypeName"
placement=
"top-start"
>
<span
>
{{
item
.
TypeName
}}
</span>
<span
>
{{
item
.
TypeName
}}
</span>
</el-tooltip></span>
</el-tooltip></span>
<span
class=
"_d_bl over_ellipsis pad_l80"
><span
class=
"_d_bl_name"
>
原币余额
</span>
<span
class=
"_d_bl over_ellipsis pad_l80"
><span
class=
"_d_bl_name"
>
{{
$t
(
'fnc.yuanbiyue'
)
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Initialbalance"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Initialbalance"
placement=
"top-start"
>
<span
class=
"font-16"
:class=
"num>0?'fc_green':'fc_red'"
>
{{
item
.
Initialbalance
}}
</span>
<span
class=
"font-16"
:class=
"num>0?'fc_green':'fc_red'"
>
{{
item
.
Initialbalance
}}
</span>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"_d_bl over_ellipsis"
><span
class=
"_d_bl_name"
>
本币余额
</span>
<span
class=
"_d_bl over_ellipsis"
><span
class=
"_d_bl_name"
>
{{
$t
(
'fnc.benbiyue'
)
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Balance"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Balance"
placement=
"top-start"
>
<span
class=
"font-16"
:class=
"num>0?'fc_green':'fc_red'"
>
{{
item
.
Balance
}}
</span>
<span
class=
"font-16"
:class=
"num>0?'fc_green':'fc_red'"
>
{{
item
.
Balance
}}
</span>
</el-tooltip>
</el-tooltip>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</div>
</div>
<div
class=
"_rrcl_right"
>
<div
class=
"_rrcl_right"
>
<div>
<div>
<button
style=
"height: 24px;"
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl('currencyManagement')"
>
查看明细
</button>
<button
style=
"height: 24px;"
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl('currencyManagement')"
>
{{
$t
(
'fnc.chakanmingxi'
)
}}
</button>
</div>
</div>
</div>
</div>
</li>
</li>
...
...
src/components/systemManagement/currencyManagement.vue
View file @
69a05c01
This diff is collapsed.
Click to expand it.
src/components/systemManagement/institutionsManagement.vue
View file @
69a05c01
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('system.table_jgType')"
>
<el-form-item
:label=
"$t('system.table_jgType')"
>
<el-select
filterable
v-model=
'msg.Type'
>
<el-select
filterable
v-model=
'msg.Type'
>
<el-option
label=
'不限
'
value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.unlimitedSel")
'
value=
'-1'
></el-option>
<el-option
v-for=
'item in departmentList'
<el-option
v-for=
'item in departmentList'
:label=
'item.Name'
:label=
'item.Name'
:value=
'item.Id'
:value=
'item.Id'
...
@@ -135,8 +135,8 @@
...
@@ -135,8 +135,8 @@
<ul>
<ul>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=
'新增'
,cancelEdit(),imageUrl=''"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=
$t('pub.addBtn')
,cancelEdit(),imageUrl=''"
/>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"切换排版
"
placement=
"top-end"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.qhpaiban')
"
placement=
"top-end"
>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
</el-tooltip>
</el-tooltip>
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<span
class=
"PingFangSC"
v-else
>
-
</span>
<span
class=
"PingFangSC"
v-else
>
-
</span>
</p>
</p>
<p
class=
"_btn"
>
<p
class=
"_btn"
>
<span
class=
"_e"
@
click=
"editCurency(item.ID,item.LogoStr),text=
'修改'
,addShow=true"
>
{{
$t
(
'pub.updateMsg'
)
}}
</span>
<span
class=
"_e"
@
click=
"editCurency(item.ID,item.LogoStr),text=
$t('pub.updateMsg')
,addShow=true"
>
{{
$t
(
'pub.updateMsg'
)
}}
</span>
<span
class=
"_d"
@
click=
"financeinfoRemove(item.ID,item.Name)"
>
{{
$t
(
'system.table_delete'
)
}}
</span>
<span
class=
"_d"
@
click=
"financeinfoRemove(item.ID,item.Name)"
>
{{
$t
(
'system.table_delete'
)
}}
</span>
</p>
</p>
</div>
</div>
...
@@ -170,11 +170,11 @@
...
@@ -170,11 +170,11 @@
</div>
</div>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-if=
"transitionShow2"
v-loading=
"loading"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-if=
"transitionShow2"
v-loading=
"loading"
>
<tr>
<tr>
<th>
机构名称
</th>
<th>
{{
$t
(
'system.table_jgName'
)
}}
</th>
<th>
机构代码
</th>
<th>
{{
$t
(
'system.table_jgCode'
)
}}
</th>
<th>
机构类型
</th>
<th>
{{
$t
(
'system.table_jgType'
)
}}
</th>
<th>
下属账号
</th>
<th>
{{
$t
(
'insManage.im_acc'
)
}}
</th>
<th>
操作
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
>
<td>
{{
item
.
Name
}}
</td>
<td>
{{
item
.
Name
}}
</td>
...
@@ -183,10 +183,10 @@
...
@@ -183,10 +183,10 @@
<td><span
class=
"PingFangSC _PeopleNum"
@
click=
"item.PeopleNum!=0?goUrl('AccountPageList',item.ID):''"
>
{{
item
.
PeopleNum
}}
</span></td>
<td><span
class=
"PingFangSC _PeopleNum"
@
click=
"item.PeopleNum!=0?goUrl('AccountPageList',item.ID):''"
>
{{
item
.
PeopleNum
}}
</span></td>
<td>
<td>
<el-row>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改
"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')
"
placement=
"top-start"
>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"editCurency(item.ID,item.LogoStr),text=
'修改'
,addShow=true"
></el-button>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"editCurency(item.ID,item.LogoStr),text=
$t('pub.updateMsg')
,addShow=true"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除
"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')
"
placement=
"top-start"
>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"financeinfoRemove(item.ID,item.Name)"
></el-button>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"financeinfoRemove(item.ID,item.Name)"
></el-button>
</el-tooltip>
</el-tooltip>
</el-row>
</el-row>
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
</div>
</div>
</div>
</div>
<div
class=
"_vMG_edit"
:class=
"addShow==true?'edHeight':''"
>
<div
class=
"_vMG_edit"
:class=
"addShow==true?'edHeight':''"
>
<p
class=
"_tit"
>
{{
text
}}
机构
</p>
<p
class=
"_tit"
>
{{
text
}}
{{
$t
(
'fnc.jigou'
)
}}
</p>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"100px"
>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"100px"
>
<el-row>
<el-row>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
...
@@ -243,8 +243,8 @@
...
@@ -243,8 +243,8 @@
<img
v-if=
"imageUrl"
:src=
"imageUrl"
style=
"height:34px"
class=
"avatar"
>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
style=
"height:34px"
class=
"avatar"
>
<p
class=
"_up_text"
>
<p
class=
"_up_text"
>
<i
class=
"el-icon-plus"
></i>
<i
class=
"el-icon-plus"
></i>
<span
v-if=
"imageUrl"
class=
"repUp"
>
重新上传
</span>
<span
v-if=
"imageUrl"
class=
"repUp"
>
{{
$t
(
'system.up_againUp'
)
}}
</span>
<span
v-else
class=
"repUp"
>
上传图片
</span>
<span
v-else
class=
"repUp"
>
{{
$t
(
'system.up_upImg'
)
}}
</span>
</p>
</p>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
<el-input
type=
"text"
v-model=
"addMsg.Code"
:placeholder=
"$t('system.ph_jgCode')"
class=
"w210"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.Code"
:placeholder=
"$t('system.ph_jgCode')"
class=
"w210"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('system.table_Url')"
class=
'url'
>
<el-form-item
:label=
"$t('system.table_Url')"
class=
'url'
>
<el-input
placeholder=
"请输入内容"
v-model=
"addMsg.Url"
:placeholder=
"$t('system.ph_url')"
class=
"w210"
>
<el-input
v-model=
"addMsg.Url"
:placeholder=
"$t('system.ph_url')"
class=
"w210"
>
<template
slot=
"prepend"
>
Http://
</
template
>
<template
slot=
"prepend"
>
Http://
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -318,14 +318,14 @@ export default {
...
@@ -318,14 +318,14 @@ export default {
imageUrl
:
''
,
imageUrl
:
''
,
rules
:
{
//表单必填验证
rules
:
{
//表单必填验证
Name
:
[
Name
:
[
{
required
:
true
,
message
:
'请输入机构名称'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrjgmingcheng'
)
,
trigger
:
'blur'
}
],
],
// EnCode: [
// EnCode: [
// { required: true, message: '请输入机构代码', trigger: 'blur' },
// { required: true, message: '请输入机构代码', trigger: 'blur' },
// { pattern: this.$commonUtils.Regex.el_IsEnglish, message: '请输入正确的机构代码' }
// { pattern: this.$commonUtils.Regex.el_IsEnglish, message: '请输入正确的机构代码' }
// ],
// ],
Type
:
[
Type
:
[
{
required
:
true
,
message
:
'请选择机构类型'
,
trigger
:
'change'
}
{
required
:
true
,
message
:
this
.
$t
(
'rule.sxzjgleixing'
)
,
trigger
:
'change'
}
],
],
},
},
transitionShow
:
false
,
transitionShow
:
false
,
...
@@ -408,27 +408,27 @@ export default {
...
@@ -408,27 +408,27 @@ export default {
addInstitutions
(){
// 保存 修改、新增
addInstitutions
(){
// 保存 修改、新增
this
.
apipost
(
'FinancialInstitutions_post_Set'
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
'FinancialInstitutions_post_Set'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tips
(
'保存成功!'
,
'success'
)
this
.
tips
(
this
.
$t
(
'tips.saveYes'
)
,
'success'
)
this
.
getList
();
this
.
getList
();
this
.
initAddMsg
();
this
.
initAddMsg
();
this
.
imageUrl
=
''
;
this
.
imageUrl
=
''
;
this
.
addShow
=
false
this
.
addShow
=
false
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
financeinfoRemove
(
id
,
text
){
//删除
financeinfoRemove
(
id
,
text
){
//删除
this
.
$confirm
(
'是否删除'
+
text
+
'?'
,
'提示'
,
{
this
.
$confirm
(
this
.
$t
(
'tips.qrsc'
)
+
text
+
'?'
,
this
.
$t
(
'tips.tips'
)
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
)
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
)
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
deletInstitutions
(
id
)
this
.
deletInstitutions
(
id
)
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'已取消删除'
message
:
this
.
$t
(
'hotel.hotel_HasBeenCancelled'
)
});
});
});
});
},
},
...
@@ -436,7 +436,7 @@ export default {
...
@@ -436,7 +436,7 @@ export default {
this
.
apipost
(
'FinancialInstitutions_post_Remove'
,{
ID
:
id
},
res
=>
{
this
.
apipost
(
'FinancialInstitutions_post_Remove'
,{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
innerVisible
=
false
;
this
.
innerVisible
=
false
;
this
.
tips
(
'删除成功'
,
'success'
)
this
.
tips
(
this
.
$t
(
'tips.shanchuchenggong'
)
,
'success'
)
}
else
{
}
else
{
this
.
tips
(
res
.
data
.
message
,
'error'
);
this
.
tips
(
res
.
data
.
message
,
'error'
);
}
}
...
@@ -487,7 +487,6 @@ export default {
...
@@ -487,7 +487,6 @@ export default {
this
.
imageUrl
=
''
;
this
.
imageUrl
=
''
;
},
},
handleAvatarSuccess
(
res
,
file
)
{
//上传
handleAvatarSuccess
(
res
,
file
)
{
//上传
console
.
log
(
'上传文件'
,
res
)
if
(
res
.
resultCode
==
1
){
if
(
res
.
resultCode
==
1
){
var
img_path
=
res
.
data
.
FullFilePath
var
img_path
=
res
.
data
.
FullFilePath
this
.
addMsg
.
Logo
=
res
.
data
.
FilePath
this
.
addMsg
.
Logo
=
res
.
data
.
FilePath
...
@@ -499,10 +498,10 @@ export default {
...
@@ -499,10 +498,10 @@ export default {
const
extension2
=
file
.
name
.
split
(
"."
)[
1
]
===
"png"
;
const
extension2
=
file
.
name
.
split
(
"."
)[
1
]
===
"png"
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
10
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
10
;
if
(
!
extension
&&
!
extension2
)
{
if
(
!
extension
&&
!
extension2
)
{
console
.
log
(
"只能是 jpg png格式!"
);
this
.
$message
.
error
(
thi
.
$t
(
'tips.znsJPGPNGgs'
))
}
}
if
(
!
isLt2M
)
{
if
(
!
isLt2M
)
{
console
.
log
(
"大小不能超过 10MB!"
);
this
.
$message
.
error
(
thi
.
$t
(
'tips.wjdxbncgsz'
))
}
}
return
extension
||
(
extension2
&&
isLt2M
);
return
extension
||
(
extension2
&&
isLt2M
);
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment