|
@@ -56,7 +56,8 @@
|
|
|
<el-row>
|
|
|
<el-col>
|
|
|
<el-form-item label="转派意见:">
|
|
|
- <el-input v-model="item.zpyj" disabled type="textarea" />
|
|
|
+ <!-- <el-input v-model="item.zpyj" disabled type="textarea" /> -->
|
|
|
+ <span style="white-space:pre-line">{{ item.zpyj }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -89,34 +90,34 @@
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="处置说明:">
|
|
|
<el-input
|
|
|
+ v-if="disabled"
|
|
|
v-model="item.czyj"
|
|
|
placeholder="未输入处置说明"
|
|
|
disabled
|
|
|
type="textarea"
|
|
|
size="small"
|
|
|
- :rows="disabled?1:3"
|
|
|
+ :autosize="disabled?{minRows:1,maxRows:20}:{minRows:3,maxRows:10}"
|
|
|
/>
|
|
|
+ <span v-else style="white-space:pre-line">{{ item.czyj||"未输入处置说明" }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="附件下载:">
|
|
|
- <div v-if="ImgUrlList[0] || fileListF[0]" style="display: flex">
|
|
|
- <el-row type="flex" style="padding-right: 10px" :gutter="20">
|
|
|
+ <div v-if="ImgUrlList[0] || fileListF[0]" style="display: flex;">
|
|
|
+ <el-row type="flex" style="padding-right:10px; " :gutter="20">
|
|
|
<el-image
|
|
|
- v-for="(item,index) in ImgUrlList"
|
|
|
- :key="index"
|
|
|
- style="padding-left:10px;margin-right:5px; width:100px"
|
|
|
+ v-for="item in ImgUrlList"
|
|
|
+ :key="item"
|
|
|
+ :lazy="true"
|
|
|
+ style="padding-left:10px;margin-right:5px; width: 100px ;"
|
|
|
:src="item"
|
|
|
:preview-src-list="ImgUrlList"
|
|
|
/>
|
|
|
</el-row>
|
|
|
|
|
|
- <el-row
|
|
|
- type="flex"
|
|
|
- style="padding-left: 30px; margin: 0; margin-left: 5px"
|
|
|
- >
|
|
|
+ <el-row type="flex" style="padding-left:30px; margin: 0;margin-left:5px">
|
|
|
<el-upload
|
|
|
ref="upload"
|
|
|
disabled
|
|
@@ -129,35 +130,10 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
- <!-- <div class="colflexS">
|
|
|
- <img src="@/assets/icon/null.png" alt="" style="height:30px">
|
|
|
- <div>无上传文件</div>
|
|
|
- </div> -->
|
|
|
- <el-table :data="tableData" border style="width: 100%">
|
|
|
- <el-table-column
|
|
|
- prop="name"
|
|
|
- label="文件名"
|
|
|
- align="center"
|
|
|
- />
|
|
|
- <el-table-column
|
|
|
- prop="createTime"
|
|
|
- label="上传时间"
|
|
|
- align="center"
|
|
|
- />
|
|
|
- <el-table-column fixed="right" label="操作" width="100">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- @click="handleClick(scope.row)"
|
|
|
- >下载</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <template slot="empty">
|
|
|
- <img src="@/assets/icon/null.png" alt="">
|
|
|
- <div class="empty-p">无上传文件</div>
|
|
|
- </template>
|
|
|
- </el-table>
|
|
|
+ <div class="colflexS">
|
|
|
+ <img src="@/assets/icon/null.png" alt="" style="height:30px">
|
|
|
+ <div>无上传文件</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -222,23 +198,27 @@
|
|
|
</el-form-item> -->
|
|
|
<el-form-item v-if="resultForm.czzt !== 53" label="处置说明:" prop="czyj">
|
|
|
<el-input
|
|
|
+ v-if="!disabled"
|
|
|
v-model="resultForm.czyj"
|
|
|
:placeholder="disabled?'未输入处置说明':'请输入处置说明'"
|
|
|
:disabled="disabled"
|
|
|
type="textarea"
|
|
|
size="small"
|
|
|
- :rows="disabled?1:3"
|
|
|
+ :autosize="disabled?{minRows:1,maxRows:20}:{minRows:3,maxRows:10}"
|
|
|
/>
|
|
|
+ <span v-else style="white-space:pre-line">{{ resultForm.czyj||"未输入处置说明" }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="resultForm.czzt === 53" label="驳回原因:" prop="bhyy">
|
|
|
<el-input
|
|
|
+ v-if="!disabled"
|
|
|
v-model="resultForm.bhyy"
|
|
|
:placeholder="disabled?'未输入驳回原因':'请输入驳回原因'"
|
|
|
:disabled="disabled"
|
|
|
type="textarea"
|
|
|
size="small"
|
|
|
- :rows="disabled?1:3"
|
|
|
+ :autosize="disabled?{minRows:1,maxRows:20}:{minRows:3,maxRows:10}"
|
|
|
/>
|
|
|
+ <span v-else style="white-space:pre-line">{{ resultForm.bhyy||"未输入驳回原因" }}</span>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item v-else label="处置说明" prop="czyj">
|
|
|
<el-input
|
|
@@ -255,12 +235,14 @@
|
|
|
<el-col v-if="resultForm.czzt === 70&&!disabled" :span="24">
|
|
|
<el-form-item label="转派原因:" prop="zpyj">
|
|
|
<el-input
|
|
|
+ v-if="!disabled"
|
|
|
v-model="resultForm.zpyj"
|
|
|
:placeholder="disabled?'未输入转派原因':'请输入转派原因'"
|
|
|
:disabled="disabled"
|
|
|
type="textarea"
|
|
|
- :rows="disabled?1:3"
|
|
|
+ :autosize="disabled?{minRows:1,maxRows:20}:{minRows:3,maxRows:10}"
|
|
|
/>
|
|
|
+ <span v-else style="white-space:pre-line">{{ resultForm.zpyj||"未输入转派原因" }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -351,7 +333,6 @@
|
|
|
:before-remove="beforeRemove"
|
|
|
:on-change="beforeAvatarUpload"
|
|
|
:on-success="handleAvatarSuccess"
|
|
|
-
|
|
|
accept=".docx,.doc,.xls,.xlsx.JPG,JPEG,PNG,GIF,.jpg,.jpeg,.png,.gif,.JPG,.JPEG,.PBG,.GIF,"
|
|
|
:file-list="fileList"
|
|
|
:auto-upload="false"
|
|
@@ -407,6 +388,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { getBaseFileLoadImg } from '@/api/ftp'
|
|
|
import QwxFlow from '../../components/qwxFlow'
|
|
|
import { parseTime } from '@/utils/index'
|
|
|
import { IP } from '@/utils/request'
|
|
@@ -563,6 +545,7 @@ export default {
|
|
|
transferOutType: '', // 抢维修类型
|
|
|
currentFlow: '5' // 当前步骤:2
|
|
|
},
|
|
|
+ gdpersonList: null,
|
|
|
workflowQwx: {
|
|
|
// 抢维修
|
|
|
slbm: '', // 部门编码
|
|
@@ -586,20 +569,54 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
getFlows(val) {
|
|
|
+ // if (val === 70) {
|
|
|
+ // this.resultForm.zjczry = ''
|
|
|
+ // this.data.zjbm ? this.menuIdT = this.data.zjbm : this.menuIdT = this.data.slbm
|
|
|
+ // getPersonnel({ ids: 2005, departmentId: this.menuIdT }).then(res => {
|
|
|
+ // this.receiver = res.result.filter(v => {
|
|
|
+ // return v.id !== this.data.zjczry
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ // } else {
|
|
|
+ // this.getReceiver()
|
|
|
+ // }
|
|
|
if (val === 70) {
|
|
|
+ // 转派只能转派给本部门,如果流程配置中有人员,则只能转派给配置中的人
|
|
|
+ // 如果配置中没有人员,则可以转派给本部门其它人员
|
|
|
this.resultForm.zjczry = ''
|
|
|
- this.data.zjbm ? this.menuIdT = this.data.zjbm : this.menuIdT = this.data.slbm
|
|
|
- getPersonnel({ ids: 2005, departmentId: this.menuIdT }).then(res => {
|
|
|
- this.receiver = res.result.filter(v => {
|
|
|
- return v.id !== this.data.zjczry
|
|
|
- })
|
|
|
+ const tempArr = []
|
|
|
+ let hasPeople = false
|
|
|
+ this.gdpersonList.forEach(item => {
|
|
|
+ if (item.node == '5') { // 判断本环节是否配置人员
|
|
|
+ hasPeople = true
|
|
|
+ if ((item.departId + '' == this.$store.state.user.departmentId + '') && (item.personId + '' != this.$store.state.user.userId + '')) {
|
|
|
+ item.realName = item.personName
|
|
|
+ item.id = item.personId
|
|
|
+ tempArr.push(item)
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
- } else {
|
|
|
- this.getReceiver()
|
|
|
+ if (hasPeople) {
|
|
|
+ this.receiver = tempArr
|
|
|
+ } else {
|
|
|
+ const data = this.$store.state.user.departmentId
|
|
|
+ getUserByDepts({ depts: data }).then(res => {
|
|
|
+ var arr = []
|
|
|
+ for (const i in res.result) {
|
|
|
+ for (const j in res.result[i].users) {
|
|
|
+ arr.push(res.result[i].users[j])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.receiver = arr.filter(v => {
|
|
|
+ return (v.id + '') !== (this.$store.state.user.userId + '')
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ const that = this
|
|
|
getusernameinfo().then(res => {
|
|
|
const data = JSON.parse(JSON.stringify(this.data))
|
|
|
this.difference = JSON.stringify(this.data) !== '{}'
|
|
@@ -670,42 +687,15 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
- // 下一阶段为结果审核
|
|
|
- // if (this.allLcjd == 6) {
|
|
|
- // this.isJgsh = true
|
|
|
- // const departArr = []
|
|
|
- // for (const i in result.gdpersonList) {
|
|
|
- // if (result.gdpersonList[i].childNode == 1 && result.gdpersonList[i].node == 6) {
|
|
|
- // departArr.push({
|
|
|
- // departId: result.gdpersonList[i].departId,
|
|
|
- // departName: result.gdpersonList[i].departName
|
|
|
- // })
|
|
|
- // }
|
|
|
- // }
|
|
|
- // const deWeightThree = () => {
|
|
|
- // const map = new Map()
|
|
|
- // for (const item of departArr) {
|
|
|
- // if (!map.has(item.departId)) {
|
|
|
- // map.set(item.departId, item)
|
|
|
- // }
|
|
|
- // }
|
|
|
- // return [...map.values()]
|
|
|
- // }
|
|
|
- // const newDepartArr = deWeightThree()
|
|
|
- // // 当结果审核配置了处理人员时
|
|
|
- // if (newDepartArr[0]) {
|
|
|
- // this.acceptanceDepartments = newDepartArr
|
|
|
- // } else {
|
|
|
- // this.acceptanceDepartments = this.acceptanceDepartment
|
|
|
- // for (const i in this.acceptanceDepartments) {
|
|
|
- // this.acceptanceDepartments[i].departId = this.acceptanceDepartments[i].id
|
|
|
- // this.acceptanceDepartments[i].departName = this.acceptanceDepartments[i].name
|
|
|
- // }
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // this.isJgsh = false
|
|
|
- // }
|
|
|
Object.keys(this.resultForm).forEach(key => { this.resultForm[key] = data[key] })
|
|
|
+ let resuleForm = {}
|
|
|
+ if (!this.disabled) {
|
|
|
+ for (const i in data.resultList) {
|
|
|
+ if (data.resultList[i].personId === res.result.id) {
|
|
|
+ resuleForm = data.resultList.splice(i, 1)[0]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
if (!this.resultForm.czzt) {
|
|
|
if (this.isGjry) {
|
|
|
this.resultForm.czzt = 52
|
|
@@ -729,7 +719,8 @@ export default {
|
|
|
data.resultList[i].isFinishName = '未处理'
|
|
|
}
|
|
|
debugger
|
|
|
- this.fileMethod(data.jgczFile, resultNum)
|
|
|
+ // this.fileMethod(data.resultList[i].gddjFiles, resultNum)
|
|
|
+
|
|
|
data.resultList[i].fileListImg = []
|
|
|
data.resultList[i].ImgUrlList = []
|
|
|
data.resultList[i].fileListF = []
|
|
@@ -740,25 +731,24 @@ export default {
|
|
|
console.log(this.jgczArr, 'this.jgczArrthis.jgczArrthis.jgczArrthis.jgczArrthis.jgczArrthis.jgczArrthis.jgczArrthis.jgczArrthis.jgczArr')
|
|
|
this.jgczShow = !this.jgczArr[0]
|
|
|
const _allLcjd = this.data.allLcjd
|
|
|
- if (!this.resultForm.rzbm) {
|
|
|
- if (data.zjbm) {
|
|
|
- this.resultForm.czbm = data.zjbm
|
|
|
- } else {
|
|
|
- this.resultForm.czbm = data.slbm
|
|
|
- }
|
|
|
- this.Bmchange()
|
|
|
+ // if (!this.resultForm.rzbm) {
|
|
|
+ if (resuleForm.departId) {
|
|
|
+ this.resultForm.czbm = resuleForm.departId
|
|
|
+ console.log(resuleForm.departId, 'resuleForm.departIdresuleForm.departIdresuleForm.departIdresuleForm.departId')
|
|
|
}
|
|
|
+ // }
|
|
|
if (this.resultForm.czzt !== 52) {
|
|
|
this.resultForm.czzt = 51
|
|
|
}
|
|
|
this.getReceiver()
|
|
|
- this.resultForm.jgczry = data.jgczry || ''
|
|
|
+ // this.resultForm.jgczry = resuleForm.personId || ''
|
|
|
this.resultForm.jgczryOld = data.jgczry || ''
|
|
|
|
|
|
+ console.log(data.jgczFile, resuleForm, 'resuleForm.jgczFileInforesuleForm.jgczFileInforesuleForm.jgczFileInforesuleForm.jgczFileInforesuleForm.jgczFileInfo')
|
|
|
if (data.jgczFile !== null) {
|
|
|
this.fileList = []
|
|
|
- if (!this.arrayIsNull(this.data.jgczFile)) {
|
|
|
- this.fileList = this.data.jgczFile.map((v) => {
|
|
|
+ if (!this.arrayIsNull(data.jgczFile)) {
|
|
|
+ this.fileList = data.jgczFile.map((v) => {
|
|
|
return {
|
|
|
id: v.id,
|
|
|
name: v.fileName,
|
|
@@ -770,21 +760,45 @@ export default {
|
|
|
}
|
|
|
this.tableData = this.fileList
|
|
|
}
|
|
|
+
|
|
|
// 获取最后的流程编码
|
|
|
this.lcjdParams.lastLcjd = this.removeLcjd(_allLcjd)
|
|
|
if (this.lcjdParams.lastLcjd == 6) {
|
|
|
getById({ id: data.lcid }).then(res => {
|
|
|
- // // console.log('123123123213213', this.allLcjd)
|
|
|
const result = res.result
|
|
|
- // let node = ''
|
|
|
+ if (this.disabled) {
|
|
|
+ this.srcListsrc = []
|
|
|
+ const arr = ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.svg', '.tiff']
|
|
|
+ var token = that.$store.state.user.token
|
|
|
+ if (!this.arrayIsNull(this.data.jgczFile)) {
|
|
|
+ console.log('文件:', JSON.stringify(this.data.jgczFile))
|
|
|
+
|
|
|
+ for (const i in this.data.jgczFile) {
|
|
|
+ var fileModel = this.data.jgczFile[i]
|
|
|
+ const esuffixt = fileModel.fileFormat
|
|
|
+ const es = fileModel.filePath
|
|
|
+ // if(esuffixt == '.amr'){
|
|
|
+ // const audioPath = `${IP}/base/file/loadAudio?remotePath=${es}&access_token=${token}`
|
|
|
+ // this.audioFileList.push(audioPath)
|
|
|
+ // }else
|
|
|
+
|
|
|
+ // esuffixt === '.jpeg' || esuffixt === '.png' || esuffixt === '.jpg'
|
|
|
+ if (arr.includes(esuffixt)) {
|
|
|
+ const imagePath = `${IP}/base/file/loadImg?remotePath=${es}&access_token=${token}`
|
|
|
+ this.ImgUrlList.push(imagePath)
|
|
|
+ } else {
|
|
|
+ this.fileListF.push({
|
|
|
+ url: es,
|
|
|
+ name: fileModel.fileName,
|
|
|
+ urlName: fileModel.filePath,
|
|
|
+ id: fileModel.id,
|
|
|
+ fileFormat: fileModel.fileFormat
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
this.acceptanceDepartments = result.gddepartmentList
|
|
|
- // for (const i in this.allLcjd) {
|
|
|
- // if (this.allLcjd[i] == 2) {
|
|
|
- // if (this.allLcjd[Number(i) + 1]) {
|
|
|
- // node = this.allLcjd[Number(i) + 1]
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
if (result.gdpersonList[0]) {
|
|
|
var arr = []
|
|
|
for (const i in result.gdpersonList) {
|
|
@@ -794,6 +808,8 @@ export default {
|
|
|
}
|
|
|
this.receivers = arr
|
|
|
}
|
|
|
+ this.gdpersonList = result.gdpersonList
|
|
|
+ this.Bmchange()
|
|
|
// // 下一阶段为结果审核
|
|
|
// const departArr = []
|
|
|
// for (const i in result.gdpersonList) {
|
|
@@ -1057,15 +1073,17 @@ export default {
|
|
|
fileMethod(data, num) {
|
|
|
const that = this
|
|
|
console.log(data, 'datadatadatatatatatatatatatat')
|
|
|
- // const fileListImg = []
|
|
|
- // const ImgUrlList = []
|
|
|
- // const fileListF = []
|
|
|
- // const srcListsrc = []
|
|
|
+ const fileListImg = []
|
|
|
+ const ImgUrlList = []
|
|
|
+ const fileListF = []
|
|
|
+ const srcListsrc = []
|
|
|
const arr = ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.svg', '.tiff']
|
|
|
var token = that.$store.state.user.token
|
|
|
- if (!this.arrayIsNull(data)) {
|
|
|
- for (const i in data) {
|
|
|
- var fileModel = data[i]
|
|
|
+ if (!this.arrayIsNull(this.data.gddjFiles)) {
|
|
|
+ console.log('文件:', JSON.stringify(this.data.gddjFiles))
|
|
|
+
|
|
|
+ for (const i in this.data.gddjFiles) {
|
|
|
+ var fileModel = this.data.gddjFiles[i]
|
|
|
const esuffixt = fileModel.fileFormat
|
|
|
const es = fileModel.filePath
|
|
|
// if(esuffixt == '.amr'){
|
|
@@ -1075,7 +1093,7 @@ export default {
|
|
|
|
|
|
// esuffixt === '.jpeg' || esuffixt === '.png' || esuffixt === '.jpg'
|
|
|
if (arr.includes(esuffixt)) {
|
|
|
- const imagePath = `${IP}base/file/loadImg?remotePath=${es}&access_token=${token}`
|
|
|
+ const imagePath = `${IP}/base/file/loadImg?remotePath=${es}&access_token=${token}`
|
|
|
this.ImgUrlList.push(imagePath)
|
|
|
} else {
|
|
|
this.fileListF.push({
|
|
@@ -1086,47 +1104,6 @@ export default {
|
|
|
fileFormat: fileModel.fileFormat
|
|
|
})
|
|
|
}
|
|
|
- // imageByName(data[i].filePath).then(res => {
|
|
|
- // srcListsrc.push({
|
|
|
- // url: res.config.url,
|
|
|
- // name: data[i].fileName,
|
|
|
- // urlName: data[i].filePath,
|
|
|
- // id: data[i].id,
|
|
|
- // fileFormat: data[i].fileFormat
|
|
|
- // })
|
|
|
- // if (srcListsrc.length === data.length) {
|
|
|
- // const filtpathArr = JSON.parse(JSON.stringify(srcListsrc))
|
|
|
- // for (const i in srcListsrc) {
|
|
|
- // for (const j in arr) {
|
|
|
- // if (srcListsrc[i].fileFormat === arr[j]) {
|
|
|
- // // 是图片类型
|
|
|
- // fileListImg.push(srcListsrc[i])
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
- // ImgUrlList = []
|
|
|
- // for (const i in fileListImg) {
|
|
|
- // ImgUrlList.push(fileListImg[i].url)
|
|
|
- // }
|
|
|
- // for (const i in filtpathArr) {
|
|
|
- // for (const j in fileListImg) {
|
|
|
- // if (filtpathArr[i].id === fileListImg[j].id) {
|
|
|
- // filtpathArr.splice(i, 1)
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
- // fileListF = filtpathArr
|
|
|
- // }
|
|
|
- // console.log(fileListImg, ImgUrlList, fileListF, 'fileListImg, ImgUrlList, fileListFfileListImg, ImgUrlList, fileListFfileListImg, ImgUrlList, fileListFfileListImg, ImgUrlList, fileListF')
|
|
|
- // this.jgczArr[num].fileListImg = fileListImg
|
|
|
- // this.jgczArr[num].ImgUrlList = ImgUrlList
|
|
|
- // this.jgczArr[num].fileListF = fileListF
|
|
|
- // if (!this.arrayIsNull(ImgUrlList) || !this.arrayIsNull(fileListF)) {
|
|
|
- // this.jgczArr[num].isFile = true
|
|
|
- // } else {
|
|
|
- // this.jgczArr[num].isFile = false
|
|
|
- // }
|
|
|
- // })
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -1138,7 +1115,7 @@ export default {
|
|
|
},
|
|
|
handleClick(row) {
|
|
|
window.open(
|
|
|
- `${IP}base/file/downloadFile?fileName=${row.name}&remotePath=${row.url}&access_token=${this.$store.state.user.token}`
|
|
|
+ `${IP}/base/file/downloadFile?fileName=${row.name}&remotePath=${row.urlName}&access_token=${this.$store.state.user.token}`
|
|
|
)
|
|
|
},
|
|
|
// 提交
|
|
@@ -1222,6 +1199,14 @@ export default {
|
|
|
}
|
|
|
break
|
|
|
}
|
|
|
+ if (this.resultForm.czzt === 70 && this.receiver.length == 0) {
|
|
|
+ this.$message.error('请联系管理员配置转派人员')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.resultForm.czzt === 70 && this.receiver.length > 0 && this.resultForm.zjczry == '') {
|
|
|
+ this.$message.error('请选择转派人员')
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.isJgsh && this.resultForm.czzt == 52) {
|
|
|
// this.JgshMothed(_this.resultForm)
|
|
|
_this.resultForm['audit.auditUser'] = _this.resultForm.jgczry
|
|
@@ -1244,11 +1229,13 @@ export default {
|
|
|
// console.log(data)
|
|
|
// } else {
|
|
|
editResult(data).then((res) => {
|
|
|
+ let text = ''
|
|
|
if (res.code === 1) {
|
|
|
_this.$message.success('处理成功')
|
|
|
this.dialogFormVisible = true
|
|
|
- _this.$emit('remind', '成功')
|
|
|
+ text = '成功'
|
|
|
}
|
|
|
+ _this.$emit('remind', text)
|
|
|
})
|
|
|
// }
|
|
|
|
|
@@ -1434,13 +1421,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
// this.newAdd(datas)
|
|
|
- editResult(datas).then((res) => {
|
|
|
- if (res.code === 1) {
|
|
|
- this.$message.success('处理成功')
|
|
|
- this.dialogFormVisible = true
|
|
|
- this.$emit('remind', '成功')
|
|
|
- }
|
|
|
+ this.$emit('writeSend', true)
|
|
|
+ this.$nextTick(e => {
|
|
|
+ editResult(datas).then((res) => {
|
|
|
+ if (res.code === 1) {
|
|
|
+ this.$message.success('处理成功')
|
|
|
+ this.dialogFormVisible = true
|
|
|
+ this.$emit('remind', '成功')
|
|
|
+ }
|
|
|
+ this.$emit('writeSend', false)
|
|
|
+ })
|
|
|
})
|
|
|
+
|
|
|
// newAdd(this.JgshData).then((res) => {
|
|
|
// if (res.code === 1) {
|
|
|
// this.$message.success('处理成功')
|
|
@@ -1574,7 +1566,7 @@ export default {
|
|
|
#handle_merge {
|
|
|
.wrap {
|
|
|
border: 1px solid rgba(57, 153, 243, 0.15);
|
|
|
- >>> .el-collapse-item__header {
|
|
|
+ ::v-deep .el-collapse-item__header {
|
|
|
background: rgba(57, 153, 243, 0.15);
|
|
|
font-size: 15px;
|
|
|
height: 40px;
|
|
@@ -1589,7 +1581,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.NBjd{
|
|
|
- >>> .el-collapse-item__header {
|
|
|
+ ::v-deep .el-collapse-item__header {
|
|
|
background: rgb(240,240,240);
|
|
|
color: black;
|
|
|
}
|
|
@@ -1597,19 +1589,19 @@ export default {
|
|
|
.dialog_style {
|
|
|
width: 100%;
|
|
|
overflow-y: auto;
|
|
|
- /deep/ .el-table {
|
|
|
+ ::v-deep .el-table {
|
|
|
text-align: center;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
}
|
|
|
- /deep/ .el-form-item {
|
|
|
+ ::v-deep .el-form-item {
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
- /deep/ .el-collapse-item__wrap {
|
|
|
+ ::v-deep .el-collapse-item__wrap {
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
}
|
|
|
- .is-disabled>>>.el-input__inner{
|
|
|
+ .is-disabled::v-deep.el-input__inner{
|
|
|
background: white;
|
|
|
border: none;
|
|
|
font-size: 14px;
|
|
@@ -1617,7 +1609,7 @@ export default {
|
|
|
cursor: default;
|
|
|
padding: 0;
|
|
|
}
|
|
|
- .is-disabled>>>.el-textarea__inner{
|
|
|
+ .is-disabled::v-deep.el-textarea__inner{
|
|
|
background: white;
|
|
|
border: none;
|
|
|
font-size: 14px;
|
|
@@ -1625,7 +1617,7 @@ export default {
|
|
|
cursor: default;
|
|
|
padding: 0;
|
|
|
}
|
|
|
-/deep/ .el-upload {
|
|
|
+::v-deep .el-upload {
|
|
|
justify-content: flex-start;
|
|
|
}
|
|
|
.colflexS{
|