Commit 8eb340aa authored by jiaxu.yan's avatar jiaxu.yan

fix: 70356 70365 70367 70398 70399 70403

parent ca6dfd66
......@@ -544,7 +544,9 @@ export default {
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.jobName + '"任务吗?')
.confirm('确认要"' + text + '""' + row.jobName + '"任务吗?', {
closeOnClickModal: false
})
.then(function () {
return changeJobStatus(row.jobId, row.status)
})
......@@ -558,7 +560,9 @@ export default {
/* 立即执行一次 */
handleRun(row) {
this.$modal
.confirm('确认要立即执行一次"' + row.jobName + '"任务吗?')
.confirm('确认要立即执行一次"' + row.jobName + '"任务吗?', {
closeOnClickModal: false
})
.then(function () {
return runJob(row.jobId, row.jobGroup)
})
......@@ -628,7 +632,9 @@ export default {
handleDelete(row) {
const jobIds = row.jobId || this.ids
this.$modal
.confirm('是否确认删除定时任务编号为"' + jobIds + '"的数据项?')
.confirm('是否确认删除定时任务编号为"' + jobIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delJob(jobIds)
})
......
......@@ -351,7 +351,9 @@ export default {
handleDelete(row) {
const jobLogIds = this.ids
this.$modal
.confirm('是否确认删除调度日志编号为"' + jobLogIds + '"的数据项?')
.confirm('是否确认删除调度日志编号为"' + jobLogIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delJobLog(jobLogIds)
})
......@@ -364,7 +366,9 @@ export default {
/** 清空按钮操作 */
handleClean() {
this.$modal
.confirm('是否确认清空所有调度日志数据项?')
.confirm('是否确认清空所有调度日志数据项?', {
closeOnClickModal: false
})
.then(function () {
return cleanJobLog()
})
......
......@@ -284,7 +284,9 @@ export default {
handleDelete(row) {
const infoIds = row.infoId || this.ids
this.$modal
.confirm('是否确认删除访问编号为"' + infoIds + '"的数据项?')
.confirm('是否确认删除访问编号为"' + infoIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delLogininfor(infoIds)
})
......@@ -297,7 +299,9 @@ export default {
/** 清空按钮操作 */
handleClean() {
this.$modal
.confirm('是否确认清空所有登录日志数据项?')
.confirm('是否确认清空所有登录日志数据项?', {
closeOnClickModal: false
})
.then(function () {
return cleanLogininfor()
})
......@@ -311,7 +315,9 @@ export default {
handleUnlock() {
const username = this.selectName
this.$modal
.confirm('是否确认解锁用户"' + username + '"数据项?')
.confirm('是否确认解锁用户"' + username + '"数据项?', {
closeOnClickModal: false
})
.then(function () {
return unlockLogininfor(username)
})
......
......@@ -4,7 +4,7 @@
<div class="warn-prompt">该文件第一次出现,请维护如下相关信息</div>
<div class="file-box">
<div class="file-box-header">企业文件</div>
<div class="file-box-header">企业文件信息</div>
<el-form
ref="fileRef"
:model="model"
......
......@@ -49,7 +49,7 @@
<div class="prompt-message">
<i class="icon el-icon-info"></i>
<span
>问卷填写情况:共<span class="blue weight">
>表单填写情况:共<span class="blue weight">
{{ model.detailsList.length }} </span
>条审查细则,已完成
<span class="green weight">{{ readNumber }}</span> 条,未完成
......
......@@ -4,7 +4,7 @@
<div class="warn-prompt">该文件第一次出现,请维护如下相关信息</div>
<div class="file-box">
<div class="file-box-header">企业文件</div>
<div class="file-box-header">企业文件信息</div>
<el-form
ref="fileRef"
:model="model"
......
......@@ -49,7 +49,7 @@
<div class="prompt-message">
<i class="icon el-icon-info"></i>
<span
>问卷填写情况:共<span class="blue weight">
>表单填写情况:共<span class="blue weight">
{{ model.detailsList.length }} </span
>条审查细则,已完成
<span class="green weight">{{ readNumber }}</span> 条,未完成
......
......@@ -10,7 +10,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="车企地址" prop="address">
<el-form-item label="企业地址" prop="address">
<el-input
v-model="queryParams.address"
placeholder="请输入"
......@@ -18,14 +18,6 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="车企邮编" prop="postcode">
<el-input
v-model="queryParams.postcode"
placeholder="请输入"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="企业联系人" prop="enterpriseContact">
<el-input
v-model="queryParams.enterpriseContact"
......@@ -63,7 +55,7 @@
</el-form-item> -->
</el-form>
<!-- <el-row :gutter="10" class="mb10">
<el-row v-if="view == 1" :gutter="10" class="mb10">
<el-col :span="1.5">
<el-button
v-hasPermi="['setting:company:add']"
......@@ -75,7 +67,7 @@
>新建</el-button
>
</el-col>
</el-row> -->
</el-row>
<el-table
v-if="refreshTable"
v-loading="loading"
......@@ -101,7 +93,7 @@
>
</el-table-column>
<el-table-column
label="企业邮编"
label="邮编"
prop="postcode"
min-width="200"
align="left"
......@@ -121,6 +113,14 @@
align="left"
>
</el-table-column>
<el-table-column
label="创建人员"
prop="createBy"
min-width="200"
align="left"
sortable
>
</el-table-column>
<el-table-column
label="创建时间"
prop="createTime"
......@@ -214,7 +214,9 @@ export default {
methods: {
handleDelete(id) {
this.$modal
.confirm('是否确定删除该条数据?')
.confirm('是否确定删除该条数据?', '操作确认', {
closeOnClickModal: false
})
.then(() => {
this.model.uuid = id
this.model.destroy(() => {
......
......@@ -362,7 +362,9 @@ export default {
handleDelete(node, data) {
// console.log(node, data)
this.$modal
.confirm('是否确定删除该条数据?', '操作确认')
.confirm('是否确定删除该条数据?', '操作确认', {
closeOnClickModal: false
})
.then(() => {
// return delNotice(noticeIds)
})
......
......@@ -165,7 +165,9 @@ export default {
},
handleDelete(row) {
this.$modal
.confirm('是否确定删除场景?', '操作确认')
.confirm('是否确定删除该条数据?', {
closeOnClickModal: false
})
.then(() => {
// return delNotice(noticeIds)
})
......
......@@ -185,7 +185,9 @@ export default {
},
handleDelete(row) {
this.$modal
.confirm('是否确定删除该条数据?', '操作确认')
.confirm('是否确定删除该条数据?', '操作确认', {
closeOnClickModal: false
})
.then(() => {
// return delNotice(noticeIds)
})
......
......@@ -400,7 +400,9 @@ export default {
handleDelete(row) {
const configIds = row.configId || this.ids
this.$modal
.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?')
.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delConfig(configIds)
})
......
......@@ -410,7 +410,9 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
this.$modal
.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?')
.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delDept(row.deptId)
})
......
......@@ -465,7 +465,9 @@ export default {
handleDelete(row) {
const dictCodes = row.dictCode || this.ids
this.$modal
.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?')
.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delData(dictCodes)
})
......
......@@ -395,7 +395,9 @@ export default {
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal
.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?')
.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delType(dictIds)
})
......
......@@ -549,7 +549,9 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
this.$modal
.confirm('是否确认删除名称为"' + row.menuName + '"的数据项?')
.confirm('是否确定删除该条数据?', {
closeOnClickModal: false
})
.then(function () {
return delMenu(row.menuId)
})
......
......@@ -371,7 +371,9 @@ export default {
handleDelete(row) {
const noticeIds = row.noticeId || this.ids
this.$modal
.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?')
.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?', {
closeOnClickModal: false
})
.then(() => {
return delNotice(noticeIds)
})
......
......@@ -352,7 +352,9 @@ export default {
handleDelete(row) {
const postIds = row.postId || this.ids
this.$modal
.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?')
.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delPost(postIds)
})
......
......@@ -238,7 +238,9 @@ export default {
cancelAuthUser(row) {
const roleId = this.queryParams.roleId
this.$modal
.confirm('确认要取消该用户"' + row.userName + '"角色吗?')
.confirm('确认要取消该用户"' + row.userName + '"角色吗?', {
closeOnClickModal: false
})
.then(function () {
return authUserCancel({ userId: row.userId, roleId: roleId })
})
......@@ -253,7 +255,9 @@ export default {
const roleId = this.queryParams.roleId
const userIds = this.userIds.join(',')
this.$modal
.confirm('是否取消选中用户授权数据项?')
.confirm('是否取消选中用户授权数据项?', {
closeOnClickModal: false
})
.then(function () {
return authUserCancelAll({ roleId: roleId, userIds: userIds })
})
......
......@@ -514,7 +514,9 @@ export default {
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?')
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?', {
closeOnClickModal: false
})
.then(function () {
return changeRoleStatus(row.roleId, row.status)
})
......@@ -709,7 +711,9 @@ export default {
handleDelete(row) {
const roleIds = row.roleId || this.ids
this.$modal
.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项?')
.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delRole(roleIds)
})
......
......@@ -666,7 +666,9 @@ export default {
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.userName + '"用户吗?')
.confirm('确认要"' + text + '""' + row.userName + '"用户吗?', {
closeOnClickModal: false
})
.then(function () {
return changeUserStatus(row.userId, row.status)
})
......@@ -803,7 +805,9 @@ export default {
handleDelete(row) {
const userIds = row.userId || this.ids
this.$modal
.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?')
.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?', {
closeOnClickModal: false
})
.then(function () {
return delUser(userIds)
})
......
......@@ -672,7 +672,9 @@ export default {
},
teakDelete(id) {
this.$modal
.confirm('是否确定删除该条数据?')
.confirm('是否确定删除该条数据?', '操作确认', {
closeOnClickModal: false
})
.then(() => {
removeTask({
id
......
......@@ -357,7 +357,9 @@ export default {
handleSynchDb(row) {
const tableName = row.tableName
this.$modal
.confirm('确认要强制同步"' + tableName + '"表结构吗?')
.confirm('确认要强制同步"' + tableName + '"表结构吗?', {
closeOnClickModal: false
})
.then(() => {
return synchDb(tableName)
})
......@@ -417,7 +419,9 @@ export default {
handleDelete(row) {
const tableIds = row.tableId || this.ids
this.$modal
.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?')
.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?', {
closeOnClickModal: false
})
.then(() => {
return delTable(tableIds)
})
......
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