2022-06-29 17:28:49 +08:00
|
|
|
|
<!--
|
|
|
|
|
* @Author: hisense.liangjunhua
|
|
|
|
|
* @Date: 2022-06-29 15:59:51
|
2022-10-20 14:51:02 +08:00
|
|
|
|
* @LastEditors: Light
|
2022-11-17 17:42:56 +08:00
|
|
|
|
* @LastEditTime: 2022-11-17 17:39:31
|
2022-06-29 17:28:49 +08:00
|
|
|
|
* @Description: 告诉大家这是什么
|
|
|
|
|
-->
|
|
|
|
|
<!-- 流程业务表单 -->
|
|
|
|
|
<template>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<el-card shadow="never" class="aui-card--fill" :key="showKey">
|
|
|
|
|
<!-- 申请人详情 -->
|
|
|
|
|
<div>
|
|
|
|
|
<h3>申请人信息</h3>
|
|
|
|
|
<div class="big-BOX">
|
|
|
|
|
<p>
|
2022-10-17 16:01:03 +08:00
|
|
|
|
<span class="text">申请人:<span> {{ dataForm.content.user || '--' }}</span></span>
|
|
|
|
|
<span class="text">电话:<span>{{ dataForm.content.phone || '--' }}</span></span>
|
|
|
|
|
<span class="text">单位:<span>{{ dataForm.content.unit || '--' }}</span></span>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
<span class="text">
|
|
|
|
|
能力申请标题:<span>
|
2022-10-17 16:01:03 +08:00
|
|
|
|
{{ dataForm.content.title || '--' }}</span></span>
|
|
|
|
|
<span class="text" v-if="dataForm.content.applicationSystem">应用系统:<span>{{
|
|
|
|
|
dataForm.content.applicationSystem || '--'
|
|
|
|
|
}}</span></span>
|
|
|
|
|
<span class="text"></span>
|
2022-07-25 09:51:55 +08:00
|
|
|
|
</p>
|
|
|
|
|
<p>
|
2022-10-17 16:01:03 +08:00
|
|
|
|
<span v-if="dataForm.content.applicationSceneStr">应用场景:<span>
|
|
|
|
|
{{ dataForm.content.applicationSceneStr || '--' }}</span></span>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
</p>
|
2022-07-29 18:05:04 +08:00
|
|
|
|
<p>
|
|
|
|
|
<span>
|
2022-08-23 17:47:24 +08:00
|
|
|
|
需求依据:<span>
|
2022-10-17 16:01:03 +08:00
|
|
|
|
{{ dataForm.content.applicationBackground || '--' }}</span></span>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button type="primary" v-if="dataForm.content.attachment" size="small" @click="download(dataForm.content)">附件下载</el-button>
|
|
|
|
|
</div>
|
2022-07-29 18:05:04 +08:00
|
|
|
|
</p>
|
2022-08-12 18:06:56 +08:00
|
|
|
|
<!-- <p>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<span>
|
|
|
|
|
能力应用期望效果:<span>
|
|
|
|
|
{{ dataForm.content.effectWish || '--' }}</span
|
|
|
|
|
></span
|
|
|
|
|
>
|
2022-08-12 18:06:56 +08:00
|
|
|
|
</p> -->
|
|
|
|
|
<!-- <p v-if="dataForm.content.enclosure" class="lastP">
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<span>
|
|
|
|
|
申请附件:<span>
|
|
|
|
|
{{ dataForm.content.enclosure || '--'
|
|
|
|
|
}}<button @click="downloadFile2(dataForm.content.enclosure)">
|
|
|
|
|
预览
|
|
|
|
|
</button></span
|
|
|
|
|
></span
|
|
|
|
|
>
|
2022-08-12 18:06:56 +08:00
|
|
|
|
</p> -->
|
2022-07-21 13:52:30 +08:00
|
|
|
|
</div>
|
2022-06-29 17:28:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<!-- 申请能力 -->
|
|
|
|
|
<div class="AbilityApply">
|
|
|
|
|
<h3>申请能力</h3>
|
2022-11-01 14:59:31 +08:00
|
|
|
|
<div style="font-size:18px;font-weight:600;margin-top:20px;">{{deptName}}</div>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<ul v-for="item in dataList" :key="item.id">
|
|
|
|
|
<!-- <li class="title">{{item.address}}</li> -->
|
|
|
|
|
<li class="clearfix">
|
|
|
|
|
<img src="~@/assets/img/imgLeft.png" />
|
|
|
|
|
<div>
|
|
|
|
|
<h2>
|
|
|
|
|
{{ item.name }}<span>{{ item.type }}</span>
|
|
|
|
|
</h2>
|
|
|
|
|
<p>{{ item.describe }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2022-06-29 17:28:49 +08:00
|
|
|
|
<!-- 流程综合组件 -->
|
2022-10-27 17:39:40 +08:00
|
|
|
|
<!-- <ren-process-multiple
|
2022-06-29 17:28:49 +08:00
|
|
|
|
v-if="processVisible"
|
|
|
|
|
updateInstanceIdUrl="/processForm/tabilityapplication/updateInstanceId"
|
|
|
|
|
saveFormUrl="/processForm/tabilityapplication"
|
|
|
|
|
dataFormName="dataForm"
|
|
|
|
|
ref="renProcessMultiple"
|
|
|
|
|
></ren-process-multiple> -->
|
|
|
|
|
|
|
|
|
|
<!-- 审批 -->
|
2022-07-22 14:33:03 +08:00
|
|
|
|
<div class="agreeOr" v-if="dataForm.taskId">
|
2022-06-29 17:28:49 +08:00
|
|
|
|
<h3>审批</h3>
|
2022-11-15 17:06:32 +08:00
|
|
|
|
<div class="approvalOperation">
|
2022-07-21 09:57:47 +08:00
|
|
|
|
<!-- <el-radio-group v-model="agreeOrList" style="width:230px;">
|
|
|
|
|
<el-radio-button label="同意" class="blueAll" @click="showDialog('同意')">同意</el-radio-button>
|
|
|
|
|
<el-radio-button label="退回" class="redAll" @click="showDialog('退回')">退回</el-radio-button>
|
|
|
|
|
</el-radio-group> -->
|
2022-10-20 14:51:02 +08:00
|
|
|
|
<!-- 委托 -->
|
2022-11-15 17:06:32 +08:00
|
|
|
|
<div class="contentOperation">
|
|
|
|
|
<el-input v-model="input" placeholder="请输入审批意见"></el-input>
|
|
|
|
|
<el-button class="agreeButton" @click="agreeOrNot($store.state.contentTabsActiveName,'同意')">同意</el-button>
|
|
|
|
|
<el-button class="rejectButton" @click="agreeOrNot($store.state.contentTabsActiveName,'驳回')">驳回</el-button>
|
|
|
|
|
<el-button class="transferButton" @click="entrustTask()" v-if='taskEntrustFlag && taskEntrustFlag2'>转办</el-button>
|
|
|
|
|
</div>
|
2022-07-21 09:57:47 +08:00
|
|
|
|
<!-- <el-input v-if="agreeOrList ==='同意' " v-model="inputAgree" placeholder="请输入同意意见"></el-input>
|
2022-06-29 17:28:49 +08:00
|
|
|
|
<el-input v-if="agreeOrList ==='退回'" v-model="inputNo" placeholder="请输入退回意见"></el-input>
|
2022-07-21 09:57:47 +08:00
|
|
|
|
<el-button class="inputBule" @click="agreeOrNot">提交</el-button> -->
|
2022-06-29 17:28:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-10-20 14:51:02 +08:00
|
|
|
|
<ren-task-entrust v-if="renTaskEntrustVisible" ref="renTaskEntrust"></ren-task-entrust>
|
2022-07-21 13:52:30 +08:00
|
|
|
|
<!-- 流程详情 -->
|
2022-10-27 17:39:40 +08:00
|
|
|
|
<ren-process-detail ref="renProcessMultiple"></ren-process-detail>
|
2022-11-15 17:06:32 +08:00
|
|
|
|
<!-- <el-dialog title="审批意见" :close-on-click-modal="false" :visible.sync="dialogVisible" width="30%"
|
2022-10-17 16:01:03 +08:00
|
|
|
|
:before-close="handleClose">
|
2022-07-21 09:57:47 +08:00
|
|
|
|
<el-input v-model="input" placeholder="请输入审批意见"></el-input>
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button @click="handleClose2">取 消</el-button>
|
2022-10-17 16:01:03 +08:00
|
|
|
|
<el-button type="primary" @click.native="agreeOrNot($store.state.contentTabsActiveName)">确 定</el-button>
|
2022-07-21 09:57:47 +08:00
|
|
|
|
</span>
|
2022-11-15 17:06:32 +08:00
|
|
|
|
</el-dialog> -->
|
2022-06-29 17:28:49 +08:00
|
|
|
|
</el-card>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// 引入工作流公共方法
|
2022-10-20 14:51:02 +08:00
|
|
|
|
import RenTaskEntrust from '@/components/ren-process-running/src/ren-task-entrust'
|
2022-06-29 17:28:49 +08:00
|
|
|
|
import processModule from '@/mixins/process-module'
|
2022-07-21 10:37:26 +08:00
|
|
|
|
// import mixinViewModule from '@/mixins/view-module'
|
2022-06-29 17:28:49 +08:00
|
|
|
|
import debounce from 'lodash/debounce'
|
|
|
|
|
import qs from 'qs'
|
2022-06-29 18:23:08 +08:00
|
|
|
|
import RenProcessDetail from '@/components/ren-process-detail/src/ren-process-detail'
|
2022-07-25 09:51:55 +08:00
|
|
|
|
import bus from '@/views/bus.js'
|
2022-06-29 17:28:49 +08:00
|
|
|
|
export default {
|
|
|
|
|
// 注入公共方法
|
2022-07-21 10:37:26 +08:00
|
|
|
|
mixins: [processModule],
|
2022-10-20 14:51:02 +08:00
|
|
|
|
data () {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
return {
|
2022-10-27 17:39:40 +08:00
|
|
|
|
callbacks: null,
|
2022-10-20 14:51:02 +08:00
|
|
|
|
taskEntrustFlag: false,
|
2022-10-21 09:31:00 +08:00
|
|
|
|
taskEntrustFlag2: false,
|
2022-07-21 09:57:47 +08:00
|
|
|
|
dialogVisible: false,
|
2022-10-20 14:51:02 +08:00
|
|
|
|
renTaskEntrustVisible: false,
|
2022-07-21 09:57:47 +08:00
|
|
|
|
dialogType: '',
|
|
|
|
|
input: '',
|
2022-06-29 17:28:49 +08:00
|
|
|
|
visible: true,
|
|
|
|
|
showKey: 0,
|
|
|
|
|
// 表单属性是否可编辑
|
|
|
|
|
// fieldDisabled: false,
|
|
|
|
|
// dataForm: {
|
|
|
|
|
// id: '',
|
|
|
|
|
// user: '',
|
|
|
|
|
// phone: '',
|
|
|
|
|
// unit: '',
|
|
|
|
|
// area: '',
|
|
|
|
|
// system: '',
|
|
|
|
|
// scene: '',
|
|
|
|
|
// basis: ''
|
|
|
|
|
// }
|
|
|
|
|
dataForm: {
|
|
|
|
|
id: '',
|
|
|
|
|
content: {}
|
|
|
|
|
},
|
|
|
|
|
dataList: [],
|
2022-11-01 14:59:31 +08:00
|
|
|
|
deptName: '',
|
2022-06-29 17:28:49 +08:00
|
|
|
|
inputAgree: '',
|
|
|
|
|
inputNo: '',
|
|
|
|
|
agreeOrList: '同意'
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
created () {
|
|
|
|
|
// 获取角色信息
|
|
|
|
|
this.$http.get('/sys/user/info').then(({ data: res }) => {
|
|
|
|
|
res.data.roleIdList.map(val => {
|
|
|
|
|
this.$http.get('/sys/role/' + val).then(role => {
|
2022-11-17 17:14:44 +08:00
|
|
|
|
console.log('role', role)
|
2022-10-20 15:03:44 +08:00
|
|
|
|
if (role.data.data.name === '流程管理员') {
|
2022-10-20 14:51:02 +08:00
|
|
|
|
this.taskEntrustFlag = true
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})
|
2022-06-29 17:28:49 +08:00
|
|
|
|
// 将业务KEY赋值给表单
|
|
|
|
|
console.log('params=================>', this.$route, this.$route.params)
|
|
|
|
|
this.dataForm.taskId = this.$route.params.taskId
|
2022-07-22 14:33:03 +08:00
|
|
|
|
this.dataForm.instanceId = this.$route.params.processInstanceId
|
2022-06-29 17:28:49 +08:00
|
|
|
|
this.init()
|
|
|
|
|
// // 流程回调
|
|
|
|
|
var callbacks = {
|
|
|
|
|
startProcessSuccessCallback: this.closeCurrentTab,
|
|
|
|
|
startProcessErrorCallback: this.startProcessErrorCallback,
|
|
|
|
|
taskHandleSuccessCallback: this.closeCurrentTab,
|
|
|
|
|
taskHandleErrorCallback: this.taskHandleErrorCallback,
|
|
|
|
|
formSaveSuccessCallback: null,
|
|
|
|
|
formSaveErrorCallback: null
|
|
|
|
|
}
|
|
|
|
|
// 初始化综合组件
|
2022-11-17 17:14:44 +08:00
|
|
|
|
this.initProcessMultiple(callbacks)
|
2022-06-29 17:28:49 +08:00
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
// dataRule () {
|
|
|
|
|
// return {
|
|
|
|
|
// inputAgree: [
|
|
|
|
|
// { required: true, message: this.$t('validate.required'), trigger: 'blur' }
|
|
|
|
|
// ],
|
|
|
|
|
// inputNo: [
|
|
|
|
|
// { required: true, message: this.$t('validate.required'), trigger: 'blur' }
|
|
|
|
|
// ]
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
components: {
|
2022-10-20 14:51:02 +08:00
|
|
|
|
RenProcessDetail,
|
|
|
|
|
RenTaskEntrust
|
2022-06-29 17:28:49 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
2022-10-20 14:51:02 +08:00
|
|
|
|
init () {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
// this.visible = true
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
// this.$refs.dataForm.resetFields()
|
2022-07-22 14:33:03 +08:00
|
|
|
|
this.getInfo()
|
2022-06-29 17:28:49 +08:00
|
|
|
|
if (this.dataForm.taskId) {
|
|
|
|
|
// 如业务KEY已存在,不允许编辑
|
|
|
|
|
// this.fieldDisabled = true
|
|
|
|
|
console.log(this.dataForm, 'init')
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
entrustTask () {
|
|
|
|
|
this.renTaskEntrustVisible = true
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.$refs.renTaskEntrust.dataForm.taskId = this.dataForm.taskId
|
|
|
|
|
this.$refs.renTaskEntrust.callbacks = this.callbacks
|
|
|
|
|
this.$refs.renTaskEntrust.init()
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
showDialog (title) {
|
2022-11-01 15:00:51 +08:00
|
|
|
|
this.input = title
|
2022-07-21 09:57:47 +08:00
|
|
|
|
this.dialogVisible = true
|
|
|
|
|
this.dialogType = title
|
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
handleClose (done) {
|
2022-07-21 09:57:47 +08:00
|
|
|
|
this.$confirm('确认关闭?')
|
2022-07-21 13:52:30 +08:00
|
|
|
|
.then((_) => {
|
2022-07-21 09:57:47 +08:00
|
|
|
|
this.input = ''
|
|
|
|
|
done()
|
|
|
|
|
})
|
2022-10-17 16:01:03 +08:00
|
|
|
|
.catch((_) => { })
|
2022-07-21 09:57:47 +08:00
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
handleClose2 () {
|
2022-07-21 09:57:47 +08:00
|
|
|
|
this.dialogVisible = false
|
|
|
|
|
this.input = ''
|
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
downloadFile2 (url) {
|
2022-07-04 17:02:00 +08:00
|
|
|
|
console.log(window.SITE_CONFIG.previewUrl)
|
2022-06-29 17:28:49 +08:00
|
|
|
|
window.open(
|
|
|
|
|
window.SITE_CONFIG.previewUrl +
|
2022-10-17 16:01:03 +08:00
|
|
|
|
'hisense_office/onlinePreview?url=' +
|
|
|
|
|
btoa(encodeURI(url))
|
2022-06-29 17:28:49 +08:00
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
// 获取信息
|
2022-10-20 14:51:02 +08:00
|
|
|
|
getInfo () {
|
2022-07-22 14:33:03 +08:00
|
|
|
|
let params = ''
|
|
|
|
|
if (this.dataForm.taskId) {
|
|
|
|
|
params = `taskId=${this.dataForm.taskId}`
|
|
|
|
|
this.$http
|
|
|
|
|
.get(
|
|
|
|
|
`/act/task/getTaskVariables?${params}&variableName=tAbilityApplicationDTOList`
|
2022-07-21 13:52:30 +08:00
|
|
|
|
)
|
2022-07-22 14:33:03 +08:00
|
|
|
|
.then(({ data: res }) => {
|
|
|
|
|
if (res.code !== 0) {
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
return this.$message.error(res.msg)
|
|
|
|
|
}
|
|
|
|
|
console.log(
|
|
|
|
|
res.data,
|
|
|
|
|
this.dataForm,
|
|
|
|
|
'elas============================'
|
|
|
|
|
)
|
2022-11-01 14:59:31 +08:00
|
|
|
|
this.deptName = res.data.tAbilityApplicationDTOList[0].resourceOwnerDept.name
|
2022-10-21 16:13:01 +08:00
|
|
|
|
this.$http
|
|
|
|
|
.get(
|
|
|
|
|
`/act/task/getTaskVariables?${params}&variableName=allowEntrust`
|
|
|
|
|
).then(entrust => {
|
2022-11-17 17:14:44 +08:00
|
|
|
|
if (entrust.data.data && entrust.data.data.allowEntrust === true) {
|
2022-10-21 16:13:01 +08:00
|
|
|
|
this.taskEntrustFlag2 = true
|
|
|
|
|
if (this.taskEntrustFlag && this.taskEntrustFlag2) {
|
|
|
|
|
this.$alert('当前审核部门为' + res.data.tAbilityApplicationDTOList[0].resourceOwnerDept.name + ',该部门未配置审核人,请联系运维工程师配置完成后进行流程转办!', '流程提醒', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
callback: action => {
|
|
|
|
|
// this.$message({
|
|
|
|
|
// type: 'info',
|
|
|
|
|
// message: `action: ${action}`
|
|
|
|
|
// })
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-07-22 14:33:03 +08:00
|
|
|
|
if (res.data.tAbilityApplicationDTOList[0].applicationScene) {
|
|
|
|
|
res.data.tAbilityApplicationDTOList[0].applicationSceneStr = ''
|
|
|
|
|
res.data.tAbilityApplicationDTOList[0].applicationScene.map(
|
|
|
|
|
(val, index) => {
|
2022-07-21 13:52:30 +08:00
|
|
|
|
res.data.tAbilityApplicationDTOList[0].applicationSceneStr +=
|
2022-07-22 14:33:03 +08:00
|
|
|
|
val
|
|
|
|
|
if (
|
|
|
|
|
index <
|
|
|
|
|
res.data.tAbilityApplicationDTOList[0].applicationScene
|
|
|
|
|
.length -
|
2022-10-17 16:01:03 +08:00
|
|
|
|
1
|
2022-07-22 14:33:03 +08:00
|
|
|
|
) {
|
|
|
|
|
res.data.tAbilityApplicationDTOList[0].applicationSceneStr +=
|
|
|
|
|
'、'
|
|
|
|
|
}
|
2022-07-21 13:52:30 +08:00
|
|
|
|
}
|
2022-07-22 14:33:03 +08:00
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
this.dataForm.content = res.data.tAbilityApplicationDTOList[0]
|
|
|
|
|
const obj = {
|
|
|
|
|
name: '申请摄像头列表',
|
|
|
|
|
type: '基础设施',
|
|
|
|
|
describe: ''
|
|
|
|
|
}
|
|
|
|
|
let flag = false
|
|
|
|
|
res.data.tAbilityApplicationDTOList.map((val) => {
|
|
|
|
|
if (val.cameraList) {
|
|
|
|
|
flag = true
|
|
|
|
|
obj.describe += val.system
|
2022-08-04 15:07:58 +08:00
|
|
|
|
obj.describe += ';'
|
2022-07-22 14:33:03 +08:00
|
|
|
|
} else {
|
|
|
|
|
this.$http.get('/resource/' + val.resourceId).then((res1) => {
|
|
|
|
|
// console.log(res1.data.data, '1111111111111111111111111111111111')
|
|
|
|
|
this.dataList.push({
|
|
|
|
|
name: res1.data.data.name,
|
|
|
|
|
type: res1.data.data.type,
|
|
|
|
|
describe: res1.data.data.description
|
|
|
|
|
})
|
|
|
|
|
})
|
2022-06-29 17:28:49 +08:00
|
|
|
|
}
|
2022-07-22 14:33:03 +08:00
|
|
|
|
})
|
|
|
|
|
if (flag) {
|
|
|
|
|
this.dataList.push(obj)
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-10-17 16:01:03 +08:00
|
|
|
|
.catch(() => { })
|
2022-07-22 14:33:03 +08:00
|
|
|
|
} else {
|
|
|
|
|
params = `instanceId=${this.dataForm.instanceId}`
|
|
|
|
|
this.$http
|
|
|
|
|
.get(
|
|
|
|
|
`/act/his/getVariablesByInstanceId?${params}&variableName=tAbilityApplicationDTOList`
|
|
|
|
|
)
|
|
|
|
|
.then(({ data: res }) => {
|
|
|
|
|
if (res.code !== 0) {
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
return this.$message.error(res.msg)
|
|
|
|
|
}
|
|
|
|
|
console.log(
|
|
|
|
|
res.data,
|
|
|
|
|
this.dataForm,
|
|
|
|
|
'elas============================'
|
2022-07-21 13:52:30 +08:00
|
|
|
|
)
|
2022-07-22 14:33:03 +08:00
|
|
|
|
if (res.data[0].applicationScene) {
|
|
|
|
|
res.data[0].applicationSceneStr = ''
|
|
|
|
|
res.data[0].applicationScene.map((val, index) => {
|
|
|
|
|
res.data[0].applicationSceneStr += val
|
|
|
|
|
if (index < res.data[0].applicationScene.length - 1) {
|
|
|
|
|
res.data[0].applicationSceneStr += '、'
|
|
|
|
|
}
|
2022-06-29 17:28:49 +08:00
|
|
|
|
})
|
2022-07-01 10:33:11 +08:00
|
|
|
|
}
|
2022-07-22 14:33:03 +08:00
|
|
|
|
this.dataForm.content = res.data[0]
|
|
|
|
|
const obj = {
|
|
|
|
|
name: '申请摄像头列表',
|
|
|
|
|
type: '基础设施',
|
|
|
|
|
describe: ''
|
|
|
|
|
}
|
|
|
|
|
let flag = false
|
|
|
|
|
res.data.tAbilityApplicationDTOList.map((val) => {
|
|
|
|
|
if (val.cameraList) {
|
|
|
|
|
flag = true
|
|
|
|
|
obj.describe += val.system
|
|
|
|
|
} else {
|
|
|
|
|
this.$http.get('/resource/' + val.resourceId).then((res1) => {
|
|
|
|
|
// console.log(res1.data.data, '1111111111111111111111111111111111')
|
|
|
|
|
this.dataList.push({
|
|
|
|
|
name: res1.data.data.name,
|
|
|
|
|
type: res1.data.data.type,
|
|
|
|
|
describe: res1.data.data.description
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
if (flag) {
|
|
|
|
|
this.dataList.push(obj)
|
|
|
|
|
}
|
2022-06-29 17:28:49 +08:00
|
|
|
|
})
|
2022-10-17 16:01:03 +08:00
|
|
|
|
.catch(() => { })
|
2022-07-22 14:33:03 +08:00
|
|
|
|
}
|
2022-06-29 17:28:49 +08:00
|
|
|
|
},
|
|
|
|
|
// 申请能力
|
2022-10-20 14:51:02 +08:00
|
|
|
|
applyData () {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
this.$http
|
|
|
|
|
.get(`/resource/select/${this.dataForm.instanceId}`)
|
|
|
|
|
.then(({ data: res }) => {
|
|
|
|
|
if (res.code !== 0) {
|
|
|
|
|
console.log(res.data, 'hhhhh')
|
|
|
|
|
// return this.$message.error(res.msg)
|
|
|
|
|
}
|
|
|
|
|
// console.log(res.data, 'elas')
|
|
|
|
|
// this.dataForm.content = res.data
|
|
|
|
|
// console.log(this.dataForm, 'ela')
|
|
|
|
|
})
|
2022-10-17 16:01:03 +08:00
|
|
|
|
.catch(() => { })
|
2022-06-29 17:28:49 +08:00
|
|
|
|
},
|
|
|
|
|
// 同意与退回
|
2022-07-21 13:52:30 +08:00
|
|
|
|
agreeOrNot: debounce(
|
2022-11-17 17:14:44 +08:00
|
|
|
|
function (data, type) {
|
2022-11-23 14:20:50 +08:00
|
|
|
|
if (type === '同意') {
|
|
|
|
|
|
2022-11-17 17:42:56 +08:00
|
|
|
|
const params = qs.stringify({
|
|
|
|
|
taskId: this.dataForm.taskId,
|
|
|
|
|
comment: this.input || '同意'
|
|
|
|
|
})
|
|
|
|
|
console.log(params)
|
|
|
|
|
this.$http
|
|
|
|
|
.post('/act/task/complete?' + params)
|
|
|
|
|
.then(({ data: res }) => {
|
|
|
|
|
if (res.code !== 0) {
|
|
|
|
|
this.$message.error(res.msg)
|
|
|
|
|
if (this.callbacks.taskHandleErrorCallback) {
|
|
|
|
|
this.callbacks.taskHandleErrorCallback(res)
|
2022-07-21 13:52:30 +08:00
|
|
|
|
}
|
2022-11-17 17:42:56 +08:00
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
bus.$emit('competencyApplicationInit')
|
|
|
|
|
this.$message({
|
|
|
|
|
message: this.$t('prompt.success'),
|
|
|
|
|
type: 'success',
|
|
|
|
|
duration: 500,
|
|
|
|
|
onClose: () => {
|
|
|
|
|
this.visible = false
|
|
|
|
|
this.dialogVisible = false
|
|
|
|
|
if (this.callbacks.taskHandleSuccessCallback) {
|
|
|
|
|
this.callbacks.taskHandleSuccessCallback(res)
|
2022-08-03 12:10:56 +08:00
|
|
|
|
}
|
2022-11-17 17:42:56 +08:00
|
|
|
|
}
|
2022-07-21 13:52:30 +08:00
|
|
|
|
})
|
2022-11-17 17:42:56 +08:00
|
|
|
|
})
|
|
|
|
|
.catch(() => { })
|
|
|
|
|
this.tabRemoveHandle(data)
|
|
|
|
|
// } else {
|
|
|
|
|
// this.$message.error('请输入审批意见!')
|
|
|
|
|
// }
|
2022-11-15 17:06:32 +08:00
|
|
|
|
} else if (type === '驳回') {
|
2022-08-03 12:10:56 +08:00
|
|
|
|
if (this.input !== '') {
|
|
|
|
|
const params = qs.stringify({
|
|
|
|
|
taskId: this.dataForm.taskId,
|
|
|
|
|
comment: this.input
|
|
|
|
|
})
|
|
|
|
|
this.$http
|
|
|
|
|
.post('/act/task/backToFirst?', params)
|
|
|
|
|
.then(({ data: res }) => {
|
|
|
|
|
if (res.code !== 0) {
|
|
|
|
|
this.$message.error(res.msg)
|
|
|
|
|
if (this.callbacks.taskHandleErrorCallback) {
|
|
|
|
|
this.callbacks.taskHandleErrorCallback(res)
|
2022-07-21 13:52:30 +08:00
|
|
|
|
}
|
2022-08-03 12:10:56 +08:00
|
|
|
|
return
|
2022-07-21 13:52:30 +08:00
|
|
|
|
}
|
2022-08-03 12:10:56 +08:00
|
|
|
|
bus.$emit('competencyApplicationInit')
|
|
|
|
|
this.$message({
|
|
|
|
|
message: this.$t('prompt.success'),
|
|
|
|
|
type: 'success',
|
|
|
|
|
duration: 500,
|
|
|
|
|
onClose: () => {
|
|
|
|
|
this.visible = false
|
|
|
|
|
if (this.callbacks.taskHandleSuccessCallback) {
|
|
|
|
|
this.callbacks.taskHandleSuccessCallback(res)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-07-21 13:52:30 +08:00
|
|
|
|
})
|
2022-08-03 12:10:56 +08:00
|
|
|
|
this.tabRemoveHandle(data)
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error('请输入审批意见!')
|
|
|
|
|
}
|
2022-07-21 13:52:30 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
1000,
|
|
|
|
|
{ leading: true, trailing: false }
|
|
|
|
|
),
|
2022-10-20 14:51:02 +08:00
|
|
|
|
tabRemoveHandle (tabName) {
|
2022-07-21 09:59:17 +08:00
|
|
|
|
console.log(tabName, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
|
|
|
|
|
if (tabName === 'home') {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(
|
|
|
|
|
(item) => item.name !== tabName
|
|
|
|
|
)
|
|
|
|
|
if (this.$store.state.contentTabs.length <= 0) {
|
|
|
|
|
this.$store.state.sidebarMenuActiveName =
|
|
|
|
|
this.$store.state.contentTabsActiveName = 'home'
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
// 当前选中tab被删除
|
|
|
|
|
if (tabName === this.$store.state.contentTabsActiveName) {
|
|
|
|
|
const tab =
|
|
|
|
|
this.$store.state.contentTabs[
|
2022-10-20 14:51:02 +08:00
|
|
|
|
this.$store.state.contentTabs.length - 1
|
2022-07-21 09:59:17 +08:00
|
|
|
|
]
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: /^iframe_.+/.test(tab.name) ? 'iframe' : tab.name,
|
|
|
|
|
params: { ...tab.params },
|
|
|
|
|
query: { ...tab.query }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-06-29 17:28:49 +08:00
|
|
|
|
// 启动流程出错回调
|
2022-10-20 14:51:02 +08:00
|
|
|
|
startProcessErrorCallback (data) {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
console.log(data)
|
|
|
|
|
},
|
|
|
|
|
// 任务处理出错回调
|
2022-10-20 14:51:02 +08:00
|
|
|
|
taskHandleErrorCallback (data) { },
|
|
|
|
|
download (data) {
|
2022-10-17 16:01:03 +08:00
|
|
|
|
const alink = document.createElement('a')
|
|
|
|
|
alink.download = '附件' // 文件名,大部分浏览器兼容,IE10及以下不兼容
|
|
|
|
|
alink.href = data.attachment // 创建 url地址
|
|
|
|
|
alink.click() // 自动点击
|
2022-10-20 14:51:02 +08:00
|
|
|
|
}
|
2022-06-29 17:28:49 +08:00
|
|
|
|
},
|
2022-10-20 14:51:02 +08:00
|
|
|
|
mounted () {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
// this.applyData()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
::v-deep .big-BOX {
|
|
|
|
|
background: rgba(244, 245, 248, 0.8);
|
|
|
|
|
padding: 24px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
h3 {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: #212121;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
p {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
color: #212121;
|
|
|
|
|
font-size: 14px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
line-height: 32px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
span {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.text {
|
|
|
|
|
width: 500px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-08-03 14:31:17 +08:00
|
|
|
|
.lastP {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
margin-top: 16px;
|
|
|
|
|
width: 100%;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
span {
|
|
|
|
|
display: flex;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
span {
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
background: rgba(232, 234, 239, 1);
|
|
|
|
|
border-radius: 2px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
button {
|
|
|
|
|
background: unset;
|
|
|
|
|
border: 0;
|
|
|
|
|
color: #0558e1;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
::v-deep .AbilityApply {
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: #212121;
|
|
|
|
|
border-bottom: 1px solid #dddee1;
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
ul {
|
|
|
|
|
padding-left: 0px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
li {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 30px 0;
|
|
|
|
|
border-bottom: 1px solid #dddee1;
|
|
|
|
|
display: flex;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
img {
|
|
|
|
|
width: 100px;
|
|
|
|
|
height: 100px;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
div {
|
|
|
|
|
margin-left: 16px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
h2 {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
color: #000;
|
|
|
|
|
display: flex;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
span {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
background: rgba(0, 184, 230, 0.8);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
p {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.clearfix:after {
|
|
|
|
|
display: block;
|
2022-07-29 18:05:04 +08:00
|
|
|
|
content: "";
|
2022-06-29 17:28:49 +08:00
|
|
|
|
clear: both;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.title {
|
|
|
|
|
color: #0558e1;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.title:before {
|
2022-07-29 18:05:04 +08:00
|
|
|
|
content: "";
|
2022-06-29 17:28:49 +08:00
|
|
|
|
width: 6px;
|
|
|
|
|
height: 6px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: #0558e1;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-10-20 14:51:02 +08:00
|
|
|
|
::v-deep .agreeOr > div {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
display: flex;
|
2022-11-15 17:06:32 +08:00
|
|
|
|
//align-items: center;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.el-input {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
margin-left: 32px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-10-20 14:51:02 +08:00
|
|
|
|
::v-deep .agreeOr > div:last-of-type {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.blueAll {
|
|
|
|
|
::v-deep .el-radio-button__inner {
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
color: #0558e1;
|
|
|
|
|
border: 1px solid #0558e1;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-10-20 14:51:02 +08:00
|
|
|
|
::v-deep .el-radio-button__orig-radio:checked + .el-radio-button__inner {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
box-shadow: unset !important;
|
|
|
|
|
background: #0558e1;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.inputBule {
|
|
|
|
|
width: 55px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
background: #0558e1;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
border: 1px solid #0558e1;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.redAll {
|
|
|
|
|
margin-left: 10px;
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
::v-deep .el-radio-button__inner {
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
border: 1px solid #e83a48;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
color: #e83a48;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-10-20 14:51:02 +08:00
|
|
|
|
::v-deep .el-radio-button__orig-radio:checked + .el-radio-button__inner {
|
2022-06-29 17:28:49 +08:00
|
|
|
|
box-shadow: unset !important;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: #e83a48;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-17 16:01:03 +08:00
|
|
|
|
|
2022-06-29 17:28:49 +08:00
|
|
|
|
.blueInput {
|
|
|
|
|
width: 55px;
|
|
|
|
|
}
|
2022-11-15 17:06:32 +08:00
|
|
|
|
.approvalOperation{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
.contentOperation{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
.el-input{
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
width: 500px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
::v-deep.el-input__inner{
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.agreeButton{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 8px;
|
|
|
|
|
width:80px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
text-align: center;
|
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
-webkit-transition: .1s;
|
|
|
|
|
transition: .1s;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
//padding: 12px 20px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: #0058e1;
|
|
|
|
|
}
|
|
|
|
|
.agreeButton:hover{
|
|
|
|
|
background: #65a5f9;
|
|
|
|
|
border-color: #65a5f9;
|
|
|
|
|
color: #FFF;
|
|
|
|
|
}
|
|
|
|
|
.rejectButton{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 8px;
|
|
|
|
|
width:80px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #F56C6C;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
text-align: center;
|
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
-webkit-transition: .1s;
|
|
|
|
|
transition: .1s;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
//padding: 12px 20px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border-color: #F56C6C;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
}
|
|
|
|
|
.rejectButton:hover{
|
|
|
|
|
background-color: #F56C6C;
|
|
|
|
|
border-color: #F56C6C;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
.transferButton{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 8px;
|
|
|
|
|
width:80px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #0058e1;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
text-align: center;
|
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
-webkit-transition: .1s;
|
|
|
|
|
transition: .1s;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
//padding: 12px 20px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border-color: #0058e1;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-29 17:28:49 +08:00
|
|
|
|
</style>
|