sc
This commit is contained in:
@@ -301,7 +301,9 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-button v-if="!remarkInfo.isEnroll" type="primary" @click="handleSave">提 交</el-button>
|
||||
<el-button v-if="!remarkInfo.isEnroll && info.clueId" type="primary" @click="handleSave">
|
||||
提 交
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -321,6 +323,7 @@ import { getSimpleFieldList } from '@/api/clue/orderField'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
import { getDictOptions } from '@/utils/dict'
|
||||
import { componentMap } from '@/components/Form/src/componentMap'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
|
||||
const form = ref({})
|
||||
|
||||
@@ -337,6 +340,7 @@ const formLoading = ref(false)
|
||||
|
||||
const route = useRoute()
|
||||
const message = useMessage() // 消息弹窗
|
||||
const userStore = useUserStore()
|
||||
|
||||
const showSchema = ref([])
|
||||
|
||||
@@ -350,6 +354,13 @@ onMounted(() => {
|
||||
// 这里可以调用API获取会议详情数据
|
||||
getClueRemarkByRemarkId({ remarkId: route.params.id }).then((response) => {
|
||||
remarkInfo.value = response
|
||||
if (
|
||||
userStore.getUser?.id != remarkInfo.value.remarkUser &&
|
||||
userStore.getUser?.id != remarkInfo.value.followUser
|
||||
) {
|
||||
message.error('无权限操作该登记页面!')
|
||||
return
|
||||
} else {
|
||||
resetForm()
|
||||
getOptions()
|
||||
getDiyFields()
|
||||
@@ -368,6 +379,7 @@ onMounted(() => {
|
||||
message.warning(`请注意:${str}`)
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
// 关闭网页
|
||||
|
||||
Reference in New Issue
Block a user