Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-admin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-admin
Commits
d4a72509
提交
d4a72509
authored
9月 03, 2024
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc防伪码导出txt
上级
de16e637
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
67 行增加
和
11 行删除
+67
-11
changeCode.vue
src/views/resource_manage/paperbook_module/changeCode.vue
+45
-5
index.vue
src/views/security_code_manage/security_code/index.vue
+22
-6
没有找到文件。
src/views/resource_manage/paperbook_module/changeCode.vue
浏览文件 @
d4a72509
...
...
@@ -93,7 +93,7 @@
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"display:flex;justify-content:center;"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"createCodeDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dataSubmitCode"
v-loading=
"sending"
>
确 定
</el-button>
</span>
...
...
@@ -111,8 +111,8 @@
</div>
</el-dialog>
<!-- 下载防伪码 -->
<el-dialog
title=
"下载防伪码方式"
:visible
.
sync=
"downloadTypeDialog"
width=
"30%"
center
>
<div
class=
"downloadType"
style=
"
width:100%;
text-align:center;"
>
<el-dialog
title=
"下载防伪码方式"
:visible
.
sync=
"downloadTypeDialog"
width=
"30%"
@
close=
"closeDownQR"
>
<div
class=
"downloadType"
style=
"text-align:center;"
>
<el-radio-group
v-model=
"downLoadType"
>
<el-radio
:label=
"1"
>
携带暗码
</el-radio>
<el-radio
:label=
"2"
>
不带暗码
</el-radio>
...
...
@@ -124,13 +124,21 @@
</span>
</el-dialog>
<!-- 导出TXT文件 -->
<el-dialog
title=
"批量导出TXT文件"
:visible
.
sync=
"exportTxtTypeDialog"
width=
"30%"
center
>
<div
class=
"downloadType"
style=
"width:100%;text-align:center;"
>
<el-dialog
title=
"批量导出TXT文件"
:visible
.
sync=
"exportTxtTypeDialog"
width=
"30%"
@
click=
"closeExportDialog"
>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
是否携带暗码:
</span>
<el-radio-group
v-model=
"exportTxtType"
>
<el-radio
:label=
"1"
>
携带暗码
</el-radio>
<el-radio
:label=
"2"
>
不带暗码
</el-radio>
</el-radio-group>
</div>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
是否携带明码:
</span>
<el-radio-group
v-model=
"exportTxtPlainType"
>
<el-radio
:label=
"1"
>
携带明码
</el-radio>
<el-radio
:label=
"2"
>
不带明码
</el-radio>
</el-radio-group>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"exportTxtTypeDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirmExportTxt()"
>
确 定
</el-button>
...
...
@@ -209,6 +217,7 @@ import queryString from "query-string";
downLoadType
:
1
,
exportTxtTypeDialog
:
false
,
exportTxtType
:
1
,
exportTxtPlainType
:
1
,
lockingState
:
null
,
collapse
:
false
,
}
...
...
@@ -289,6 +298,12 @@ import queryString from "query-string";
}
// }
},
closeDownQR
(){
this
.
downloadTypeDialog
=
false
// this.startCode0 = null
// this.startCode1 = null
this
.
downLoadType
=
1
},
confirmDownLoad
(){
this
.
downloadTypeDialog
=
false
let
ids
=
getSelectionIds
(
this
.
chooiceList
);
...
...
@@ -457,12 +472,18 @@ import queryString from "query-string";
this
.
$message
.
warning
(
'图书为锁定状态时,该功能方可使用'
)
}
},
closeExportDialog
(){
this
.
exportTxtType
=
1
this
.
exportTxtPlainType
=
1
this
.
exportTxtTypeDialog
=
false
},
confirmExportTxt
(){
this
.
exportTxtTypeDialog
=
false
let
ids
=
getSelectionIds
(
this
.
chooiceList
);
let
data
=
{
ids
:
ids
,
isCode
:
this
.
exportTxtType
,
isPlain
:
this
.
exportTxtPlainType
,
phyId
:
this
.
listQuery
.
phyId
,
code
:
this
.
listQuery
.
code
,
status
:
this
.
listQuery
.
status
,
...
...
@@ -601,6 +622,25 @@ import queryString from "query-string";
<
style
scoped
lang=
"scss"
>
@import
'@/styles/top_common.scss'
;
.downloadType
{
width
:
100%
;
height
:
auto
;
text-align
:
left
;
margin-bottom
:
20px
;
.labelStyle
{
font-weight
:
bold
;
font-size
:
16px
;
color
:
#222
;
width
:
120px
;
display
:
inline-block
;
margin-right
:
10px
;
text-align
:
right
;
}
}
.dialog-footer
{
display
:flex
;
justify-content
:center
;
}
.back_content
{
width
:
100%
;
height
:
40px
;
...
...
src/views/security_code_manage/security_code/index.vue
浏览文件 @
d4a72509
...
...
@@ -98,7 +98,7 @@
</el-form-item> -->
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"display:flex;justify-content:center;"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"createCodeDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dataSubmitCode"
v-loading=
"sending"
>
确 定
</el-button>
</span>
...
...
@@ -127,7 +127,7 @@
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"display:flex;justify-content:center;"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"relevanceBookDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dataSubmitRelevanceBook"
v-loading=
"sending"
>
确 定
</el-button>
</span>
...
...
@@ -146,7 +146,7 @@
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"display:flex;justify-content:center;"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"disassociateBookDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dataSubmitDisassociateBook"
v-loading=
"sending"
>
确 定
</el-button>
</span>
...
...
@@ -164,7 +164,7 @@
</div>
</el-dialog>
<!-- 下载防伪码 -->
<el-dialog
title=
"下载防伪码方式"
:visible
.
sync=
"downloadTypeDialog"
width=
"30%"
center
@
close=
"closeDownQR"
>
<el-dialog
title=
"下载防伪码方式"
:visible
.
sync=
"downloadTypeDialog"
width=
"30%"
@
close=
"closeDownQR"
>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
是否携带暗码:
</span>
<el-radio-group
v-model=
"downLoadType"
>
...
...
@@ -183,7 +183,7 @@
</span>
</el-dialog>
<!-- 导出TXT文件 -->
<el-dialog
title=
"批量导出TXT文件"
:visible
.
sync=
"exportTxtTypeDialog"
width=
"30%"
center
@
close=
"closeDownTxt"
>
<el-dialog
title=
"批量导出TXT文件"
:visible
.
sync=
"exportTxtTypeDialog"
width=
"30%"
@
close=
"closeDownTxt"
>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
是否携带暗码:
</span>
<el-radio-group
v-model=
"exportTxtType"
>
...
...
@@ -192,6 +192,13 @@
</el-radio-group>
</div>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
是否携带明码:
</span>
<el-radio-group
v-model=
"exportTxtPlainType"
>
<el-radio
:label=
"1"
>
携带明码
</el-radio>
<el-radio
:label=
"2"
>
不带明码
</el-radio>
</el-radio-group>
</div>
<div
class=
"downloadType"
>
<span
class=
"labelStyle"
>
明码区间值:
</span>
<el-input
v-model=
"startTxtCode0"
placeholder=
"起始值"
clearable
style=
"width:140px;"
@
input=
"limitNumTxtDialog"
/>
至
<el-input
v-model=
"startTxtCode1"
placeholder=
"结束值"
clearable
style=
"width:140px;"
@
input=
"changeCodeEndNumTxtDialog"
/>
...
...
@@ -289,6 +296,7 @@ import store from '@/store'
startTxtCode1
:
null
,
exportTxtTypeDialog
:
false
,
exportTxtType
:
1
,
exportTxtPlainType
:
1
,
relevanceBookDialog
:
false
,
relevanceBookForm
:{
bookList
:{},
...
...
@@ -584,6 +592,7 @@ import store from '@/store'
this
.
downloadTypeDialog
=
false
this
.
startCode0
=
null
this
.
startCode1
=
null
this
.
downLoadType
=
1
},
confirmDownLoad
(){
if
(
this
.
startCode0
&&
this
.
startCode1
){
...
...
@@ -694,9 +703,11 @@ import store from '@/store'
}
},
closeDownTxt
(){
this
.
exportTxtTypeDialog
=
false
this
.
exportTxtType
=
1
this
.
exportTxtPlainType
=
1
this
.
startTxtCode0
=
null
this
.
startTxtCode1
=
null
this
.
exportTxtTypeDialog
=
false
},
confirmExportTxt
(){
if
(
this
.
startTxtCode0
&&
this
.
startTxtCode1
){
...
...
@@ -714,6 +725,7 @@ import store from '@/store'
let
data
=
{
ids
:
ids
,
isCode
:
this
.
exportTxtType
,
isPlain
:
this
.
exportTxtPlainType
,
code0
:
this
.
startTxtCode0
,
code1
:
this
.
startTxtCode1
,
departmentCode
:
this
.
listQuery
.
departmentCode
?
this
.
listQuery
.
departmentCode
:
this
.
JavaInfo
.
oldCode
...
...
@@ -857,6 +869,10 @@ import store from '@/store'
text-align
:
right
;
}
}
.dialog-footer
{
display
:flex
;
justify-content
:center
;
}
.back_content
{
width
:
100%
;
height
:
40px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论