Merge branch 'develop_new' into develop

This commit is contained in:
liyawei
2022-11-22 22:24:15 +08:00
25 changed files with 7069 additions and 3341 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export default (id,nodeName,userId,userName) => {
editFileInfo.pId = editFileInfo.pid
}
const nowTime = new Date().getTime()
window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName + '&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName+'&userId='+editFileInfo.userId+'&userName='+editFileInfo.userName)
window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName + '&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id +'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName+'&userId='+editFileInfo.userId+'&userName='+editFileInfo.userName)
}
}).catch(e => {
})
@@ -97,6 +97,15 @@
v-if="showOver3"
>驳回</el-button>
</el-popover>
<el-button
type="primary"
size="small"
class="common-button-primary"
icon="el-icon-check"
@click="handleReceive"
:loading="submitLoading"
v-if="showReceive"
>接收任务</el-button>
<el-button
type="danger"
size="small"
@@ -215,6 +224,10 @@ export default {
type: Boolean,
default: false
},
showReceive: {
type: Boolean,
default: false
},
visible: {
type: Boolean,
default: false
@@ -383,6 +396,9 @@ export default {
handleSubmit() {
this.$emit('submit')
},
handleReceive() {
this.$emit('receive')
},
handleAccept() {
this.$emit('accept')
},
@@ -31,7 +31,10 @@
</el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled" >
<template>
<div style="padding-left: 10px; color: #666666;">{{ !form.reviseStatus || form.reviseStatus === ''? '' : (form.reviseStatus === '1'? '制定' : '修订') }}</div>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div>
<div style="padding-left: 10px; color: #666666;" v-else></div>
</template>
</el-form-item>
<!-- <el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
@@ -19,7 +19,10 @@
</el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled" >
<template>
<div style="padding-left: 10px; color: #666666;">{{ !form.reviseStatus || form.reviseStatus === ''? '' : (form.reviseStatus === '1'? '制定' : '修订') }}</div>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div>
<div style="padding-left: 10px; color: #666666;" v-else></div>
</template>
</el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
@@ -24,7 +24,10 @@
</el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled" >
<template>
<div style="padding-left: 10px; color: #666666;">{{ form.reviseStatus === ''? '' : (form.reviseStatus === '1'? '制定' : '修订') }}</div>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div>
<div style="padding-left: 10px; color: #666666;" v-else></div>
</template>
</el-form-item>
<!-- <el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
@@ -18,7 +18,10 @@
</el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled" >
<template>
<div style="padding-left: 10px; color: #666666;">{{ form.reviseStatus === ''? '' : (form.reviseStatus === '1'? '制定' : '修订') }}</div>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div>
<div style="padding-left: 10px; color: #666666;" v-else></div>
</template>
</el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -2683,6 +2683,7 @@
*/
getFormFieldList (item) {
this.$nextTick(() => {
console.log(item);
this.form = JSON.parse(JSON.stringify(item))
this.form.topId = this.pId
this.form.prcNum = this.prcNum
@@ -2801,7 +2802,10 @@
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
}
this.formKey++
}else {
} else if(this.form.reviseStatus === '3'){
this.form.standCode = this.form.standCode
this.formKey++
} else {
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort,taskId: this.taskIds}, {
_this: this
}, res => {
@@ -423,22 +423,22 @@ export default {
this.$http.post('esRevisePlan/es-revise-plan/queryAllPlans',{
reviseStatus: this.standardSearch.reviseStatus || '',
esName: this.standardSearch.standName,
planStatus: '0',
planStatus: '1,2,3,6',
page: this.page,
pageSize: this.pageSize,
}, {
_this: this,
}, res => {
this.standinfoList = []
this.standinfoList = res.data.list
//展示的数据只能是未开始的
res.data.list.forEach(item => {
if(item.planStatus === '0'){
if(item.isRelate && item.isRelate === 'null'){
item.isRelate = ""
}
this.standinfoList.push(item)
}
})
// res.data.list.forEach(item => {
// if(item.planStatus === '0'){
// if(item.isRelate && item.isRelate === 'null'){
// item.isRelate = ""
// }
// this.standinfoList.push(item)
// }
// })
this.total = this.standinfoList.length
})
@@ -445,19 +445,19 @@ export default {
this.$http.post('esRevisePlan/es-revise-plan/queryAllPlans',{
reviseStatus: this.standardSearch.reviseStatus || '',
esName: this.standardSearch.standName,
planStatus: '0',
planStatus: '1,2,3,6',
page: this.page,
pageSize: this.pageSize,
}, {
_this: this,
}, res => {
this.standinfoList = []
this.standinfoList = res.data.list
//展示的数据只能是未开始的
res.data.list.forEach(item => {
if(item.planStatus === '0'){
this.standinfoList.push(item)
}
})
// res.data.list.forEach(item => {
// if(item.planStatus === '0'){
// this.standinfoList.push(item)
// }
// })
this.total = this.standinfoList.length
})
@@ -501,7 +501,9 @@ export default {
}
this.qbfsForm.rqbName = this.selectList[0].rqbName
this.qbfsForm.tsJsonName = this.selectList[0].tsJsonName
this.qbfsForm.isRelate = this.selectList[0].isRelate.indexOf("null") !== -1 ? "":this.selectList[0].isRelate
if(this.qbfsForm.isRelate){
this.qbfsForm.isRelate = this.selectList[0].isRelate.indexOf("null") !== -1 ? "":this.selectList[0].isRelate
}
this.qbfsForm.useLevel = this.selectList[0].useLevel
this.qbfsForm.esStandRelations = this.selectList[0].esStandRelations
this.qbfsForm.technologic = this.selectList[0].technologic
@@ -431,8 +431,8 @@ export default {
props: ['message'],
data(){
const validateFsOnlineFile = async (rule, value, callback) => {
if(this.qbfsForm.FSD){
let fileObj = await this.processEditFile(this.qbfsForm.FSD)
if(this.qbfsForm.LXD){
let fileObj = await this.processEditFile(this.qbfsForm.LXD)
if (fileObj) {
const editFileInfo = fileObj
if (editFileInfo && editFileInfo.editStatus === '1') {
@@ -1081,19 +1081,20 @@ export default {
this.$http.post('esRevisePlan/es-revise-plan/queryAllPlans',{
reviseStatus: this.standardSearch.reviseStatus || '',
esName: this.standardSearch.standName,
planStatus: '0',
planStatus: '1,2,3,6',
page: this.page,
pageSize: this.pageSize,
}, {
_this: this,
}, res => {
this.standinfoList = []
//展示的数据只能是未开始的
res.data.list.forEach(item => {
if(item.planStatus === '0'){
this.standinfoList.push(item)
}
})
this.standinfoList = res.data.list
// this.standinfoList = []
// //展示的数据只能是未开始的
// res.data.list.forEach(item => {
// if(item.planStatus === '0'){
// this.standinfoList.push(item)
// }
// })
this.total = this.standinfoList.length
this.replaceLoading = false
})
@@ -432,7 +432,7 @@ export default {
this.$http.post('esRevisePlan/es-revise-plan/queryAllPlans',{
reviseStatus: this.standardSearch.reviseStatus || '',
esName: this.standardSearch.standName,
planStatus: '0',
planStatus: '1,2,3,6',
page: this.page,
pageSize: this.pageSize,
}, {
@@ -95,7 +95,7 @@
<el-card>
<el-form-item prop="countersignerName" style="margin-bottom: 0">
<h4>创新技术委员会成员/标准体系工作组成员(必选)</h4>
<h4>二级研发(部所所长总工中心主任/研究院院长)()</h4>
<h4>二级研发(部所所长总工中心主任/研究院院长)()</h4>
<h4>质量相关人员(可选)</h4>
<h4>制造部相关人员(可选)</h4>
<h4>采购部相关人员(可选)</h4>
@@ -127,30 +127,30 @@
:color="roleForm.approver ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="approverName" style="margin-bottom: 0">
<h4>总院技术委员会覆盖领域企业标准专委会主任/总院技术委员会未覆盖领域企业标准总院院长或总院主管副院长</h4>
<h4>标准法规部高级经理</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.approver" style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.approverName" readonly placeholder="选择总院技术委员会覆盖领域企业标准:专委会主任/总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长"
@click.native="choiceZRR('approver', '选择总院技术委员会覆盖领域企业标准:专委会主任/总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', roleForm.approver)">
</el-input>
</div>
</el-form-item>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="抄送" placement="top"
:color="roleForm.engineer ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="engineerName" style="margin-bottom: 0">
<h4>相关单位工程研究总院标准法规部</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.engineer" style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.engineerName" readonly placeholder="选择相关单位、工程研究总院标准法规部"
@click.native="choiceZRR('engineer', '选择相关单位、工程研究总院标准法规部', roleForm.engineer)">
<el-input :disabled="disabledXX" v-model="roleForm.approverName" readonly placeholder="选择标准法规部高级经理"
@click.native="choiceZRR('approver', '选择标准法规部高级经理', roleForm.approver)">
</el-input>
</div>
</el-form-item>
</el-card>
</el-timeline-item>
<!-- <el-timeline-item timestamp="抄送" placement="top"-->
<!-- :color="roleForm.engineer ? '#66b1ff' : ''">-->
<!-- <el-card>-->
<!-- <el-form-item prop="engineerName" style="margin-bottom: 0">-->
<!-- <h4>相关单位工程研究总院标准法规部</h4>-->
<!-- <div style="margin-top: 10px;width: 300px;">-->
<!-- <el-input :disabled="disabledXX" v-model="roleForm.engineer" style="display: none;"></el-input>-->
<!-- <el-input :disabled="disabledXX" v-model="roleForm.engineerName" readonly placeholder="选择相关单位、工程研究总院标准法规部"-->
<!-- @click.native="choiceZRR('engineer', '选择相关单位、工程研究总院标准法规部', roleForm.engineer)">-->
<!-- </el-input>-->
<!-- </div>-->
<!-- </el-form-item>-->
<!-- </el-card>-->
<!-- </el-timeline-item>-->
</el-form>
</el-timeline>
</div>
@@ -534,6 +534,7 @@ export default {
if (valid) {
this.isSubmit = true;
qbzxdFrom.commentText = this.commentText;
qbzxdFrom.addFlag = '0'
let json = Object.assign(qbzxdFrom, this.roleForm);
this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId,
@@ -588,6 +589,7 @@ export default {
if (valid) {
this.isSubmit = true;
qbzxdFrom.commentText = this.commentText;
qbzxdFrom.addFlag = '0'
var json = Object.assign(qbzxdFrom, this.roleForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
@@ -519,20 +519,20 @@ export default {
}
this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json,
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.$router.push('/processCenter')
}
this.isSubmit = false
}, e => {
});
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json,
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.$router.push('/processCenter')
}
this.isSubmit = false
}, e => {
});
},
beforeBack(){
if(!this.commentText){
@@ -125,7 +125,7 @@
placeholder="请选择立项完成时间">
</el-date-picker>
</el-form-item>
<el-form-item prop="tsJson" label="体系结构" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
<el-form-item prop="tsJsonName" label="体系结构" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
<el-input
style="display: none;"
v-model="qbfsForm.tsJson">
@@ -193,19 +193,19 @@
v-model="qbfsForm.esMatingRelations"
></custom-input-for-all-standards2>
</template>
<!-- <el-form-item label="立项原因" style="width: 100%; margin-right:10px" prop="newReason" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- type="textarea"-->
<!-- v-model="qbfsForm.newReason"-->
<!-- placeholder="请输入立项原因"-->
<!-- :maxlength="500"/>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="立项原因" style="width: 100%; margin-right:10px" prop="newReason" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- type="textarea"-->
<!-- v-model="qbfsForm.newReason"-->
<!-- placeholder="请输入立项原因"-->
<!-- :maxlength="500"/>-->
<!-- </el-form-item>-->
<el-form-item label="立项单" prop="LXDName" class="add-form-item form-item-disabled">
<div v-if="LXDList.length > 0" v-for="(item,index) in LXDList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<!-- <span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''">-->
<!-- <el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>-->
<!-- </span>-->
<!-- <span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''">-->
<!-- <el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>-->
<!-- </span>-->
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-edit" @click="handleFilePreview(item,'onlineEdit')"></el-button>
</span>
@@ -558,6 +558,12 @@
@checkedRole="checkedRolePeoples"
:nodeList="nodeList2"
></Role-tree>
<Mechanism-tree v-if="!disabledXX"
is-title="选择起草责任单位"
:is-visible.sync="modalshowflagZRBM"
:nodeList="nodeListZRBM"
@checkedRole="drawerCheckZRBM"
/>
<!-- 单选人-->
<Role-tree
check-box
@@ -757,7 +763,7 @@ export default {
endTime: [
{ required: true, message: "请选择立项完成时间", trigger: "change" }
],
tsJson: [
tsJsonName: [
{ required: true, message: "请选择体系结构", trigger: "change" }
],
area: [
@@ -842,53 +848,54 @@ export default {
if (res.success) {
const _formData = new FormData()
_formData.append('infoJson', JSON.stringify(this.qbfsForm))
processCreatePlan(_formData).then(res => {
this.qbfsForm.planId = res.data
if (res.code === '200' || res.message === '入库成功'){
this.isSubmit = true;
this.qbfsForm.type = '5'
this.qbfsForm.commentText = this.commentText;
let json = Object.assign(this.qbfsForm, this.roleForm);
this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
roleForm: this.roleForm,
qbfsForm: this.qbfsForm,
commentText: this.commentText
})
// processCreatePlan(_formData).then(res => {
// this.qbfsForm.planId = res.data
// if (res.code === '200' || res.message === '入库成功'){
this.isSubmit = true;
this.qbfsForm.type = '5'
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.addFlag = '0'
let json = Object.assign(this.qbfsForm, this.roleForm);
this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
roleForm: this.roleForm,
qbfsForm: this.qbfsForm,
commentText: this.commentText
})
}, {
_this: this
}, res => {
if (res.ok) {
this.$http.post("lawss/activiti/completeTask", {
taskIds: res.data,
userId: this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
_this: this
}, res => {
if (res.ok) {
this.$http.post("lawss/activiti/completeTask", {
taskIds: res.data,
userId: this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success("企标制修订立项计划-立项已完成");
if (this.bpnId !== '') {
let taskId = {
id: this.bpnId
}
taskDel(taskId).then(res=>{
return res
})
}
this.isSubmit = false;
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
if (res.success) {
this.$message.success("提交成功");
if (this.bpnId !== '') {
let taskId = {
id: this.bpnId
}
});
taskDel(taskId).then(res=>{
return res
})
}
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
// this.isSubmit = false;
}
});
}
})
});
// }
// })
}
this.isSubmit = false
// this.isSubmit = false
}, e => {
});
} else {
@@ -1205,6 +1212,7 @@ export default {
this.QYBZget()
},
choiceZRBM(type, title, id) {
console.log(1);
this.nodeListZRBM = []
this.nodeListZRBM.push(id)
this.drawerTitle = title
@@ -282,6 +282,18 @@
placeholder="请输入项目名称"
></el-input>
</el-form-item>
<el-form-item label="适用车型" class="search-item search-item-last">
<el-select :disabled="disabledXX" v-model="projectSearch.carType"
placeholder="请选择适用车型" filterable clearable>
<el-option
v-for="(item, index) in energyKindOptions"
:key="index.value"
:value="item.value"
:label="item.label"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item class="search-item btn-box">
<el-button :disabled="disabledXX"
type="primary"
@@ -863,7 +875,8 @@ export default {
projectName: "",
managementHostName: "", //管理主体
developmentHostName: "", //开发主体
categoryName: "" //项目细分类
categoryName: "", //项目细分类
carType: ""
},
qdform: {
projectId:"",
@@ -429,7 +429,10 @@ export default {
case 'buss1':
// 企标制修订-技术标准
this.$router.push({
name: 'bussLibrary1'
name: 'bussLibrary1',
query:{
reviseStatus:'3'
},
})
break
case 'buss2':
@@ -2200,6 +2200,18 @@ export default {
}
})
}
else if(row.taskInfo === '技术标准起草') {
this.$router.push({
name: 'qbzxdjhgkStep6',
query:{
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}
break
}
},
@@ -898,14 +898,29 @@ export default {
break
//
case '25':
this.$router.push({
name: 'qbzxdjhgkStep1',
query: {
type: '25',
processName: '企标制修订计划管控',
bpnId: id
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '技术标准起草'){
this.$router.push({
name: 'qbzxdjhgkStep6',
query: {
type: '25',
processName: '企标制修订计划管控',
bpnId: id,
verifySarStandard: true,
}
})
}else {
this.$router.push({
name: 'qbzxdjhgkStep1',
query: {
type: '25',
processName: '企标制修订计划管控',
bpnId: id
}
})
}
})
}
break
//
case '26':
@@ -63,11 +63,19 @@
<div class="search-area">
<el-form :modal="dataCenterSearch" :inline="true">
<el-form-item label="类型:">
<el-input
size="small"
v-model="dataCenterSearch.dataType"
placeholder="请输入类型"
></el-input>
<!-- <el-input-->
<!-- size="small"-->
<!-- v-model="dataCenterSearch.dataType"-->
<!-- placeholder="请输入类型"-->
<!-- ></el-input>-->
<el-select size="small" v-model="dataCenterSearch.dataType" filterable placeholder="请输入类型" style="width: 100%;">
<el-option
v-for="(item, index) in cbcdOptions"
:key="index"
:value="item.value"
:label="item.label">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="资料标题:">
<el-input
@@ -77,16 +85,32 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="上传时间:">
<el-form-item label="上传开始时间:">
<!-- <el-date-picker-->
<!-- v-model="dataCenterSearch.dataUploadTime"-->
<!-- clearable-->
<!-- value-format="yyyy-MM-dd"-->
<!-- size="small"-->
<!-- type="daterange"-->
<!-- range-separator="至"-->
<!-- start-placeholder="开始日期"-->
<!-- end-placeholder="结束日期">-->
<!-- </el-date-picker>-->
<el-date-picker
v-model="dataCenterSearch.dataUploadTime"
clearable
value-format="yyyy-MM-dd"
v-model="dataCenterSearch.startDataUploadTime"
size="small"
type="daterange"
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期">
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择上传开始时间">
</el-date-picker>
</el-form-item>
<el-form-item label="上传结束时间:">
<el-date-picker
v-model="dataCenterSearch.endDataUploadTime"
size="small"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择上传结束时间">
</el-date-picker>
</el-form-item>
<el-form-item>
@@ -231,21 +255,21 @@
</div>
</el-drawer>
<el-drawer
:title="attributeTitle"
:wrapperClosable="false"
:visible.sync="showInfoModal"
size="800px"
:styles="styles"
:close="cancelModel"
:title="attributeTitle"
:wrapperClosable="false"
:visible.sync="showInfoModal"
size="800px"
:styles="styles"
:close="cancelModel"
>
<div style="height: 92%;margin-left: 3%">
<el-form
ref="attributeEO"
:model="attributeEO"
:rules="attributeEOFormRules"
class="label-input-form"
label-width="130px"
v-if="showInfoModal"
ref="attributeEO"
:model="attributeEO"
:rules="attributeEOFormRules"
class="label-input-form"
label-width="130px"
v-if="showInfoModal"
>
<el-form-item label="所属目录" prop="treeId" class="add-form-item">
<el-select ref="treeSelect" class="tree-select" v-model="attributeEO.treeId" value-key="id" placeholder="请选择所属目录">
@@ -267,61 +291,61 @@
</el-select>
</el-form-item>
<el-form-item
label="类型"
prop="dataType"
class="add-form-item"
label="类型"
prop="dataType"
class="add-form-item"
>
<el-input
v-model="attributeEO.dataType"
placeholder="请输入类型"
clearable
v-model="attributeEO.dataType"
placeholder="请输入类型"
clearable
/>
</el-form-item>
<el-form-item
label="资料标题"
prop="dataTitle"
class="add-form-item"
label="资料标题"
prop="dataTitle"
class="add-form-item"
>
<el-input
v-model="attributeEO.dataTitle"
placeholder="请输入资料标题"
clearable
v-model="attributeEO.dataTitle"
placeholder="请输入资料标题"
clearable
/>
</el-form-item>
<el-form-item
label="资料说明"
prop="dataExplain"
class="add-form-item"
label="资料说明"
prop="dataExplain"
class="add-form-item"
>
<el-input
type="textarea"
:autosize="{ minRows: 1, maxRows: 10}"
resize="none"
style="width: 95%"
maxlength="4000"
show-word-limit
v-model="attributeEO.dataExplain"
placeholder="请输入资料说明"
clearable
type="textarea"
:autosize="{ minRows: 1, maxRows: 10}"
resize="none"
style="width: 95%"
maxlength="4000"
show-word-limit
v-model="attributeEO.dataExplain"
placeholder="请输入资料说明"
clearable
/>
<el-button icon="el-icon-delete" circle type="danger" size="mini" @click="attributeEO.dataExplain = ''"></el-button>
</el-form-item>
<el-form-item
label="附件"
prop="attachFileId"
class="add-form-item"
label="附件"
prop="attachFileId"
class="add-form-item"
>
<el-upload
class="upload-demo"
action="/api/att/attFile/uploadNew"
:before-upload="beginImportFile"
:on-preview="handlePreview"
:on-remove="handleRemove"
multiple
:limit="50"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
:file-list="fileList">
class="upload-demo"
action="/api/att/attFile/uploadNew"
:before-upload="beginImportFile"
:on-preview="handlePreview"
:on-remove="handleRemove"
multiple
:limit="50"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
:file-list="fileList">
<el-button size="small" type="primary">点击上传</el-button>
</el-upload>
</el-form-item>
@@ -409,6 +433,7 @@ export default {
total: 0
},
dataCenterTable: [],
cbcdOptions: [],
productModelAdd: {
name: '',
parentId: '',
@@ -730,12 +755,17 @@ export default {
},
searchInfo() {
this.loading = true
if(this.dataCenterSearch.dataUploadTime && this.dataCenterSearch.dataUploadTime.length !== 0){
this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
}else{
this.dataCenterSearch.startDataUploadTime =''
this.dataCenterSearch.endDataUploadTime = ''
// if(this.dataCenterSearch.dataUploadTime && this.dataCenterSearch.dataUploadTime.length !== 0){
// this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
// this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
// }else{
// this.dataCenterSearch.startDataUploadTime =''
// this.dataCenterSearch.endDataUploadTime = ''
// }
if(this.dataCenterSearch.endDataUploadTime < this.dataCenterSearch.startDataUploadTime){
this.$message.warning('结束时间不能小于开始时间')
this.loading = false
return
}
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
_this: this
@@ -806,35 +836,35 @@ export default {
if (valid) {
if (this.attributeTitle === '新增'){
this.$http.postData(
'fileMaterialCenter/file-material',
this.attributeEO,
{
_this: this,
},
(res) => {
if (res.ok) {
this.$message.success('新增成功')
this.submitLoading = false
this.cancelModel()
this.searchInfo()
}
'fileMaterialCenter/file-material',
this.attributeEO,
{
_this: this,
},
(res) => {
if (res.ok) {
this.$message.success('新增成功')
this.submitLoading = false
this.cancelModel()
this.searchInfo()
}
}
)
}else {
this.$http.putData(
'fileMaterialCenter/file-material',
this.attributeEO,
{
_this: this,
},
(res) => {
if (res.ok) {
this.$message.success('修改成功')
this.submitLoading = false
this.cancelModel()
this.searchInfo()
}
'fileMaterialCenter/file-material',
this.attributeEO,
{
_this: this,
},
(res) => {
if (res.ok) {
this.$message.success('修改成功')
this.submitLoading = false
this.cancelModel()
this.searchInfo()
}
}
)
}
}else{
@@ -868,7 +898,7 @@ export default {
<style scoped lang="less">
#dataCenter {
/deep/ .el-input--small .el-input__inner {
/deep/ .el-input--small .el-input__inner {
width: 160px;
}
background-color: white;
@@ -1032,7 +1062,9 @@ export default {
}
}
}
/deep/.el-input__inner{
width: 180px !important;
}
/deep/ .icon-tree {
margin: 0 5px 0 10px;
position: relative;
@@ -11,7 +11,7 @@
<el-option label="修订中" value="2"></el-option>
<el-option label="已取消" value="3"></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-select>
</el-form-item>
@@ -1220,7 +1220,9 @@
tips = '添加'
}
let arr = JSON.parse(JSON.stringify(this.addForm))
this.addForm.unitName = arr.unitName
arr.area = arr.area.join(',')
this.addForm = {...this.addForm}
this.$http.post(url, this.addForm, {
_this: this
}, res => {
@@ -1230,6 +1232,36 @@
this.addDrawer = false
this.$message.success(tips + '成功')
this.getData()
if(this.DrawerType === 'add'){
this.addForm.addFlag = '1'
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
this.addForm.nowEsId = res.message
this.addForm.type = '5'
var json = Object.assign(this.addForm)
this.$http.post('lawss/activiti/startProcessRollBack', {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
qbfsForm: this.addForm
})
}, {}, res => {
if (res.ok) {
this.$http.post('lawss/activiti/completeTask', {
taskIds: res.data,
userId : this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
_this: this
}, res => {
if (res.success) {
// this.$message.success(res.message)
}
})
}
})
}
} else {
this.addDrawer = false
this.$message.warning(res.data)
+9
View File
@@ -2275,6 +2275,15 @@ const routes = [
title: '企标制修订计划管控流程'
}
},
{
path: '/qbzxdjhgkStep6',
name: 'qbzxdjhgkStep6',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue'),
meta: {
requireAuth: true,
title: '企标制修订计划管控流程'
}
},
{
path: '/qbzxdjhgkStep1-5',
name: 'qbzxdjhgkStep1-5',
+10 -8
View File
@@ -8,10 +8,10 @@
// const devInterfacePORT = '10005'
// const devIp = '192.168.1.42'
// const devInterfacePORT = '9999'
// const devIp = '39.98.140.126'
// const devInterfacePORT = '4202'
const devIp = '10.0.3.10'
const devInterfacePORT = '10086'
const devIp = '10.10.10.46'
const devInterfacePORT = '4202'
// const devIp = '10.0.3.10'
// const devInterfacePORT = '10086'
// const devIp = '62.234.136.153'
// const devInterfacePORT = '8033'
// 配置 idm 认证
@@ -22,8 +22,8 @@ const devWebUrl = 'http://62.234.136.153:8038/#/'
const webLoginType = 'dev'
// 配置onlyOffice 前端服务
// const onlyOfficeUrl = 'http://127.0.0.1:8080'
const onlyOfficeUrl = 'http://10.10.10.46:8103'
const onlyOfficeUrl = 'http://127.0.0.1:8080'
// const onlyOfficeUrl = 'http://10.10.10.46:8103'
// 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
@@ -47,8 +47,10 @@ const processPort = '17210'
*****************************************************************/
// 生产环境配置
const prodIp = '39.98.140.126'
const prodInterfacePORT = '4201'
// const prodIp = '39.98.140.126'
// const prodInterfacePORT = '4201'
const prodIp = '10.10.10.46'
const prodInterfacePORT = '4202'
// const prodIp = 'slrs.foton.com.cn'
// const prodInterfacePORT = ''