| | |
| | | <a-space class="btn-grp" direction="vertical" slot="content"> |
| | | <a-button |
| | | v-if="canUploadSoftware" |
| | | :disabled="record.soft.lockFlag != -1" |
| | | :disabled="!!record.soft.lockFlag" |
| | | type="primary" |
| | | @click="updateDesc(record)" |
| | | >更新说明</a-button |
| | |
| | | :visible="uploadShow" |
| | | :footer="null" |
| | | :width="760" |
| | | title="上传软件" |
| | | :title="onlyXls ? '更新发布说明' : '上传软件'" |
| | | :destroyOnClose="true" |
| | | :maskClosable="false" |
| | | @cancel="uploadCancel" |
| | |
| | | import { mapGetters } from "vuex"; |
| | | import EmailCard from "../../components/emailCard"; |
| | | |
| | | // TODO |
| | | const tester = ["李桂华"]; |
| | | |
| | | export default { |
| | |
| | | let { |
| | | soft: { fileUrl, lockFlag }, |
| | | } = this.currentObj; |
| | | // 多传一个当前状态 |
| | | let lockFlagNow = lockFlag; |
| | | lockFlag = !lockFlag * 1; |
| | | let params = { |
| | | fileUrl, |
| | | localReason: this.reason, |
| | | lockFlag, |
| | | lockFlagNow, |
| | | }; |
| | | updateSoftwareLock(params).then((res) => { |
| | | const { code, data } = res.data; |