修改已知问题
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div class="box-content-top">
|
<div class="box-content-top">
|
||||||
<div class="box-content" v-for="(item,index) in dataSourceContentList" :key="index" @click="urlClick(item)">
|
<div class="box-content" v-for="(item,index) in dataSourceContentList" :key="index" @click="urlClick(item)">
|
||||||
<img :src="item.iconPath" class="img" alt="">
|
<img :src="item.iconPath" class="img" alt="">
|
||||||
<div class="text">{{item.iconName}}</div>
|
<div class="text" :title="item.iconName">{{item.iconName}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content" @click="customClick()" style=";margin-top: 0">
|
<div class="box-content" @click="customClick()" style=";margin-top: 0">
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<div class="box-top" @click="statusClick(1,item,index)">
|
<div class="box-top" @click="statusClick(1,item,index)">
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<img :src="item.iconPath" class="img" alt="">
|
<img :src="item.iconPath" class="img" alt="">
|
||||||
<div class="text">{{item.iconName}}</div>
|
<div class="text" :title="item.iconName">{{item.iconName}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
@click="statusClick(2,item,index)">
|
@click="statusClick(2,item,index)">
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<img :src="item.iconPath" class="img" alt="">
|
<img :src="item.iconPath" class="img" alt="">
|
||||||
<div class="text">{{item.iconName}}</div>
|
<div class="text" :title="item.iconName">{{item.iconName}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -195,6 +195,9 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -228,6 +231,9 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -163,7 +163,7 @@
|
|||||||
this.textLoading = this.$t('Returning')
|
this.textLoading = this.$t('Returning')
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$refs.examineInformationRef.submitNoRule((res) => {
|
this.$refs.examineInformationRef.submitNoRule((res) => {
|
||||||
this.completeTask({ ...res,flag: 1 }, handlingTime,)
|
this.completeTask({ ...res, flag: 1 }, handlingTime)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
queryTaskDetailByTask(callback) {
|
queryTaskDetailByTask(callback) {
|
||||||
@@ -203,14 +203,16 @@
|
|||||||
}
|
}
|
||||||
if (!this.queryProject.verifyDeliverableType && !this.queryProject.prehomoDeliverableType &&
|
if (!this.queryProject.verifyDeliverableType && !this.queryProject.prehomoDeliverableType &&
|
||||||
!this.queryProject.designDeliverableType) {
|
!this.queryProject.designDeliverableType) {
|
||||||
this.$router.push({
|
window.close()
|
||||||
path: '/ProcessCenter'
|
// this.$router.push({
|
||||||
})
|
// path: '/ProcessCenter'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$router.push({
|
window.close()
|
||||||
path: '/ProcessCenter'
|
// this.$router.push({
|
||||||
})
|
// path: '/ProcessCenter'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
@@ -226,6 +228,7 @@
|
|||||||
startProcessDesign(value, num) {
|
startProcessDesign(value, num) {
|
||||||
let query = {
|
let query = {
|
||||||
type: num,
|
type: num,
|
||||||
|
projectLawsInventoryId: value.id,
|
||||||
msg: JSON.stringify(value).replace(/\"/g, '\'')
|
msg: JSON.stringify(value).replace(/\"/g, '\'')
|
||||||
}
|
}
|
||||||
postAction('/workFlow/startProcess', query).then((res) => {
|
postAction('/workFlow/startProcess', query).then((res) => {
|
||||||
@@ -247,10 +250,12 @@
|
|||||||
postAction('/workFlow/completeTask', query).then((res) => {
|
postAction('/workFlow/completeTask', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
// this.$message.success(this.$t('OperationSuccessful'))
|
setTimeout(() => {
|
||||||
this.$router.push({
|
window.close()
|
||||||
path: '/ProcessCenter'
|
}, 2000)
|
||||||
})
|
// this.$router.push({
|
||||||
|
// path: '/ProcessCenter'
|
||||||
|
// })
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -303,10 +303,11 @@
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$router.push({
|
// this.$router.push({
|
||||||
path: '/ProjectDetails',
|
// path: '/ProjectDetails',
|
||||||
query: this.$route.query
|
// query: this.$route.query
|
||||||
})
|
// })
|
||||||
|
window.close()
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
@@ -326,10 +327,10 @@
|
|||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.edit()
|
this.edit()
|
||||||
this.$router.push({
|
// this.$router.push({
|
||||||
path: '/ProjectDetails',
|
// path: '/ProjectDetails',
|
||||||
query: this.$route.query
|
// query: this.$route.query
|
||||||
})
|
// })
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
@@ -343,7 +344,7 @@
|
|||||||
}
|
}
|
||||||
putAction(this.url.edit, query).then((res) => {
|
putAction(this.url.edit, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
window.close()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -151,8 +151,6 @@
|
|||||||
@click="deleteLib(record)">
|
@click="deleteLib(record)">
|
||||||
{{ $t('deleteLib') }}
|
{{ $t('deleteLib') }}
|
||||||
</a>
|
</a>
|
||||||
<!-- <a class="text-operation" @click="resultReportedClick(record)">{{$t('resultReported')}}</a>-->
|
|
||||||
<!-- <a @click="addProcess(record)">发起</a>-->
|
|
||||||
</span>
|
</span>
|
||||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
|
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
|
||||||
@@ -1107,6 +1105,7 @@
|
|||||||
msg: JSON.stringify(value).replace(/\"/g, '\''),
|
msg: JSON.stringify(value).replace(/\"/g, '\''),
|
||||||
projectNameId: this.$route.query.projectNameId,
|
projectNameId: this.$route.query.projectNameId,
|
||||||
projectName: this.$route.query.projectName,
|
projectName: this.$route.query.projectName,
|
||||||
|
projectLawsInventoryId:value.id
|
||||||
taskAffirmDueDate: this.formInline.taskAffirmDueDate
|
taskAffirmDueDate: this.formInline.taskAffirmDueDate
|
||||||
}
|
}
|
||||||
postAction('/workFlow/startProcess', query).then((res) => {
|
postAction('/workFlow/startProcess', query).then((res) => {
|
||||||
@@ -1326,49 +1325,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
addProcess(val) {
|
|
||||||
let num = 1
|
|
||||||
for (let i = 0; i < 3; i++) {
|
|
||||||
setTimeout(() => {
|
|
||||||
++num
|
|
||||||
this.startProcessDesign(val, num)
|
|
||||||
}, 500)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
startProcessDesign(value, num) {
|
|
||||||
let query = {
|
|
||||||
type: num,
|
|
||||||
msg: JSON.stringify(value).replace(/\"/g, '\'')
|
|
||||||
}
|
|
||||||
postAction('/workFlow/startProcess', query).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
this.completeTaskDesign(value, res.result)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
completeTaskDesign(value, taskId) {
|
|
||||||
value.reviewResult = 'launch'
|
|
||||||
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
|
||||||
value.operatorTime = operatorTime
|
|
||||||
let query = {
|
|
||||||
userid: this.userInfo().id,
|
|
||||||
taskId: taskId,
|
|
||||||
json: JSON.stringify(value).replace(/\"/g, '\'')
|
|
||||||
}
|
|
||||||
postAction('/workFlow/completeTask', query).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
this.visible = false
|
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
|
||||||
this.$router.push({
|
|
||||||
path: '/ProcessCenter'
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
resultReportedClick(val) {
|
resultReportedClick(val) {
|
||||||
this.clickButtonToUploadFile()
|
this.clickButtonToUploadFile()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user