| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/permit/submit', |
| | | url: '/api/permit/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | width="30%" |
| | | :modal-append-to-body="false" |
| | | > |
| | | <span>是否通过审核?</span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="flots"> |
| | | <span class="f_title">是否通过审核?</span> |
| | | <span class="f_body">请输入修改意见:</span> |
| | | <textarea |
| | | name="reworkmes" |
| | | cols="40" |
| | | rows="4" |
| | | style="overflow: hidden" |
| | | v-model="textareaShenpi" |
| | | ></textarea> |
| | | <div class="but"> |
| | | <el-button @click="closecc">通过</el-button> |
| | | <el-button type="primary" @click="subcc">不通过</el-button> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | row: {}, |
| | | chiden: {}, |
| | | }, |
| | | textareaShenpi: "", |
| | | |
| | | form: {}, |
| | | query: {}, |
| | |
| | | closecc() { |
| | | this.xukezData.type = "0"; |
| | | this.dialogVisiblecc = false; |
| | | this.xukezData["approve"] = this.textareaShenpi; |
| | | console.log(this.xukezData); |
| | | return update(this.xukezData); |
| | | }, |
| | | subcc() { |
| | | this.xukezData.type = "1"; |
| | | this.dialogVisiblecc = false; |
| | | this.xukezData["approve"] = this.textareaShenpi; |
| | | return update(this.xukezData); |
| | | }, |
| | | |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | <style scoped lang="scss"> |
| | | .dtype { |
| | | width: 80px; |
| | | } |
| | |
| | | .PrintBut { |
| | | margin-top: 15px; |
| | | } |
| | | |
| | | .flots { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | flex-direction: column; |
| | | .f_title { |
| | | position: absolute; |
| | | top: 15px; |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | .but { |
| | | margin-top: 20px; |
| | | width: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | justify-content: center; |
| | | } |
| | | </style> |
| | |
| | | @click.stop="rowDel(row)" |
| | | v-show="row.type == 2" |
| | | >审批 |
| | | <!-- v-show="row.type == 2" --> |
| | | </el-button> |
| | | <el-button |
| | | icon="el-icon-edit" |
| | |
| | | width="30%" |
| | | :modal-append-to-body="false" |
| | | > |
| | | <span>是否通过审核?</span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="flots"> |
| | | <span class="f_title">是否通过审核?</span> |
| | | <span class="f_body">请输入修改意见:</span> |
| | | <textarea |
| | | name="reworkmes" |
| | | cols="40" |
| | | rows="4" |
| | | style="overflow: hidden" |
| | | v-model="textareaShenpi" |
| | | ></textarea> |
| | | <div class="but"> |
| | | <el-button @click="closecc">通过</el-button> |
| | | <el-button type="primary" @click="subcc">不通过</el-button> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | |
| | | return { |
| | | dialogVisiblecc: false, //许可证审核抽屉 |
| | | xukezData: {}, |
| | | |
| | | textareaShenpi: "", |
| | | |
| | | dialogVisible: false, // 备案审批打印的 |
| | | form: {}, |
| | |
| | | closecc() { |
| | | this.xukezData.type = "0"; |
| | | this.dialogVisiblecc = false; |
| | | this.xukezData["approve"] = this.textareaShenpi; |
| | | return update(this.xukezData); |
| | | }, |
| | | subcc() { |
| | | this.xukezData.type = "1"; |
| | | this.dialogVisiblecc = false; |
| | | this.xukezData["approve"] = this.textareaShenpi; |
| | | return update(this.xukezData); |
| | | }, |
| | | // 审批打印 |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | <style scoped lang="scss"> |
| | | .dtype { |
| | | width: 80px; |
| | | } |
| | |
| | | .exam-box span { |
| | | text-decoration: underline; |
| | | } |
| | | |
| | | .flots { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | flex-direction: column; |
| | | .f_title { |
| | | position: absolute; |
| | | top: 15px; |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | .but { |
| | | margin-top: 20px; |
| | | width: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | justify-content: center; |
| | | } |
| | | </style> |