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