|
@@ -110,13 +110,6 @@ import TagsRecommend from './components/tagsRecommend.vue'
|
|
import Search from './components/search.vue'
|
|
import Search from './components/search.vue'
|
|
|
|
|
|
const { push } = useRouter()
|
|
const { push } = useRouter()
|
|
-const addNewTag = ref(false)
|
|
|
|
-const newTagText = ref('')
|
|
|
|
-
|
|
|
|
-const saveTags = () => {
|
|
|
|
- // addNewTag.value = false
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
const loading = ref(false)
|
|
const loading = ref(false)
|
|
const saveLoading = ref(false)
|
|
const saveLoading = ref(false)
|
|
const result = ref(cloneDeep(DefaultData))
|
|
const result = ref(cloneDeep(DefaultData))
|
|
@@ -252,12 +245,12 @@ const handleSave = async () => {
|
|
console.log(result.value, 'result-add')
|
|
console.log(result.value, 'result-add')
|
|
|
|
|
|
// 效验基本信息中必填项是否有填写
|
|
// 效验基本信息中必填项是否有填写
|
|
- if (!result.value?.person.name || !result.value.person.phone) {
|
|
|
|
- message.notifyWarning('请将必填项填写完整')
|
|
|
|
- InfoRef.value.formRef.validate()
|
|
|
|
- content.value.scrollTo({ top: 0, behavior: 'smooth' })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!result.value?.person.name || !result.value.person.phone) {
|
|
|
|
+ // message.notifyWarning('请将必填项填写完整')
|
|
|
|
+ // InfoRef.value.formRef.validate()
|
|
|
|
+ // content.value.scrollTo({ top: 0, behavior: 'smooth' })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
|
|
saveLoading.value = true
|
|
saveLoading.value = true
|
|
try {
|
|
try {
|