mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
面授 审核
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
<a-upload
|
||||
v-model:file-list="fileList"
|
||||
name="file"
|
||||
action="/api/file/upload"
|
||||
action="/manageApi/file/upload"
|
||||
@change="handleChange"
|
||||
>
|
||||
<button class="xkbtn" type="button">上传附件</button>
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
<div class="main_btns">
|
||||
<a-button class="btn1" @click="closeDrawer">取消</a-button>
|
||||
<a-button class="btn2" html-type="submit">确定</a-button>
|
||||
<a-button class="btn2" html-type="submit" @click="cle">确定</a-button>
|
||||
</div>
|
||||
</a-form>
|
||||
</div>
|
||||
@@ -164,6 +164,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
face: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const formState = reactive({
|
||||
@@ -362,6 +366,13 @@ export default {
|
||||
}
|
||||
};
|
||||
|
||||
const cle = () => {
|
||||
console.log("xx", formState);
|
||||
if (props.face) {
|
||||
ctx.emit("getWork", formState);
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
afterVisibleChange,
|
||||
closeDrawer,
|
||||
@@ -375,6 +386,7 @@ export default {
|
||||
formRef,
|
||||
// layout,
|
||||
rules,
|
||||
cle,
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user