Commit d53d843f by yuzhenWang

提交代码,开新菜单

parent 3c2d8a81
...@@ -607,7 +607,6 @@ const setFormValue = (obj, formData, exportValue) => { ...@@ -607,7 +607,6 @@ const setFormValue = (obj, formData, exportValue) => {
} }
} }
}) })
console.log('tempPhoneList', tempPhoneList)
phoneQuickList.value = removeDuplicates(tempPhoneList, 'phoneString') phoneQuickList.value = removeDuplicates(tempPhoneList, 'phoneString')
addressQuickList.value = removeDuplicates(tempAddressList, 'addressString') addressQuickList.value = removeDuplicates(tempAddressList, 'addressString')
...@@ -707,7 +706,7 @@ const submitForm = () => { ...@@ -707,7 +706,7 @@ const submitForm = () => {
proxy.$message.success('客户新增成功') proxy.$message.success('客户新增成功')
emit('handleSuccess', { emit('handleSuccess', {
tab: 'customer', tab: 'customer',
customerBizId: props.customerBizId, customerBizId: res.data.customerBizId,
type: 'add' type: 'add'
}) })
} }
......
...@@ -99,7 +99,14 @@ ...@@ -99,7 +99,14 @@
:customerBizId="processInfo.customerBizId" :customerBizId="processInfo.customerBizId"
@handleSuccess="handleSuccess" @handleSuccess="handleSuccess"
/> />
<div v-if="tab.name === 'fnaform'">FNA表单内容</div> <div v-if="tab.name === 'fnaform'">
<FanForm
:activeName="activeName"
:fearthStatus="route.query.type"
:fnaFormBizId="processInfo.fnaFormBizId"
@handleSuccess="handleSuccess"
/>
</div>
<div v-if="tab.name === 'appointment'">关联预约内容</div> <div v-if="tab.name === 'appointment'">关联预约内容</div>
<div v-if="tab.name === 'newpolicy'">关联新单内容</div> <div v-if="tab.name === 'newpolicy'">关联新单内容</div>
<div v-if="tab.name === 'policy'">关联保单内容</div> <div v-if="tab.name === 'policy'">关联保单内容</div>
...@@ -114,6 +121,7 @@ ...@@ -114,6 +121,7 @@
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
import { addFna, getProcessDetail, updateProcess } from '@/api/sign/fna' import { addFna, getProcessDetail, updateProcess } from '@/api/sign/fna'
import Customer from './components/customer' import Customer from './components/customer'
import FanForm from './components/fanForm'
import { Check } from '@element-plus/icons-vue' import { Check } from '@element-plus/icons-vue'
import { ref } from 'vue' import { ref } from 'vue'
const userStore = useUserStore() const userStore = useUserStore()
...@@ -122,8 +130,8 @@ const route = useRoute() ...@@ -122,8 +130,8 @@ const route = useRoute()
const router = useRouter() const router = useRouter()
const activeName = ref('overview') const activeName = ref('overview')
const processInfo = ref({ const processInfo = ref({
fnaNo:'暂无', fnaNo: '暂无',
status:'未完成', status: '未完成',
createTime: proxy.parseTime(new Date()), createTime: proxy.parseTime(new Date()),
customerName: userStore.name customerName: userStore.name
}) // 流程详情信息 }) // 流程详情信息
...@@ -171,11 +179,10 @@ const tabsList = ref([ ...@@ -171,11 +179,10 @@ const tabsList = ref([
} }
]) ])
const { csf_fna_status } = proxy.useDict('csf_fna_status') const { csf_fna_status } = proxy.useDict('csf_fna_status')
// 更新流程 // 更新流程
const processUpdate = (data, status) => { const processUpdate = (data, status) => {
updateProcess(data).then(async res => { updateProcess(data).then(res => {
if (res.code == 200) { if (res.code == 200) {
updateStatus.value = false updateStatus.value = false
// 获取流程详情 // 获取流程详情
...@@ -267,7 +274,7 @@ const handleBack = () => { ...@@ -267,7 +274,7 @@ const handleBack = () => {
} }
if (route.query.type == 'add') { if (route.query.type == 'add') {
// getAddInfo() getAddInfo()
} else if (route.query.type == 'edit') { } else if (route.query.type == 'edit') {
getProcessInfo(route.query.fnaBizId) getProcessInfo(route.query.fnaBizId)
} }
......
...@@ -96,6 +96,9 @@ ...@@ -96,6 +96,9 @@
<span v-if="scope.row.status == 'COMPLETED'" <span v-if="scope.row.status == 'COMPLETED'"
><span style="color: #43cf7c" class="iconfont icon-yiwancheng"></span> 已完成 ><span style="color: #43cf7c" class="iconfont icon-yiwancheng"></span> 已完成
</span> </span>
<span v-if="scope.row.status == 'DRAFT'"
><span style="color: #86909C" class="iconfont icon-genjinjilu"></span> 草稿
</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- sortable 后端未做 --> <!-- sortable 后端未做 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment