流程管理问题修改

Co-authored-by: Copilot <copilot@github.com>
dev-scheduling
zhangdi 1 month ago
parent 6c24f7ac5a
commit b6d4ddd19b
  1. 16
      src/views/flowManagement/addDialog.vue

@ -244,7 +244,7 @@
:rules="addRules.milestoneMemo" :rules="addRules.milestoneMemo"
> >
<jhSelect <jhSelect
:value="scope.row.milestoneMemo" v-model="scope.row.milestoneMemo"
placeholder="请搜索选择" placeholder="请搜索选择"
api-url="/blade-system/user/page" api-url="/blade-system/user/page"
echo-api="/blade-system/user/page" echo-api="/blade-system/user/page"
@ -410,7 +410,10 @@
label="附件" label="附件"
:width="isDetail || isStatusEdit ? '120' : ''" :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-column>
</el-table> </el-table>
</el-form> </el-form>
@ -542,6 +545,9 @@ export default {
} }
}, },
methods: { methods: {
attachListDown(row){
window.open(row.attachList[0])
},
// //
tableCellClassName({ row, column, rowIndex, columnIndex }) { tableCellClassName({ row, column, rowIndex, columnIndex }) {
if (row.checkResult == 1 || row.checkResult == 2) { if (row.checkResult == 1 || row.checkResult == 2) {
@ -561,6 +567,7 @@ export default {
handleStoneListChange(val, item, index, row) { handleStoneListChange(val, item, index, row) {
if (item) { if (item) {
// milestoneMan // milestoneMan
// row.milestoneMemo =val;
row.milestoneMan = item.realName; row.milestoneMan = item.realName;
} else { } else {
// val // val
@ -675,7 +682,7 @@ export default {
milestonePlan: '', milestonePlan: '',
outputMaterial: '', outputMaterial: '',
milestoneNode: '', milestoneNode: '',
milestoneMemo: null, milestoneMemo: '',
evolve: '', evolve: '',
lastPlan: '', lastPlan: '',
grade: null, grade: null,
@ -683,7 +690,7 @@ export default {
executeResult: 0, executeResult: 0,
executeType: '', executeType: '',
delayTime: '', delayTime: '',
checkResult: 0, checkResult: null,
checkMan: '', checkMan: '',
checkTime: '', checkTime: '',
gradeMan: '', gradeMan: '',
@ -729,6 +736,7 @@ export default {
if (this.addForm.stoneList.length === 0) { if (this.addForm.stoneList.length === 0) {
return this.$message.error('立项申请数据不能为空!'); return this.$message.error('立项申请数据不能为空!');
} }
console.log(9999999,this.addForm)
this.$refs.addForm.validate((isValid, invalidFields) => { this.$refs.addForm.validate((isValid, invalidFields) => {
if (!isValid) { if (!isValid) {
this.formError = '存在未完善的字段,请检查红色提示'; this.formError = '存在未完善的字段,请检查红色提示';

Loading…
Cancel
Save