Commit d53d843f by yuzhenWang

提交代码,开新菜单

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