Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
胡宝山
template_vue
Commits
9784f2ce
Commit
9784f2ce
authored
Sep 21, 2023
by
shifangwuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9/21(4)
parent
24e2fd3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
index.vue
src/views/production/gfual/index.vue
+13
-2
No files found.
src/views/production/gfual/index.vue
View file @
9784f2ce
...
@@ -70,7 +70,15 @@
...
@@ -70,7 +70,15 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
style=
"padding: 8px 16px;"
size=
"small"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
v-if=
"queryButtonVisible"
type=
"primary"
style=
"padding: 8px 16px;"
size=
"small"
@
click=
"handleQuery"
>
查询
</el-button>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -268,6 +276,7 @@ export default {
...
@@ -268,6 +276,7 @@ export default {
isRequired
:
false
,
isRequired
:
false
,
unlockButtonVisible
:
false
,
unlockButtonVisible
:
false
,
queryInputsEnabled
:
false
,
queryInputsEnabled
:
false
,
queryButtonVisible
:
true
,
// 对应后端配置文件cy.init.pgxList的的内容
// 对应后端配置文件cy.init.pgxList的的内容
phdList
:
[
'003'
],
phdList
:
[
'003'
],
// 判断是否存在缓存
// 判断是否存在缓存
...
@@ -459,6 +468,7 @@ export default {
...
@@ -459,6 +468,7 @@ export default {
type
:
'error'
type
:
'error'
})
})
}
}
this
.
queryButtonVisible
=
false
;
}
}
}).
catch
(()
=>
{
}).
catch
(()
=>
{
console
.
log
(
'Setting lockUserEnabled to true'
)
console
.
log
(
'Setting lockUserEnabled to true'
)
...
@@ -501,6 +511,7 @@ export default {
...
@@ -501,6 +511,7 @@ export default {
this
.
lockUserEnabled
=
false
this
.
lockUserEnabled
=
false
this
.
queryInputsEnabled
=
false
this
.
queryInputsEnabled
=
false
this
.
unlockButtonVisible
=
false
this
.
unlockButtonVisible
=
false
this
.
queryButtonVisible
=
true
this
.
form
.
jbcode
=
''
this
.
form
.
jbcode
=
''
this
.
form
.
wbcode
=
''
this
.
form
.
wbcode
=
''
this
.
form
.
wblot
=
''
this
.
form
.
wblot
=
''
...
@@ -548,6 +559,7 @@ export default {
...
@@ -548,6 +559,7 @@ export default {
this
.
wblotEnabled
=
false
this
.
wblotEnabled
=
false
this
.
jlcodEnabled
=
false
this
.
jlcodEnabled
=
false
this
.
lockUserEnabled
=
false
this
.
lockUserEnabled
=
false
this
.
queryButtonVisible
=
true
// 手动重置错误信息
// 手动重置错误信息
this
.
$refs
.
form
.
clearValidate
();
// 清空表单验证信息
this
.
$refs
.
form
.
clearValidate
();
// 清空表单验证信息
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -630,7 +642,6 @@ export default {
...
@@ -630,7 +642,6 @@ export default {
.
catch
(()
=>
{
.
catch
(()
=>
{
// 请求失败,设置字段状态
// 请求失败,设置字段状态
this
.
setFieldEnabledStatus
(
false
);
this
.
setFieldEnabledStatus
(
false
);
this
.
showErrorMessage
(
'保存失败'
);
this
.
jbcodeEnabled
=
false
this
.
jbcodeEnabled
=
false
this
.
wbcodeEnabled
=
false
this
.
wbcodeEnabled
=
false
this
.
wblotEnabled
=
false
this
.
wblotEnabled
=
false
...
...
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