修改敏感及重要用户台账新增提交审核按钮
This commit is contained in:
@@ -560,7 +560,9 @@
|
||||
<div class="dialog-footer">
|
||||
<el-button @click="close()">取消</el-button>
|
||||
<el-button type="primary" @click="confirmForm(true)">保存</el-button>
|
||||
<el-button type="primary" v-if="props.openType != 'create'" @click="confirmForm(false)">提交审批</el-button>
|
||||
<el-button type="primary" v-if="props.submissionControl" @click="confirmForm(false)">
|
||||
提交审批
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
@@ -599,6 +601,10 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: 'create'
|
||||
},
|
||||
submissionControl: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
update: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
@@ -1468,7 +1474,7 @@ const confirmForm = (flag: boolean) => {
|
||||
} else {
|
||||
confirmFormData.id = resendId.value
|
||||
if (controFlag.value) confirmFormData.dataType = 1
|
||||
console.log("🚀 ~ ruleFormRef.value.validate ~ controFlag.value:", controFlag.value)
|
||||
console.log('🚀 ~ ruleFormRef.value.validate ~ controFlag.value:', controFlag.value)
|
||||
console.log(123123)
|
||||
if (props.normalizedControl) {
|
||||
if (title.value == '编辑') {
|
||||
@@ -1495,7 +1501,6 @@ const confirmForm = (flag: boolean) => {
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
||||
updateFormData(confirmFormData).then(res => {
|
||||
ElMessage({
|
||||
message: '重新发起成功',
|
||||
@@ -1524,10 +1529,10 @@ const filterUsers = (arr: any) => {
|
||||
}
|
||||
const setcontroFlag = () => {
|
||||
console.log(12333)
|
||||
|
||||
|
||||
controFlag.value = true
|
||||
}
|
||||
defineExpose({ open, filterUsers,setcontroFlag })
|
||||
defineExpose({ open, filterUsers, setcontroFlag })
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.el-form {
|
||||
|
||||
Reference in New Issue
Block a user