Commit dacc7af0 authored by 仇晓婷's avatar 仇晓婷

保存按钮防重复点击

parent 46ea8718
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</Row> </Row>
<Row> <Row>
<FormItem label=" "> <FormItem label=" ">
<Button type="primary" @click="pwdOk">保存</Button> <Button type="primary" @click="pwdOk" v-noClick>保存</Button>
</FormItem> </FormItem>
</Row> </Row>
</Form> </Form>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<Col span="15">&nbsp;</Col> <Col span="15">&nbsp;</Col>
<Col span="9"> <Col span="9">
<Button @click="handleClose" class="mr20">取消</Button> <Button @click="handleClose" class="mr20">取消</Button>
<Button type="primary" @click="suerUp()">保存</Button> <Button type="primary" @click="suerUp()" v-noClick>保存</Button>
</Col> </Col>
</Row> </Row>
</Form> </Form>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<div v-if="editIndex === index"> <div v-if="editIndex === index">
<Button @click="handleSave(index)">保存</Button> <Button @click="handleSave(index)" v-noClick>保存</Button>
<Button @click="editIndex = -1">取消</Button> <Button @click="editIndex = -1">取消</Button>
</div> </div>
<div v-else> <div v-else>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<div v-if="editIndex02 === index"> <div v-if="editIndex02 === index">
<Button @click="handleSave02(index)">保存</Button> <Button @click="handleSave02(index)" v-noClick>保存</Button>
<Button @click="editIndex02 = -1">取消</Button> <Button @click="editIndex02 = -1">取消</Button>
</div> </div>
<div v-else> <div v-else>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<div v-if="editIndex03 === index"> <div v-if="editIndex03 === index">
<Button @click="handleSave03(index)">保存</Button> <Button @click="handleSave03(index)" v-noClick>保存</Button>
<Button @click="handlecancel(row, index)">取消</Button> <Button @click="handlecancel(row, index)">取消</Button>
</div> </div>
<div v-else> <div v-else>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<div v-if="editIndex02 === index"> <div v-if="editIndex02 === index">
<Button @click="handleSave02(index)">保存</Button> <Button @click="handleSave02(index)" v-noClick>保存</Button>
<Button @click="editIndex02 = -1">取消</Button> <Button @click="editIndex02 = -1">取消</Button>
</div> </div>
<div v-else> <div v-else>
......
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
</div> </div>
<div slot="footer"> <div slot="footer">
<Button type="text" size="large" @click="saveCancelModel">取消</Button> <Button type="text" size="large" @click="saveCancelModel">取消</Button>
<Button type="primary" size="large" @click="modalOk">保存</Button> <Button type="primary" size="large" @click="modalOk" v-noClick>保存</Button>
<Checkbox v-show="submitShow" v-model="checked" class="ml10" label="送审">送审</Checkbox> <Checkbox v-show="submitShow" v-model="checked" class="ml10" label="送审">送审</Checkbox>
</div> </div>
<changeSendReview ref="changeSendReview" ></changeSendReview> <changeSendReview ref="changeSendReview" ></changeSendReview>
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
<template v-if="createtype==1"> <template v-if="createtype==1">
<Button type="text" size="large" @click="saveCancelModel">取消</Button> <Button type="text" size="large" @click="saveCancelModel">取消</Button>
<Checkbox v-model="issendAudit" label="送审">送审</Checkbox> <Checkbox v-model="issendAudit" label="送审">送审</Checkbox>
<Button type="primary" size="large" @click="modalOk">保存</Button> <Button type="primary" size="large" @click="modalOk" v-noClick>保存</Button>
<Button type="primary" size="large" @click="nextStepandSave">下一步</Button> <Button type="primary" size="large" @click="nextStepandSave">下一步</Button>
</template> </template>
<template v-else-if="createtype==2"> <template v-else-if="createtype==2">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<fm-making-form ref="makingform" style="height: 880px;" :data="jsonData" generate-json> <fm-making-form ref="makingform" style="height: 880px;" :data="jsonData" generate-json>
<template slot="action"> <template slot="action">
<!-- 自定义操作区域插槽 --> <!-- 自定义操作区域插槽 -->
<el-button type="text" icon="el-icon-upload">保存</el-button> <el-button type="text" icon="el-icon-upload" v-noClick>保存</el-button>
</template> </template>
</fm-making-form> </fm-making-form>
</template> </template>
......
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