|
@@ -1591,9 +1591,11 @@ export default {
|
|
|
},
|
|
|
async created() {
|
|
|
this.activeIndex = this.roleName.indexOf('调度中心业务员') !== -1 ? '2' : this.roleName.indexOf('调度中心经理') !== -1 ? '2' : '1'
|
|
|
- this.entrustOptionTwo = await this.getColumnData(this.getColumnName(85.1), this.entrustOptionTwoBackup);
|
|
|
+ // this.entrustOptionTwo = await this.getColumnData(this.getColumnName(85.1), this.entrustOptionTwoBackup);
|
|
|
+ this.entrustOptionTwo = this.entrustOptionTwoBackup
|
|
|
this.KeyBox++
|
|
|
- this.entrustOptionTwoT = await this.getColumnData(this.getColumnName(85.2), this.entrustOptionTwoTBackup);
|
|
|
+ // this.entrustOptionTwoT = await this.getColumnData(this.getColumnName(85.2), this.entrustOptionTwoTBackup);
|
|
|
+ this.entrustOptionTwoT = this.entrustOptionTwoTBackup
|
|
|
this.KeyBoxTwo++
|
|
|
this.vehicleOption = await this.getColumnData(this.getColumnName(85.3), this.vehicleOptionTwo);
|
|
|
this.keyContact++
|
|
@@ -1858,7 +1860,8 @@ export default {
|
|
|
* 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
- const inSave = await this.saveColumnData(this.getColumnName(85.1), this.entrustOptionTwo);
|
|
|
+ // const inSave = await this.saveColumnData(this.getColumnName(85.1), this.entrustOptionTwo);
|
|
|
+ const inSave = this.entrustOptionTwo
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|
|
|
//关闭窗口
|
|
@@ -1868,7 +1871,8 @@ export default {
|
|
|
//自定义列重置
|
|
|
async resetColumnBox() {
|
|
|
this.entrustOptionTwo = this.entrustOptionTwoBackup;
|
|
|
- const inSave = await this.delColumnData(this.getColumnName(85.1), this.entrustOptionTwoBackup);
|
|
|
+ // const inSave = await this.delColumnData(this.getColumnName(85.1), this.entrustOptionTwoBackup);
|
|
|
+ const inSave = this.entrustOptionTwoBackup
|
|
|
if (inSave) {
|
|
|
this.$message.success("重置成功");
|
|
|
this.$refs.crudBox.$refs.dialogColumn.columnBox = false;
|
|
@@ -1887,7 +1891,8 @@ export default {
|
|
|
* 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
- const inSave = await this.saveColumnData(this.getColumnName(85.2), this.entrustOptionTwoT);
|
|
|
+ // const inSave = await this.saveColumnData(this.getColumnName(85.2), this.entrustOptionTwoT);
|
|
|
+ const inSave = this.entrustOptionTwoT
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|
|
|
//关闭窗口
|
|
@@ -1897,7 +1902,8 @@ export default {
|
|
|
//自定义列重置
|
|
|
async resetColumnBoxTwo() {
|
|
|
this.entrustOptionTwoT = this.entrustOptionTwoTBackup;
|
|
|
- const inSave = await this.delColumnData(this.getColumnName(85.2), this.entrustOptionTwoTBackup);
|
|
|
+ // const inSave = await this.delColumnData(this.getColumnName(85.2), this.entrustOptionTwoTBackup);
|
|
|
+ const inSave = this.entrustOptionTwoTBackup
|
|
|
if (inSave) {
|
|
|
this.$message.success("重置成功");
|
|
|
this.$refs.crudBoxTwo.$refs.dialogColumn.columnBox = false;
|