Merge remote-tracking branch 'origin/dev-2024年1月8日' into dev-2024年1月8日

2024年1月19日V01.00.51
guoyuepeng 2024-01-18 15:35:01 +08:00
commit 04887019e5
2 changed files with 26 additions and 6 deletions

View File

@ -168,7 +168,7 @@
v-if="USER_ID=='1'" v-if="USER_ID=='1'"
type="danger" type="danger"
icon="el-icon-view" icon="el-icon-view"
@click="fnDelvaluation(row.HIDDEN_ID)">删除 @click="fnDelvaluation(row.HIDDEN_ID)">重置考评
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -428,7 +428,7 @@ export default {
}) })
}, },
fnDelvaluation(hiddenId) { fnDelvaluation(hiddenId) {
this.$confirm('确定要删除选中的评审记录吗?', { this.$confirm('确定要重置选中的评审记录吗?', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

View File

@ -3,7 +3,10 @@
<el-form ref="form" :rules="rules" :model="form" label-width="120px"> <el-form ref="form" :rules="rules" :model="form" label-width="120px">
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="承诺书名称" prop="PROMISE_NAME"> <el-form-item v-if="form.TYPE!='1'" label="承诺书名称" prop="PROMISE_NAME">
<el-input v-model="form.PROMISE_NAME" placeholder="请输入"/>
</el-form-item>
<el-form-item v-if="form.TYPE =='1'" label="责任状名称" prop="PROMISE_NAME">
<el-input v-model="form.PROMISE_NAME" placeholder="请输入"/> <el-input v-model="form.PROMISE_NAME" placeholder="请输入"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -43,9 +46,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-divider content-position="left">承诺人</el-divider> <el-divider v-if="form.TYPE!='1'" content-position="left"></el-divider>
<el-divider v-if="form.TYPE=='1'" content-position="left"></el-divider>
</el-col> </el-col>
<el-col v-if="form.DISTRIBUTIONOBJECT" :span="24"> <el-col v-if="form.DISTRIBUTIONOBJECT&&form.TYPE!='1'" :span="24">
<el-form-item style="text-align: right"> <el-form-item style="text-align: right">
<el-button type="primary" @click="addPeople"></el-button> <el-button type="primary" @click="addPeople"></el-button>
</el-form-item> </el-form-item>
@ -148,7 +152,8 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-divider content-position="left">被承诺人</el-divider> <el-divider v-if="form.TYPE!='1'" content-position="left"></el-divider>
<el-divider v-if="form.TYPE=='1'" content-position="left"></el-divider>
</el-col> </el-col>
<!-- <el-col :span="24">--> <!-- <el-col :span="24">-->
<!-- <el-form-item style="text-align: right">--> <!-- <el-form-item style="text-align: right">-->
@ -649,6 +654,21 @@ export default {
this.form.TYPE = row.TYPE this.form.TYPE = row.TYPE
this.dialog.visible = false this.dialog.visible = false
this.isSelectTemplate = true this.isSelectTemplate = true
if (this.form.TYPE == '1') {
this.form.people = [
{
treeData: [],
postList: [],
userList: [],
CORPINFO_ID: '',
DEPARTMENT_ID: null,
POST_ID: '',
USER_ID: [],
id: Math.random()
}
]
this.$forceUpdate()
}
}).catch((e) => { }).catch((e) => {
}) })
}, },