当前位置: 首页 > news >正文

网站开发站点的文件夹推广平台排行榜有哪些

网站开发站点的文件夹,推广平台排行榜有哪些,公司网站备案需要什么,wordpress 国际化 mo应用场景 基本用法使用v-model双向绑定值#xff0c;进行开关控制 例子1:需求#xff1a; **点击switch#xff0c;出弹窗#xff0c;点击弹窗保存按钮调接口成功后再赋值#xff08;row.orderButtonValue“1”#xff09;打开switch开的状态变颜色。 在vue 中使用 :va…应用场景 基本用法使用v-model双向绑定值进行开关控制 例子1:需求 **点击switch出弹窗点击弹窗保存按钮调接口成功后再赋值row.orderButtonValue“1”打开switch开的状态变颜色。 在vue 中使用 :value动态的绑定值。 在Vue中冒号(:)被称为v-bind指令的缩写。v-bind指令是Vue中非常强大的一个指令它用于动态绑定数据到HTML标签的属性中。简而言之冒号就是v-bind指令的语法糖。 说白了冒号是用来告诉Vue我要绑定数据到这个属性里属性的名称就是冒号后面的部分 ** el-table-column proporderButtonValue label指令 min-width100 aligncentertemplate slot-scopescopeel-switchv-showscope.row.orderButton 1changechangeClick(scope.row, scope.$index):valuescope.row.orderButtonValueactive-value1//打开为 字符串1inactive-value0//关闭 字符串0active-color#67C8FFinactive-color#CCCCCC{{ scope.row.orderButtonValue }}/el-switch/template/el-table-columndiv classdialogel-dialogclassparams_dialogtitle提示:visible.synctextDialogVisiblewidth30%centerp classtext descsvg-iconicon-classel-warningstylewidth: 16px; height: 16px; margin-right: 18px; color: #ff6c00/{{ orderVariableNameDesc }}/pp classtext con是否确认?/pdiv slotfooter classdialog-footerel-button typeprimary stylewidth: 76px; height: 36px clicktextSaveClick保存/el-buttonel-buttonclicktextCancelBtnstyleborder: 1px solid #4683ff;background-color: #011948;color: #4683ff;width: 76px;height: 36px;取消/el-button/div/el-dialog/div//指令按钮changeClick(row, index) {let rowPlcValue row.orderButtonValue;//row.orderButtonValue 接口返回值//启动弹窗if (rowPlcValue 0) {this.orderVariableNameDesc row.orderVariableNameDesc;this.textDialogVisible true;this.switchIndex index;return;}if (rowPlcValue 1) {this.tableData.splice(index, 1, this.tableData[index]);}if (row.testOperator debug_onLine) {//调试中--可打开 isAddressShow现场使能按钮if ((row.orderButtonValue 0 this.isAddressShow true) ||(row.orderButtonValue null this.isAddressShow true)) {let params {//传参数...};//write接口getWriteInfo(params).then(res {if (res.code 200) {//指令接口let params {//传参数...};getOrderButtonInfo(params).then(res {res.data.forEach(item {this.tableData.forEach(v {//表格if (item.debugContentId v.id item.orderButtonValue 1) {v.orderButtonValue 1;//switch打开} else if (item.debugContentId v.id item.orderButtonValue 0) {v.orderButtonValue 0;//switch关闭}});});});}});} else if (row.orderButtonValue 1 this.isAddressShow true) {//调试中--可关闭let params {//传参数...};getWriteInfo(params).then(res {if (res.code 200) {//指令接口let params {//传参数...};getOrderButtonInfo(params).then(res {res.data.forEach(item {this.tableData.forEach(v {//表格if (item.debugContentId v.id item.orderButtonValue 1) {v.orderButtonValue 1;} else if (item.debugContentId v.id item.orderButtonValue 0) {v.orderButtonValue 0;}});});});}});} else {this.$message.warning(请先点击现场手动调试使能);}} else if (row.orderButtonValue 1 row.testOperator ! debug_onLine this.isAddressShow true) {//可关闭let params {//传参数...};getWriteInfo(params).then(res {if (res.code 200) {console.log(write接口);//指令接口let params {//传参数...};getOrderButtonInfo(params).then(res {res.data.forEach(item {this.tableData.forEach(v {//表格if (item.debugContentId v.id item.orderButtonValue 1) {v.orderButtonValue 1;} else if (item.debugContentId v.id item.orderButtonValue 0) {v.orderButtonValue 0;}});});});}});} else {this.$message.warning(请先点击现场手动调试使能);}},//指令弹窗-----保存textSaveClick() {let params {//传参数...};this.textDialogVisible false;this.tableData[this.switchIndex].orderButtonValue 1;this.tableData.splice(this.switchIndex, 1, this.tableData[this.switchIndex]);getWriteInfo(params).then(res {if (res.code 200) {//指令接口let params {//传参数....};getOrderButtonInfo(params).then(res {console.log(res.data, 1057);});}});},例子2 div classleft-linkspan classleft-title link-btn通信连接/spanel-switch:valuelinkValueactive-color#4683FFinactive-color#CCCCCCchangeswitchClick/el-switch/div//通信连接switchClick() {if (this.linkValue false) {if (this.isValueNum 2) {this.linkValue true;let params {//传参数...};//打开通信hubConnectInfo(params).then(res {if (res.code 200) {this.$message.success(res.message);this.slaveId res.data.slaveId;this.slaveIdCopy res.data.slaveId;this.acquireInfo(res.data.slaveId);this.$emit(switchType, true);}});} else {this.$message.error(请先打开串口号!);}} else if (this.linkValue true) {this.linkValue false;//关闭通信offDebugInfo().then(res {if (res.code 200) {clearInterval(this.timer);this.timer null;this.$emit(switchType, false);//关闭机器把调桨控制值清颜色恢复默认this.clearColorValue();}});}},
http://www.hkea.cn/news/14516774/

相关文章:

  • 郑州营销网站公司地址制作企业网站的新闻显示
  • 制作网站商城网站后台修改不了
  • phpstudy做正式网站邢台网站制作公司
  • 建筑方案的网站南宁手机做网站公司
  • 建网站需要多少钱免费网址申请
  • 在线设计网名生成器seo优化前景
  • 电子商务网站建设可行性分析郑州企业排名
  • 温州专业做网站网站的推广方式有哪些
  • 六安高端网站建设公司响应式布局的优点是什么
  • 陕西省住房和城乡建设厅门户网站重庆建工
  • wordpress的网站好用吗北京建筑设计公司前十名
  • 文化事业建设费在哪个网站申报做北京电梯招标的网站
  • dw网站首页的导航怎么做室内设计装修风格大全
  • discuz做商城网站惠州seo关键字排名
  • 长沙市建设发展集团有限公司网站云盘搜索引擎入口
  • 网站安全设计网站制作的步骤
  • 深圳手机建站模板网站建设后运维合同
  • 抄袭别人网站的前端代码合法吗镇江唐唐网络科技有限公司
  • 优酷视频网站开发旅游网站 静态模板
  • 泉州网站制作案例网络品牌营销推广
  • 2015网站备案没下来游戏加盟项目
  • 什么是网站域名软件下载免费大全网站
  • 网站建设制作 优帮云视频生成链接网站
  • php网站建设制作设计php 网站反盗链
  • 单页网站怎么做排名电子商务网站建设的方法及流程图
  • 网站项目遇到的问题购物网站设计的意义
  • 温岭网站设计企业信息查询系统官网贵州
  • 烟台做网站工资wordpress 主机安装
  • 重庆网站建设letide网络平面设计包括哪些
  • 个人建设网站维护费是多少公众号怎么制作二维码