var _this=this;
const saveButton = document.querySelectorAll('button[data-v-08840551].el-button--small')[1];
saveButton.classList.add('el-button--primary');
if (saveButton) {
const originalSubmitHandler = saveButton.onclick;
saveButton.querySelector('span').textContent = '提交';
const newButton = document.createElement('button');
newButton.type = 'button';
newButton.className = 'el-button el-button--default el-button--small';
newButton.setAttribute('data-v-f4ec7e7e', '');
const newButtonSpan = document.createElement('span');
newButtonSpan.textContent = '存草稿';
newButton.appendChild(newButtonSpan);
newButton.addEventListener('click', function() {
_this.setFormData({d53:"草稿"});
saveButton.click();
});
const newButton2 = document.createElement('button');
newButton2.type = 'button';
newButton2.className = 'el-button el-button--default el-button--small el-button--primary';
newButton2.setAttribute('data-v-f4ec7e7e', '');
const newButtonSpan2 = document.createElement('span');
newButtonSpan2.textContent = '提交';
newButton2.appendChild(newButtonSpan2);
newButton2.addEventListener('click', function() {
_this.setFormData({d53:"已发布"});
saveButton.click();
});
saveButton.style.display = 'none'
const parent = saveButton.parentNode;
parent.insertBefore(newButton, saveButton);
parent.insertBefore(newButton2, saveButton);
}