|
|
|
|
@ -244,7 +244,7 @@ |
|
|
|
|
:rules="addRules.milestoneMemo" |
|
|
|
|
> |
|
|
|
|
<jhSelect |
|
|
|
|
:value="scope.row.milestoneMemo" |
|
|
|
|
v-model="scope.row.milestoneMemo" |
|
|
|
|
placeholder="请搜索选择" |
|
|
|
|
api-url="/blade-system/user/page" |
|
|
|
|
echo-api="/blade-system/user/page" |
|
|
|
|
@ -410,7 +410,10 @@ |
|
|
|
|
label="附件" |
|
|
|
|
:width="isDetail || isStatusEdit ? '120' : ''" |
|
|
|
|
> |
|
|
|
|
<el-button type="text">附件</el-button> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-button type="text" v-if="scope.row.attachList.length>0" @click="attachListDown(scope.row)">附件</el-button> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
</el-form> |
|
|
|
|
@ -542,6 +545,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
attachListDown(row){ |
|
|
|
|
window.open(row.attachList[0]) |
|
|
|
|
}, |
|
|
|
|
// 动态添加类名 |
|
|
|
|
tableCellClassName({ row, column, rowIndex, columnIndex }) { |
|
|
|
|
if (row.checkResult == 1 || row.checkResult == 2) { |
|
|
|
|
@ -561,6 +567,7 @@ export default { |
|
|
|
|
handleStoneListChange(val, item, index, row) { |
|
|
|
|
if (item) { |
|
|
|
|
// 假设你需要将姓名存到 milestoneMan 字段用于提交或展示 |
|
|
|
|
// row.milestoneMemo =val; |
|
|
|
|
row.milestoneMan = item.realName; |
|
|
|
|
} else { |
|
|
|
|
// 如果 val 为空,说明是清除操作 |
|
|
|
|
@ -675,7 +682,7 @@ export default { |
|
|
|
|
milestonePlan: '', |
|
|
|
|
outputMaterial: '', |
|
|
|
|
milestoneNode: '', |
|
|
|
|
milestoneMemo: null, |
|
|
|
|
milestoneMemo: '', |
|
|
|
|
evolve: '', |
|
|
|
|
lastPlan: '', |
|
|
|
|
grade: null, |
|
|
|
|
@ -683,7 +690,7 @@ export default { |
|
|
|
|
executeResult: 0, |
|
|
|
|
executeType: '', |
|
|
|
|
delayTime: '', |
|
|
|
|
checkResult: 0, |
|
|
|
|
checkResult: null, |
|
|
|
|
checkMan: '', |
|
|
|
|
checkTime: '', |
|
|
|
|
gradeMan: '', |
|
|
|
|
@ -729,6 +736,7 @@ export default { |
|
|
|
|
if (this.addForm.stoneList.length === 0) { |
|
|
|
|
return this.$message.error('立项申请数据不能为空!'); |
|
|
|
|
} |
|
|
|
|
console.log(9999999,this.addForm) |
|
|
|
|
this.$refs.addForm.validate((isValid, invalidFields) => { |
|
|
|
|
if (!isValid) { |
|
|
|
|
this.formError = '存在未完善的字段,请检查红色提示'; |
|
|
|
|
|