列严发起业务增加判断;信用惩戒子系统登录页改成内蒙字眼
This commit is contained in:
parent
e00900fc49
commit
675d508634
|
|
@ -64,8 +64,7 @@
|
|||
|
||||
<script>
|
||||
import { listEnt } from '@/api/entBase'
|
||||
import { startIncludeIllegal } from '@/api/illegal'
|
||||
import { findOrganization } from '@/api/user'
|
||||
import { checkIllegalStart, startIncludeIllegal } from '@/api/illegal'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
|
@ -91,13 +90,16 @@ export default {
|
|||
},
|
||||
// 启动待办
|
||||
startTask(item) {
|
||||
// 判断用户的区是否满足条件
|
||||
const code = this.decisionOrgan.scountrycode
|
||||
if (!(item.suporg && (item.suporg.startsWith(code) || item.suporg.startsWith(code)))) {
|
||||
this.$message.warning('该主体不属于' + this.decisionOrgan.sregorgname)
|
||||
return
|
||||
const checkParams = {
|
||||
pripid: item.pripid
|
||||
}
|
||||
|
||||
checkIllegalStart(checkParams).then(validateRes => {
|
||||
if (!validateRes.code === 0) {
|
||||
this.$message.error(validateRes.msg || '无法发起该业务')
|
||||
}
|
||||
}).catch(error => {
|
||||
this.$message.error('验证失败:' + error.message)
|
||||
})
|
||||
this.$confirm('是否确认启动待办', '提示').then(() => {
|
||||
const params = {
|
||||
pripid: item.pripid
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
label-position="left"
|
||||
>
|
||||
<div class="title-container">
|
||||
<h3 class="title">广州市市场监督管理局信用惩戒管理系统</h3>
|
||||
<h3 class="title">内蒙古自治区市场监督管理局信用惩戒管理系统</h3>
|
||||
</div>
|
||||
|
||||
<el-form-item prop="username">
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
style="width:100%;margin-bottom:30px;"
|
||||
@click.native.prevent="handleLogin"
|
||||
>登录</el-button>
|
||||
|
||||
|
||||
<!-- <img src="http://host:8090/aiccs-api/test/pageCodeTest" style="margin-left:10px;width: 200px; height: 100px"> -->
|
||||
|
||||
<!-- <div class="tips">
|
||||
|
|
|
|||
Loading…
Reference in New Issue