修改问题清单
This commit is contained in:
@@ -245,7 +245,7 @@
|
|||||||
<el-input v-model="addForm.parent"
|
<el-input v-model="addForm.parent"
|
||||||
placeholder="请选择上级角色"
|
placeholder="请选择上级角色"
|
||||||
@click.native="SuperiorRole"
|
@click.native="SuperiorRole"
|
||||||
clearable></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="角色描述" prop="remarks" label-width="100px" class="add-form-item">
|
<el-form-item label="角色描述" prop="remarks" label-width="100px" class="add-form-item">
|
||||||
<el-input v-model="addForm.remarks"
|
<el-input v-model="addForm.remarks"
|
||||||
@@ -285,14 +285,14 @@
|
|||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
style="height: 100%; overflow: auto;"
|
style="height: 100%; overflow: auto;"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
check-strictly
|
:check-strictly="true"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
:default-checked-keys="nodeList3"
|
:default-checked-keys="nodeList3"
|
||||||
show-checkbox
|
:show-checkbox="true"
|
||||||
highlight-current
|
highlight-current
|
||||||
@check="drawerCheck"
|
@check="drawerCheck"
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
ref="tree4">
|
ref="tree9">
|
||||||
</el-tree>
|
</el-tree>
|
||||||
<div id="roleFormButton" class="demo-drawer-footer">
|
<div id="roleFormButton" class="demo-drawer-footer">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -553,16 +553,28 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
drawerCheck(data) {
|
drawerCheck(data) {
|
||||||
var getlist = this.$refs.tree4.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
var getlist = this.$refs.tree9.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if (getlist.length == 1) {
|
// if (getlist.length == 1) {
|
||||||
|
// } else {
|
||||||
|
// this.$refs.tree9.setCheckedKeys([data.id]);
|
||||||
|
// }
|
||||||
|
if (getlist.length > 1) {
|
||||||
|
this.$message.warning('只能选择一个角色')
|
||||||
} else {
|
} else {
|
||||||
this.$refs.tree4.setCheckedKeys([data.id]);
|
|
||||||
}
|
}
|
||||||
this.SuperiorRoleData = data
|
console.log(getlist)
|
||||||
|
this.SuperiorRoleData = getlist
|
||||||
},
|
},
|
||||||
SuperiorRoleOk() { // 上级角色确定
|
SuperiorRoleOk() { // 上级角色确定
|
||||||
this.addForm.parentId = this.SuperiorRoleData.id
|
console.log(this.SuperiorRoleData)
|
||||||
this.addForm.parent = this.SuperiorRoleData.name
|
if(this.SuperiorRoleData.length != 0){
|
||||||
|
this.addForm.parentId = this.SuperiorRoleData[0].id
|
||||||
|
this.addForm.parent = this.SuperiorRoleData[0].name
|
||||||
|
}else{
|
||||||
|
this.addForm.parentId = ''
|
||||||
|
this.addForm.parent = ''
|
||||||
|
}
|
||||||
|
|
||||||
this.nodeList3 = []
|
this.nodeList3 = []
|
||||||
this.nodeList3.push(this.addForm.parentId)
|
this.nodeList3.push(this.addForm.parentId)
|
||||||
this.SuperiorRoleModel = false
|
this.SuperiorRoleModel = false
|
||||||
|
|||||||
@@ -865,7 +865,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
uploadFileStatus: true,
|
uploadFileStatus: true,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -918,7 +918,7 @@
|
|||||||
defaultCheckedKeys3: [],
|
defaultCheckedKeys3: [],
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
fileType: '',
|
fileType: 'footFile',
|
||||||
countryArr:'',
|
countryArr:'',
|
||||||
commentCycleDate:'',
|
commentCycleDate:'',
|
||||||
form: {
|
form: {
|
||||||
@@ -2168,6 +2168,8 @@
|
|||||||
// if (fileList.length > 1) {
|
// if (fileList.length > 1) {
|
||||||
// this.fileList = fileList.splice(0, 1)
|
// this.fileList = fileList.splice(0, 1)
|
||||||
// }
|
// }
|
||||||
|
console.log(fileList)
|
||||||
|
console.log(this.fileType)
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
@@ -2187,11 +2189,14 @@
|
|||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'footFile':
|
case 'footFile':
|
||||||
|
console.log(fileList)
|
||||||
this.footFileList = fileList
|
this.footFileList = fileList
|
||||||
this.uploadFileStatus = this.footFileList !== undefined ? (this.footFileList.length <= 0) : true
|
this.uploadFileStatus = this.footFileList !== undefined ? (this.footFileList.length <= 0) : true
|
||||||
break;
|
break;
|
||||||
default : ;
|
default : ;
|
||||||
}
|
}
|
||||||
|
this.formKey++
|
||||||
|
console.log(this.footFileList)
|
||||||
this.$message({
|
this.$message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
message: response.message,
|
message: response.message,
|
||||||
@@ -2257,6 +2262,8 @@
|
|||||||
break;
|
break;
|
||||||
default : ;
|
default : ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.formKey++
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
@@ -2371,7 +2378,7 @@
|
|||||||
this.drawerTitle = '转办处理人'
|
this.drawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
handleUploadFile(){
|
handleUploadFile(){
|
||||||
this.fileType = '';
|
// this.fileType = '';
|
||||||
this.fileType = 'footFile';
|
this.fileType = 'footFile';
|
||||||
|
|
||||||
this.fileList=this.footFileList
|
this.fileList=this.footFileList
|
||||||
|
|||||||
@@ -1098,7 +1098,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
@@ -2872,7 +2872,12 @@
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}})
|
}else {
|
||||||
|
this.$message.warning('请确认是否填写完整')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning('请确认会签评分是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1075,7 +1075,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
uploadFileStatus: true,
|
uploadFileStatus: true,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -2967,7 +2967,12 @@
|
|||||||
// console.log(e)
|
// console.log(e)
|
||||||
// // this.$message.warning('文件不存在,预览失败')
|
// // this.$message.warning('文件不存在,预览失败')
|
||||||
// })
|
// })
|
||||||
}})
|
}else {
|
||||||
|
this.$message.warning('请确认是否填写完整')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning('请确认评分是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -858,7 +858,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
@@ -2315,6 +2315,8 @@
|
|||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.handleSubmit()
|
this.handleSubmit()
|
||||||
|
}else {
|
||||||
|
this.$message.warning('请确认复审评分是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -2485,7 +2487,9 @@
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}})
|
}else{
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
busVsFunc(){
|
busVsFunc(){
|
||||||
this.$http.get('sarVppsTree/list', '', {
|
this.$http.get('sarVppsTree/list', '', {
|
||||||
|
|||||||
@@ -871,7 +871,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
@@ -2469,6 +2469,8 @@
|
|||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.handleSubmit()
|
this.handleSubmit()
|
||||||
|
}else{
|
||||||
|
this.$message.warning('请检查是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -921,7 +921,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
@@ -2463,7 +2463,6 @@
|
|||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
},
|
},
|
||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
@@ -2487,7 +2486,9 @@
|
|||||||
this.madelSubList = fileList
|
this.madelSubList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default : ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
this.formKey++
|
||||||
},
|
},
|
||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
|
|||||||
@@ -1075,7 +1075,7 @@
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '2', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
uploadFileStatus: true,
|
uploadFileStatus: true,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -2966,6 +2966,8 @@
|
|||||||
// // this.$message.warning('文件不存在,预览失败')
|
// // this.$message.warning('文件不存在,预览失败')
|
||||||
// })
|
// })
|
||||||
}})
|
}})
|
||||||
|
}else{
|
||||||
|
this.$message.warning('请检查是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -419,6 +419,7 @@ import ProcessTitle from "process/components/ProcessTitle";
|
|||||||
import MechanismTree from "@/components/mechanismTree";
|
import MechanismTree from "@/components/mechanismTree";
|
||||||
import CustomInputForAllStandards from '@/components/CustomFormComponents/InputForAllStandards'
|
import CustomInputForAllStandards from '@/components/CustomFormComponents/InputForAllStandards'
|
||||||
import CustomInputForAllStandards2 from '@/components/CustomFormComponents/InputForAllStandards2'
|
import CustomInputForAllStandards2 from '@/components/CustomFormComponents/InputForAllStandards2'
|
||||||
|
import {processEditFile } from "api/process";
|
||||||
export default {
|
export default {
|
||||||
name: "establish",
|
name: "establish",
|
||||||
components: {
|
components: {
|
||||||
@@ -429,6 +430,21 @@ export default {
|
|||||||
},
|
},
|
||||||
props: ['message'],
|
props: ['message'],
|
||||||
data(){
|
data(){
|
||||||
|
const validateFsOnlineFile = async (rule, value, callback) => {
|
||||||
|
if(this.qbfsForm.FSD){
|
||||||
|
let fileObj = await this.processEditFile(this.qbfsForm.FSD)
|
||||||
|
if (fileObj) {
|
||||||
|
const editFileInfo = fileObj
|
||||||
|
if (editFileInfo && editFileInfo.editStatus === '1') {
|
||||||
|
callback()
|
||||||
|
} else {
|
||||||
|
callback(new Error('请先在线编辑,再提交流程!'))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
callback(new Error('请先在线编辑,再提交流程!'))
|
||||||
|
}
|
||||||
|
};
|
||||||
const standNameVerify = async (rule, value, callback) => {
|
const standNameVerify = async (rule, value, callback) => {
|
||||||
debugger
|
debugger
|
||||||
if (value === '' || value === null) {
|
if (value === '' || value === null) {
|
||||||
@@ -567,6 +583,9 @@ export default {
|
|||||||
newReason: [
|
newReason: [
|
||||||
{required: true, message: '请输入立项原因', trigger: 'blur'},
|
{required: true, message: '请输入立项原因', trigger: 'blur'},
|
||||||
],
|
],
|
||||||
|
LXDName: [
|
||||||
|
{ required: true, validator: validateFsOnlineFile, trigger: 'blur' }
|
||||||
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -635,6 +654,22 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
processEditFile(id) {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
processEditFile({
|
||||||
|
id
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const history = res;
|
||||||
|
resolve(history)
|
||||||
|
} else {
|
||||||
|
reject()
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
reject(e)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
saveEditFile(){
|
saveEditFile(){
|
||||||
if(this.$route.query.bpnId === undefined && this.$route.query.taskIds === undefined){
|
if(this.$route.query.bpnId === undefined && this.$route.query.taskIds === undefined){
|
||||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ export default {
|
|||||||
this.downloadFile(attId)
|
this.downloadFile(attId)
|
||||||
return true
|
return true
|
||||||
}else{
|
}else{
|
||||||
|
// this.$previewZl(attId) 39部署注释
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -267,12 +267,12 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="planStatus" label="计划状态" style="width: 100%; margin-right:10px" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
<el-form-item prop="planStatus" label="计划状态" style="width: 100%; margin-right:10px" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||||
<el-select :disabled="DrawerType === 'see' || DrawerType === 'add' " v-model="addForm.planStatus" placeholder="请选择计划状态">
|
<el-select :disabled="DrawerType === 'see' || DrawerType === 'add' " v-model="addForm.planStatus" placeholder="请选择计划状态">
|
||||||
<el-option label="未完成" value="0"></el-option>
|
<!-- <el-option label="未完成" value="0"></el-option>-->
|
||||||
<el-option label="制定中" value="1"></el-option>
|
<el-option label="制定中" value="1"></el-option>
|
||||||
<el-option label="修订中" value="2"></el-option>
|
<el-option label="修订中" value="2"></el-option>
|
||||||
<el-option label="已取消" value="3"></el-option>
|
<el-option label="已取消" value="3"></el-option>
|
||||||
<el-option label="已完成" value="4"></el-option>
|
<el-option label="已完成" value="4"></el-option>
|
||||||
<el-option label="立项已完成" value="5"></el-option>
|
<!-- <el-option label="立项已完成" value="5"></el-option>-->
|
||||||
<el-option label="计划已确认" value="6"></el-option>
|
<el-option label="计划已确认" value="6"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -1279,7 +1279,7 @@
|
|||||||
LXDName:'',
|
LXDName:'',
|
||||||
}
|
}
|
||||||
this.DrawerType = 'add'
|
this.DrawerType = 'add'
|
||||||
this.addForm.planStatus = '0'
|
this.addForm.planStatus = '6'
|
||||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||||
model: 'model_lx'
|
model: 'model_lx'
|
||||||
},{
|
},{
|
||||||
|
|||||||
@@ -341,11 +341,11 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="12">-->
|
<el-col :span="12">
|
||||||
<!-- <el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">-->
|
<!-- <el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">-->
|
||||||
<!-- <el-input v-model="standForm.dybxh" placeholder="选择模块结构单元变型号" clearable></el-input>-->
|
<!-- <el-input v-model="standForm.dybxh" placeholder="选择模块结构单元变型号" clearable></el-input>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<!-- </el-col>-->
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
|||||||
Reference in New Issue
Block a user