123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <template>
- <el-button size="mini" @click="submit" type="primary">反 审 核 </el-button>
- </template>
- <script>
- export default {
- props:['data'],
- name: '',
- data() {
- return {
- checkVisible:false
- };
- },
- computed:{
- },
- watch:{
- },
- created() {
- },
- methods: {
- async submit () {
- this.$confirm('确定反审核当前合同吗?','提示',{
- confirmButtonText:'确定',
- cancelButtonText:'取消'
- }).then(async () => {
- let res = await this.$api.requested({
- "id": 20221212135402,
- "content": {
- "sa_contractid": this.data.sa_contractid
- },
- })
- this.tool.showMessage(res,() => {
- this.$emit('onSuccess')
- })
- })
- },
- },
- };
- </script>
- <style scoped>
- .box p {
- line-height: 40px;
- text-align: center;
- }
- .box p:hover {
- background: #EBF1FE;
- color: #6191F8;
- cursor: pointer;
- }
- </style>
|