|
|
@ -4,17 +4,17 @@ |
|
|
|
<template #detail> |
|
|
|
<template #detail> |
|
|
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ExpertForm"> |
|
|
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ExpertForm"> |
|
|
|
<a-row> |
|
|
|
<a-row> |
|
|
|
<a-col :span="24" > |
|
|
|
<a-col :span="24" v-if="!formData.seusername"> |
|
|
|
<a-form-item label="用户名" v-bind="validateInfos.seusername" id="ExpertForm-seusername" name="seusername"> |
|
|
|
<a-form-item label="用户名" v-bind="validateInfos.seusername" id="ExpertForm-seusername" name="seusername"> |
|
|
|
<a-input v-model:value="formData.seusername" placeholder="请输入用户名" ></a-input> |
|
|
|
<a-input v-model:value="formData.seusername" placeholder="请输入用户名" ></a-input> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24" v-if="isEit"> |
|
|
|
<a-col :span="24" v-if="!formData.psd"> |
|
|
|
<a-form-item label="密码" v-bind="validateInfos.psd" name="psd"> |
|
|
|
<a-form-item label="密码" v-bind="validateInfos.psd" name="psd"> |
|
|
|
<a-input-password v-model:value="formData.psd" placeholder="请输入密码" ></a-input-password> |
|
|
|
<a-input-password v-model:value="formData.psd" placeholder="请输入密码" ></a-input-password> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24" v-if="isEit"> |
|
|
|
<a-col :span="24" v-if="!formData.psd"> |
|
|
|
<a-form-item label="确人密码" v-bind="validateInfos.sepsd" name="sepsd"> |
|
|
|
<a-form-item label="确人密码" v-bind="validateInfos.sepsd" name="sepsd"> |
|
|
|
<a-input-password v-model:value="formData.sepsd" placeholder="确认密码" ></a-input-password> |
|
|
|
<a-input-password v-model:value="formData.sepsd" placeholder="确认密码" ></a-input-password> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
@ -26,7 +26,7 @@ |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24" > |
|
|
|
<a-col :span="24" v-if="!formData.workon"> |
|
|
|
<a-form-item label="工号" v-bind="validateInfos.workon" name="workon"> |
|
|
|
<a-form-item label="工号" v-bind="validateInfos.workon" name="workon"> |
|
|
|
<a-input v-model:value="formData.workon" placeholder="请输入工号" ></a-input> |
|
|
|
<a-input v-model:value="formData.workon" placeholder="请输入工号" ></a-input> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
@ -94,22 +94,22 @@ |
|
|
|
<a-textarea v-model:value="formData.expinfo" :rows="4" placeholder="请输入专家简介" /> |
|
|
|
<a-textarea v-model:value="formData.expinfo" :rows="4" placeholder="请输入专家简介" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<!-- <a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item label="专家状态" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture"> |
|
|
|
<a-form-item label="专家状态" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture"> |
|
|
|
<j-switch v-model:value="formData.expsture" ></j-switch> |
|
|
|
<j-switch v-model:value="formData.expsture" ></j-switch> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col>--> |
|
|
|
</a-col> |
|
|
|
<!-- <a-col :span="24" v-if="formData.expsture === 'Y'"> |
|
|
|
<!-- <a-col :span="24" v-if="formData.expsture === 'Y'"> |
|
|
|
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> |
|
|
|
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> |
|
|
|
<a-input v-model:value="formData.errinfo" placeholder="请输入异常备注" allow-clear ></a-input> |
|
|
|
<a-input v-model:value="formData.errinfo" placeholder="请输入异常备注" allow-clear ></a-input> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col>--> |
|
|
|
</a-col>--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <a-col :span="24" v-if="formData.expsture === 'Y'"> |
|
|
|
<a-col :span="24" v-if="formData.expsture === 'Y'"> |
|
|
|
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> |
|
|
|
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> |
|
|
|
<j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear /> |
|
|
|
<j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col>--> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'"> |
|
|
|
<a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'"> |
|
|
|
<a-form-item label="驳回原因" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> |
|
|
|
<a-form-item label="驳回原因" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> |
|
|
@ -201,17 +201,14 @@ import JImageUpload from '/src/components/Form/src/jeecg/components/JImageUpload |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 新增 |
|
|
|
* 新增 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
const isEit = ref(false) |
|
|
|
|
|
|
|
function add() { |
|
|
|
function add() { |
|
|
|
isEit.value = true |
|
|
|
edit({}); |
|
|
|
// edit({}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 编辑 |
|
|
|
* 编辑 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function edit(record) { |
|
|
|
function edit(record) { |
|
|
|
isEit.value = false |
|
|
|
|
|
|
|
nextTick(() => { |
|
|
|
nextTick(() => { |
|
|
|
resetFields(); |
|
|
|
resetFields(); |
|
|
|
const tmpData = {}; |
|
|
|
const tmpData = {}; |
|
|
|