【修改】修改样式
This commit is contained in:
@@ -165,6 +165,8 @@ export default {
|
|||||||
this.PERMISSION = this.PERMISSION.map(item=>{
|
this.PERMISSION = this.PERMISSION.map(item=>{
|
||||||
if(item.value == oldPower){
|
if(item.value == oldPower){
|
||||||
item.disabled=true
|
item.disabled=true
|
||||||
|
}else{
|
||||||
|
item.disabled=false
|
||||||
}
|
}
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="内容摘要:" prop="mainContent">
|
<el-form-item label="内容摘要:" prop="mainContent">
|
||||||
<el-input v-model="applicationForm.mainContent" ></el-input>
|
<el-input type="textarea" :title="applicationForm.mainContent" v-model="applicationForm.mainContent" ></el-input>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
class="label-input-form no_border" size="medium"
|
class="label-input-form no_border" size="medium"
|
||||||
:disabled="formControl">
|
:disabled="formControl">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="9">
|
<el-col :span="24">
|
||||||
<el-form-item label="申请原因:" prop="applyReason">
|
<el-form-item label="申请原因:" prop="applyReason">
|
||||||
<el-input v-model="applicationForm2.applyReason" ></el-input>
|
<el-input type="textarea" :title="applicationForm2.applyReason" v-model="applicationForm2.applyReason" ></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@@ -249,6 +249,12 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="scss" scoped>
|
||||||
|
::v-deep .el-input.is-disabled .el-input__inner{
|
||||||
|
color: #858585;
|
||||||
|
}
|
||||||
|
::v-deep .el-textarea.is-disabled .el-textarea__inner{
|
||||||
|
color: #858585;
|
||||||
|
resize: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<process-header v-else :title="'发起人修改'" :proceesNum="prcNum"></process-header>
|
<process-header v-else :title="'发起人修改'" :proceesNum="prcNum"></process-header>
|
||||||
<div class="procedure">
|
<div class="procedure">
|
||||||
<div class="process_content">
|
<div class="process_content">
|
||||||
<span class="base_title">基础信息</span>
|
<span class="base_title">报告信息</span>
|
||||||
<el-row>
|
<el-row>
|
||||||
<report-table v-model="tableData" @updateTable="getV" :disabled="showTableD"></report-table>
|
<report-table v-model="tableData" @updateTable="getV" :disabled="showTableD"></report-table>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="9" style="margin-left: 5px">
|
<el-col :span="9" style="margin-left: 5px">
|
||||||
<el-button size="medium" type="primary" class="checkBtn" @click="handleCheck('spr1')">选取</el-button>
|
<el-button size="medium" :disabled="checkBtn" type="primary" class="checkBtn" @click="handleCheck('spr1')">选取</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
@@ -78,6 +78,7 @@ export default {
|
|||||||
mixins: [processMixin],
|
mixins: [processMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
checkBtn:false,
|
||||||
isLevel: true,
|
isLevel: true,
|
||||||
dataId:'',
|
dataId:'',
|
||||||
showTableD: false,
|
showTableD: false,
|
||||||
@@ -137,7 +138,7 @@ export default {
|
|||||||
this.$refs.assignFormRef.clearValidate()
|
this.$refs.assignFormRef.clearValidate()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
this.getLearder()
|
||||||
}
|
}
|
||||||
else if (this.$route.query.taskDefinitionKey == 'reEdit' ) {
|
else if (this.$route.query.taskDefinitionKey == 'reEdit' ) {
|
||||||
this.taskId = this.$store.getters.handleProcess.taskId
|
this.taskId = this.$store.getters.handleProcess.taskId
|
||||||
@@ -152,6 +153,7 @@ export default {
|
|||||||
this.processForm=JSON.parse(this.processOld.dataJson)
|
this.processForm=JSON.parse(this.processOld.dataJson)
|
||||||
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
||||||
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
||||||
|
this.getLearder()
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (this.$route.query.type == 'yiban') {
|
else if (this.$route.query.type == 'yiban') {
|
||||||
@@ -173,10 +175,13 @@ export default {
|
|||||||
this.isShowSave = true
|
this.isShowSave = true
|
||||||
this.$store.commit('setHandleProcess','')
|
this.$store.commit('setHandleProcess','')
|
||||||
this.handleReset()
|
this.handleReset()
|
||||||
if(this.$store.getters.userInfo.levelId=='0.5'){
|
if(this.$store.getters.userInfo.levelId=='1' || this.$store.getters.userInfo.levelId=='2'
|
||||||
|
||this.$store.getters.userInfo.levelId=='3' || this.$store.getters.userInfo.levelId=='4'
|
||||||
|
||this.$store.getters.userInfo.EmployeeTypeID=='1' ){
|
||||||
this.isShowSave = false
|
this.isShowSave = false
|
||||||
this.isLevel=false
|
this.isLevel=false
|
||||||
}else{
|
}else{
|
||||||
|
this.getLearder()
|
||||||
this.isLevel = true
|
this.isLevel = true
|
||||||
this.isShowSave = true
|
this.isShowSave = true
|
||||||
}
|
}
|
||||||
@@ -201,6 +206,22 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取领导
|
||||||
|
getLearder(){
|
||||||
|
console.log("获取领导")
|
||||||
|
this.$api.reportProcess.getLeader({
|
||||||
|
userId:this.userId
|
||||||
|
}).then(res=>{
|
||||||
|
debugger
|
||||||
|
})
|
||||||
|
// if(res.data){
|
||||||
|
// this.assignForm.oneApprove=res.userId
|
||||||
|
// this.assignForm.oneApproveName=res.userName
|
||||||
|
// this.checkBtn=true
|
||||||
|
// }else{
|
||||||
|
// this.checkBtn=false
|
||||||
|
// }
|
||||||
|
},
|
||||||
// 查询文件名称
|
// 查询文件名称
|
||||||
getFileName(){
|
getFileName(){
|
||||||
this.$api.reportProcess.searchFile({fileId:this.processForm.fileId}).then(res=>{
|
this.$api.reportProcess.searchFile({fileId:this.processForm.fileId}).then(res=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user