Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
201e7228
Commit
201e7228
authored
Jun 06, 2022
by
11528
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不良定义和工站的确定和修改按钮样式
parent
f65f1e66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
Station.vue
src/views/productionInfo/Station.vue
+6
-6
badDefinition.vue
src/views/productionInfo/badDefinition.vue
+11
-11
No files found.
src/views/productionInfo/Station.vue
View file @
201e7228
...
...
@@ -207,8 +207,8 @@
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"canleBtn"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"danger"
class=
"redBtn"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
class=
"canleBtn"
@
click=
"cancel"
>
取 消
Cancel
</el-button>
<el-button
type=
"danger"
class=
"redBtn"
@
click=
"submitForm"
>
确 定
Confirm
</el-button>
</div>
</el-dialog>
</div>
...
...
@@ -301,8 +301,8 @@ export default {
console
.
log
(
row
)
const
text
=
row
.
flag
===
'0'
?
'停用'
:
'启用'
this
.
$confirm
(
`“
${
row
.
staName
}
”工站即将被
${
text
}
,是否继续?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定
Confirm
'
,
cancelButtonText
:
'取消
Cancel
'
,
cancelButtonClass
:
'btn-custom-cancel'
,
customClass
:
'confirmBtnSure'
,
type
:
'warning'
...
...
@@ -332,8 +332,8 @@ export default {
/** 删除按钮方法 **/
handleDelete
(
row
)
{
this
.
$confirm
(
'所选择数据被删除后不可再恢复,是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定
Confirm
'
,
cancelButtonText
:
'取消
Cancel
'
,
cancelButtonClass
:
'btn-custom-cancel'
,
type
:
'warning'
}).
then
(
function
()
{
...
...
src/views/productionInfo/badDefinition.vue
View file @
201e7228
...
...
@@ -227,8 +227,8 @@
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"canleBtn"
@
click=
"cancel"
>
取
消
</el-button>
<el-button
class=
"redBtn"
type=
"danger"
@
click=
"submitForm"
>
确
定
</el-button>
<el-button
class=
"canleBtn"
@
click=
"cancel"
>
取
消 Cancel
</el-button>
<el-button
class=
"redBtn"
type=
"danger"
@
click=
"submitForm"
>
确
定 Confirm
</el-button>
</div>
</el-dialog>
<!-- <el-dialog :close-on-click-modal="false" class="badDialog" title="修改" :visible.sync="openBadOne" width="60%" append-to-body>-->
...
...
@@ -302,8 +302,8 @@
<!-- </el-row>-->
<!-- </el-form>-->
<!-- <div slot="footer" class="dialog-footer">-->
<!-- <el-button class="canleBtn" @click="cancel">取消</el-button>-->
<!-- <el-button class="redBtn" type="danger" @click="submitForm">确定</el-button>-->
<!-- <el-button class="canleBtn" @click="cancel">取消
Cancel
</el-button>-->
<!-- <el-button class="redBtn" type="danger" @click="submitForm">确定
Confirm
</el-button>-->
<!-- </div>-->
<!-- </el-dialog>-->
</div>
...
...
@@ -445,8 +445,8 @@ export default {
handleDelete(row) {
const badId = row.businessId
this.$confirm('本条数据被删除后不可再恢复,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定
Confirm
',
cancelButtonText: '取消
Cancel
',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
...
...
@@ -468,7 +468,7 @@ export default {
this.title = '修改'
// this.getChildrenDept(userId)
},
/** 取消按钮操作 */
/** 取消
Cancel
按钮操作 */
cancel() {
this.openBad = false
this.reset()
...
...
@@ -477,8 +477,8 @@ export default {
handleStatusChange(row) {
const text = row.flag === '1' ? '启用' : '停用'
this.$confirm('确认要' + text + '编号为"
' + row.rejectCode + '
"的状态吗?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定
Confirm
',
cancelButtonText: '取消
Cancel
',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
...
...
@@ -567,8 +567,8 @@ export default {
handleExport() {
const queryParams = this.queryParams
this.$confirm('是否确认导出所有用户信息?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定
Confirm
',
cancelButtonText: '取消
Cancel
',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
...
...
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