This commit is contained in:
闫晓茹 2024-03-07 17:28:47 +08:00
parent d75b9f017b
commit 6129f394a3

View File

@ -324,7 +324,6 @@
:disabled="disableedit" :disabled="disableedit"
placeholder="请选择服务方式" placeholder="请选择服务方式"
style="width: 250px" style="width: 250px"
> >
<el-option <el-option
v-for="item in DepartmentoList" v-for="item in DepartmentoList"
@ -501,9 +500,7 @@ export default {
form: {}, form: {},
// //
rules: { rules: {
serviceFrequencyType: [ serviceFrequencyType: [{ required: true }],
{ required: true, },
],
serviceWayId: [ serviceWayId: [
{ required: true, message: "请选中所属服务方式", trigger: "blur" }, { required: true, message: "请选中所属服务方式", trigger: "blur" },
@ -719,7 +716,12 @@ export default {
this.reset(); this.reset();
this.disableedit = false; this.disableedit = false;
this.disabledcontent = false; this.disabledcontent = false;
this.DIGIT=true this.DIGIT = true;
this.TEXT = false;
this.disableda = false;
this.disabledb = false;
this.disabled = true; //
this.form.serviceFrequencyType = "DIGIT"; this.form.serviceFrequencyType = "DIGIT";
console.log(this.itemname, "itemname"); console.log(this.itemname, "itemname");
if (this.itemname) { if (this.itemname) {
@ -775,7 +777,7 @@ export default {
changeTEXT(item) {}, changeTEXT(item) {},
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {
console.log(this.form) console.log(this.form);
this.$refs["form"].validate((valid) => { this.$refs["form"].validate((valid) => {
if (valid) { if (valid) {
if ( if (
@ -876,10 +878,9 @@ export default {
}, },
// }, // },
handleUpdateserve() { handleUpdateserve() {
this.titles = "新增服务方式"; this.titles = "新增服务方式";
this.format.serviceWayName = ""; this.format.serviceWayName = "";
this.format.id='' this.format.id = "";
this.opens = true; this.opens = true;
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */